Guest User

Untitled

a guest
May 24th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. a.jpg = 26.7K (image not so clear)
  2. a.mp3 = 64.6M (54 minutes)
  3. a.mp4 = 80.6M (video result is not so clear, music still good)
  4.  
  5. $ ffmpeg -loop 1 -i a.jpg -i a.mp3 -shortest -acodec copy a.mp4
  6.  
  7. a.jpg = 151K
  8. a.mp3 = 5.1M (5 minutes)
  9. a.mp4 = 9.2M
  10.  
  11. ffmpeg -loop 1 -framerate 1 -i image.jpg -i music.mp3
  12. -c:v libx264 -preset veryslow -crf 0 -c:a copy -shortest output.mkv
Add Comment
Please, Sign In to add comment