Article 4TPEF vlc streaming

vlc streaming

by
kzo81
from LinuxQuestions.org on (#4TPEF)
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, and I was never able to stream with vlc. Do you have guys any suggestion?latest?d=yIl2AUoC8zA latest?i=kE3xOBwQyNk:guJc4zBTONw:F7zBnMy latest?i=kE3xOBwQyNk:guJc4zBTONw:V_sGLiP latest?d=qj6IDK7rITs latest?i=kE3xOBwQyNk:guJc4zBTONw:gIN9vFwkE3xOBwQyNk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments