[Ffmpeg-devel] Format bug or ffmpeg bug ?

Anders Moden ffmpeg
Mon Oct 30 09:49:45 CET 2006


Hi !

I am desperatly trying to get some clarification of this problem. I have a file at http://www.gizmosdk.com/test.ts that I am unable to present correctly with ffmpeg. The frame rate is set to 100 fps and I get a load of errors parsing the file.

I use this command line as a test..
> ffmpeg -i test.ts


and I get this output...


FFmpeg version SVN-r6591, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-mingw32 --enable-memalign-hack 
  libavutil version: 49.0.1
  libavcodec version: 51.16.0
  libavformat version: 50.5.0
  built on Oct 30 2006 08:31:47, gcc: 3.4.5 (mingw special)
[NULL @ 00763DF0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[NULL @ 00763DF0]my guess is 1 bits ;)
[NULL @ 00763DF0]Error, header damaged or not MPEG4 header (f_code=0)
[mpeg4 @ 00763DF0]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 00763DF0]header damaged
[mpeg4 @ 00763DF0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 00763DF0]my guess is 4 bits ;)
[mpeg4 @ 00763DF0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 00763DF0]my guess is 3 bits ;)
[mpeg4 @ 00763DF0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 00763DF0]my guess is 3 bits ;)
[mpeg4 @ 00763DF0]Error, header damaged or not MPEG4 header (f_code=0)
[mpeg4 @ 00763DF0]Error, header damaged or not MPEG4 header (qscale=0)
[mpeg4 @ 00763DF0]header damaged
[mpeg4 @ 00763DF0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 00763DF0]my guess is 2 bits ;)
[mpeg4 @ 00763DF0]hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 00763DF0]my guess is 2 bits ;)
[mpeg4 @ 00763DF0]Error, header damaged or not MPEG4 header (f_code=0)
[mpeg4 @ 00763DF0]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 00763DF0]picture size invalid (0x0)
[mpeg4 @ 00763DF0]get_buffer() failed (-1 0 0 00000000)
Input #0, mpegts, from 'test.ts':
  Duration: 00:00:18.6, start: 81994.238611, bitrate: 5074 kb/s
  Stream #0.0[0x44]: Video: mpeg4, yuv420p, 640x480, 100.00 fps


The file is correctly played by vlc and by mencoder but with some errors as well.

Please ! Help. Is this a ffmpeg bug and how come the vlc and mencoder can play it correcly ? Am i missing something ? 




More information about the ffmpeg-devel mailing list