[LAU] ffmpeg video creation issue

From: Jeanette C. <julien@email-addr-hidden>
Date: Mon Mar 09 2020 - 16:44:44 EET

Hey hey,
when creating videos with ffmpeg, using a still image, I always end up with video files much longer than the audio content. This is the commandline I use:
ffmpeg -loop 1 -framerate 1 -i image.jpg -i audio.wav -c:v libx264 -tune stillimage -profile:v main -level 3.1 -crf 18 -c:a aac -shortest -pix_fmt yuv420p video.mp4

Is there something wrong with it? Can someone suggest a fix?

TIA and best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * SoundCloud: https://soundcloud.com/jeanette_c
  * Twitter: https://twitter.com/jeanette_c_s
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c
For whatever reason,
I feel like I've been wanting you all my life <3
(Britney Spears)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Tue Mar 10 04:15:02 2020

This archive was generated by hypermail 2.1.8 : Tue Mar 10 2020 - 04:15:02 EET