[FFmpeg-trac] #5413(ffmpeg:new): Image size, pixel format cannot be detected ( 0x0, -1 ) for short h264 video

FFmpeg trac at avcodec.org
Thu Apr 7 13:16:55 CEST 2016


#5413: Image size, pixel format cannot be detected ( 0x0,-1 ) for short h264 video
-------------------------------------+-------------------------------------
             Reporter:  sadensmol    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:
             Keywords:  image size   |  unspecified
  0x0                                |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Cannot convert video which plays fine with Windows Media Player.

 ffmpeg parameters ( splitted by comma)
 -probesize,100M,-analyzeduration,100M,-i,00443.MTS,-an,-y,-c:v,mjpeg,-q:v,8,frame%d.jpg

 ffmpeg output:
 [mpegts @ 0x7ffcd9808800] Could not find codec parameters for stream 0
 (Video: h264 (HDMV / 0x564D4448), none): unspecified size

 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, mpegts, from
 '/Users/saden/Documents/asimon/simplevideoed/test/folder8/00443.MTS':
 Duration: 00:00:00.51, start: 1.033367, bitrate: 9216 kb/s
 Program 1
 Stream #0:0[0x1011]: Video: h264 (HDMV / 0x564D4448), none, 29.97 fps,
 29.97 tbr, 90k tbn, 180k tbc
 Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side),
 fltp, 448 kb/s
 Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
 0x0090), 1920x1080
 [buffer @ 0x7ffcd96013c0] Unable to parse option value "0x0" as image size
 [buffer @ 0x7ffcd96013c0] Unable to parse option value "-1" as pixel
 format
 [buffer @ 0x7ffcd96013c0] Unable to parse option value "0x0" as image size
 [buffer @ 0x7ffcd96013c0] Error setting option video_size to value 0x0.
 [graph 0 input from stream 0:0 @ 0x7ffcd9601500] Error applying options to
 the filter.


 This problem is easily reproducible with the latest version of ffmpeg on
 both OSX and windows systems.

 At the same time exiftool returns correct values for size.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5413>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list