On 2009/10/19 15:35, Kiran Biswal <bis...@broadcom.com> wrote: > Just wondering how to play a mp3 file from command line. Does it > have a similar feature like madlld or madplay application to play a > file? Could someone suggest the exact syntax to pass a mp3 file as > input and save the decoded output into a file?
Try to recompile with "--enable-test", that'll create the test program "test/run_decoder". With that, you can do stuff like: ./test/run_decoder mad /tmp/foo.mp3 >/tmp/foo.raw That's a program we use for debugging decoder plugins (there are more). "mad" is the name of the decoder plugin. Max ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team