[FFmpeg-user] convert mkv to mp4

KoSza koszanova at gmail.com
Mon Jan 13 16:04:04 EET 2025


Hello,

Thank you for the tip.

It seems that attached files made some problem, and the mail was not
delivered.

The container change was done, but the file is not good.

The access rights are different from the original file, but this is the
smallest problem, I can set it easily
The end of message was:
...

[mp4 @ 0x562ec87f0e80] Non-monotonous DTS in output stream 0:0;
previous: 60230177, current: 60228176; changing to 60230178. This may
result in incorrect timestamps in the output file.
[mp4 @ 0x562ec87f0e80] Non-monotonous DTS in output stream 0:0;
previous: 60230178, current: 60229504; changing to 60230179. This may
result in incorrect timestamps in the output file.
frame=90256 fps=339 q=-1.0 Lsize= 8864078kB time=01:02:44.38
bitrate=19289.9kbits/s speed=14.1x
video:8863072kB audio:0kB subtitle:74kB other streams:0kB global
headers:0kB muxing overhead: 0.010529%
MyUser at MyServer:/volume1/video/series/Dune.Prophecy.S01.2160p.MAX.WEB-DL.DDP5.1.Atmos.DV.HDR.H.265.HUN.ENG-PTHD$


And as I expected there are more problem with the new file:
- it is not DolbyVision just HDR . The goal is to see DV video, but LG does
not play MKVs as DV, only HDR... Instead it plays mp4s well.
- it is not played well by my LG with Plex,
- the audio channels are gone, I have only one

It is like I used ffmpeg - file.mkv -codec copy file.mp4 (I believe it is
better with the subs)

Is there a way to keep audio tracks also?

Thank you,
K

KoSza <koszanova at gmail.com> ezt írta (időpont: 2025. jan. 10., P, 20:48):

> Hello,
>
> Thank you for the tip.
>
> The container change was done, but the file is not good.
>
> The accds right are different from the original file, but this is the
> smallest problem, I can set it easily (see old and new jpgs).
> The txt contains the second half of the ssh session.
>
> And as I expected there are more problem with the new file:
> - it is not DolbyVision just HDR . The goal is to see DV video, but LG
> does not play MKVs as DV, only HDR... Instead it plays mp4s well.
> - it is not played well by my LG with Plex,
> - the audio channels are gone, I have only one
>
> It is like I used ffmpeg - file.mkv -codec copy file.mp4 (I believe it is
> better with the subs)
>
> Is there a way to keep audio tracks also?
>
> Thank you,
> K
>
>
>
>
> Ferdi Scholten <ferdi at sttc-nlp.nl> ezt írta (időpont: 2025. jan. 10., P,
> 18:21):
>
>> On 10-01-2025 15:17, KoSza wrote:
>> > [mp4 @ 0x55d40f14ab40] Could not find tag for codec subrip in stream #1,
>> > codec not currently supported in container
>> MP4 containers do not support subrip subtitles.
>> You can only use mov_text subtitles in mp4 containers so you will have
>> to convert subrip to mov_text with
>>
>> |-c:s mov_text You put that after -c copy and you should be good to go. |
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>>
>


More information about the ffmpeg-user mailing list