How to stream a media file with audio and loop enabled?
Posted: 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.
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.