[FFmpeg-trac] #238(undetermined:open): ffplay fails to play file with changing pixel format (was: ffplay crashes on mjpeg file)

FFmpeg trac at avcodec.org
Sun Nov 27 19:55:26 CET 2011


#238: ffplay fails to play file with changing pixel format
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mjpeg        |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * priority:  normal => wish
 * status:  new => open
 * type:  defect => enhancement


Comment:

 The crash has been fixed, but playback is not possible yet.
 {{{
 $ ffplay test.mjpeg -autoexit
 ffplay version N-35239-ge99c4bb, Copyright (c) 2003-2011 the FFmpeg
 developers
   built on Nov 27 2011 19:28:12 with gcc 4.5.3
   configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
   libavutil    51. 29. 1 / 51. 29. 1
   libavcodec   53. 38. 1 / 53. 38. 1
   libavformat  53. 22. 0 / 53. 22. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 50. 0 /  2. 50. 0
   libswscale    2.  1. 0 /  2.  1. 0
 [mjpeg @ 0x8e09340] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, mjpeg, from 'test.mjpeg':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: mjpeg, gray, 640x360 [SAR 1:1 DAR 16:9], 25 fps,
 25 tbr, 1200k tbn, 25 tbc
 [buffersink @ 0xf5500860] auto-inserting filter 'auto-inserted scale 0'
 between the filter 'src' and the filter 'out'
 [scale @ 0xf5500d20] w:640 h:360 fmt:gray -> w:640 h:360 fmt:yuv420p
 flags:0x4
 [mjpeg @ 0x8e09840] Pixel format mismatches 12 8
 [mjpeg @ 0x8e09840] get_buffer() failed
 [mjpeg @ 0x8e09840] Pixel format mismatches 12 8
 [mjpeg @ 0x8e09840] get_buffer() failed

 ...

 [mjpeg @ 0x8e09840] Pixel format mismatches 12 8
 [mjpeg @ 0x8e09840] get_buffer() failed
    0.18 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
 }}}

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


More information about the FFmpeg-trac mailing list