I'm trying to extract a screenshot from a single frame of H264 video file from a blu-ray, like so:
However the video was encoding wrongly for the RGB range, so when displayed on a TV, it has a washed out look to it. How can I forcibly (through FFMPEG ideally) alter the RGB range of my screenshot. so that it restores the correct saturation?Code:ffmpeg -ss 00:32:07.930 -i 00002.m2ts -vframes 1 "C:\Screenshot.png"
i.e. the equivilent of changing my TV's range from "limited" to "full", even though your blu-ray player is outputting for limited range RGB.
This is what FFMPEG says about the original video track:
Code:Video: h264 (High) (HDMV / 0x564D4448), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
Last edited by bergqvistjl; 22nd May 2020 at 12:38.
-
If it has a "washed out look" on the TV (assuming you have the equipment setup correctly) this imples low contrast, wrong (elevated) black level, depressed white level
So you would scale in YUV limited to full and that will increase the contrast
add this
Code:-vf zscale=rangein=limited:range=full,format=yuv420p,zscale=rangein=limited:matrix=709,format=gbrp
-
Similar Threads
-
ffmpeg 4.1.4 question regarding "limited color range" output file
By bokeron2020 in forum Newbie / General discussionsReplies: 12Last Post: 1st Aug 2019, 18:28 -
RGB Range help
By attackworld in forum ComputerReplies: 5Last Post: 25th Apr 2019, 03:42 -
does mjpeg .AVI files a flag that signal the Full/Limited Dynamic range?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 27th Jan 2019, 22:58 -
Looking for best Full HD 25 or 30p shooting camera in 1000$ price range
By Srivas in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 0Last Post: 21st Oct 2017, 13:25 -
Can I alter h264 file's color range flags?
By bergqvistjl in forum Newbie / General discussionsReplies: 1Last Post: 17th Dec 2015, 13:00