#6608(undetermined:new): wrong pixel values when decoding r210, r10k
#6608: wrong pixel values when decoding r210, r10k -------------------------------------+------------------------------------- Reporter: shekh | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- I observed errors in pixel values and created this test to demonstrate the problem. The input is filled with pure blue 000003FF but when decoding it becomes b=FFFE g=0000 r=001B Any color is distorted somehow, not just pure blue. How to reproduce: Dont know best way to see pixels with command line, but this way it is quite obvious in hex editor {{{ % ffmpeg.exe -i blue_r210.avi -c:v rawvideo -pix_fmt bgra64 -strict -5 blue64.avi ffmpeg version N-87027-gd826951 from zeranoe static 32bit }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/6608> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6608: wrong pixel values when decoding r210, r10k -------------------------------------+------------------------------------- Reporter: shekh | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Please understand that valid tickets on this bug tracker need a command line together with its complete, uncut console output. The title of the ticket you created indicates that you believe there is an issue in the r210 and/or r10k decoder. I tested the following: {{{ $ ffmpeg -i blue_r210.avi -f rawvideo out }}} The output file shows the expected value of zeros for red and green and 0xFFFF for blue. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6608#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6608: wrong conversion of pixel format RGB48 -> RGBA64 -------------------------------------+------------------------------------- Reporter: shekh | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: swscale | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by shekh): * keywords: => swscale Comment: Looks like the problem is in swscale and r210 is just one of possible inputs. With this command (added pix_fmt) there is problem. $ ffmpeg -i blue_r210.avi -f rawvideo -pix_fmt rgba64 out -- Ticket URL: <https://trac.ffmpeg.org/ticket/6608#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6608: wrong conversion of pixel format RGB48 -> RGBA64 ------------------------------------+----------------------------------- Reporter: shekh | Owner: Type: defect | Status: open Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * keywords: swscale => * status: new => open * version: unspecified => git-master * component: undetermined => swscale * reproduced: 0 => 1 -- Ticket URL: <https://trac.ffmpeg.org/ticket/6608#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6608: wrong conversion of pixel format RGB48 -> RGBA64 ------------------------------------+----------------------------------- Reporter: shekh | Owner: Type: defect | Status: open Priority: normal | Component: swscale Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by cehoyos): Patch sent, feel free to test: http://ffmpeg.org/pipermail/ffmpeg-devel/2017-August/215151.html -- Ticket URL: <https://trac.ffmpeg.org/ticket/6608#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6608: wrong conversion of pixel format RGB48 -> RGBA64 ------------------------------------+----------------------------------- Reporter: shekh | Owner: Type: defect | Status: closed Priority: normal | Component: swscale Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by cehoyos): * status: open => closed * resolution: => fixed Comment: May be fixed in cb1a3eec -- Ticket URL: <https://trac.ffmpeg.org/ticket/6608#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6608: wrong conversion of pixel format RGB48 -> RGBA64 ------------------------------------+----------------------------------- Reporter: shekh | Owner: Type: defect | Status: closed Priority: normal | Component: swscale Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by shekh): Nightly from zeranoe works (20170824-f0f4888). Thanks! -- Ticket URL: <https://trac.ffmpeg.org/ticket/6608#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg