Log in

View Full Version : P800 video encoding


burnout
13th May 2003, 08:59
lo peeps, any1 with a sony ericsson P800 phone out there? just wondering what the best method is to convert clips so that they play on the P800?

tried mpegable but not a big fan of that, is there any way with a different codec?


Edit: got a P900 recently so made a guide on how to encode compatible videos with XviD or DivX... http://www.nerdsapocalypse.com <-- check it out :)

Sirber
13th May 2003, 13:09
hum...

Is it a Phone, or a Pentium 800?

CaptainCarrot
13th May 2003, 13:15
Is it a Phone, or a Pentium 800?
sony ericsson P800 phone
Are you blind?
:D :D :D

Sirber
13th May 2003, 13:17
I'm still tired. P800 is the model number or it's a Pentium 800?

symonjfox
13th May 2003, 13:53
Hi, I got a Nokia 7650 and I tred to create a small clip to be played on the phone (I downloaded a small player that support MPEG 4).

I used Xvid as codec, but keep in mind that MPEG4 for mobiles havs big limitation (stay stick to simple profile: no BFrames, low bitrate, and so on). Before I created the AVI, then muxed it into an MP4 container (Mp4creator60.exe)

Unfortunately this program has no audio support. Maybe it supports AMR? Don't know, I've no time to test.

Now Nokia relased a new program for 7650 that saves files in 3gp container (both video and audio). 3gp is a kind of MPEG 4 + some non standard features. The major limit of these things is the memory capacity of my 7650 ... in normal use I've just 2MB of free memory.

Sirber
13th May 2003, 13:55
The clip has to be 2 Mo?

symonjfox
13th May 2003, 14:06
no, in my nokia, just 100k :(
It's a big limitation, but it theory, those MP4 files would be used just as MMS messages, nothing more.

shlezman
13th May 2003, 17:06
Originally posted by symonjfox
(I downloaded a small player that support MPEG 4
Can you place a link to that player ?

symonjfox
13th May 2003, 19:49
I can't remember, I downloaded a "Nokia 7650 application pack" from a p2p program ... I'm sorry.

burnout
14th May 2003, 09:04
k m8, thanx for replies. The P800 has a video player to watch clips on (only problem with it is u can't skip forward unless there is a fix :()

i have 128mb stick for mine, so i can get 2 hours of film on at the following specs...

Image size: 192*144
Bitrate: 100
Frame Rate: 25fps
B-Frame: 0
Audio: CBR MP3Pro 40k/s 22050Hz Stereo

tried the mpegable codec in vdubmod but it didn't work, kept all the settings like i would in mpegable. Would prefer to use xvid or divx, any help is apreciated ;)

burnout
14th May 2003, 09:12
btw shlezman, that tool is in the downloads section, under "MPEG4IP utilities" (DivX / MPEG-4 Encoders)

gonna give it a try soon

bilu
14th May 2003, 09:40
Originally posted by burnout
i have 128mb stick for mine, so i can get 2 hours of film on at the following specs...


You should pray for your battery then :D :D :D

Now serious, you need to look at the MPEG-4 3GPP specifications, if I remember one of the features was Reduced Resolution VOP. XVID has a registry key for this feature but it isn't available from its GUI, which probably means it isn't supported. You last hope under Windows could eventually be FFVFW, a port of libavcodec, part of the FFMPEG Linux project, it may support that feature.

Don't know if DivX supports it though. But you should look for the 3GPP specification first :)

Best regards,
Bilu

shlezman
14th May 2003, 09:54
just found this link :
www.forum.nokia.com/tools
There's a beta of multimedia converter didt find time to check it .. yet, but it might help.

rgb
12th August 2003, 13:52
The PVPlayer in the SonyEricsson P800 mobile phone supports 3gp and mp4 files, both locally stored and streaming via rtsp protocol.
The limitations of the mp4 files are the same of the 3gp files. It only accepts video content based on h.263 or mpeg-4 ISO Simple Visual Profile @L0, @L1 and @L2, the maximum resolution accepted is QCIF (192 x 144) although the sample video is 320x200, audio must be AMR or AAC, maximum total bitrate for audio+video is 150 kbps.
Programs known to produce content playable on this phone are
- mpeggable x4live (29 €)
- pvauthor (59.99 us$)
- Sorenson Squeeze (Only 449.00 us$)
- Makayama Moviemaker (9.99 us$)
- Apple Quicktime Pro (29.99 us$)
- Nokia Multimedia Converter (free)

Also I managed to create a video only mp4 file using mpegable avi (free) and mp4creator from mpeg4ip.

rgb
12th August 2003, 13:56
Originally posted by bilu
Now serious, you need to look at the MPEG-4 3GPP specifications, if I remember one of the features was Reduced Resolution VOP. XVID has a registry key for this feature
Could you please tell me how to access this feature setting in XVID ?

bilu
12th August 2003, 18:11
You should read this thread first:

http://forum.doom9.org/showthread.php?s=&postid=324657&highlight=Reduced+Resolution+VOP#post324657

EDIT: From http://www.macnn.com/news/19636&startNumber=46

The Nokia 3650 can playback MPEG4 files enocoded by Quicktime 6 Pro, with the built in RealOne player.

There is a problem however, the RealOne Player does not support AAC audio streams, only MPEG4s with No Audio OR MPEG4s with AMR audio streams.

Quicktime 6 Pro cannot encode MPEG4s with AMR audio streams just yet in MP4 format - if you look under the Audio Encoding options under the Apple MPEG4 encoder, you will see several sounds formats in the pull down menu, "Music" is selected by default (that's AAC audio), and you'll see "Speech" (which is AMR) in the menu - but it is grayed out (not available yet).

This is odd, as Quicktime 6.3 with the 3GPP plugin now supports AMR, and can encode AMR audio in an MPEG4 stream that is encapuslated in a 3GP file.

So you have two choices for encoding video for your phone, either encode an MP4 with No Audio (choose "None" from the audio codecs) OR (what you will most likely do) encode a 3GP file with an MPEG4 stream in it with AMR audio (make sure the audio codec is set to "Speech" which is indeed available in the 3GPP encoder).

Although the 3GP files you phone records may look a bit crappy - it is because the phone uses the H.263 format for encoding video - however 3GP files that you encode using MPEG4 for watching stuff on your phone playback excellently, have very good quality.


Bilu

haibane
14th August 2003, 03:56
I just bought a nokia 3650 a few hours ago on amazon.com
Since the phone have realone player, does it support any real a/v streams or container? Is the video file size limited to 100K?

Sgt_Strider
14th August 2003, 05:16
Originally posted by Sirber
I'm still tired. P800 is the model number or it's a Pentium 800?

You have to stop this. If you don't know what it is, then maybe you shouldn't even bother responding.

BoNz1
14th August 2003, 07:56
Ok, hopefully I can answer some questions here. First of all, how to encode the video with XviD. If there was a public dev-api-4 XviD build it would make this real easy for you guys. In the VFW there is a pulldown box that you can tell it which profile and level ie Simple @ L2 would be like this http://www.geocities.com/bonzi5252/simplel2.JPG this is helpful because you know exactly what framerate, res etc you can use and everything that you can't use like b-frame, qpel etc is greyed out. Ok, as for what you can use, you can use h263 quantization, luma masking, VHQ, trellis quantization, and chroma motion. Basically, anything that doesn't change the bitstream, just remember this if you are using a dev-api-3 build and you will be fine AFAIK. As for reduced resolution, XviD does support it as does ffmpeg. However, as far as I know only dev-api-4 supports it and not dev-api-3 (maybe it is there and not in the VFW I don't know). So if you have a dev-api-4 build then you can enable this, keep in mind that reduced resolution is _not_ part of the advanced simple profile, it is a part of the Advanced Realtime Simple Profile or ARTS. So while a file encoded with reduced res might play on your phone it might not play in every mpeg4 decoder you find. And there was also a question about audio. I think I read someone was using mp3pro. Probably, your phone won't be able to decode the SBR part so this might not be best. You could use lame to encode the mp3 but I would recommend you use the Fraunhofer encoder since it is more optimized at lower bitrates than lame is IMO. As for encoding AAC you can use PysTEL, Nero, Quicktime all will produce acceptable results. Once you have the final result then use mp4creator to put it all into an mp4, and voila no need for all that expensive software you listed burnout ;) BTW, if you would like a XviD build that can do some of the things I listed, PM me and I'll see what I can do. But only for the people who wanted it for their phone, I don't want to give it to everyone, lol.

rgb
18th August 2003, 09:38
Originally posted by BoNz1
Once you have the final result then use mp4creator to put it all into an mp4, and voila no need for all that expensive software you listed burnout ;) BTW, if you would like a XviD build that can do some of the things I listed, PM me and I'll see what I can do. But only for the people who wanted it for their phone, I don't want to give it to everyone, lol.

Thanks BoNz1. I appreciate your suggestions.

No, the 3gpp specs do not allow mp3 as an audio format. Only amr and aac are allowed.

1) I managed to use DivX 5.0.5 to produce a 3gpp compliant .m4v file (by using the mobile phone profile).
2) the mp4creator cannot produce 3gpp compliant mp4 container files... once you add aac audio the player does not support it anymore. But...
3) I tried the IBM Toolkit for MPEG-4 from IBM Alphaworks (90 days evaluation license) and I managed to produce a video clip with both mp4 video (divx) and audio (faac) and the quality is surprisingly high ! Far better than the various commercial program available (pv PVAuthor, apple Quicktime or dicas Mpegable) !

droolian01
21st August 2003, 12:30
Hi all

i also had problems using mp4creator, definitely due to the aac audio afaik.

My prefered (but very complicated!) way of producing p800 compliant .mp4 files is:-

1) encode with xvid (simple profile - no b-frames) at the target resolution (192x?? can't remember off hand) at half frame rate so 24 fps becomes 12.5 fps, 30 fps would become 15fps etc..
Aim for a bitrate of around 70kbs

2) use ffmpeg to create a .mv4 file (no re-encodeing of course!)

3) convert the audio to aac using psytel at any bitrate (wil be re-encodeing later to a lower bitrate than supported in the gui)

4) mux with IBM Toolkit for MPEG-4

5) open in quicktimepro export video unchanged but reencode audio to something like 30kbs mono

This procedure seems to preserve the aac headers so that the file will play on the very fussy pvplayer.

Doing it this way gives you full control over the video quality and gives better results than Mpegable.

Good luck with this

droolian

CavalloPazzo
24th September 2003, 09:02
My 3650 doesn't support aac audio, so I'd like to mux amr into mp4 or 3gpp stream... which program can do that? mp4tools and ibm toolkit don't support amr...but i'd like to use xvid as video encoder.

droolian01
24th September 2003, 20:52
Hi there

i think quicktimePro 6.3 has support for amr audio and .3gp files (this is via a plugin)

Check this forum out for your 3650 needs

http://www.allaboutsymbian.com/forum/forumdisplay.php?forumid=12

Your phone is much better supported by 3rd party players and encoders than the p800, so you shouldn't have any difficulty encoding stuff.

good luck

droolian

OPPS!!! I meant this link

http://www.allaboutsymbian.com/forum/forumdisplay.php?forumid=21

Wam7
7th September 2004, 16:38
Sorry to resurrect this thread but Doom9 are sticklers for using the search. :)

I've got a P900 and I'm encoding stuff to watch on it. I sometimes SmartMovie player which is very convenient and easy to use and gives good results. I often resort to doing it manually with Vdub etc as this give noticeable better results for the same bitrate.

Anybody have an other experiences?

bond
31st December 2004, 01:55
strange that a mobile can a handle aac (i assume in mp4/3gp?), but not combined with video :rolleyes:

but i am not sure whether at such a bitrate/resolution you might want to encode to mpeg-4 video and amr audio directly in quicktime, as the quality might not differ that much anyways?

Sharktooth
31st December 2004, 16:28
Well i have a LG8130 cell phone and it plays MPEG4 (mobile device profile) video and VBR HE-AAC with PNS audio too (made with nero)!

tomb2
4th January 2005, 21:01
FINALLY! I have been trying to post here but couldn't because of the five day moratorium on new user posts.

There is some great information here for cellphone compressions but I still have some questions. First, Ye110man for your Nokia 6230 at 128x96 resolution it seems like you are at video overkill on your bitrate. Try 85Kbs for video and 12.2Kbs for AMR sound. The quality is fair and you can eliminate some of the lisping compression artifacts of that codec by encoding with PVAuthor. PVA also does a decent job on the video too. Someone mentioned MP4 looks better then H.263 - at this resolution and a system rate of about 100Kbs they seem to look the same so are there any other reasons to pick one over the other?

The problem I have found with the Nokia 6230 is that long compressions seem to have major progressive audio sync problems. I think this is a limitation of the phone's system. I am way open to other solutions but my temp fix was to break one-hour timeshits into segments around the commercials. It is easy to skip from chapter to chapter with the five way selector key. Nokia does have a video play list feature (NPL file) that works fine on the desktop but I haven't found a way to get it to work on the phone (any ideas?). The phone also has a sequential play feature that works great on the videos BUT only for two seconds of each file (rats!).

I tried joining these 3GPP segments for use on other players but could not find a join utility with video and audio pass through for 3GPP. I took a look at Quicktime Pro and I don't think that is possible with that app even though it supports 3GPP. Any thoughts?

bond
28th February 2005, 11:03
- you should also be able to passtrough with ffmpeg from .avi to .mp4
- does the p800 support he-aac? if no than you might also want to try the apple aac encoder, which might bring better quality, dunno
- you can encode directly in besweet to nero aac, no need to go via .wav
- where do you get the ibm toolkit? isnt it time limited?