- Post
- #1626101
- Topic
- The Lord of The Rings - 35MM GRADED
- Link
- https://originaltrilogy.com/post/id/1626101/action/topic#1626101
- Time
It seems like ffmpeg doesn’t like the MKV as input, had the same VFR issue when remuxing to MP4. I had to extract the videostream from the source MKV first with mkvtoolnix and gMKVExtractGui:
https://www.videohelp.com/software/MKVToolNix
https://www.videohelp.com/software/gMKVExtractGUIOpen gMKVExtractGUI, set the mkvtoolnix path, select the video stream and hit extract, which gives you a file called “LOTR FOTR HDR 23_98fps_track1_[eng].hevc”
You can then use MP4Box (part of GPAC Tools: https://www.videohelp.com/software/MP4Box ) with this command to remux the HEVC file into a new MP4 container, keeping the constant 23.976fps:
MP4Box -add "LOTR FOTR HDR 23_98fps_track1_[eng].hevc" -new "LOTR FOTR HDR 23_98fps.mp4"
ffmpeg also worked after extracting the videostream (with warnings though):
ffmpeg -i "LOTR FOTR HDR 23_98fps_track1_[eng].hevc" -c copy "LOTR FOTR HDR 23_98fps.mp4"
I’m on osx, so unfortunately I can’t use MKVextractgui…
Not sure if this helps but you can do essentially the same thing as MKVextractGUI on macOS via ffmpeg to extract just the video stream. An example of the command would be:
ffmpeg -i "/path/to/file/lotr.fotr.mkv" -c:0 copy "/path/to/output/lotr.fotr.hevc"
This command will copy the contents of the first stream of the input file to an output file, in the example is an hevc file. If the video stream is located on a different stream id, just change to -c:0 to -c:X with the correct stream ID.
Also, I would enjoy having the original MKV files if they are available. Thank you for all your hard work!