Re: Sox Truncating MP3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Stary <hans@xxxxxxxx> writes:

> On Jun 09 22:04:06, marksweeneyre@xxxxxxxxx wrote:
>> I used Sox to process an MP3 file, but the output file was truncated.
>> At first I thought the problem was with the command or options, but
>> after removing all options and using Sox just to do a copy, the output
>> file was still truncated.
>> 
>> So I ran the same file through ffmpeg.  It processed the entire file
>> even though there was a warning about invalid data found in the input
>> file.
>> 
>> Can I force Sox to finish processing this file without truncating?  If
>> not, can I have Sox output a message so I that I know there was a
>> problem?  Currently it just fails silently.
>
> Without seeing the command and the original file, I can only guess,
> but I have seen this situation when the length header was wrong
> in the original MP3 file. I believe SoX stops processing the file
> at the given length even though the data continues. This can be
> overriden with --ignore-length

MP3 files don't have a length header, or any other header.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux