How to remove "color range" h264 metadata from video? Any ideas?
Command not work:
Values: 0 - Limited, 1 - Full, but -1 not work.Code:ffmpeg -i in.mp4 -c copy -bsf:v h264_metadata=video_full_range_flag=-1 out.mp4
Source info: https://ffmpeg.org/ffmpeg-bitstream-filters.html#h264_005fmetadata
+ Reply to Thread
Results 1 to 5 of 5
-
-
I think
-bsf:v h264_metadata=video_full_range_flag=1 (full range flagged as true)
-bsf:v h264_metadata=video_full_range_flag=0 (full range flagged as false, so range is limited)
The color range must have one of this values, full or limited. -
Mediainfo after encoding this file through ffmpeg (-vcodec libx264) does not show any information about the "color range". I understand that this value is there, it's just that the mediainfo does not show it.
And ffmpeg says that there is a range of -1 to 1 allowable values.
(Sorry for bad english). -
Well, I used H264 Stream Analysis to compare two files.
On the left, the values of the encoded file (ffmpeg -vcodec libx264)
On the right is the original video.
They are different and I don't know how to change the parameters "video_signal_type_present_flag" and "colour_description_present_flag". -
YUV video is always limited range, aside maybe from some consumer camera formats, but all broadcast, DVD and Bluray video is limited range, so if it's YUV and there's no Full range information written, MediaInfo displays Limited.
I've never saved color range information to any video I've encoded but MediaInfo displays "Limited" for all of them. Colorimetry info yes, but not full or limited range. For example.
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview)
Similar Threads
-
ffmpeg: Remove any dimension -aspect -noautorotate from MP4 Video metadata
By Tom4 in forum EditingReplies: 0Last Post: 10th May 2022, 18:20 -
ffmpeg - output metadata, add/remove modification then add it to the video
By kalemvar1 in forum Video ConversionReplies: 3Last Post: 30th Jul 2021, 01:29 -
Adjusting color saturation of color range
By Ygramul in forum Software PlayingReplies: 3Last Post: 24th Jan 2021, 09:07 -
MPC-HC: Output dynamic range / black level / color range stuck? Washed out
By vlad992 in forum Newbie / General discussionsReplies: 16Last Post: 10th Nov 2020, 07:54 -
How to remove Complete Metadata from video file
By deepfrayder in forum Newbie / General discussionsReplies: 9Last Post: 19th Aug 2019, 06:58