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

Martin Alexander Walschik walschik
Mon Mar 12 15:47:53 CET 2007


2007/3/12, Michel Bardiaux <mbardiaux at mediaxim.be>:
>
> Martin Alexander Walschik wrote:
> > Hi Devel-List,
> >
> > i have trouble to use ffmpeg to generate MPEG2-TS files. I?ve read in
> > this mailling list and on IRC, that the mpegts.c file is currently
> broken.
> >
> > Maybe i can help by giving you a detailed error-log from a DEKTEC
> DTU-225SX
> > Hardware-Realtime analyser and the used Testfile.
> >
> > If i could something else do for solving this problem, please inform me.
> > I?ve no
> > time to fix the problem by myself, but i can do further analysing for
> you.
> >

> My ffmpeg-parameters:
> >
> > ffmpeg -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
>
> You should always post the output messages. And "-b 384" hints that
> you're not using the latest svn.



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
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)
  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




More information about the ffmpeg-devel mailing list