On Monday 06 February 2006 23:05, Mattias Bengtsson wrote: > On Thu, 2006-01-05 at 02:48 +0100, Mattias Bengtsson wrote: > > This makes mplayer play a few more mp3's than before. > > I had problems with some specific files (like 2-3 mp3's in every tenth > > album or so) not being detected as mp3's but movies instead. This seems > > to fix it for me at least. > > Any comments on this? > To my knowledge it forces mplayer to regard .mp3-files as MP3's instead > of doing it's own (buggy?) detection that, for me at least, only works > _almost_ always.
That's the -rawaudio format=0x55 part, right? That part looks OK to me, if Freevo already decided that it's an MP3 file. mmpython / kaa.metadata should have a good detection code already, so if you made sure it's only called for MP3 files (i.e. not ACC/Vorbis/WMA/..), that's fine (the code part you patched decides by extension - whatever ;-) ). However, I wonder if it's really MPlayer not detecting the MP3 right (can you confirm that with -v output?); it may be that your changing of the demuxer does the trick. Hmm, the more I look at your code, I wonder what it does. Maybe you could explain better what happens; I read in MPlayer's manpage that "-audio-demuxer 17 forces MP3" (when using -audiofile). However, you use demuxer 20, which is rawaudio (see http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/libmpdemux/demuxer.h ). Couldn't you use "-rawaudio on:format=0x55" instead (note the "on")? (If not, you should at least call the variable DEMUXER_RAWAUDIO instead, maybe even leave DEMUXER_MP3 for future reference.) And the main question remains: Why does or -demuxer 17 not do the trick? I know there are different MP3 codecs in MPlayer, but (how) do you actually change it? -- Ciao, / / /--/ / / ANS ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
