eugenehp / trx

trx: Realtime audio over IP
GNU General Public License v2.0
64 stars 22 forks source link

Build instructions #2

Open GeorgeDewar opened 7 years ago

GeorgeDewar commented 7 years ago

Hi there,

It wasn't too hard to figure out in the end, but perhaps it would be useful to document (unless I missed it) what dependencies need to be installed before compilation will be possible?

On raspbian, I had to install libasound2-dev, libopus-dev and libortp-dev.

abonam commented 7 years ago

Hello, I also noticed the libasound2-doc is needed. So far I had to issue: sudo apt-get install libasound2-dev libopus-dev libortp-dev libasound2-doc then sudo make and sudo make install to complete the installing procedure. My platform is RPI3 with jessie

eugenehp commented 7 years ago

Thanks. What version of distributive is that?

On Mon, Jul 24, 2017 at 5:43 PM abonam notifications@github.com wrote:

Hello, I also noticed the libasound2-doc is needed. So far I had to issue: sudo apt-get install libasound2-dev libopus-dev libortp-dev libasound2-doc then sudo make and sudo make install to complete the installing procedure.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eugenehp/trx/issues/2#issuecomment-317594911, or mute the thread https://github.com/notifications/unsubscribe-auth/ABxW75ES7_ssGnHROD1HwCVh5z-IHHEvks5sRToWgaJpZM4NPL8S .

abonam commented 7 years ago

pi@raspberrypi1:~ $ uname -a Linux raspberrypi1 4.9.36-v7+ #1015 SMP Thu Jul 6 16:14:20 BST 2017 armv7l GNU/Linux

abonam commented 7 years ago

By the way, I tried to send the signal over my network, using two RPI 3 connected over wi-fi , but the sound is very distorted. I tried to connect the two RPIs using cables and disabling wi-fi, same result: sound is very choppy and distorted. I tried different combinations of frames, periods, jitter buffer with no luck. Any suggestions?

anthonydonegan commented 6 years ago

I get pretty good results for sending audio from an RPI 2 playing a video file using omxplayer to a Debian desktop with better sound than the TV connected to the RPI. The sound was indeed choppy and distorted with buffer time 2 ms, but with 64 ms it improved enormously over my WiFi network, and the lip-sync is still OK.

abonam commented 6 years ago

Thanks! I will give it a try, although for my design I still need to use the RPI with soundcard as source.

Cheers, Andrea

On Feb 16, 2018 9:08 AM, "anthonydonegan" notifications@github.com wrote:

I get pretty good results for sending audio from an RPI 2 playing a video file using omxplayer to a Debian desktop with better sound than the TV connected to the RPI. The sound was indeed choppy and distorted with buffer time 2 ms, but with 64 ms it improved enormously over my WiFi network, and the lip-sync is still OK.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eugenehp/trx/issues/2#issuecomment-366296915, or mute the thread https://github.com/notifications/unsubscribe-auth/AdA1k2pJ2T5oUQZnT9dQBdwRIGAbPqzeks5tVbXwgaJpZM4NPL8S .

anthonydonegan commented 6 years ago

Perhaps you could try a test with an mkv or mp4, or even a .wav first? After following the instructions given by Mark (and the tips here on dependencies) I ran "tx -d hubcap -m 64 ... &" and then "omxplayer -o alsa ..." which gave something like 30-40% load on my RPI2. By the way, I am using Raspbian Stretch, and kernel 4.14.18-v7+ #1093 SMP Fri Feb 9 15:33:07 GMT 2018 armv7l. I have no pulseaudio or jack and I run direct from the console.

abonam commented 6 years ago

Hello,

thank you for the heads up. I had to put this project on hold due to my work schedule but I will jump back on it as soon as possible. I want to get this thing done :)

Cheers, -Andrea

On Fri, Feb 16, 2018 at 10:50 AM, anthonydonegan notifications@github.com wrote:

Perhaps you could try a test with an mkv or mp4, or even a .wav first? After following the instructions given by Mark (and the tips here on dependencies) I ran "tx -d hubcap -m 64 ... &" and then "omxplayer -o alsa ..." which gave something like 30-40% load on my RPI2. By the way, I am using Raspbian Stretch, and kernel 4.14.18-v7+ #1093 SMP Fri Feb 9 15:33:07 GMT 2018 armv7l. I have no pulseaudio or jack and I run direct from the console.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eugenehp/trx/issues/2#issuecomment-366325128, or mute the thread https://github.com/notifications/unsubscribe-auth/AdA1kxCLw3jX9Q-BuRQlIAtjFbPGJ-n1ks5tVc4EgaJpZM4NPL8S .

unmanagedtn commented 5 years ago

Hey this works for playback but then segfaults after 10 seconds or so on rx yet tx works fine any ideas?