Hi guys,
I'm meeting a problem of using ffmpeg to emerge different videos and audios and subtitles together so I came here to find some answers.
Here's what I've got:
1 Video: v_dec.mp4
2 Audios: a_eng.mp4 & a_zho.mp4
2 Subtitles: CHI.srt & ENG.srt
and how to put them together in a new mp4 file using ffmpeg?
Thank you in advance.
[Attachment 67503 - Click to enlarge]
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
twitter @Cryman_Chen
email crymanchen@gmail.com -
Below is the code that I tried typing in, and I'm wondering what would be the reason of the failure:
Code:ffmpeg -i v_dec.mp4 -i a_eng.mp4 -i a_zho.mp4 -i CHI.srt -i ENG.srt -map 0:v:0 -map 1:a -map 2:a -map 3:s -map 4:s final_new.mp4
twitter @Cryman_Chen
email crymanchen@gmail.com -
P.S. I tried emerging video and audios——without the subtitle part, and it worked.
Code:ffmpeg -i v_dec.mp4 -i a_eng.mp4 -i a_zho.mp4 -map 0:v:0 -map 1:a -map 2:a final.mp4
twitter @Cryman_Chen
email crymanchen@gmail.com -
Use clever Ffmpeg-GUI.
Load the video file, click main, click multiplex, click add stream, add your audio and subtitle files, select all streams on the left side, select the container you want (mp4 or mkv), click multiplex.
Done. -
twitter @Cryman_Chen
email crymanchen@gmail.com
Similar Threads
-
i wont convert video from youtube and translate subtitle and audio
By avchd4k in forum Video ConversionReplies: 1Last Post: 30th Sep 2022, 12:58 -
Synchronize audio and video in Subtitle Edit and save
By loninappleton in forum SubtitleReplies: 18Last Post: 4th Mar 2022, 15:45 -
Pixelated and laggy video on Subtitle Workshop and Subtitle Edit
By Valerc in forum SubtitleReplies: 5Last Post: 15th Jul 2018, 11:37 -
Pixelated and laggy video on Subtitle Workshop and Subtitle Edit
By Valerc in forum Newbie / General discussionsReplies: 2Last Post: 13th Jun 2018, 14:15 -
auto-select audio/subtitle stream when processing a video via ffmpeg
By mrjayviper in forum Video ConversionReplies: 5Last Post: 17th Nov 2017, 16:34