[FFmpeg-trac] #2274(undetermined:new): bgrp10le in nut muxed or demuxed as rgb555le
FFmpeg
trac at avcodec.org
Sun Feb 17 10:47:03 CET 2013
#2274: bgrp10le in nut muxed or demuxed as rgb555le
-------------------------------------+-------------------------------------
Reporter: peter_b | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: nut | Blocked By:
bgrp10le | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Encoding pix_fmt GBRP10LE rawvideo in a NUT container produces RGB555LE
files (without saying so).
Playing the resulting file with ffplay displays wrong colors: Everything
is blue/green.
How to reproduce:
$ ffmpeg_git -f lavfi -i mandelbrot -t 1 -f nut -an -vcodec rawvideo
-pix_fmt gbrp10le output.nut
{{{
ffmpeg version N-50025-gb8bb661 Copyright (c) 2000-2013 the FFmpeg
developers
built on Feb 17 2013 10:44:03 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.103 / 54. 91.103
libavformat 54. 63.100 / 54. 63.100
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 38.100 / 3. 38.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[lavfi @ 0x252a040] Estimating duration from bitrate, this may be
inaccurate
Input #0, lavfi, from 'mandelbrot':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGBA / 0x41424752), rgba, 640x480 [SAR
1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Output #0, nut, to 'output.nut':
Metadata:
encoder : Lavf54.63.100
Stream #0:0: Video: rawvideo (RGB[15] / 0xF424752), gbrp10le, 640x480
[SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 51200 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> rawvideo)
Press [q] to stop, [?] for help
frame= 25 fps=0.0 q=0.0 Lsize= 45001kB time=00:00:01.00
bitrate=368648.8kbits/s
video:45000kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.002396%
}}}
$ ffprobe_git output.nut
{{{
ffprobe version N-50025-gb8bb661 Copyright (c) 2007-2013 the FFmpeg
developers
built on Feb 17 2013 10:44:03 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
libavutil 52. 17.101 / 52. 17.101
libavcodec 54. 91.103 / 54. 91.103
libavformat 54. 63.100 / 54. 63.100
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 38.100 / 3. 38.100
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[nut @ 0x252a420] Estimating duration from bitrate, this may be inaccurate
Input #0, nut, from 'output.nut':
Metadata:
encoder : Lavf54.63.100
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[15] / 0xF424752), rgb555le, 640x480,
SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 51200 tbn, 51200 tbc
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2274>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list