![]() ![]() (after importing mp4 files into FCP) For editing in FCP, it's better to use Apple Prores to make rendering faster. transcode in FCP to better your video editing experience You should make slight adjustment in the script if your media has a codec different from mkv format, track 0 HEVC, track 1 FLAC. That ffmpeg doesn't obey standard mp4 boxing might be the reason. (check reddit | Framerate issue in fcp (23.98-23.81 FPS) for more information). mkv -map 0:0 -map 0:1 -vcodec copy -acodec alac -vtag hvc1 ".mov", the frame-rate goes wrong (from 23.98 to 23.81, CFR to VFR). (check StackExchange | Reason for -vtag and Apple Developer Documentation | HLS Authoring Specification for Apple Devices | Video 1.10 for more information). mp4 for its restriction on the description of video codec. Copy the script to the current directory.To convert mkv files with AVC(h264) codec, change all h265 to h264 in this script.) Check the codec of mkv tracks - this script only supports track 0 HEVC(h265), track 1 FLAC. Change the shell working directory to the folder with mkv files: run command cd.Run command brew update before installing new packages.) ( brew, one of the best package managers for macOS, should be installed before. (Once) Install the required tools: run command brew install mkvtoolnix ffmpeg mp4box.(Once) Make the script executable: run command chmod +x mkv_to_mp4.sh.(Once) Get the script mkv_to_mp4.sh: download the zip of this repo / clone this repo / open the script on GitHub and copy the content to a newly created text file and rename it.(Note: also importable in Compressor so that you can further convert it to other codecs that are well-supported on macOS such as Apple Prores.) How to Use it FunctionĬonvert anime BDrip (with mkv container format, track 0 HEVC, track 1 FLAC) to mp4 in order to make it importable in FCP without transcoding (just extract and re-package). However, to extrat and re-package them into a compatitable continer is much more efficient and keep the original quality. To convert BDrip, one way is to transcode it. ![]() But these files have a container mkv (often with HEVC (video) and FLAC (audio) codec) which is unable to import into FCP (because mkv is not an official container format). We download the resources (often BDrip because it's rather smaller than BDMV and with great quality) from BT or PT sites or somewhere else. Sometimes we want to create our own MAD using great clips in some animation. transcode in FCP to better your video editing experienceĬonvert BDrip(.mkv) to mp4(.mp4) Background.If you want to figure out how to use this script and how to create MAD with the best quality, check serial tutorials on Bilibili (Chinese). The most important one is mkv_to_mp4.sh, converting mkv files with HEVC/AVC and FLAC codec. This repository provides kinds of shell scrips to help you convert media that may be not well-supported on macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |