Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
FFmpeg
(view source)
Revision as of 13:34, 20 January 2025
1 byte removed
,
13:34, 20 January 2025
m
→Add audio to video
Line 72:
Line 72:
{{cmdline|ffmpeg -i inputvideo.mp4 -i inputaudio.wav -vcodec copy -map 0:v -map 1:a output.mp4}}
{{cmdline|ffmpeg -i inputvideo.mp4 -i inputaudio.wav -vcodec copy -map 0:v -map 1:a output.mp4}}
−
<code>-i</code> is used twice here to add a
seceond
input file.
+
<code>-i</code> is used twice here to add a
second
input file.
<code>-map 0:v</code> tells FFmpeg to take video from the first input (count starts at 0)
<code>-map 0:v</code> tells FFmpeg to take video from the first input (count starts at 0)
E.vandenberge
Bureaucrats
,
Interface administrators
,
Administrators
1,611
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Help
About
About the TSG
About this Wiki
FAQ
Disclaimer
Survey
Customer Survey
Tools
Special pages
Printable version