VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. How to remove "color range" h264 metadata from video? Any ideas?
    Command not work:
    Code:
    ffmpeg -i in.mp4 -c copy -bsf:v h264_metadata=video_full_range_flag=-1 out.mp4
    Values: 0 - Limited, 1 - Full, but -1 not work.

    Source info: https://ffmpeg.org/ffmpeg-bitstream-filters.html#h264_005fmetadata
    Image Attached Images  
    Quote Quote  
  2. 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.
    Quote Quote  
  3. 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).
    Image Attached Thumbnails Click image for larger version

Name:	Снимок.JPG
Views:	30
Size:	16.2 KB
ID:	73100  

    Quote Quote  
  4. 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".
    Image Attached Thumbnails Click image for larger version

Name:	Снимок.JPG
Views:	63
Size:	71.7 KB
ID:	73105  

    Quote Quote  
  5. 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.

    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!