How to remove encoding settings from mediainfo [Tutorial] [Cinemadrop]
While encoding
H.264 | x264 | AVC
ffmpeg -hide_banner -i [INPUT] -c:v libx264 ....[other_libx264_settings]...... -map_metadata -1 -vbsf filter_units=remove_types=6 .......[audio_subtitle_settings].......... [OUTPUT]
-hide_banner : Hide the FFmpeg's version banner
[INPUT] : Add the input file's path
[other_libx264_settings] : Add x264 encoding settings as you want
[audio_subtitle_settings] : Add audio and subtitle configuration commands as you want
[OUTPUT] : Add the output file's path
H.265 | x265 | HEVC
ffmpeg -hide_banner -i [INPUT] -c:v libx265 .....[other_libx265_settings]...... -x265-params "no-info=1" ......[audio_subtitle_settings]........[OUTPUT]
-hide_banner : Hide the FFmpeg's version banner
[INPUT] : Add the input file's path
[other_libx265_settings] : Add x265 encoding settings as you want
[audio_subtitle_settings] : Add audio and subtitle configuration commands as you want
[OUTPUT] : Add the output file's path
After encoding
H.264 | x264 | AVC
ffmpeg -hide_banner -i [INPUT] -map 0 -c copy -map_metadata -1 -vbsf filter_units=remove_types=6 [OUTPUT]
-hide_banner : Hide the FFmpeg's version banner
[INPUT] : Add the input file's path
[OUTPUT] : Add the output file's path
H.265 | x265 | HEVC
ffmpeg -hide_banner -i [INPUT] -c:v copy -vbsf hevc_mp4toannexb source.hevc
ffmpeg -hide_banner -i source.hevc -c copy -vbsf filter_units-remove_types=39 output.hevc
*Set the output from the fisrt command "source.hevc" as the input for second command
*Finally mux the "output.hevc" to mkv with MKVToolNix
-hide_banner : Hide the FFmpeg's version banner
[INPUT] : Add the input file's path