[FFmpeg-trac] #1636(undetermined:new): FRAPS Video Color Space

FFmpeg trac at avcodec.org
Sun Aug 12 23:39:32 CEST 2012


#1636: FRAPS Video Color Space
-------------------------------------+-------------------------------------
             Reporter:  DJX          |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  FRAPS color  |               Blocked By:
  space dark white washed out        |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 The color space that ffmpeg uses on FRAPS videos seems to be wrong or
 mishandled.

 First, running ffplay on a video (color space detected as yuvj420p), the
 output looks washed out (too white).
 Second, when transcoding a video to H264 (which keeps the color space as
 yuvj420p) the output looks too dark. Forcing the color space to yuv420p,
 the output looks fine.
 Third, when transcoding a video to MPEG2 (which changes the colorspace to
 yuv420p), the output looks fine.

 Here is how ffmpeg detects the original file:
 {{{
 ffmpeg -i "C:\Fraps\Movies\cod2sp_s 2012-08-12 13-39-04-15.avi"
 ffmpeg version N-43418-g633b90c Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Aug  9 2012 23:56:26 with gcc 4.7.1 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-pthreads
 --enable-runt
 ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-
 libass -
 -enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-l
 ibfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-
 libopenj
 peg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheo
 ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-li
 bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --ena
 ble-zlib
   libavutil      51. 67.100 / 51. 67.100
   libavcodec     54. 51.100 / 54. 51.100
   libavformat    54. 22.104 / 54. 22.104
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  7.100 /  3.  7.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [avi @ 000000000217aa20] non-interleaved AVI
 Guessed Channel Layout for  Input Stream #0.1 : stereo
 Input #0, avi, from 'C:\Fraps\Movies\orig.avi':
   Duration: 00:07:26.85, start: 0.000000, bitrate: 530091 kb/s
     Stream #0:0: Video: fraps (FPS1 / 0x31535046), yuvj420p, 1920x1080, 60
 tbr,
 60 tbn, 60 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
 stereo, s16
 , 1536 kb/s
 At least one output file must be specified
 }}}

 Let me know what other info you need.
 Thanks.

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


More information about the FFmpeg-trac mailing list