• Most new users don't bother reading our rules. Here's the one that is ignored almost immediately upon signup: DO NOT ASK FOR FANEDIT LINKS PUBLICLY. First, read the FAQ. Seriously. What you want is there. You can also send a message to the editor. If that doesn't work THEN post in the Trade & Request forum. Anywhere else and it will be deleted and an infraction will be issued.
  • If this is your first time here please read our FAQ and Rules pages. They have some useful information that will get us all off on the right foot, especially our Own the Source rule. If you do not understand any of these rules send a private message to one of our staff for further details.
  • Please read our Rules & Guidelines

    Read BEFORE posting Trades & Request

I Need FFMPEG Help!

Ninja-Trix

Well-known member
Faneditor
Messages
185
Reaction score
138
Trophy Points
53
I'm trying to merge the subtitles and metadata to the video file (Which has 3 audio tracks) but it's not working. Could someone take a look at my code and tell me what I'm missing?
ffmpeg.exe -i Orphans of the Firestorm - Final Audio.mp4 -i English Audio.srt -i Japanese Subtitles.srt -i FFMETADATAFILE.txt -map_metadata 1 -map 0:v:0 -map 0:a:0 -map 0:a:1 -map 0:a:2 -map 1:s:0 -map 2:s:0 -c copy Orphans of the Firestorm.mp4"
 
I don't know the program but I am not bad at debugging sometimes, and I'm gonna guess it's spaces in the file names. Maybe try replacing spaces with hyphens in the actual files and the script?
 
That’s not the issue. If you use quotes around the files, it will work. I only removed them from this because it also included the full directory and I didn’t want anyone peeking at my file system for sake of privacy.
 
What does the error code say? Also I don't think MP4s can have embedded SRT subtitles so try adding -c:s mov_text to convert them to Timed Text.

Or change output to MKV which supports basically everything and see if that works, which if it does then your code is fine
 
Back
Top Bottom