Thank you for the tip, updating worked. I had no idea it was that outdated!sw5163 wrote: ↑Tue Mar 26, 2024 3:08 amThat command seems right. Make sure you are using the latest tools.Trees wrote: ↑Mon Mar 25, 2024 11:45 pmHas anyone figured out how to convert P5 MKVs to MP4? I've tried an FFMPEG command found here:Code: Select all
ffmpeg -i "S01E01.mkv" -map 0:v -map 0:a -map 0:s:0 -c:v copy -c:a copy -c:s mov_text -strict unofficial "S01E01.mp4"
If that fails, it could be because the file is corrupted.Code: Select all
ffmpeg -i dv.mkv -map 0 -c copy -c:s mov_text -strict -2 dv.mp4
However, you could still try if other tools can recover it.Code: Select all
ffmpeg -i dv.mkv -c copy dv.hevc mp4box -add dv.hevc:dv-profile=5 -new dv.mp4
Code: Select all
ffmpeg -i dv.mkv -c copy dv.hevc mp4muxer -i dv.hevc --dv-profile 5
As for -vbsf hevc_mp4toannexb, not sure if it's needed in mp4.
However, I ran into the next problem; I'm getting subtle brightness flicking and (I'm assuming) IPTPQc2 errors. Every now and then I get a frame of the IPTPQc2 colour space peeking through. Literally slight change in colours every few minutes or so, randomly, it seems, and very very short. Barely noticeable.
Is this a known error / bug or?
Edit: Bonus question; does MP4 only support one subtitle track? I've remuxed numerous files however ffmpeg only seems to be copying over one subtitle track; is the subtitle part of the command incorrect or does MP4 just not support more than one subtitle track?
Edit: I've figured it out. The flickering was the file itself, just a bad quality Web-DL. As for ffmpeg, the correct command to include all subtitles is:
Code: Select all
ffmpeg -i "S01E01.mkv" -map 0:v -map 0:a -map 0:s -c:v copy -c:a copy -c:s mov_text -strict unofficial "S01E01.mp4"