LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-05-2019, 09:01 AM   #1
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Mint
Posts: 97

Rep: Reputation: Disabled
vlc streaming


Hi,

For some reason the client laptop cannot open the stream from the server.

Quote:
not transcoding a stream (fcc=`s32l')
[b6800d40] stream_out_rtp stream out error: cannot add this stream (unsupported codec: s32l)
[b6827a18] core decoder error: cannot create packetizer output (s32l)

Server:

.asoundrc file:
Code:
pcm.mixin {
	type dsnoop
        ipc_key 5978293
        ipc_key_add_uid yes
	slave {
		pcm "hw:0,0"
		channels 2
		period_size 1024
		buffer_size 4096
		rate 44100
		periods 0
		period_time 0
	}
	bindings {
		0 0
		0 1
	}
}
Code:
#!/bin/bash

ALSA_CONFIG_ROUTE="/home/root/.asoundrc"
ALSA_DEVICE="hw:0,0"
ALSA_DSNOOP_PCM_NAME="mixin"

STREAMING_PORT=4444
STREAMING_BIT_RATE=192
STREAMING_SAMPLE_RATE=16000
STREAMING_CHANNELS=1
STREAMING_NAME="live"
RTSP_SERVER_PORT=1234
RTSP_SERVER_ADDRESS="127.0.0.1"
INPUT="dsnoop"
STREAM_AUDIO_CODEC="mpga"

OUT="#transcode{vcodec=none,acodec="$STREAMING_AUDIO_CODEC",ab="$STREAMING_BIT_RATE",channels="$STREAMING_CHANNELS",samplerate="$STREAMING_SAMPLE_RATE",scodec=none} \
:rtp{dst="$RTSP_SERVER_ADDRESS",port="$RTSP_SERVER_PORT",sdp=rtsp://"$RTSP_SERVER_ADDRESS":"$STREAMING_PORT"/"$STREAMING_NAME"}"


cvlc -vvv alsa://"$INPUT" --sout "$OUT"
I've been experimenting with this for a while, however I was never able to stream with vlc. Do you have guys any suggestion?

Last edited by kzo81; 11-05-2019 at 09:10 AM.
 
Old 11-09-2019, 06:27 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,186

Rep: Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181
hm. what kind of vlc/os is it? As I see vlc supports s32l.
 
Old 11-10-2019, 02:18 AM   #3
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Mint
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
hm. what kind of vlc/os is it? As I see vlc supports s32l.
It's an embedded linux compiled with Yocto.
 
Old 11-10-2019, 04:22 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,186

Rep: Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181
in that case - probably - you need to recompile vlc with s32l support.
 
Old 11-10-2019, 04:52 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,730
Blog Entries: 9

Rep: Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466Reputation: 3466
I do not think $OP compiled it themselves.
 
Old 11-10-2019, 06:02 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,186

Rep: Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181Reputation: 4181
Yes, that is possible, but I still can't see better way.
Either recompile or find someone who already made it. Or use something else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Early Inventor Of Streaming Video Wants To Help Fight Off Video Streaming Patent Trolls LXer Syndicated Linux News 0 10-06-2012 03:50 AM
[SOLVED] video streaming support with VLC(?) as the streaming server wachi Linux - Embedded & Single-board computer 3 03-28-2011 01:35 PM
Darwin streaming server Video streaming local only ahmed_as8 Linux - Networking 2 05-28-2009 03:52 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 11:48 PM
Streaming movies not streaming... shame SUSE / openSUSE 2 04-12-2007 08:16 AM

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

All times are GMT -5. The time now is 04:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration