Bugs item #3559994, was opened at 2012-08-20 15:44 Message generated for change (Comment added) made by bat999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3559994&group_id=10706
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: bat (bat999) Assigned to: Nobody/Anonymous (nobody) Summary: SoX can't encode amr-wb. Initial Comment: Discussed on the mailing list. Here ---> http://sourceforge.net/mailarchive/forum.php?thread_name=DUB116-W663B948B22AF6CFDCCF435F3C10%40phx.gbl&forum_name=sox-users SoX can't encode amr-wb... because it's compiled with libopencore-amrwb. But libopencore-amrwb is a DEcoder. Needs to be compiled with vo-amrwbenc ENcoder. sox -d output.amr-wb sox WARN formats: amr-wb can't encode at 48000Hz; using 16000Hz sox WARN formats: amr-wb can't encode stereo; setting channels to 1 sox FAIL formats: can't open output file `output.amr-wb' SoX was compiled without AMR-WB encoding support. ---------------------------------------------------------------------- >Comment By: bat (bat999) Date: 2013-01-10 16:37 Message: I've had another look at this problem. Using Ubuntu, SoX is insisting on compiling against libopencore-amrnb libopencore-amrwb. I have libopencore-amrnb-dev libopencore-amrwb-dev packages installed because they are used when compiling other programs eg FFmpeg. My workaround is to uninstall those two dev packages and compile SoX against temporary local static builds of amrnb and amrwb. Then re-install the dev packages afterwards. My build script is attached. Nobody's shown any interest in this bug so I'm gonna mark it as 'fixed' Now SoX will convert to amr-nb AND amr-wb. @ubuntu:~$ sox foo.wav foo.amr-nb sox WARN formats: amr-nb can't encode at 44100Hz; using 8000Hz sox WARN formats: amr-nb can't encode stereo; setting channels to 1 @ubuntu:~$ mediainfo foo.amr-nb General Complete name : foo.amr-nb Format : AMR Format/Info : Adaptive Multi-Rate File size : 18.9 KiB Audio Format : AMR Format/Info : Adaptive Multi-Rate Format profile : Narrow band Channel(s) : 1 channel Sampling rate : 8 000 Hz Bit depth : 13 bits @ubuntu:~$ sox foo.wav foo.amr-wb sox WARN formats: amr-wb can't encode at 44100Hz; using 16000Hz sox WARN formats: amr-wb can't encode stereo; setting channels to 1 @ubuntu:~$ mediainfo foo.amr-wb General Complete name : foo.amr-wb Format : AMR Format/Info : Adaptive Multi-Rate File size : 26.4 KiB Audio Format : AMR Format/Info : Adaptive Multi-Rate Format profile : Wide band Channel(s) : 1 channel Sampling rate : 16.0 KHz Bit depth : 14 bits ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110706&aid=3559994&group_id=10706 ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel