On Sun, 29 Jun 2008 the mental interface of Damian Pietras told: > On Sun, Jun 29, 2008 at 06:38:23PM +0300, Andrei Popescu wrote: > > On Sun, Jun 29, 2008 at 04:21:07PM +0200, Elimar Riesebieter wrote: > > > > > > When I try to open the stream at > > > > > > > > http://live.eliberadio.ro:8000/fm48.aac > > > > > > > > I get a "Format not supported" > > > > > > > > Please contact me if you need more info. > > > > > > I've build latest svn "r2092 | daper | 2008-06-29 11:55:27 +0200 > > > (Sun, 29 Jun 2008)". aac-plugin is built (if I rely on the config > > > log). aac extension wasn't recognized so I added it to ffmpeg.c. > > > > > > Now playing aac files from HD runs fine. But open > > > http://live.eliberadio.ro:8000 says "Format not supported". > > > > So you can confirm moc has a problem. > > > > > mplayer http://live.eliberadio.ro:8000 plays an AAC stream, though. > > > > > > I am in doubt to close this reopend bug? > > > > It definitely is a problem if some other program can play that stream, > > but not moc. > > I've build latest SVN version with AAC plugin on debian unstable and the > stream works. > If aac plugin is built-in, it's displayed at the end of ./configure > output and then should work. You can also run mocp -SDF &>log and see if > the aac plugin is loaded without errors.
My apologies. In this case the problem resides between my left and my right ear ;) My debian rules/make didn't install the aac-plugin. But anyway, if the aac plugin is installed, m4a files are regognized as FLA in the playlist and couldn't be played. To play both aac-streams and m4a (via ff-mpeg-plugin) i've patched the aac plugin as attached. Damian, could you please have a view to the patch as I want to upload r2093 to the Debian pool? Thanks Elimar -- Experience is something you don't get until just after you need it!
diff -Naurd moc-2.5.0~alpha3+svn20080629.orig/decoder_plugins/aac/aac.c moc-2.5.0~alpha3+svn20080629/decoder_plugins/aac/aac.c --- moc-2.5.0~alpha3+svn20080629.orig/decoder_plugins/aac/aac.c 2008-06-28 17:50:19.000000000 +0200 +++ moc-2.5.0~alpha3+svn20080629/decoder_plugins/aac/aac.c 2008-06-29 19:45:55.000000000 +0200 @@ -555,8 +555,7 @@ static int aac_our_format_ext (const char *ext) { - return !strcasecmp(ext, "m4a") - || !strcasecmp(ext, "aac"); + return !strcasecmp(ext, "aac"); } static void aac_get_error (void *prv_data, struct decoder_error *error)
signature.asc
Description: Digital signature