Hello, I use SoX 14.3.2 in Ubuntu 12.04, 64bit.
I want to use the pad option:
sox input.wav output.wav pad 0.150
SoX starts normally.
But then the process is cancelled without any feedback, as if it was successful. But it wasn't. I starts and ends just a few seconds later, leaving me with only a 250MB / 4 minutes long wav file. The source wav is 4.4.GB and 2hrs long. I have no idea why it doesn't complete it. The wav is 6-channel. The too short output file plays fine. It's just that SoX simply finishes already after 4 minutes of the file.
What can I do? Is there a SoX forum somewhere? Didn't find any on the project homepage.
+ Reply to Thread
Results 1 to 12 of 12
-
-
you might want to update to 14.4 because this is one of the problems fixed iirc (see: http://sox.git.sourceforge.net/git/gitweb.cgi?p=sox/sox;a=blob;f=ChangeLog;hb=6dff9411...8b7df334606820)
Is there a SoX forum somewhere?
also you might want to create w64 files instead of normal wav files,... -
Thanks for that hint. Problem is I get an error already at first step of compile instruction "autoreconf -i":
Code:Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
-
that probably means that you are missing libtool,...
wild guess: try if 'sudo apt-get install libtool' helps -
Thanks.
I simply used Synaptic Package Manager, searched for libtool, marked it for installation and installed it.
Then I followed the instructions for creating the installation files.
However, when I was finished and tested SoX, I ran into this error:
Code:error while loading shared libraries: libsox.so
"Add /usr/local/lib to /etc/ld.so.conf and then run /sbin/ldconfig"
http://old.nabble.com/SOX-14.2.0-1-Build-from-source-error-%22..error..shared-librarie...d22392740.html -
But damn, now I get this error when trying to convert to Flac:
Code:sox FAIL formats: no handler for file extension `flac'
Code:sudo apt-get install libsox-fmt-base Reading package lists... Done Building dependency tree Reading state information... Done libsox-fmt-base is already the newest version. libsox-fmt-base set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
EDIT:
I also tried to use 'pad' with creating another wav file:
sox input.wav output.wav pad 0.150
And the bug is still there. SoX simply terminates early, after 150MB already, even though the wav file is 4GB. Yes, I'm really stuck here. SoX version is 14.4.0, I checked.Last edited by encoderharry; 22nd Sep 2012 at 18:05.
-
Looks like you compiled SoX without flac support.
./configure command should show results similar to this:-
OPTIONAL FILE FORMATS
amrnb......................yes
dlopen amrnb..............no
amrwb......................yes
dlopen amrwb..............no
ffmpeg.....................no
flac.......................yes
gsm........................yes (external)
lpc10......................yes (in-tree)
mp2/mp3....................yes
id3tag....................yes
lame......................yes
lame id3tag...............yes
dlopen lame...............no
mad.......................yes
dlopen mad................no
twolame...................yes
dlopen twolame............no
oggvorbis..................yes
sndfile....................yes
dlopen sndfile............no
wavpack....................yes -
Guess I have to compile it again then. How do I remove what I just installed? Can I use package manager for self-compiled stuff to remove?
However, the new SoX version still has the same bug and terminates after a few megabytes. So it's pretty much useless
EDIT: Package manager still shows old version 14.3.2-3. So perhaps when I use SoX in terminal, it uses the old version? But no, that can't be. When I check version of SoX in terminal, it shows 14.4.0.
EDIT: I followed this to be able to uninstall the self-compiled package:
http://ubuntuforums.org/showthread.php?t=1297757Last edited by encoderharry; 22nd Sep 2012 at 18:17.
-
Just removed SoX 14.4, because I wanted to recompile it. However, now I have the problem that checkinstall created some doc-pak in the dir with the source. And this dir can't be removed.
EDIT: Well, I forced the removal with sudo. Hope I didn't harm anything with package management.
Anyway, I have to recompile it now. But how do I also upgrade the libraries used? As I said, they all showed up with v14.3, only SoX itself shows with 14.4.
I'm too tired now. Guess I give it another try tomorrow.
Similar Threads
-
Adding .srt to 1080p .mkv NOT WORKING!
By The_WRATH in forum SubtitleReplies: 8Last Post: 11th Apr 2020, 07:06 -
Adding working subtitles to .mkv files
By Yoven in forum Video ConversionReplies: 1Last Post: 10th Oct 2010, 12:43 -
adding subtitles isn't working anymore
By kategabrielle in forum ffmpegX general discussionReplies: 3Last Post: 26th Jun 2010, 04:36 -
Add silence to beginning of track
By CSULB71 in forum AudioReplies: 3Last Post: 10th May 2010, 16:04 -
Adding srt to avi not working
By joesphroth in forum SubtitleReplies: 1Last Post: 31st Mar 2008, 11:34