[Ffmpeg-devel] Offer an analyse about the broken mpegts in ffmpeg

Benoit Fouet benoit.fouet
Mon Mar 12 15:53:56 CET 2007


Hi,

Martin Alexander Walschik wrote:

[snip]
> Hi Michel and hi List,
>
> sorry my fault, here is the requested information. I have transcoded a
> new
> Dracula_1930_new_ts.mpg file with the SVN-Version of ffmpeg. The
> error-log
> is for the new file.
>
> My origin testfile:
> hxxp://retro-park.de/download/trailer/Dracula_1930.mpg (a free trailer)
>
> Mirror (pls. use this for download):
> http://134.102.96.93/~alex/ffmpeg/Dracula_1930.mpg
>
> The NEW (broken) ffmpeg MPEG2-TS file:
> http://134.102.96.93/~alex/ffmpeg/Dracula_1930_new_ts.mpg
>
> The error-log:
> http://134.102.96.93/~alex/ffmpeg/error-log-new.txt
>
> The ffmpeg-command and output (-b parameter is needed by me?)
>
> alex at alex-linux:~/video$ ffmpeg-alex -i Dracula_1930.mpg -r 25 -g 50 -s
> 720x576 -aspect 4:3 -b 384 -maxrate 6000 -ps 1024 -bufsize 128000 -qmax 3
> -bf 2 -er 3 -benchmark -hex -vstats -f mpegts -vcodec mpeg2video
> Dracula_1930_ts.mpg
can you please try with -b 384k ?

> FFmpeg version SVN-r8287, Copyright (c) 2000-2007 Fabrice Bellard, et al.
>  configuration:
>  libavutil version: 49.3.0
>  libavcodec version: 51.38.0
>  libavformat version: 51.10.0
>  built on Mar  7 2007 15:05:31, gcc: 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
> Input #0, mpeg, from 'Dracula_1930.mpg':
>  Duration: 00:01:49.3, start: 0.270133, bitrate: 3242 kb/s
>  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9250 kb/s,
> 23.98fps(r)
>  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
> File 'Dracula_1930_ts.mpg' already exists. Overwrite ? [y/N] y
> Output #0, mpegts, to 'Dracula_1930_ts.mpg':
>  Stream #0.0: Video: mpeg2video, yuv420p, 720x576, q=2-3, 0 kb/s,
> 25.00fps(c)
because 0kb/s is not that much for a video stream ;)

>  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
> Stream mapping:
>  Stream #0.0 -> #0.0
>  Stream #0.1 -> #0.1
> Press [q] to stop encoding
> [mpeg2video @ 0x8407aa0]rc buffer underflow
> [mpeg2video @ 0x8407aa0]rc buffer underflow
> [mpeg2video @ 0x8407aa0]rc buffer underflow
>
> .... [always the same line / happens only in SVN Version]
>
> frame= 2765 q=31.0 Lsize=   72917kB time=110.6 bitrate=5402.8kbits/s
> video:40555kB audio:864kB global headers:0kB muxing overhead 76.048576%
> bench: utime=71.372s
>
> Thanks and best regards
>
> Martin Alexander Walschik

Ben





More information about the ffmpeg-devel mailing list