How to stream a media file with audio and loop enabled?

About encoding, codec settings, muxers and filter usage
swatforce
Blank Cone
Blank Cone
Posts: 21
Joined: 12 Mar 2008 06:31

How to stream a media file with audio and loop enabled?

Postby swatforce » 27 Jun 2008 06:20

Hi guys, I have a problem to ask help from you.
I want to stream a media file continuously. At first, I use command line to stream, like:

vlc -vvv aaa.wmv --sout udp:239.1.1.219 --loop

It can be loop streamed, but no audio!
Then I change to stream it in GUI window, open file and set network stream out, with the MRL:

:sout=#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts,dst=239.1.1.219:1234}}

Now it has audio stream out, but can't be loop play.

How can I do with it? I tried the command line like this:

vlc -vvv aaa.wmv --sout '#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts,dst=239.1.1.219:1234}}' --loop

It didn't work. The file couldn't be streamed out.
Is there anybody can help me to complete it? In command line or GUI window are all OK.

swatforce
Blank Cone
Blank Cone
Posts: 21
Joined: 12 Mar 2008 06:31

Re: How to stream a media file with audio and loop enabled?

Postby swatforce » 27 Jun 2008 07:22

Oh --please stay polite--! I found it. In command line, it should be "#transcode....", but not '#transcode...'

yohann.martineau
Blank Cone
Blank Cone
Posts: 84
Joined: 27 Aug 2007 15:22

Re: How to stream a media file with audio and loop enabled?

Postby yohann.martineau » 27 Jun 2008 11:33

great.

you can also use option -L to loop


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests