c# - Combining video and audio from multiple sources using ffmpeg -


i trying add audio file video file using ffmpeg.

ffmpeg.exe -i "video.avi" -i "wave.wav" -map 0:0 -map 1:0 -vcodec copy -acodec copy "output.mp4" 

the above parameters work output file length greater of 2 input lengths. how can specify using video's length instead?

as has been noted [1][2], in many cases ffmpeg cannot accurately set duration, or not set duration expected. use -t set desired duration.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -