Page 1 of 1

howto convert real audio to multicast

Posted: 14 Aug 2008 16:45
by tenaro
Hi all,

when I try to play video (.avi) or audio (.mp3) file everything is fine. When trying to convert this into multicast stream it is working fine again (I can play on another machine using another VLC). Playing locally real audio stream using VLC also works just great. Problem is if I try to convert this real audio stream to multicast and play someplace else. I'm even not sure if this is supposed to work or not? Please advice.

Regards,
Tenaro

Re: howto convert real audio to multicast

Posted: 17 Aug 2008 22:38
by tenaro
OK, let me try reformulate this:
according to docs I should use Wizard to "Stream to network" to generate multicast audio packets to other devices. It looks this is working only when for input I use a file (like .mp3) while for input streams (like rtsp://A.B.C.D/test.rm or mms://blabla) it is not working :( I was checking with packet sniffer (Wireshark) and multicast packets are generated only when file is used for input but not when rtsp or mms is used. Yes, I'm using only audio (no video part), version 0.8.6i on Windows XP. I've also tried executing this from command line (following instructions in docs) but have some problems with syntax (docs are written for linux). VLC will not report any error and it seems like it is generating traffic but wireshark can't generate any multicast packet when rtsp or mms is used for input. Can anybody confirm my story?

Re: howto convert real audio to multicast

Posted: 18 Aug 2008 16:09
by tenaro
Another follow-up, this time from Debian (yes, I tried same thing from command line on another operating system):

vlc test_stream.avi --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:rtp{mux=ts,dst=239.9.9.9}'

Upper command is working just fine, i.e. I'm able to play this multicast on another machine. But, if I add rtsp or mms stream instead of .avi file then it is not working:

vlc rtsp://srv/a.rm --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128,deinterlace}:rtp{mux=ts,dst=239.9.9.9}'

To conclude, it looks like this is not possible after all :( If anybody have different results, please let me know.

Regards,
Tenaro

Re: howto convert real audio to multicast

Posted: 18 Aug 2008 16:45
by RĂ©mi Denis-Courmont
Debian has removed MPEG-* encoding. No surprise.

Re: howto convert real audio to multicast

Posted: 19 Aug 2008 10:24
by tenaro
Thanks for your post but unfortunatelly I don't see how this is relevant. From same Debian server I'm able to generate multicast stream if source is local file (audio.mp3 or video.avi) but it will not work if source is rtsp or mms stream coming into VLC from some streaming server(s).