Opened 12 years ago
Closed 11 years ago
#2274 closed defect (fixed)
bgrp10le in nut muxed or demuxed as rgb555le
Reported by: | Peter B. | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | nut bgrp10le |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
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
Change History (2)
comment:1 by , 12 years ago
Component: | undetermined → avformat |
---|---|
Status: | new → open |
comment:2 by , 11 years ago
Reproduced by developer: | set |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Note:
See TracTickets
for help on using tickets.
This has to be discussed on nut-devel