ffmpeg command to combine audio and images

后端 未结 1 818
隐瞒了意图╮
隐瞒了意图╮ 2021-01-18 10:35

I\'m trying to achieve something which I earlier thought should be a simple task. Is there a ffmpeg command that can do the following:

convert an audio.wav file to a

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-18 11:01

    measure the time of the audio track and then use -t $audio_duration.

    this arg, along with "-loop 1" will stop the mp4 at a time that matches the audio.

    you might also try 2 pass technique , including -vcodec libx264 as it works well producing mp4.

    and think about the following adjusted for your inputs and record rates:

        -b:v 200k -bt 50k
    

    0 讨论(0)
提交回复
热议问题