Hello Readers,
If you want a concert a video file from one a define format to other format, you should to use following command:
ffmpeg -i INPUTVIDEONAME -c:v libx264 -profile:v baseline -c:a aac -strict experimental -ar 44100 -ac 2 -b:a 128k -vf scale=\"640:trunc(ow/a/2)*2\" -movflags faststart OUTPUTVIDEONAME
The command below is an example of when converting a .mp4 file into a .wmv file.
ffmpeg -i samplevideo.mov -c:v libx264 -profile:v baseline -c:a aac -strict experimental -ar 44100 -ac 2 -b:a 128k -vf scale=\"640:trunc(ow/a/2)*2\" -movflags faststart convertedoutputfile.mp4;
Therefore you can covet many type of video formate like mov, mp4, flv and others using above FFmpef command.
Thanks
0 Comment(s)