ShareSpark

 

Author Topic: How to remove encoding settings from mediainfo [Tutorial] [Cinemadrop]  (Read 1340 times)

0 Members and 1 Guest are viewing this topic.

Offline Cinemadrop

  • Topic Author
  • V.I.P.
  • Hero Member
  • *
  • Thanked: 760
  • Reputation: 84
  • Activity:
    0%
  • Join Date: Aug 2021
  • Posts: 338
  • Gender: Male
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





 
The following users thanked this post: greed, 𝓢𝓣𝓔𝓝𝓒, Sandy stan

Offline Cinemadrop

  • Topic Author
  • V.I.P.
  • Hero Member
  • *
  • Thanked: 760
  • Reputation: 84
  • Activity:
    0%
  • Join Date: Aug 2021
  • Posts: 338
  • Gender: Male
You are not allowed to view links. Register or Login Added..!
 
The following users thanked this post: 𝓢𝓣𝓔𝓝𝓒

Offline xcon

  • Devoted Member
  • **
  • Thanked: 14
  • Reputation: 1
  • Activity:
    0%
  • Join Date: Apr 2020
  • Location: Earth
  • Posts: 129
  • Gender: Male
 :rep: Will it work with HDR10?
:heart:
Thank You
 
The following users thanked this post: Cinemadrop

Offline 𝓢𝓣𝓔𝓝𝓒

  • Uploader
  • Senior Member
  • *
  • Thanked: 128
  • Reputation: 4
  • Activity:
    0%
  • Join Date: Aug 2020
  • Location: India 🇮🇳
  • Posts: 203
  • Gender: Male
  • Join - https://t.me/Steve_Encodes
You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login Added..!
:heart:
ℚ𝕦𝕒𝕝𝕚𝕥𝕪 𝕚𝕤 𝕒𝕝𝕝 𝕥𝕙𝕒𝕥 𝕞𝕒𝕥𝕥𝕖𝕣𝕤 𝕓𝕒𝕓𝕪!
Join - You are not allowed to view links. Register or Login
 
The following users thanked this post: Cinemadrop

Offline Cinemadrop

  • Topic Author
  • V.I.P.
  • Hero Member
  • *
  • Thanked: 760
  • Reputation: 84
  • Activity:
    0%
  • Join Date: Aug 2021
  • Posts: 338
  • Gender: Male
You are not allowed to view links. Register or Login
:rep: Will it work with HDR10?
:heart:
Thank You

You are not allowed to view links. Register or Login also it works with HEVC codec including HDR10
 
The following users thanked this post: xcon

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal