![]() ![]() Versions are current on everything except MakeMkv since I ripped these a couple years ago: ffmpeg 4.1. Fixing the mp4 files after the fact would also be acceptable, but at that point I don't want a re-encode. I have HandBrake all set up with my new h264/mp4 settings and would like to continue using that application to re-encode the MakeMKV source files.Īn ideal solution would be to fix the mkv segment duration in the MakeMKV source files. I believe my media streaming app will then be able to serve the files directly instead of re-encoding to h264 or remuxing (depending on the client, it always does one or the other right now). ![]() What I want to do is enable several older players by encoding to h264 mp4s with faststart. There's no problem there, even though the mkv file durations are wrong. When playing the MKV files, my media streaming app (and MPC-HC) correctly determine the length of the file from the movie DURATION tag. MakeMKV transfers an exact, lossless copy of the content on your disc into the MKV container. These files also have the segment duration vs movie DURATION tag mismatch. I converted these MakeMKV mkv files using HandBrake into h265 mkv files. Re-ripping the BluRays is an acceptable solution, if this problem has been fixed (I haven't pulled the BluRays out of storage and tried it). The track 2 (audio) movie DURATION tag is 25:53.14133333. Fine, it is one check box, but I wanted to make it easier. This is where the question came from, the default selection selects everything the way it is supposed to, except it selects the core audio as opposed to the lossless HD track. The MKV files themselves have the same problem: the segment duration is 25:53.088, with a track 1 movie DURATION tag of 25:24.397875. I then select the index file in MakeMKV to create my MKV file. I have a bunch of BluRays that I ripped a couple of years ago with MakeMKV 1.10.4. Remuxing the original mkv file using MkvToolnix.įfmpeg with the -t option may work, but I've got a few thousand files to go through and I don't want to manually type a different command for each one.mp4box -add file.mp4 -new out.mp4 - also doesn't fix the duration.ffmpeg -i file.mp4 -shortest -codec copy out.mp4 - doesn't have any effect (other than removing the mp4 faststart, which I want to keep).It seems like this would be an easy thing to do, but I can't find any solution. I want to set the "Movie" duration to the video duration value without re-encoding. There are libraries for working with dvd and blu-ray encryption like libaacs and libbdplus. The duration of the audio stream is 1553152ms (25:53.152), and seems to be driving the "Movie" duration. Handbrake is free and can rip blu-ray but is very much built to transcode and doesnt fit the MakeMKV niche if 'take mpeg/m2ts stream from the disc and put it in an mkv.' Luckily, all the pieces seem to be there for someone make a free solution. The duration of the video stream is 1524398ms (25:24.398), which is correct. Specifically, the "Movie" duration is 1553152ms (25:53.152), which is too long. MPEG-4 Audio Object Type: 2 (AAC Low Complexity)ĭuration: 1524356 (media timescale units) This file doesn't play back nicely in my media streaming app (or MPC-HC) when I reach the end of the file.ĭuration: 137195807 (media timescale units)ĪVC SPS: ĭuration: 74551296 (media timescale units) I have an mp4 file (converted from an mkv file) that has a longer audio than video stream.
0 Comments
Leave a Reply. |