1.First make sure you have FFmpeg installed.
2. Goto Terminal
3. Type the following command
ffmpeg -r 1 -loop 1 -i p1.jpg -i comp.mp3 -acodec copy -r 1 -shortest comp.flv
4. The output container may be Mp4, AVI,MOV,3GP, etc it depends on your choice.
5. Finally your output file will be in your working directory
6. Optionally you can use the -scale operator to crop or scale the image.
No comments:
Post a Comment