[FFmpeg-user] ffvhuff -> rawvideo: all pixels have blue tint.
James Board
jpboard2 at yahoo.com
Sun Dec 15 16:53:10 CET 2013
Hi. I'm trying to convert an AVI file that is compressed with ffvhuff into another
AVI file that isn't compressed with ffvhuff (rawvideo). The output file is
blue-shifted. Everything looks blue. Here is the ffmpeg command:
> ffmpeg -y -i IN.avi -c:v rawvideo OUT.avi
ffmpeg version N-54733-gab5f581 Copyright (c) 2000-2013 the FFmpeg developers
built on Aug 5 2013 20:24:36 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --enable-libfreetype --enable-gpl --enable-libx264
libavutil 52. 39.100 / 52. 39.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 80.101 / 3. 80.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from 'IN.avi':
Metadata:
encoder : Lavf55.12.102
Duration: 00:00:04.07, start: 0.000000, bitrate: 453949 kb/s
Stream #0:0: Video: ffvhuff (FFVH / 0x48564646), yuv422p, 1920x1080, 29.97 tbr, 29.97 tbn, 29.97 tbc
Output #0, avi, to 'OUT420.avi':
Metadata:
ISFT : Lavf55.12.102
Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 1920x1080, q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
Stream mapping:
Stream #0:0 -> #0:0 (ffvhuff -> rawvideo)
Press [q] to stop, [?] for help
frame= 122 fps=0.0 q=0.0 Lsize= 494108kB time=00:00:04.07 bitrate=994350.7kbits/s
video:494100kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.001702%
Here is an ffprobe of the input file:
> ffprobe IN.avi
ffprobe version N-54733-gab5f581 Copyright (c) 2007-2013 the FFmpeg developers
built on Aug 5 2013 20:24:36 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --enable-libfreetype --enable-gpl --enable-libx264
libavutil 52. 39.100 / 52. 39.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 80.101 / 3. 80.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from 'IN.avi':
Metadata:
encoder : Lavf55.12.102
Duration: 00:00:04.07, start: 0.000000, bitrate: 453949 kb/s
Stream #0:0: Video: ffvhuff (FFVH / 0x48564646), yuv422p, 1920x1080, 29.97 tbr, 29.97 tbn, 29.97 tbc
Here is an ffprobe of the output file:
> ffprobe OUT.avi
ffprobe version N-54733-gab5f581 Copyright (c) 2007-2013 the FFmpeg developers
built on Aug 5 2013 20:24:36 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
configuration: --enable-libfreetype --enable-gpl --enable-libx264
libavutil 52. 39.100 / 52. 39.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 80.101 / 3. 80.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from 'OUT.avi':
Metadata:
encoder : Lavf55.12.102
Duration: 00:00:04.07, start: 0.000000, bitrate: 994350 kb/s
Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 1920x1080, 29.97 tbr, 29.97 tbn, 29.97 tbc
Does anyone know how I can do this correctly?
More information about the ffmpeg-user
mailing list