How to mux two live streams..[FOUND, STILL A LOOP BUG] HELP

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
JiBe
New Cone
New Cone
Posts: 6
Joined: 24 Oct 2006 12:03

How to mux two live streams..[FOUND, STILL A LOOP BUG] HELP

Postby JiBe » 24 Oct 2006 12:11

Hello everybody,

I'm trying to deliver an MPEG TS stream who have to contains one audio live stream (retrieved over MMS, and transcoded), and one video live stream (retrieved over HTTP, and transcoded).
Retrieve & Transcode streams, it's OK, but, I didn't find any solution to mux these streams to have only one Audio/Video stream.
VLC can do it ? if yes, how it works ?
Thx for your help.

If it's not possible, I'll post in features request :)

Good cheer & Congratulations to VLC Team & active VLC Users :)
Last edited by JiBe on 24 Oct 2006 19:39, edited 1 time in total.

JiBe
New Cone
New Cone
Posts: 6
Joined: 24 Oct 2006 12:03

please, answer me :)

Postby JiBe » 24 Oct 2006 15:07

Please :) gimme an answer :)

JiBe
New Cone
New Cone
Posts: 6
Joined: 24 Oct 2006 12:03

Found

Postby JiBe » 24 Oct 2006 19:02

Ok I found how to do it, using the bridges function

Code: Select all

new VideoStream broadcast enabled setup VideoStream input myvideostreamoverhttp setup VideoStream output #duplicate{dst=bridge-out{id=1},select=video,vcodec=mp2v} setup VideoStream loop new AudioStream broadcast enabled setup AudioStream input myaudiostreamovermms setup AudioStream option novideo setup AudioStream output #bridge-in:transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts,url=192.168.0.25:1234}} control VideoStream play control AudioStream play
But still a problem :( when the loop of the video file is done, VLC Player (I guess other players too) didn't show the last received frame, so, until a new frame is received (aroud 2 seconds) we can't see any video.

I don't know what to do, the video stream have to be refreshed, cause the video content change each 3 minutes...

perpahps I can put a picture in background ? the same picture as the video background one ? just to let the user see something, and when the video is back, then the user will see the dynamic fields of the video change.. don't know, if you have an idea, or a solution, I'll be glad to know it :)

Else, perhaps it's not too complicate to update VLC to let him send the last received frame until he receive a new one ? if yes, in wich file I have to take a look ? I'm not a C++ boss, but perhaps I can do it.

Thx for your helps

JB


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests