Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
User Journal

Journal DeadTOm's Journal: Can't hear sound on quicktime or 3gp/3g2 files 1

So my LG phone records movies in 3g2 format. I've been trying to convert them to mpegs and vice versa using mencoder but kept getting this error:
==========================================================================
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
Win32 LoadLibrary failed to load: QuickTime.qts, /usr/lib/win32/QuickTime.qts, /usr/local/lib/win32/QuickTime.qts
failed loading QuickTime.qts
ADecoder preinit failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x706C6351.
Read DOCS/HTML/en/codecs.html!
==========================================================================


I knew that I needed the w32codec package for mplayer but couldn't seem to find ubuntu packages for it and I just didn't feel like compiling the whole thing. So after much frustrated googling put together the following solution.

Run these commands:
------------------------------------------------------------------------------------------------------
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list

sudo wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O-¦ sudo apt-key add -

sudo apt-get update

sudo apt-get install w32codecs
------------------------------------------------------------------------------------------------------

I attempted the conversion on a movie file from my phone and it worked flawlessly, sound and all. :)

I wrote the following script, and named it phoneconvert:

mencoder $1 -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -o $2

So now when I want to convert a movie from my phone to mpeg format with mp3 audio I just run this command:

phoneconvert inputmovie.3g2 outputmovie.mpg

Working beautifully.
This discussion has been archived. No new comments can be posted.

Can't hear sound on quicktime or 3gp/3g2 files

Comments Filter:
  • /. journals don't get indexed by google etc so if you are hoping to find it again if your setup gets borked post it somewhere that does.

    I post my moz stuff at the mozillazineforums, vlc at the vlc forums, general ubuntu stuff at the ubuntu forums. With my userid and a hint of what the problem is I can find the stuff again. Even better you often get useful info added.

    I am only posting in this thread as I have too many bookmarks already and hopefully I can find the entry in my list of slashdot entries.

    Thanks

Heard that the next Space Shuttle is supposed to carry several Guernsey cows? It's gonna be the herd shot 'round the world.

Working...