ffmpeg commands to concatenate different type and resolution videos into 1 video and can be played in android

后端 未结 1 1220
我寻月下人不归
我寻月下人不归 2021-02-13 19:21

I want to concatinate 4 different videos of 4 different resolution and type into 1 video which can be played in android. I am using ffmpeg ported on android using https://github

1条回答
  •  抹茶落季
    2021-02-13 20:10

    You can use concat to append all the videos one by one after converting them to a single format.

    You can also use the below command to convert differently formatted video to one format:

    ./ffmpeg -i 1.mp4 -acodec libvo_aacenc -vcodec libx264 -s 1920x1080 -r 60 -strict experimental 1.mp4
    

    Convert everything to mp4 and then follow the instructions given in the link above. This will enable you to join all the videos in a single file.

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