Page 1 of 1

AAC stream help

Posted: 01 Jul 2007 23:40
by SideshowMel
In fedora 7, I have a problem when I try to play either of these two streams:
http://www.cpr.org/listen/live_classical_aac.pls
http://www.cpr.org/listen/live_newsinfo_aac.pls

They stream will play for a split-second, then stop... the VERY FIRST time I played the first stream, it played, but then the problem I am having started and won't stop. In Fedora Core 6, it would play, but skip frequently (like every second). And both streams play fine on VLC for Windows XP and Vista.

I am using Fedora 7, uname -r:
2.6.21-1.3228.fc7
and I am using the livna repo version 0.8.6c (had way too many problems with freshrpms and VLC... I decided to reformat freshrpms-free)

Thanks.

Re: AAC stream help

Posted: 02 Jul 2007 00:50
by kmf31
In my case with Suse 10.1 and vlc completely compiled myself (with most of the libraries) it plays very fine without any skipping etc. and the music quality is also very good, much better than usual with webradio. It is really perfect. At the moment there is "Pictures of an exhibition" one of the few classic things I recognize. ;)

I would look in your firewall and security configuration with Fedora, in particular if there are not some netfilter rules which block when there are two many incoming packages or something like this, even though the html protocol should work very fine, even behind a NAT routeur (which is just my case).

The problem with Fedora is that there are many subtle security configurations and for a normal Linux user who knows Linux quite well, many of these things come as a surprise, for example if even root cannot do everything due to some special security options. At occasion I have been very annoyed with Fedora due to this, especially the Sel-Linux thing (?). You may try to reduce the general level of security settings.

Apart from this you may also look at certain caching options (in the preference menu of vlc), may be increasing the caching time for streaming etc.

They may also be a particular problem with a (partly) broken or too old library (maybe faad2 which must decode the AAC mp4a for vlc ?) and which does not appear in my case, because I compiled everything myself with quite recent versions. However, such type of problems may be very difficult to pinpoint.

Re: AAC stream help

Posted: 09 Jul 2007 22:36
by kwizart
Actually there is known problem with gethostbyname function...

The firewall for Fedora 7 do not allow vlc to use it, this lead to problems (whereas Selinux is set to permissive).
The easier workaround is to de-activate the firewall then re-activate it like this...
su -
service ip6tables stop
service iptables stop
vlc with_your_stream
service iptables start
service ip6tables start

You should need to run this only one time

i'm searching for a nicer fix about this and Fedora 7...