![]() NoteĪdd "-r 30" to specify the frame rate 30 frames/sec. Vf – MP4 videos using H.264 need to have a dimensions that are divisible by 2. We include this option to specify a specific format which has maximum compatibility across all browsers. Pix_fmt – MP4 videos store pixels in different formats. ![]() Movflags – This option optimizes the structure of the MP4 file so the browser can load it as quickly as possible. To convert animation GIF to MP4 by ffmpeg, use the following command ffmpeg -i animated.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" video.mp4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |