Welcome Guest ( Log In | Register )

Wanted: FLAC eksperts; Command lines for framerate/bitres?!
post Jan 22 2013, 21:23
Post #1

Group: Members
Posts: 11
Joined: 22-January 13
Member No.: 106112

Hi guys.

First of all thank you for this great forum. I have found a lot of great info in here.

Now I'm stocked with a question that I just CAN'T find the answer for.

I have a DVD-Audio disc containing 3 demo/test songs, stored in 1 single "AOB"-file (DVD-Audio). It is in PCM 96kHz, 24 bit, 5.1ch.
As I would like to do some listening tests, I'm converting it to various file-formats including FLAC.

I'm using a very basic program called "DVD-Audio Explorer 2008" which can load the DVD-A structure (through the IFO of the DVD-folder), and "extract" the specific tracks from out of the complete .aob-file.
By design the program stores the extracted files as PCM wave, but using a command line for external encoder, I can can load the FLAC.exe, extracting directly to FLAC-files.
It works perfect, but as it is a very basic program, there's no option for changing the framerate, and bit-depth. Only option is for "stereo downmix", which works very well though.

Anyway, what I need is a command line that can "tell" the FLAC encoder, to convert the file to 16bit instead of 24bit, and 48kHz instead of 96kHz.
I have been searching through 100 different sites, trying many different (homemade) command lines, but no luck at all. I just CAN'T fint the correct command, for these changes. The FLAC FAQ doesn't says anything I can use, or if so I'm just blind to it?!

Can some of you guys help me out? It would make my day, really.
Go to the top of the page
+Quote Post
Start new topic
post Jan 27 2013, 20:35
Post #2

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

You're right. DVDAExplorerEnc.log:
D:\Storage\Media\Binaries\SoX 14.3.2\sox.exe FAIL formats: can't open input file `files/Audio/track-01-01[1]-03-[Downmix]-24-96000.wav': No such file or directory
"`files/" is part of directory with spaces in it.

"D:\Storage\Media\Binaries\SoX 14.3.2\sox.exe" "%filepath%" -r 44100 -b 16 "%path%/%filebase%".flac solves that issue.
Right after extraction sox crashes though, but that could a problem of my old computer. It happens more often.

I know this is old software, but in the end...what the point of having this "Run program"-feature when it doesn't make use of piping and the program still extracts the huge wav-files?!

DC-Bass Source Mod: http://reino.degeelebosch.nl
Go to the top of the page
+Quote Post
post Jan 28 2013, 10:21
Post #3

Group: Members
Posts: 261
Joined: 14-February 12
Member No.: 97162

QUOTE (CoRoNe @ Jan 27 2013, 21:35) *
I know this is old software, but in the end...what the point of having this "Run program"-feature when it doesn't make use of piping and the program still extracts the huge wav-files?!

IMO the existing solution is easier for the developer and makes the extension a bit more flexible. Piping is a blocking operation which the developer would have to take into account. Also, having a finished wav at the time of postprocessing could be useful for some tasks.
Go to the top of the page
+Quote Post

Posts in this topic
- -Aze-   Wanted: FLAC eksperts; Command lines for framerate/bitres?!   Jan 22 2013, 21:23
- - julf   What you need is SoX   Jan 22 2013, 21:31
- - db1989   In other words, flac.exe itself cannot change samp...   Jan 22 2013, 21:37
- - -Aze-   Wow...Such fast response. You guys are the best. ...   Jan 22 2013, 21:46
|- - phofman   First, create the flac, e.g. high-resolution.flac ...   Jan 22 2013, 22:40
- - -Aze-   Phofman: Thank you very much for the explanation. ...   Jan 22 2013, 23:27
|- - phofman   QUOTE (-Aze- @ Jan 23 2013, 00...   Jan 23 2013, 08:19
- - CoRoNe   I take it "DVD-Audio Explorer 2008" uses...   Jan 23 2013, 00:26
- - -Aze-   I'm really glad you guys are trying to help me...   Jan 23 2013, 22:47
- - CoRoNe   After quickly looking through that manual: replace...   Jan 23 2013, 22:58
- - -Aze-   So sorry for the delay in my reply. OK, I have tr...   Jan 27 2013, 12:38
- - CoRoNe   You need to specify sox.exe's location and rep...   Jan 27 2013, 13:07
- - -Aze-   Ok, I just don't get it...Sorry. Have tried e...   Jan 27 2013, 13:38
- - CoRoNe   %filepath% ?   Jan 27 2013, 13:42
- - -Aze-   I thought the filepath was the sox.exe location? ...   Jan 27 2013, 13:55
- - CoRoNe   No, you forgot to put "%filepath%" in yo...   Jan 27 2013, 13:59
- - -Aze-   I have added this line: "C:\Users\C...   Jan 27 2013, 14:23
- - CoRoNe   I had never used this program before, and since yo...   Jan 27 2013, 17:51
|- - phofman   The manual at http://501post.com/audio/db/from%20a...   Jan 27 2013, 20:02
- - CoRoNe   You're right. DVDAExplorerEnc.log: CODED:...   Jan 27 2013, 20:35
|- - phofman   QUOTE (CoRoNe @ Jan 27 2013, 21:35) I kno...   Jan 28 2013, 10:21
- - -Aze-   Thank you guys so much for trying to help me out. ...   Jan 28 2013, 22:45

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: 21st April 2014 - 04:00