[Ffmpeg-devel] [Bad news]: MPEG Seek has failed to work in FFmpeg SVN

QuickTime ffmpeg
Wed Oct 25 09:36:44 CEST 2006


Dear:

FFmpeg fails to decode video(avcodec_decode_video() never return
picture) after perform SEEK on mpeg file format

It seems that the seek&decode abiliity for mpeg files have been broken
for 2 months(ealier than August )

ffmpeg  -ss 00:00:10 -i test.mpg  -r 25 test.mp4
.....
Input #0, mpeg, from 'test.mpg':
  Duration: 00:00:24.0, start: 0.346711, bitrate: 2314 kb/s
  Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288, 2000 kb/s,
25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 192 kb/s
Output #0, mp4, to 'test.mp4':
  Stream #0.0: Video: mpeg4, yuv420p, 352x288, q=2-31, 200 kb/s, 25.00 fps(c)
  Stream #0.1: Audio: aac, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
frame=    0 q=0.0 Lsize=     120kB time=14.8 bitrate=  66.1kbits/s
video:0kB audio:114kB global headers:0kB muxing overhead 4.833664%
.....

It is OK if no seek:

ffmpeg -i test.mpg  -r 25 test.mp4
.......
Input #0, mpeg, from 'test.mpg':
  Duration: 00:00:24.0, start: 0.346711, bitrate: 2314 kb/s
  Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 352x288, 2000 kb/s,
25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 192 kb/s
File 'test.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'test.mp4':
  Stream #0.0: Video: mpeg4, yuv420p, 352x288, q=2-31, 200 kb/s, 25.00 fps(c)
  Stream #0.1: Audio: aac, 44100 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
frame=  627 q=19.8 Lsize=    1147kB time=25.0 bitrate= 376.6kbits/s
video:940kB audio:193kB global headers:0kB muxing overhead 1.286604%
......

Could any guy fix it ASAP?

Thanks in advanced!

BTW: I use the latest FFmpeg SVN




More information about the ffmpeg-devel mailing list