The output of:
avconv -i original.flac
and
avconv -i converted.mp3
will give you detailed info on the files, e.g. what sample rate is used.
Which might shed some light on things.
Regards,
Leo
On 08/03/16 12:33, Chris Liddell wrote:
> Th flac files may well be high res audio, which the SansaClip+ probably
> doesn't support. You may well have to resample them before converting to
> mp3.
>
> I used sox to sample my high res flac files, thus:
>
> sox -S in.flac -r 44100 -b 16 out.flac
>
> That resamples to 16 bit samples, and 44.1 Khz sampling rate - that's
> what CDs use.
>
> Then convert to mp3 - or maybe sox can write mp3s, too, not sure....
>
> Chris
>
>
>
> On 08/03/16 12:18, Peter Alefounder wrote:
>> I have a problem with audio format conversion. A company called Naxos
>> has started distributing copies of CDs in flac format. I got one of
>> these (it turns out to be made up of tracks from other CDs of theirs,
>> more or less a sampler, so they aren't giving much away).
>>
>> The files being rather large, I would like to compress them. I first
>> added tags using metaflac - no problem. Then I converted them to mp3
>> using avconv. This apparently worked, but my mp3 player (a SansaClip+)
>> does not like them. Any attempt to play one causes it to crash.
>>
>> Examination using Rhythmbox (which can play them) shows that the
>> quality is "Unknown" (other mp3s have a specific bitrate). I suspect
>> this may be the problem - the player may well require a specific
>> bitrate. The quality still appears as "Unknown" even if I specify -b
>> 128k or -aq 4 (or both) when using avconv. If I convert to ogg, the
>> file size is hardly reduced at all. It is possible that -b and -aq are
>> intended only for video formats: in which case, are there any
>> equivalent options for audio conversion? - I can't find any using man
>> avconv.
>>
>> Any advice on how to solve this would be welcome.
>>
>> Peter Alefounder.
>>
>
--
Please post to: Hampshire@???
Web Interface:
https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL:
http://www.hantslug.org.uk
--------------------------------------------------------------