LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2019, 01:32 AM   #1
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Debian, Linux Mint, CentOS
Posts: 197

Rep: Reputation: Disabled
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
 
Old 02-10-2019, 09:02 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,267
Blog Entries: 24

Rep: Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195Reputation: 4195
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gstreamer package in current puts gstconfig.h in /usr/lib64/gstreamer-1.0/include akschu Slackware 5 11-26-2015 01:46 AM
Setting up Jack Audio for GStreamer, Flash and VLC goplexian Linux - Software 1 03-01-2010 12:55 PM
[SOLVED] gstreamer-plugins-base conflicts with gstreamer-plugins-good Raveolution Linux - Software 14 11-17-2009 12:24 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
oh, you know. video topic: gstreamer, vlc, xine, mplayer netlogic Linux - Software 2 09-02-2007 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration