When I capture streaming video with ffmpeg I notice that the overall picture is a bit faded, and most notably areas in the frame that are true black are not fully black compared with the original. Is there something I can do to avoid this?
-
1How are you capturing it? Is the streaming video HDR? Please provide more details.– music2myearCommented Jun 20 at 20:54
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.– Community BotCommented Jun 20 at 21:21
-
I am capturing from the hdmi output of a firestick 4K, which feeds into a 534d:2109 MacroSilicon USB Video capture adapter. That presents to Linux as /dev/video0 via V4L. That can be viewed live with ffplay and looks good. If I record it with ffmpeg the mkv file video is not as good as the live. Its as if there is a light grey mist overlay that lightens the image, with the darkest not really full black (compared with the live image on the same display). The ffmpeg params I'm using is in the next comment– Ken MandelbergCommented Jun 21 at 21:23
-
-f v4l2 \ -thread_queue_size 256 \ -input_format mjpeg \ -framerate 60 \ -video_size 1280x720 \ -use_wallclock_as_timestamps 1 \ -i $VID \ -f alsa \ -ac 2 \ -ar 48000 \ -thread_queue_size 1024 \ -itsoffset 0.150 \ -i hw:$AUD \ -c:v libx264 \ -vf format=yuv420p \ -preset faster \ -crf 23 \ -c:a aac– Ken MandelbergCommented Jun 21 at 21:27
Add a comment
|