• 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.
  • It's that time again for the Fan Edit Of The Year (FEOTY) 2022 Awards: Call for Nominations!

    Vote NOW for October FEOTM!

I Need FFMPEG Help!

Ninja-Trix

Well-known member
Faneditor
Messages
185
Reaction score
131
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"
 

addiesin

Well-known member
Messages
5,734
Reaction score
1,244
Trophy Points
163
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?
 

Ninja-Trix

Well-known member
Faneditor
Messages
185
Reaction score
131
Trophy Points
53
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.
 

M4_

Well-known member
Faneditor
Messages
192
Reaction score
225
Trophy Points
63
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
 
Top Bottom