HOWTO convert .flac to .mp3
yes i know mp3 is not the "going rage" and OOC and FLAC are as good or better, but the issue is i need to convert the flac to mp3 so i can use it in video editing. Adobe Premiere 6.5 DOES not use flac sound files.
all of the converters for windows SUX0R big time and i just need to convert 1 bloody file so im not going to be paying $20-$100 for a converter under windows for it. this is NOT for a DVD to be sold, just one i am making for my school, thanks. |
Hi.
If you've got mplayer and lame installed, then: Code:
#!/bin/bash It's set to produce 48000k sample rate and the highest possible quality which should be good for DVD. Or you can just do: Code:
flac -d /path/to/file.flac Code:
lame --perset insane /path/to/decoded/file.wav Dave |
http://www.gurulabs.com/downloads/flac2mp3.pl
visit: http://www.gurulabs.com/goodies/downloads.php scroll down to flac2mp3 haven't tried myself so I don't know if it actually works |
Quote:
|
Hi.
flac is probably installed. Can you run 'flac' from a shell? |
You could also use ffmpeg.
ffmpeg -i flacfile.flac -acodec mp3 -ab 128 mp3file.mp3 MP3 files are lossy, so I recommend convert the flac file into WAV or PCM. There are better programs than Adobe Premiere that works in Linux. Cinelerra CVS is one of them. Another one is Jahshaka but the developers do not use good configure scripts to find the require libraries, so find pre-compiled versions for your distribution. Then the pathetic Kino. Like any program, you will have to learn how to use it. |
thanks all. sorry for the long delay in the thanks. my main box lost the PSU so i have been down trying to get that up and running again. top it off the new ram i picked up for it will not work with XP... so back to 2G instead of the 4G that MS claims XP can handle. system only reccognizes 2.5G out of the 4G installed that yes the BIOS sees and tells me is ok and ready to use.
bloody MS. sucks there is nothing as powerful or as easy to use as Adobe premiere 6.5 in Linux. |
In order to use 4 GB of memory with out losing memory from virtual memory instructions, both the processor and the OS have to be 64-bit. A 32-bit OS and processor can handle more than 4 GB but PAE uses most of it for virtual addressing.
Kino is easy and quick. Cinelerra CVS is more powerful than Adobe Premiere. Adobe Premiere is a wimp compared to Cinelerra CVS. Cinelerra CVS compares to Avid. The hard thing to understand is both Cinelerra CVS and Kino can only handle a few formats, so the videos have to be re-encoded. I suggest doing the following to use the desire video clip in Cinelerra CVS. ffmpeg -i videoinput.avi -vcodec mjpeg -sameq -acodec u16_le videoutput.mov You may need to double check the video codec and audio codec names if they are wrong. Quicktime formats are better because they keep audio and video sync better than AVI. BTW, you could have downloaded the flac codec for Windows. Adobe Premiere should be able to play back flac files with out any problems. |
i didnt have more then 4G, just 4x1G PC3200 ram for this rig. my OS is not the 64bit vs, but according to MS, i dont need the 64bit vs for winXP Pro to access 4G of ram. i do have a 64bit CPU AMD 939chip 3800+
AVI allows for multi level video and audio when importing and working with data for editing. IIRC a few years back i messed with Cinerlera, and it was just not very clean or easy to understand. very pore guides and things just were not easy to understand or follow the flow, plus it ONLY allowed for single line editing and not A/B editing. again that was a few years ago. as for codec, i leave the video uncompressed and burn straight to DVD, or convert the AVI to a flash for web uploads. some examples of the smaller edits i do for the web. also i do 10 - 60+min videos for display via DVD inside of my school. http://www.ssma.us/media.html |
If you have kde you go on kde.org and download one of the audio converter addons.
Then open konqueror and right click, convert to (mp3,ogg,mpc,...) |
Quote:
You could also try Audacity from Packman. |
Or this
#!/bin/bash
############## #Convert all files in directory into 128k mp3 files # Using ffmpeg ############### for FILE in *; do ffmpeg -i "$FILE" -ab 128 "$FILE.mp3"; done |
Taking out the Flac
@ hugogee. Excellent code thank you,
I found and edited the following to remove the ".flac" from "filename.flac.mp3" so the it becomes Only mp3 #find $1 -name '*.flac.mp3' | while read file; do new=$(echo "$file" | sed s/'.flac.mp3/.mp3'/g) mv "$file" "$new" done This works great recursive through directories, tested on Copied Directory numerous times not sure if # is required when posting code in here, so i did Thanks again hope this helps too :-) Additional info on your code; for FILE in *; will search directories for you if " */* " is used ( save selecting each dir ) |
I use a program called SoundConverter 1.4.4. It installed by default in Ubuntu Studio, but is probably available in other package managers. Easy to use, and does the job very well.
|
Just google search Step-by-step Guide on How to Convert FLAC to MP3 using Windows or Mac
you will find a simple solution to convert flac to mp3, wma, wav, aiff, ogg, aac, mp2 and more it even can help to convert ogg to mp3, ape to mp3, m4a to mp3, aiff to mp3, wav to mp3 |
All times are GMT -5. The time now is 07:33 AM. |