Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License version 2 as published by
#the Free Software Foundation.
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details:
#Any questions at all, email me at: email@example.com
if ! [ -e "$1" ]
echo "$1 does not exist."
if file -L "$INFILE" | grep RIFF | grep PCM | grep "16 bit" | grep stereo | grep 48000 &> /dev/null
if [ -e "$INFILE".wav ]
echo "Decode output file: $INFILE.wav already exists."
if ! mplayer -vo null -vc null -af lavcresample=48000,channels=2,format=s16le -ao pcm:file="$INFILE".wav "$INFILE"
echo "Couldn't decode $INFILE"
if ! lame --preset insane "$RAWFILE" "$OUTFILE"
echo "Couldn't encode $OUTFILE"
if [ "$RAWFILE" != "$INFILE" ]
rm -f "$RAWFILE"
if [ "$RAWFILE" != "$INFILE" ]
rm -f "$RAWFILE"
will do it for you (it'll convert any sound file that mplayer can play, even audio from video files). Just give the full path of the file as the argument.
It's set to produce 48000k sample rate and the highest possible quality which should be good for DVD.
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.
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.