videowall icon indicating copy to clipboard operation
videowall copied to clipboard

Problem with sound

Open phbaars opened this issue 5 years ago • 4 comments

I would like to add sound to the project. My choice was to implement it on the client side on Raspberry Pi. To test I constructed some gstreamer commands: gstreamer audio channel. works, gstreamer video channel. works, gstreamer audio+video channel. works sort of. Video and audio plays but sound is intermittent. Also with the option sync=false after the sound channel. Also when I play video+sound the movie takes 8 second longer to play. Probably that is the reason sound is intermittent. Any ideas?

phbaars avatar Dec 03 '19 08:12 phbaars

Does gst-play work?

reinzor avatar Dec 05 '19 20:12 reinzor

Hi Rein, Ik heb 3 dagen besteed aan het werkend krijgen van audio, totdat ik in de documentatie van Gstreamer tegenkwam dat Gstreamer helemaal niet op deze manier gebruikt mag worden. Het is slechts bedoeld om eenvoudige streams te testen. Het mag niet gebruikt worden vanuit applicaties.

Daarna kwam ik omxplayer-sync tegen, en na een dagje prutsen heb ik deze werkend in een primitieve videowall –met audio-. Nu nog een python wrapper eromheen (playlist, en monitor layout) en ik ben helemaal tevreden. Groetjes Paul

From: Rein Appeldoorn Sent: Thursday, December 05, 2019 9:31 PM To: reinzor/videowall Cc: phbaars ; Author Subject: Re: [reinzor/videowall] Problem with sound (#14)

Does gst-play work?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

phbaars avatar Dec 06 '19 18:12 phbaars

hellol dear reinzor: Guide me and help me to troubleshoot audio issues thnx

It is not an issue, it is a missing feature. You could add an audio sink to the streaming component in the player client.

https://github.com/reinzor/videowall/blob/master/src/videowall/player/player_client.py

I would first test this using gst-launch

reinzor avatar Nov 23 '20 08:11 reinzor