Ramway18
Posts: 4
Joined: Fri Sep 14, 2018 2:23 pm

Need solution for combining video and audio input to the hdmi output.

Fri Sep 14, 2018 2:36 pm

Looking for a simple solution
for combining the picamera video and an usb audio input in sync with one another to the hdmi output.


User avatar
HermannSW
Posts: 1307
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Need solution for combining video and audio input to the hdmi output.

Sat Nov 10, 2018 10:08 pm

I don't have a mic to test (cannot get mic array of my PS3 eye camera to work).

Can be done in gstreamer (you need to replace two input files with camera and mic input) ...
https://stackoverflow.com/questions/392 ... -gstreamer

... and instead filesink use this for combining audio and video output on HDMI:
https://stackoverflow.com/questions/593 ... -gstreamer

Can be done with ffmpeg as well, with similar changes as described above:

Code: Select all

ffmpeg -i video.mp4 -i audio.mp3 output.mp4
⇨https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://gitlab.freedesktop.org/HermannSW/gst-template
https://github.com/Hermann-SW/fork-raspiraw
https://twitter.com/HermannSW

Ramway18
Posts: 4
Joined: Fri Sep 14, 2018 2:23 pm

Re: Need solution for combining video and audio input to the hdmi output.

Fri Jun 21, 2019 6:13 pm

Any easy step by step tutorial on how to do this yet?

Return to “Camera board”