Daily Archives: 8/16/2006

Ripping 3gp Video with FFMPEG

I admit that I was spoiled to a certain degree by my old Motorola mpx220 smartphone: it would play windows media files, and with the addition of the TCPMP media player, many other formats as well. My new LG phone only plays 3gp video, and I hadn’t ever bothered trying to rip video to that format before.

I rapidly discovered that while the stock version of ffmpeg that I had would handle the video, the AMR audio codecs weren’t built in. So, I went over to my Ubuntu box, and entered:

sudo apt-get source ffmpeg

If you cd down into the libavcodec directory, you can read the code to amr.c, which will tell you how to fetch the code you need. You only really need the amr_float code. Unzip it like they say, and then add --enable-amr_nb to the options that you use when you configure. Then just make as normal. It wasn’t difficult at all.

The commandline you pass ffmpeg will probably look something like:


ffmpeg -i bbq.mpg -s qcif -r 10 -b 56 -ab 16 -ar 8000 -ac 1 bbq.3gp

Here’s the resulting video file, which you could test on your phone. I’m not sure the audio sync is exactly right, but it’s not terrible either.

Technorati Tags: , , ,

Speed Test of the LG CU500

Josh wanted to know how fast the HSDPA networking built into my new LG CU500 is, and recommended going to http://www.dslreports.com/mspeed to check it out. The default WAP-based browser wasn’t up to the task, so I loaded Opera Mini onto the phone and gave it a try by testing it with the 1M file size (what do I care, I have unlimited Media Net 🙂 ). The result?

Downloaded 1M in 3.532 seconds

Apparently, the 3G network is pretty fast! I tried it multiple times, and this was just about the slowest time recorded.