reinzor / videowall

Video wall with multiple tiles that enables synchronized video playback, mirrored or tiled.
92 stars 26 forks source link

Problem with sound #14

Open phbaars opened 4 years ago

phbaars commented 4 years ago

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?

reinzor commented 4 years ago

Does gst-play work?

phbaars commented 4 years ago

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.

Muhammad-Nasir-Umar-Nawaz commented 3 years ago

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

reinzor commented 3 years ago

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