Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subtitle metadata not properly set #76

Open
rayures opened this issue Jan 5, 2021 · 2 comments
Open

subtitle metadata not properly set #76

rayures opened this issue Jan 5, 2021 · 2 comments

Comments

@rayures
Copy link

rayures commented Jan 5, 2021

converting a mkv to mp4 for chromecast compatibility with v1.9.6.1-alpha

"Axiom.FFmpeg\ffmpeg\bin\ffmpeg.exe" -y -i "video.mkv" -i "subtitle sync.en.srt" -i "NL audio_SUBTITLE_Stream_3.srt" -c:v copy -map 0:v:0? -c:a aac -b:a 400k -map 0:a? -c:s mov_text -map 1:s? -map 2:s? -disposition:s:1 default -metadata:s:s:0 title="English" -metadata:s:s:0 language="en" -metadata:s:s:1 title="Nederlands" -metadata:s:s:1 language="nl" -map_chapters 0 -map_metadata:s:v 0 -map_metadata:s:a 0 -f mp4 -threads 0 "video.mp4"

result is undefined audio and video metadata.

ie:
MPC-BE
image
Jellyfin:
image

Mediainfo does report de data:
image

is this a bug or a limitation of mp4 (no srt) or MOV-text?

@MattMcManis
Copy link
Owner

I'm not sure why it's not working with srt mov_text. It works with mkv ssa.

I will do some research and find out what the correct commands are.

@MattMcManis
Copy link
Owner

Until then I suggest using MKVToolNix to do subtitle metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants