[FFmpeg-trac] #601(undetermined:new): ffmpeg / libx264 produces invalid MP4 file

FFmpeg trac at avcodec.org
Mon Oct 31 10:42:47 CET 2011


#601: ffmpeg / libx264 produces invalid MP4 file
-------------------------------------+-------------------------------------
             Reporter:  shifter1     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 Replying to [comment:4 shifter1]:
 > I have uploaded a single pass version which crashes here:
 http://www.datafilehost.com/download-d595b7f9.html

 Works fine for me (ffplay and mplayer play preview.mp4 as expected),
 please update to latest git head.
 (Note that you are encoding to H264 RGB which is unusual and it is likely
 that most applications except MPlayer and FFmpeg do not support it. You
 may of course argue that -pix_fmt yuv420p should be made standard in this
 case.)
 {{{
 $ md5sum preview.mp4
 0ef0a6aee29e893d0928c7ffb3ea3e11  preview.mp4
 $ ffmpeg -i preview.mp4 -f null -
 ffmpeg version N-34304-gc0dbab9, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 31 2011 10:34:46 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51. 22. 0 / 51. 22. 0
   libavcodec   53. 26. 0 / 53. 26. 0
   libavformat  53. 18. 0 / 53. 18. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 45. 2 /  2. 45. 2
   libswscale    2.  1. 0 /  2.  1. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'preview.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 1970-01-01 00:00:00
     encoder         : Lavf53.16.1
   Duration: 00:00:10.00, start: 0.000000, bitrate: 706 kb/s
     Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 /
 0x31637661), gbr24p, 1440x900, 702 kb/s, 30 fps, 30 tbr, 30 tbn, 60 tbc
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    :
 [buffer @ 0x138b5e0] w:1440 h:900 pixfmt:gbr24p tb:1/1000000 sar:0/1
 sws_param:
 Output #0, null, to 'pipe:':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     creation_time   : 1970-01-01 00:00:00
     encoder         : Lavf53.18.0
     Stream #0:0(und): Video: rawvideo, gbr24p, 1440x900, q=2-31, 200 kb/s,
 90k tbn, 30 tbc
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    :
 Stream mapping:
   Stream #0.0 -> #0.0 (h264 -> rawvideo)
 Press [q] to stop, [?] for help
 frame=  300 fps=125 q=0.0 Lsize=      -0kB time=00:00:10.00 bitrate=
 -0.0kbits/s
 video:0kB audio:0kB global headers:0kB muxing overhead -inf%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/601#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list