[FFmpeg-trac] #733(FFmpeg:new): Invalid pixel format string '-1' for Input and Image2 output

FFmpeg trac at avcodec.org
Sun Dec 11 07:54:22 CET 2011


#733: Invalid pixel format string '-1' for Input and Image2 output
--------------------------------+----------------------------------
             Reporter:  funrob  |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  FFmpeg  |                  Version:  0.7.8
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+----------------------------------
 Trying to output images from an mp4 recorded on a Vivotek ip8362 camera.
 File plays in QT and VLC. I tried forcing the input pixel format but that
 didn't do the trick.

 To repro:

 ffmpeg -pix_fmt yuv420p -i 20111208145933_59.mp4 -ss 5 -f image2 tmp.jpg

 {{{
 ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
   built on Dec 10 2011 06:38:00 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --prefix=/opt/local --enable-gpl --enable-postproc
 --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis
 --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-
 libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx --enable-
 libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads
 --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm
   libavutil    50. 43. 0 / 50. 43. 0
   libavcodec   52.123. 0 / 52.123. 0
   libavformat  52.111. 0 / 52.111. 0
   libavdevice  52.  5. 0 / 52.  5. 0
   libavfilter   1. 80. 0 /  1. 80. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85c284ac00] multiple edit list entries, a/v
 desync might occur, patch welcome
     Last message repeated 2 times
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85c284ac00] stream 1, missing mandatory
 atoms, broken header
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85c284ac00] multiple edit list entries, a/v
 desync might occur, patch welcome
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85c284ac00] stream 3, missing mandatory
 atoms, broken header
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f85c284ac00] max_analyze_duration 5000000
 reached at 5055500

 Seems stream 2 codec frame rate differs from container frame rate: 600.00
 (600/1) -> 300.00 (600/2)
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '20111208145933_59.mp4':
   Metadata:
     major_brand     : 3gp5
     minor_version   : 256
     compatible_brands: 3gp53gp4isom
     creation_time   : 2011-12-08 14:59:33
   Duration: 00:01:00.16, start: 0.030000, bitrate: 996 kb/s
     Stream #0.0(eng): Audio: aac, 16000 Hz, stereo, s16, 31 kb/s
     Metadata:
       creation_time   : 1945-12-07 14:51:33
     Stream #0.1(eng): Data: stts / 0x73747473
     Metadata:
       creation_time   : 1945-12-07 14:51:33
     Stream #0.2(eng): Video: h264, 29.95 fps, 300 tbr, 300 tbn, 600 tbc
     Metadata:
       creation_time   : 1945-12-07 14:51:33
     Stream #0.3(eng): Data: stts / 0x73747473
     Metadata:
       creation_time   : 1945-12-07 14:51:33
 [buffer @ 0x7f85c2434c00] Invalid pixel format string '-1'
 Error opening filters!
 }}}

-- 
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/733>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list