IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
APE 24/96 --> wav 16/44.1
Azevedo
post Jun 23 2013, 22:57
Post #1





Group: Members
Posts: 79
Joined: 3-November 08
Member No.: 61632



Hi everyone,

I'm trying to convert this APE 24bit/96KHz to FLAC 16/44.1

I did the following and generated the wav file
CODE
ffmpeg -i a.ape -ar 44100 -sample_fmt s16 a.wav


But when I try to split the wav with ACDIR or CUETools they say the audio file is invalid. But the wav file is ok 16/44.1

CODE
Audio
Format                                   : Monkey's Audio
Bit rate                                 : 2 430 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 96.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossless
Compression ratio                        : 1.897
Encoding settings                        : Normal


Anyone?
Go to the top of the page
+Quote Post
dutch109
post Jun 23 2013, 23:23
Post #2





Group: Members
Posts: 112
Joined: 20-June 06
Member No.: 32044



Try :
CODE
ffmpeg -i a.ape -ar 44100 -acodec pcm_s16le -f wav a.wav


--------------------
Vorbis -q2/5 (Android/PC) & WavPack -hhx6
http://playnoise.com/
Go to the top of the page
+Quote Post
Azevedo
post Jun 23 2013, 23:34
Post #3





Group: Members
Posts: 79
Joined: 3-November 08
Member No.: 61632



Thanks dutch!!! worked!

hmm them bits!
https://en.wikipedia.org/wiki/Endianness
Go to the top of the page
+Quote Post
CoRoNe
post Jun 24 2013, 12:21
Post #4





Group: Members
Posts: 164
Joined: 31-May 05
From: Netherlands
Member No.: 22417



Why not go immediately for FLAC 16/44.1, if that's what you want?
CODE
ffmpeg -i a.ape -ar 44100 -sample_fmt s16 -acodec flac a.flac


--------------------
DC-Bass Source Mod: http://reino.degeelebosch.nl
Go to the top of the page
+Quote Post
ManekiNeko
post Jun 24 2013, 13:22
Post #5





Group: Members
Posts: 74
Joined: 7-April 09
Member No.: 68742



Going from 24/96 I would use Sox. It's resampler is up there with amongst the best. It's also very good at reducing 24 bit to 16 bits (using dither).

Something like this will serve you well:

CODE
sox [infile] -b 16 [outfile.wav] rate -v -s 44100 dither -s
Go to the top of the page
+Quote Post
saratoga
post Jun 24 2013, 17:45
Post #6





Group: Members
Posts: 4715
Joined: 2-September 02
Member No.: 3264



QUOTE (ManekiNeko @ Jun 24 2013, 08:22) *
Going from 24/96 I would use Sox. It's resampler is up there with amongst the best. It's also very good at reducing 24 bit to 16 bits (using dither).

Something like this will serve you well:

CODE
sox [infile] -b 16 [outfile.wav] rate -v -s 44100 dither -s


Newer versions of ffmpeg actually include the libsoxr resampler, although its not the default.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th April 2014 - 05:03