howto convert real audio to multicast

About encoding, codec settings, muxers and filter usage
tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

howto convert real audio to multicast

Postby tenaro » 14 Aug 2008 16:45

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

tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

Re: howto convert real audio to multicast

Postby tenaro » 17 Aug 2008 22:38

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?

tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

Re: howto convert real audio to multicast

Postby tenaro » 18 Aug 2008 16:09

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: howto convert real audio to multicast

Postby Rémi Denis-Courmont » 18 Aug 2008 16:45

Debian has removed MPEG-* encoding. No surprise.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tenaro
New Cone
New Cone
Posts: 8
Joined: 14 Aug 2008 16:34

Re: howto convert real audio to multicast

Postby tenaro » 19 Aug 2008 10:24

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).


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 8 guests