[FFmpeg-trac] #490(undetermined:new): Invalid pixel format '-1' for mdec video

FFmpeg trac at avcodec.org
Tue Sep 20 10:10:40 CEST 2011


#490: Invalid pixel format '-1' for mdec video
-------------------------------------+-------------------------------------
             Reporter:  Alex__       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Description: Invalid pixel format '-1' for mdec video
 Version: latest trunk
 URL: see attached file

 Steps that will reproduce the problem?
 1. ffmpeg -i sample.mpg sample.m4v

 What is the expected result?
 The converted file.

 What happens instead?
 Error message: "Invalid pixel format '-1' Error opening filters!"

 Possible workaround:
 File plays fine using VLC.

 Any additional information:
 * Example file: attached
 * Command:
 {{{
 $ ffmpeg -i sample.mpg sample.m4v
 ffmpeg version N-30087-g7491816, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Sep 20 2011 08:16:42 with clang 2.1 (tags/Apple/clang-163.7.1)
   configuration: --enable-zlib --disable-debug --enable-libfaac --enable-
 libx264 --enable-gpl --enable-nonfree --enable-libmp3lame --enable-
 libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --cc=clang
   libavutil    51. 16. 1 / 51. 16. 1
   libavcodec   53. 16. 0 / 53. 16. 0
   libavformat  53. 12. 0 / 53. 12. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 2 /  2. 43. 2
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [psxstr @ 0x7fdbd903d800] Invalid parameters 68 4 63627
 [psxstr @ 0x7fdbd903d800] missmatching sector_count
     Last message repeated 135 times
 [psxstr @ 0x7fdbd903d800] Could not find codec parameters (Video: mdec,
 57345x9)
 [psxstr @ 0x7fdbd903d800] Estimating duration from bitrate, this may be
 inaccurate

 Seems stream 0 codec frame rate differs from container frame rate: inf
 (1/0) -> 15.00 (15/1)
 Input #0, psxstr, from 'sample.mpg':
   Duration: N/A, bitrate: N/A
     Stream #0.0: Video: mdec, 57345x9, 15 tbr, 15 tbn
     Stream #0.1: Audio: adpcm_xa, 37800 Hz, 1 channels, s16
     Stream #0.2: Audio: adpcm_xa, 37800 Hz, 1 channels, s16
 [buffer @ 0x7fdbd8c19fe0] Invalid pixel format '-1'
 Error opening filters!
 $
 }}}

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


More information about the FFmpeg-trac mailing list