Audio Stream combined with Slide Show

Questions involving a Windows version of FFmpeg.
Post Reply
Posts: 1
Joined: Tue Oct 29, 2019 9:32 pm

Audio Stream combined with Slide Show

Post by Zardiw » Wed Oct 30, 2019 12:09 am

Hey Guys.

Was wanting to have an ongoing stream input from a microphone for the audio.
And for the video part, a slideshow of pictures from a folder.

Together this will stream to YouTube.

I've got the audio working with this:
ffmpeg -f alsa -i plughw:1,0 -t 10 alsaout.wav

And the slideshow with this:
ffmpeg -framerate 1/2 -pattern_type glob -i '*.jpg' -c:v libx264 -vf "fps=10,format=yuv420p" SlideOut.mp4

I'm outputting to files for now, but am having a hard time adding the audio to the video part
into the output .mp4 video.

Once they're both together, I'll make the output a stream to YouTube.

Any help would be much appreciated.


Post Reply