LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   gstreamer to VLC (https://www.linuxquestions.org/questions/linux-software-2/gstreamer-to-vlc-4175648000/)

kzo81 02-10-2019 01:32 AM

gstreamer to VLC
 
Hi All,

I'd like to stream my laptop's analog audio input to my iPhone's VLC on the same lan:

Code:

gst-launch-1.0 -v alsasrc ! "audio/x-raw,width=32,depth=32,rate=48000,channels=2" ! audioconvert ! voaacenc bitrate=320000 ! udpsink host=127.0.0.1 port=4444 sync=false
Code:

gst-launch-1.0 audiotestsrc ! audio/x-raw, endianness=1234, signed=true, width=16, depth=16, rate=8000, channels=2, format=S16LE ! audioconvert ! audioresample ! tcpserversink host=127.0.0.1 port=4444
However when I try to open the stream with VLC, no sound is comming.
I tested this on another laptop with VLC as well, without success.

I was experimenting with these:
Code:

vlc -vvv udp://localhost:4444
vlc -vvv rtsp://localhost:4444
vlc -vvv rtp://localhost:4444

Could you help me please. I successfully did the streaming with ffmpeg, but it was so CPU intense, so I thought I would give it a try with Gstreamer.

Thanks,

Zoli

astrogeek 02-10-2019 09:02 PM

Your question strikes me as more an application question than a programming question, which may be the reason for it not having received any replies.

You may get better exposure in the Software or General forum. Please do not repost your question, but you may use the Report button to request that your thread be moved.

Good Luck!


All times are GMT -5. The time now is 03:09 AM.