Welcome Guest ( Log In | Register )

flac to mp3, without gui and without temp wav file
post Aug 23 2005, 19:52
Post #1

Group: Members
Posts: 216
Joined: 26-March 05
Member No.: 20965


is it possible to transcode from flac to mp3 without using any of the available gui's and without creating a wave file from the flac file first and then converting that wave file to mp3.

i would like to understand how this can be done (if it can be done).


basically, what command line could be used to do this? im guessing i would need to make use of the stdin and stdout?


This post has been edited by AlexanderTG: Aug 23 2005, 19:59
Go to the top of the page
+Quote Post
Start new topic
post Aug 24 2005, 02:56
Post #2

Group: Members (Donating)
Posts: 352
Joined: 10-July 04
From: Albany NY USA
Member No.: 15259

QUOTE (Mr_Rabid_Teddybear @ Aug 23 2005, 08:39 PM)
If you make some that differs in various aspects, it would ofcourse be nice if you posted yours for others to look at..... smile.gif

I will definitely do so after I figure out how it all works. It uses some code I haven't seen before. Maybe I can use tag.exe to do tags. That might be faster and easier, and it would also be more universal.

Here's what I had written out before. The batch file is ultra simple, but the instructions for binding to file associations may be helpful for people who don't want to use an installer...

You can make a batch file with this:
[path\]flac.exe -dc %1 | [path\]lame.exe [lame options] - %1.mp3
[] = optional. The "pause" will make the command box wait for you to press a key before it closes so you can see what happened. I particularly like that because I use --verbose in the lame options.

Then save the batch file somewhere (if you put it in the same directory as flac.exe and lame.exe you don't need the path. Now you can associate that to a new entry in the right click actions for all flac files.

Then, in and windows folder, open tools -> folder options -> file types. Find & select the entry for flac, and click the "advanced..." button, and then the "new..." button. In the box that pops up, the first text entry is for the name that will be on the right menu. You can call it anything you want, something like "Flac to Mp3" would be good. Then click the "browse" and find your batch file. After you hit ok, you need go to the end of the entry and add " %1". That's space percent one, nothing else. Now hit OK three times.

Now you can right click any flac file and automatically make an mp3 copy. Just be sure to only do one at a time, because if you have multiple files selected and try it they will all go at once instead of one at a time. If you want to do a bunch use something like foobar that can make a queue.
Go to the top of the page
+Quote Post

Posts in this topic
- AlexanderTG   flac to mp3   Aug 23 2005, 19:52
- - Digisurfer   foobar2000 0.8.3 (foo_flac 1.0.17) + LAME 3.96.1 w...   Aug 23 2005, 20:11
- - NumLOCK   Hi, At least in linux, you can try something like...   Aug 23 2005, 20:11
- - AlexanderTG   does that mean it cant be done in a win32 environm...   Aug 23 2005, 20:20
- - tycho   Sure it can be done in a win32 console window (Sta...   Aug 23 2005, 20:28
|- - snookerdoodle   QUOTE (AlexanderTG @ Aug 23 2005, 12:52 PM)is...   Aug 24 2005, 00:13
- - AlexanderTG   cool that works! so would i be right in sayin...   Aug 23 2005, 20:40
|- - tycho   QUOTE (AlexanderTG @ Aug 23 2005, 11:40 AM)co...   Aug 23 2005, 20:52
- - AlexanderTG   thats excellent while the commandline script was...   Aug 23 2005, 21:14
- - gfngfgf   Just a guess here, but MP3 and FLAC are designed f...   Aug 23 2005, 22:10
- - Daffy   Someone asked for something similar out of Lamedro...   Aug 24 2005, 00:23
- - Mr_Rabid_Teddybear   Same commandline a bit shorter: CODEflac -dc myfil...   Aug 24 2005, 00:46
- - DilbyŠ   This is what you want, includes windows rightclick...   Aug 24 2005, 00:59
- - Klyith   Aargh, Dilby, I was just writing a how-to on batch...   Aug 24 2005, 01:21
|- - Mr_Rabid_Teddybear   QUOTE (Klyith @ Aug 23 2005, 04:21 PM)Though ...   Aug 24 2005, 01:39
- - Klyith   QUOTE (Mr_Rabid_Teddybear @ Aug 23 2005, 08:3...   Aug 24 2005, 02:56
- - legg   a batch that would convert all flac files in a dir...   Aug 24 2005, 03:10
- - Mr_Rabid_Teddybear   QUOTE (legg @ Aug 23 2005, 06:10 PM)a batch t...   Aug 24 2005, 03:52
- - legg   [quote=Mr_Rabid_Teddybear,Aug 23 2005, 09:52 PM] C...   Aug 24 2005, 04:01

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: 26th November 2015 - 02:27