Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: mpegtools & mplex2



#include <hallo.h>




>  > av_pes2pes <blub> > in
>  > mplex -t MPEG2 -o out in
>  > 
>  > I tried the result with "the Hardware" and with xmovie. With both the
>  > audio stops about 14 seconds after the beginning. And the video hangs
>  > after 42 seconds (Video is only tested with xmovie)
>  > 
> 
> What ptsdiff does mplex report after demuxing?

Here is the output. This is a "smaller" Version where the video stops a
second after the audio. The Audio stops at excatly the same time.

-- beiskante --
Setting up for MPEG2 mux

Opening tmp_as.mp2 for audio demux
Opening tmp_vs.m2v for video demux
Demuxing 100.00 %
VPTS - APTS = 464ms

  Scanning video stream for a sequence header and pulldown type ...
    no pulldown detected ...

  Scanning video stream for pictures ...
  Found 4575 picture headers, stream bit offset 514155328.056.
  Video stream information
    Stream length : 64269416
    Total time (seconds) : 183
    Sequence start : 374
    Sequence end : 0
    No. Pictures : 4575
    No. Groups : 374
    No. I Frames : 374 avg. size 31126 bytes
    No. P Frames : 1151 avg. size 18124 bytes
    No. B Frames : 3050 avg. size 10415 bytes
    No. D Frames : 0 avg. size 0 bytes
    Horizontal size : 480
    Vertical size : 576
    Aspect ratio : 0.6735
    Picture rate : 25.000 frames/sec
    Bit rate : 1875000 bytes/sec (15000000 bits/sec)
    Computed avg rate : 351250 bytes/sec (2810000 bits/sec)
    Computed max rate : 421050 bytes/sec (3368400 bits/sec)
    Vbv buffer size : 229376 bytes
    CSPF : 0

  Scanning audio stream for access units information
  Found 564 audio frame headers, stream bit offset 2598912.
  MPEG audio stream information
    Stream length : 324864
    Syncwords : 564
    Frames : 564 size 576 bytes
    Frames : 0 size 577 bytes
    Layer : 2
    CRC checksums : yes
    Bit rate : 24000 bytes/sec (192 kbit/sec)
    Frequency : 48.0 kHz
    Mode : 0 stereo
    Mode extension : 0
    Copyright bit : 0 no copyright
    Original/Copy : 0 copy
    Emphasis : 0 none

  Multiplexing information
    Video stream data rate : 421050 bytes/sec (3368400 bits/sec)
    Audio stream 1 data rate : 24000 bytes/sec (192000 bits/sec)
    Overhead data rate : 8000 bytes/sec (64000 bits/sec)
    Total data rate : 453050 bytes/sec (3624400 bits/sec)

  Multiplexing file b
  Finished multiplexing b
-- beiskante --

> I sometimes got cases where audio or video stops after a while when
> the demuxer can't find good starting PTS values. Then you have to set
> the video or audio delay by hand. 



> I also had some recordings where audio or video was defective (real
> errors from bad weather). In that case the bbmpeg routines get
> confused.

Thats not the problem.




Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.



--- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index