Page 1 of 1

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

Posted: 27 Jun 2008 06:20
by swatforce
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.

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

Posted: 27 Jun 2008 07:22
by swatforce
Oh --please stay polite--! I found it. In command line, it should be "#transcode....", but not '#transcode...'

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

Posted: 27 Jun 2008 11:33
by yohann.martineau
great.

you can also use option -L to loop