7
11/12/13 07:14 The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0 Page 1 sur 7 https://forum.videolan.org/viewtopic.php?f=12&t=79400 A project and a non-profit organization, composed of volunteers, developing and promoting free, open-source multimedia solutions. Board index VLC media player VLC media player for Mac OS X and iOS Troubleshooting Change font size Print view FAQ Register Login Streaming to Airport Express from VLC 1.1.0 Moderator: ajmas Post a reply Search this topic… Search 16 posts • Page 1 of 1 Streaming to Airport Express from VLC 1.1.0 by fulldecent » Tue Jul 13, 2010 6:02 pm Hello, I heard that the 1.1.0 release of VLC support streaming to Apple Airport Express and that there was a simplified interface to do this. Information appears to be sparse on this, so I started a stub wiki page at http://wiki.videolan.org/Airport_Express If you could please explain this process to me, I will update this wiki page. Thanks, Will fulldecent New Cone Posts: 2 Joined: Tue Jul 13, 2010 5:54 pm Top Re: Streaming to Airport Express from VLC 1.1.0 by ajmas » Wed Jul 14, 2010 5:03 pm I am not aware of such functionality. The only approach that I know is to use a third party application. Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here. ajmas Big Cone-huna Posts: 730 Joined: Sat Feb 04, 2006 7:33 am Location: Montreal, Canada VLC version: 2.0.6 Operating System: MacOS X Top Re: Streaming to Airport Express from VLC 1.1.0 by Jean-Baptiste Kempf » Fri Jul 16, 2010 2:23 pm There is no interface to do so, but the functionnality is present Jean-Baptiste Kempf http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan VLC media player developer, VideoLAN President and Sites administrator If you want an answer to your question, just be specific and precise. Don't use Private Messages. Jean-Baptiste Kempf Site Administrator Search… Search Advanced search Home News VideoLAN VLC Projects Contribute Support Dev' Zone

The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

Embed Size (px)

Citation preview

Page 1: The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

11/12/13 07:14The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0

Page 1 sur 7https://forum.videolan.org/viewtopic.php?f=12&t=79400

A project and a non-profit organization, composed of volunteers,

developing and promoting free, open-source multimedia solutions.

Board index ‹ VLC media player ‹ VLC media player for Mac OS X and iOS TroubleshootingChange font sizePrint viewFAQRegisterLogin

Streaming to Airport Express from VLC 1.1.0Moderator: ajmas

Post a replySearch this topic… Search

16 posts • Page 1 of 1

Streaming to Airport Express from VLC 1.1.0by fulldecent » Tue Jul 13, 2010 6:02 pm

Hello, I heard that the 1.1.0 release of VLC support streaming to Apple Airport Express and that there was a simplified interface to do this.Information appears to be sparse on this, so I started a stub wiki page at http://wiki.videolan.org/Airport_Express

If you could please explain this process to me, I will update this wiki page.

Thanks,WillfulldecentNew Cone

Posts: 2Joined: Tue Jul 13, 2010 5:54 pmTop

Re: Streaming to Airport Express from VLC 1.1.0by ajmas » Wed Jul 14, 2010 5:03 pm

I am not aware of such functionality. The only approach that I know is to use a third party application.Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvershelp you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional:Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.ajmasBig Cone-huna

Posts: 730Joined: Sat Feb 04, 2006 7:33 amLocation: Montreal, CanadaVLC version: 2.0.6Operating System: MacOS XTop

Re: Streaming to Airport Express from VLC 1.1.0by Jean-Baptiste Kempf » Fri Jul 16, 2010 2:23 pm

There is no interface to do so, but the functionnality is presentJean-Baptiste Kempf http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/VideolanVLC media player developer, VideoLAN President and Sites administratorIf you want an answer to your question, just be specific and precise. Don't use Private Messages.Jean-Baptiste KempfSite Administrator

Search… SearchAdvanced searchHome News VideoLAN VLC Projects Contribute Support Dev' Zone

Page 2: The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

11/12/13 07:14The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0

Page 2 sur 7https://forum.videolan.org/viewtopic.php?f=12&t=79400

Posts: 28365Joined: Fri Jul 22, 2005 2:29 pmLocation: Cone, FranceVLC version: 2.2.0-gitOperating System: Linux, Windows, MacWebsiteICQTop

Re: Streaming to Airport Express from VLC 1.1.0by ajmas » Fri Jul 16, 2010 10:19 pm

I learn something new. Is it command line accessible?Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvershelp you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional:Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.ajmasBig Cone-huna

Posts: 730Joined: Sat Feb 04, 2006 7:33 amLocation: Montreal, CanadaVLC version: 2.0.6Operating System: MacOS XTop

Re: Streaming to Airport Express from VLC 1.1.0by Jean-Baptiste Kempf » Sat Jul 17, 2010 12:02 pm

Yes, it is named RAOPJean-Baptiste Kempf http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/VideolanVLC media player developer, VideoLAN President and Sites administratorIf you want an answer to your question, just be specific and precise. Don't use Private Messages.Jean-Baptiste KempfSite Administrator

Posts: 28365Joined: Fri Jul 22, 2005 2:29 pmLocation: Cone, FranceVLC version: 2.2.0-gitOperating System: Linux, Windows, MacWebsiteICQTop

Re: Streaming to Airport Express from VLC 1.1.0by crzyhanko » Fri Jul 23, 2010 7:27 am

This is discussed a bit in a few other threads.http://forum.videolan.org/viewtopic.php?f=14&t=62267http://forum.videolan.org/viewtopic.php?f=12&t=63324

From what I can tell, the easiest way to make it work is to go into preferences>all>stream outputthen, in the box for "default stream output chain", you typeCode: Select all#transcode{acodec=alac,channels=2,samplerate=44100}:raop{host=<ip address of airportexpress>,volume=175}

This will stream audio to the airport express. You must delete this when you want to normally play files on your computer.

If you want to stream audio to the airport express whenever you play media files, but also have them display on your computer screen (andhave audio through the computer speakers) you can instead typeCode: Select all

Page 3: The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

11/12/13 07:14The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0

Page 3 sur 7https://forum.videolan.org/viewtopic.php?f=12&t=79400

#duplicate{dst="transcode{acodec=alac,channels=2,samplerate=44100}:raop{host=<ip address of airportexpress>,volume=175}",dst=display{delay=1000}}

where the "delay" value is in milliseconds and can be used to try and synchronize the video/sound from the computer with the airportexpress. If you don't want VLC to play sound out of your computer you can useCode: Select all#duplicate{dst="transcode{acodec=alac,channels=2,samplerate=44100}:raop{host=<ip address of airportexpress>,volume=175}",dst=display{no-audio,delay=1000}}

The ip address of the airport express can be found using the AirPort Utility. Usually it's of the form 10.0.1.x where x is between 1 and 254.

If you correctly set the values under the preferences for transcode, raop, and display (preferences>all>stream output>soutstream>*transcode/raop/display*) then you can use the short option ofCode: Select all#duplicate{dst="transcode:raop",dst=display}

to control generating streams to the airport and display.

Hope this helps.crzyhankoBlank Cone

Posts: 20Joined: Fri Apr 04, 2008 8:38 amTop

Re: Streaming to Airport Express from VLC 1.1.0by brucegraphics » Sat Jul 24, 2010 8:36 pm

Thank you crzyhanko, those instructions successfully work on my Airport Express.brucegraphicsBlank Cone

Posts: 48Joined: Mon Nov 19, 2007 8:44 pmLocation: ~/EarthVLC version: 2.1.0Operating System: OS XTop

Re: Streaming to Airport Express from VLC 1.1.0by gnippiks » Mon Aug 09, 2010 8:38 am

Thanks crzyhanko, that was very helpful.

But the above doesn't work for me when the input audio stream only has one channel. When I try to play a video with a mono audio stream, Iget the following error message:stream_out_raop error: The Apple Lossless audio stream must be encoded with 44100 Hz and 2 channels

I am using #transcode{acodec=alac,channels=2,samplerate=44100} as above, but the single-channel input is not being converted to the two-channel output required by the raop module.

Does anyone know how to transcode a mono audio stream to a stereo audio stream? Is it even possible with VLC?

Here's a larger excerpt from my log messages:mpeg_audio debug: MPGA channels:1 samplerate:48000 bitrate:128stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`alac'stream_out_transcode debug: Looking for filter (mpga->s16l, channels 1->1, rate 48000->44100)mpgatofixed32 debug: mpga->f32l, bits per sample: 0bandlimited_resampler debug: f32l/48000KHz/1->f32l/44100KHz/1audio_format debug: f32l->s16l, bits per sample: 32->16stream_out_transcode debug: Got complete audio filter chainstream_out_raop error: The Apple Lossless audio stream must be encoded with 44100 Hz and 2 channelsgnippiksNew Cone

Page 4: The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

11/12/13 07:14The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0

Page 4 sur 7https://forum.videolan.org/viewtopic.php?f=12&t=79400

Posts: 3Joined: Mon Aug 09, 2010 8:18 amTop

Re: Streaming to Airport Express from VLC 1.1.0by Jean-Baptiste Kempf » Wed Aug 11, 2010 2:33 pm

gnippiks wrote:Thanks crzyhanko, that was very helpful.

But the above doesn't work for me when the input audio stream only has one channel. When I try to play a video with a mono audio stream, Iget the following error message:stream_out_raop error: The Apple Lossless audio stream must be encoded with 44100 Hz and 2 channels

I am using #transcode{acodec=alac,channels=2,samplerate=44100} as above, but the single-channel input is not being converted to the two-channel output required by the raop module.

Does anyone know how to transcode a mono audio stream to a stereo audio stream? Is it even possible with VLC?

Here's a larger excerpt from my log messages:mpeg_audio debug: MPGA channels:1 samplerate:48000 bitrate:128stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`alac'stream_out_transcode debug: Looking for filter (mpga->s16l, channels 1->1, rate 48000->44100)mpgatofixed32 debug: mpga->f32l, bits per sample: 0bandlimited_resampler debug: f32l/48000KHz/1->f32l/44100KHz/1audio_format debug: f32l->s16l, bits per sample: 32->16stream_out_transcode debug: Got complete audio filter chainstream_out_raop error: The Apple Lossless audio stream must be encoded with 44100 Hz and 2 channels

Force channels to 2?Jean-Baptiste Kempf http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/VideolanVLC media player developer, VideoLAN President and Sites administratorIf you want an answer to your question, just be specific and precise. Don't use Private Messages.Jean-Baptiste KempfSite Administrator

Posts: 28365Joined: Fri Jul 22, 2005 2:29 pmLocation: Cone, FranceVLC version: 2.2.0-gitOperating System: Linux, Windows, MacWebsiteICQTop

Re: Streaming to Airport Express from VLC 1.1.0by gnippiks » Wed Aug 11, 2010 11:10 pm

j-b wrote:Force channels to 2?

How can I do this?

I am using the transcode module with the channels=2 option, but that does not change the number of output channels to 2 if the input streamis mono. Thanks.gnippiksNew Cone

Posts: 3Joined: Mon Aug 09, 2010 8:18 amTop

Re: Streaming to Airport Express from VLC 1.1.0by Jean-Baptiste Kempf » Thu Aug 12, 2010 9:47 am

Page 5: The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

11/12/13 07:14The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0

Page 5 sur 7https://forum.videolan.org/viewtopic.php?f=12&t=79400

Ok, then, some code is missing to do a filter to have mono => stereo.Jean-Baptiste Kempf http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/VideolanVLC media player developer, VideoLAN President and Sites administratorIf you want an answer to your question, just be specific and precise. Don't use Private Messages.Jean-Baptiste KempfSite Administrator

Posts: 28365Joined: Fri Jul 22, 2005 2:29 pmLocation: Cone, FranceVLC version: 2.2.0-gitOperating System: Linux, Windows, MacWebsiteICQTop

Re: Streaming to Airport Express from VLC 1.1.0by crzyhanko » Fri Aug 13, 2010 6:07 am

gnippiks wrote:Does anyone know how to transcode a mono audio stream to a stereo audio stream? Is it even possible with VLC?

Sorry, no idea. I can't find anything that suggests a way to upmix. The only thought I have is maybe you could force something out of theheadphone surround effect, but I don't know enough about it to even begin to guess if that is actually doable.crzyhankoBlank Cone

Posts: 20Joined: Fri Apr 04, 2008 8:38 amTop

Re: Streaming to Airport Express from VLC 1.1.0by chrisrp » Wed Nov 24, 2010 11:56 pm

Hi

With the help of this board i have managed to get my vlc to stream audio to my airport express! Thank you very much! I actually had to use:

Code: Select all#duplicate{dst=display{noaudio,delay=4000},dst="transcode{acodec=alac,channels=2,samplerate=44100}:raop{host=10.0.1.1,volume=175}"}

I switched the order of the commands, without switching the video delay wasn't working.

However i have another question. First let me say i have no knowledge of vlc command lines. But i would like to be able to control the volumefrom vlc and not the speakers. As it stands now the volume is fixed at whatever value is in the string.

Can anyone help me with this?

Thank you very much!

ChrischrisrpNew Cone

Posts: 1Joined: Wed Nov 24, 2010 11:49 pmTop

Re: Streaming to Airport Express from VLC 1.1.0by Jean-Baptiste Kempf » Thu Nov 25, 2010 1:55 am

I am not sure this is implemented.

Page 6: The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

11/12/13 07:14The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0

Page 6 sur 7https://forum.videolan.org/viewtopic.php?f=12&t=79400

Jean-Baptiste Kempf http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/VideolanVLC media player developer, VideoLAN President and Sites administratorIf you want an answer to your question, just be specific and precise. Don't use Private Messages.Jean-Baptiste KempfSite Administrator

Posts: 28365Joined: Fri Jul 22, 2005 2:29 pmLocation: Cone, FranceVLC version: 2.2.0-gitOperating System: Linux, Windows, MacWebsiteICQTop

Re: Streaming to Airport Express from VLC 1.1.0by nickdjones » Sat Jul 30, 2011 12:27 am

Thanks for these instructions - the abbreviated form with specific settings under each area works well for me, though I had to upgrade from1.0.5 to 1.1.11 before it would find the alac audio encoder.

thanks!nickdjonesNew Cone

Posts: 2Joined: Fri Jul 29, 2011 11:30 pmTop

Re: Streaming to Airport Express from VLC 1.1.0by mlte » Sat Jul 21, 2012 8:28 pm

Hi,Thanks for the tip, it almost works...but i'm having an issue using this code :#transcode{acodec=alac,channels=2,samplerate=44100}:raop{host=<ip address of airport express>,volume=175}

I have an orange triangle, which i think is due to the password i put for the airport connection. I guess there might be a code line where youcan add the password after the "host=<ip address of airport express>" part, but i have no idea of what it could be.

Anyone for an idea ?mlteNew Cone

Posts: 1Joined: Sat Jul 21, 2012 7:47 pmTopDisplay posts from previous: All posts Sort by Post time Ascending Go

Post a reply16 posts • Page 1 of 1Return to VLC media player for Mac OS X and iOS Troubleshooting

Jump to: VLC media player for Mac OS X and iOS Troubleshooting Go

Who is onlineUsers browsing this forum: No registered users and 15 guests

Board indexThe team • Delete all board cookies • All times are UTC + 1 hourPowered by phpBB © 2000, 2002, 2005, 2007 phpBB Group Time : 0.254s | 16 Queries | GZIP : Off

Page 7: The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1

11/12/13 07:14The VideoLAN Forums • View topic - Streaming to Airport Express from VLC 1.1.0

Page 7 sur 7https://forum.videolan.org/viewtopic.php?f=12&t=79400