When trying to read from stdin with a LAME compiled with sndfile USE flag, LAME complains that '-' is not found. Reproducible: Always Steps to Reproduce: 1. lame --mp3input -q 3 -b 128 - -
Created attachment 194904 [details] ebuild to use the patch
Created attachment 194905 [details, diff] ebuild to use the patch
./configure --help says > --with-fileio=lame Use lame's internal file io routines default > =sndfile Use Erik de Castro Lopo's libsndfile > (no stdin possible currently) But I believe lame should be able to read from stdin when "--mp3input" option is specified. BTW I don't know this is a right way, but it seems the attached ebuild and patch solve the problem.
I confirm the new ebuild as tested and working!
*** Bug 277498 has been marked as a duplicate of this bug. ***
+*lame-3.98.2-r2 (22 Jul 2009) + + 22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> + +lame-3.98.2-r2.ebuild, +files/lame-3.98.2-get_audio.patch: + Support stdin and stdout with sndfile wrt #274255, thanks to Naohiro Aota + and Jérôme Poulin.