View Full Version : Coding for phones - problems


MrPiercer
25th October 2006, 09:57
Hiya!
I have to ask you guys, I'm stuck.. I'm trying to code videos for use with video capable phones, primarily Nokia N73 and Nokia 6280.

The N73 isn't a big problem, I can use TMGEnc Xpress to code H.264 videos that runs fine, but these won't work on the 6280 wchich isn't that capable. According to Nokia's info (http://www.forum.nokia.com/devices/6280) on the 6280, it should be capable of showing 3GPP formats (H.263), MPEG-4.

When I code it in QT, I get a clean file that's useable on the 6280 phone, settings in QT are 3GPP2, H.263 video, 320x240, 100Kb/s, 15fps. Audio AAC-LC, stereo, 40kbit/s, 24kHz.

I also try this in TMGEnc Xpress, settings there are 3GPP, MPEG-4, 320x240, 15 fps, CBR 100 Kb/s, simple profile, Level 2, GOP length 30, quantization H.263 and audio AAC, 24kHz, stereo, 40kBps, low complexity and raw output format.
That file plays in QT and others on Windows, but NOT on any of the phone players.

So, I set the parameters differently, and try 3GPP, MPEG-4, 320x240, 15 fps, CBR 100 Kb/s, advanced simple profile, Level 2, GOP length 30, quantization MPEG and B-frame automatic, same audio as above. That file doesn't play anywhere...

This whole business is starting to be annoying.. What are the differencies beween the QuickTime results and the TMPGEnc results? Unfortunately I don't know how to find out, and I'm also just starting to encode in these formats, so I really could use help from more knowledgeable people... :)

I've attached the result files for your inspection, I'd be very grateful if somebody can help to set useable settings in TMPGEnc to create these files, I really prefer it to QT. :sly:

foxyshadis
25th October 2006, 10:40
h.263 quantization isn't h.263 video. Simple profile should be close, but probably won't be compatible if it doesn't have mpeg4 support. You can try, but you'll probably need to use a real h.263(+) encoder like quicktime to use it.

Drachir
25th October 2006, 10:43
Probably the Nokia 6280 doesn't support MPEG 4 SP@L2 (320x240). Try a smaller resolution like 176x144 or use H.263 like it is done by QT.

Did you try to play the TMGEnc Xpress file with the Nokia N73?

MrPiercer
25th October 2006, 10:56
Did you try to play the TMGEnc Xpress file with the Nokia N73?

Yep, the N73 happily plays just about anything.. But then it's also H.264 compatible, and I can generate fully valid sequencies with TMPGEnc for it. It's the lower spec'd 6280 that poses problems. I guess I'll have to stick with QT to encode for it... Not that I'm happy with that solution.

I haven't tried using Vdubmod + ffdshow yet, maybe that would be a solution? I'm just not clear on how I should mux it all into a valid 3GP/3GPP/3GP2 container though. Any output from Vdubmod is stuffed into an avi container, which doesn't do me any good.

MrPiercer
25th October 2006, 17:40
Dammit.. I need a tutorial...

I need to find a way to encode in H.263 / H.263+, just a clean video file, and then be able to mux it with a AAC track into a valid 3gpp container...

I just don't get how to do it.

zambelli
26th October 2006, 09:23
Have you tried 3ivx (http://www.3ivx.com)? I can't speak for Nokia, but I remember playing back some 3ivx encoded 3GPP files on Windows Mobile smartphones (in WMPm, using OEM DirectShow filters).

Drachir
26th October 2006, 11:20
Dammit.. I need a tutorial...

I need to find a way to encode in H.263 / H.263+, just a clean video file, and then be able to mux it with a AAC track into a valid 3gpp container...


You could use FFmpeg to create a H.263 RAW stream and mux it into 3gp with MP4Box or create a 3gp file with FFmpeg.

MrPiercer
26th October 2006, 11:48
You could use FFmpeg to create a H.263 RAW stream and mux it into 3gp with MP4Box or create a 3gp file with FFmpeg.

Thanks, I'll look into it! I made an attempt with ffdshow, but I failed miserably.. ;)

quake74
26th October 2006, 12:04
Sorry if I'm suggesting the obviuous, but why don't you use 3GP Converter http://www.videohelp.com/tools?tool=3GP_Converter ? It is actually just a front-end for ffmpeg and so you can tweak the ini files to choose your favorite filters, and also automatically applies atomchanger, which is required by some phones. It has profiles for many phones, but I don't know whether yours are in the list.