[SOLVED] two channel streaming through vlc

*nix specific usage questions
hislitermos
Blank Cone
Blank Cone
Posts: 35
Joined: 17 Aug 2013 14:54

[SOLVED] two channel streaming through vlc

Postby hislitermos » 18 Sep 2013 14:21

Hello,

I opened up two ssh panel with the same username and then run two different stream.
When I watch the second one, sound is belonging to the first stream but video is belonging to the second one.
How can I show ssh the right path for different audio and video input?

The first stream:

Code: Select all

vlc -vvv mms://89.201.164.181/stv :sout="#transcode{vcodec=mp2v,vb=1024,fps=25,scale=1,width=640,height=480,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=127.0.0.1,sdp=file:///home/ermos/vlc/vlc.sdp,port=5004,ttl=1}" :sout-all :sout-keep
Second stream:

Code: Select all

vlc -vvv http://domain.name/i/live_1@90368/master.m3u8?dw=60 :sout="#transcode{vcodec=mp2v,vb=1024,fps=25,scale=1,width=640,height=480,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=127.0.0.1,sdp=file:///home/ermos/vlc/vlc2.sdp,port=5004,ttl=1}" :sout-all :sout-keep
I also changed second line as shown below but no good result.

Code: Select all

vlc -vvv http://domain.name/i/live_1@90368/master.m3u8?dw=60 :sout="#transcode{vcodec=mp2v,vb=1024,fps=25,scale=1,width=640,height=480,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{dst=127.0.0.1,sdp=file:///home/ermos/vlc/vlc2.sdp,port-audio=5006,port-video=5008,ttl=1}" :sout-all :sout-keep
Thanks in advance
Ermos
Last edited by hislitermos on 18 Sep 2013 17:26, edited 1 time in total.

hislitermos
Blank Cone
Blank Cone
Posts: 35
Joined: 17 Aug 2013 14:54

Re: two channel streaming through vlc

Postby hislitermos » 18 Sep 2013 17:25

When I set different port nrs for both stream, both of them plays but I receive some errors.

Code: Select all

avcodec encoder warning: almost fed libavcodec with two frames with the same PTS (17255669106)
Anyway, it works.

Thanks
Ermos


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 35 guests