HOWTO Move a One Minute Video Clip from my Phone to the Web in 58 Easy Steps
- Shoot video on phone. Easy.
- Ask roommate to use laptop with Bluetooth adapter.
- Try to send file to laptop, as I’ve done before with another computer.
- Fail.
- Add laptop to “my devices”.
- Allow laptop to probe phone.
- Allow laptop to enter video directory.
- Allow laptop to enter video/camera directory.
- Allow laptop to download video.
- E-mail video from roommate’s laptop to mine.
- Attempt to watch video. No sound.
- Learn that the camphone video uses the AMR audio codec, which isn’t in gstreamer, even with all the extra codecs installed.
- Try to convert AMR to AAC with ffmpeg.
- Fail.
- Learn that ffmpeg does not support AMR out of the box because of licensing issues.
- Learn that I have to build ffmpeg from source.
- Learn that I have to download some strange zip file from 3gpp.org and extract it into a particular place within the ffmpeg source.
- Pull ffmpeg source from Subversion repository.
- Download the zip file.
- Extract it.
- Try to build.
- Fail.
- Try again.
- Fail.
- Extract zip into the correct place in the source repository.
- Build.
- Try to convert audio stream.
- Fail.
- Install libfaac-dev.
- Build.
- Try to convert audio stream.
- Fail.
- Ask ffmpeg-user list why.
- Learn that libfaac doesn’t do 8000 Hz.
- Try again at 11025 Hz.
- Partial success. Can’t convert to mp4 container.
- Build with mp4 muxer enabled.
- Try again.
- Success, I think. Gstreamer and mplayer like it.
- Email to other roommate to try in Quicktime.
- Audio, no video.
- Slightly modify ffmpeg invocation.
- Email to roommate to try in Quicktime.
- Audio, no video.
- Email original 3GPP file to roommate.
- Success, except that’s the file that I can’t hear on my Ubuntu with all codecs.
- Slightly modify ffmpeg invocation.
- Email to roommate to try in Quicktime.
- Audio, no video.
- Slightly modify ffmpeg invocation.
- Email to roommate to try in Quicktime.
- Audio, no video.
- Ask ffmpeg-user why.
- Learn that maybe H.263 isn’t supposed to go in MP4.
- Transcode video to mpeg4, in addition to transcoding audio.
- Success.
- Upload.
- Share.
ffmpeg-user is awesome. 3GPP lawyers suck. Video is hard.


