Esato

Forum > Sony Ericsson / Sony > Symbian phones > video/music file converter for UIQ3 phones

Previous  123 4 ... 313233  Next
Author video/music file converter for UIQ3 phones
OfficeMaven
W950 Blue
Joined: Jul 26, 2005
Posts: 182
PM
Posted: 2006-12-09 18:22
Reply with quoteEdit/Delete This PostPrint this post
Why ask a developer to give away his trade secrets??? I say just sit back and enjoy what he has done for us all.

Actually, if you serch this forum, you will find the answer to your question as there is a post on here that describes the code that needs to be added to the MP4 video files in order to make them load up and skip without delay in the UIQ3 video players.

EDIT: BTW, Sony also has their own video app that creates really nice QVGA, 768 kbps, 30 fps, AAC stereo sound encoded MP4 videos that work perfectly with the UIQ3 video players. The videos load up in seconds and you can move backwards and forwards through them without any crashes. It's actually quite a bit faster at encoding than M3 is and it works really well with DVR-MS files (i.e. Windows Media Center recorded TV shows are FULLY supported). However, it's nowhere near as customizable as M3, it doesn't support all of the phones that M3 does, and it won't encode direct from a DVD like M3 does (you have to convert the DVD to MPG or AVI first). And... It's not free like M3 is (i.e. it costs $20 USD).

[ This Message was edited by: OfficeMaven on 2006-12-09 17:30 ]
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-12-09 18:40
Reply with quoteEdit/Delete This PostPrint this post
It's hardly a secret, it's on the developer.sonyericsson.com wiki! hehe.

http://developer.sonyericsson.com/wiki/display/leftnav/Media+Video

Essentially you need correctly identified payload hint tracks for each track in the mp4, along with bifs/object descriptor tracks. The only method to add this info is a bit of a dirty hack tho, you must use mp4creator.

If you've experience working with mpeg-4 isomedia containers you may be able to write the correct hint/payload tracks into it without resorting to pushing all your tracks through mp4creator.

Incidentally i only noticed the information myself while i was checking the other wiki item on that page about video encoding. It's taken from tutorials i wrote for SE that you'll find here - http://developer.sonyericsson[....]ools/tutorials/p_tutorials.jsp ahem!

The new version of M3 will be out in about an hour, i'm just finishing up the dvr-ms code, with dvr-ms video properties detection working nicely too! (sans bitrates, only thing i couldn't get unfortunately).

Oh if anyone is interested, dvr-ms is simply mpeg2 video and mp3 audio, placed into an ASF container. Think of it like a wmv file that uses mpeg2 compression instead of windows media codecs.

[ This Message was edited by: mysh on 2006-12-09 17:42 ]
OfficeMaven
W950 Blue
Joined: Jul 26, 2005
Posts: 182
PM
Posted: 2006-12-09 19:14
Reply with quoteEdit/Delete This PostPrint this post
Wow! that's some great information. Thanks for sharing. The video tutorial is great!

So you've got full DVR-MS support working now eh? That's terrific! I can't wait to try it out.

BTW, one part of DVR-MS that seems to give developers the most problems is the subtitles. I believe that Microsoft uses the proprietary DVR-MS file format (instead of MPEG2) just for this reason (i.e. the subtitles). How's M3 going to handle DVR-MS subtitles?

I never use subtitles mysself, so it doesn't matter much to me, but based upon user comments here, it does appear that a lot of them do.

Great job!


EDIT: BTW, that SE Developer World wiki on correcting the video delay is EXACTLY what's posted here on Esato (in the thread I was refering to). Must be the same author.

[ This Message was edited by: OfficeMaven on 2006-12-09 18:23 ]
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-12-09 19:17
Reply with quoteEdit/Delete This PostPrint this post
M3 version 0.89.5

added: ms-dvr encoding support
added: discover ms-dvr stream properties
fixed: crash applying uiq3 fix to split movies
fixed: error discovering mpeg2 stream properties
changed: mpeg1/2 and flv file info now detected by ffmpeg
open: 2ch ac3 dvd audio lag still present (sorry tom!)

You can load M3 to get the update.

new users get it here - http://www.vapulus.com/w900i/M3-0.8.9.5-Installer.exe

There -might- be a problem with dvr-ms audio being out of sync, if someone wants to check that, thanks!

officemaven:

i think dvr-ms subtitles are going to be a problem if they're encoded in a closed format. sorry.

[ This Message was edited by: mysh on 2006-12-09 18:19 ]
OfficeMaven
W950 Blue
Joined: Jul 26, 2005
Posts: 182
PM
Posted: 2006-12-09 19:26
Reply with quoteEdit/Delete This PostPrint this post
Great stuff!

I'll test out the DVR-MS stuff for you right now. As for the subtitles, it's not a problem with me. I'm grateful for even having DVR-MS support at all.

Thanks!
koto
G900 Brown
Joined: Sep 18, 2006
Posts: > 500
PM
Posted: 2006-12-09 20:00
Reply with quoteEdit/Delete This PostPrint this post
M3 update finished and "American Pie 5" recoding is in progress (including subtitle). If something goes wrong I'll send lastrun file.
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-12-09 20:09
Reply with quoteEdit/Delete This PostPrint this post
Thanks guys

if anyone downloaded or let M3 update to 0.89.5 earlier than the time on this post, you might need to redownload M3. I forgot to comment out a line of code, so you'll get a (non-fatal to M3) crash dialog appear for mediainfo.exe everytime you convert a dvr-ms or mpeg2 video file. Sorry!

re-download and install this link if you updated before the time on this post:

http://www.vapulus.com/w900i/M3-0.8.9.5-Installer.exe
OfficeMaven
W950 Blue
Joined: Jul 26, 2005
Posts: 182
PM
Posted: 2006-12-09 21:11
Reply with quoteEdit/Delete This PostPrint this post
Absolutely amazing... The DVR-MS encoding works brilliantly. The sound is in perfect sync on both of the recorded TV shows I've tried it with so far. And... M3 works with DVR-MS files produced in either Windows XP MCE 2005 or Windows Vista (RTM build 6000).

M3's definitly going to be the most popular app for SE folks for sure.

Great job and thanks for adding the DVR-MS capabailities into M3 for me/us.
koto
G900 Brown
Joined: Sep 18, 2006
Posts: > 500
PM
Posted: 2006-12-09 22:27
Reply with quoteEdit/Delete This PostPrint this post
Everything is perfect now. DVD quality, subtitles, no crashes, super fast opening, scrolling. What to say but thank you, thank you, thank you.
PeterKay
W995 Silver
Joined: Jul 08, 2003
Posts: > 500
From: The Ummah
PM, WWW
Posted: 2006-12-09 22:55
Reply with quoteEdit/Delete This PostPrint this post
Some great work here Mysh, prefer your method than the Mpegable package that i've been using for years. Cheers mate
OfficeMaven
W950 Blue
Joined: Jul 26, 2005
Posts: 182
PM
Posted: 2006-12-10 00:40
Reply with quoteEdit/Delete This PostPrint this post
Wow! Fairuse support as well... Stop it, you're absolutely killing me now.
japstyle
P990
Joined: Dec 08, 2006
Posts: 18
PM
Posted: 2006-12-10 01:19
Reply with quoteEdit/Delete This PostPrint this post
wooohoooo Finally GREAT WORK MATE (MYSH) I've tried so many programs... but M3 is the best mate. Encoded 2 films runs smoothlyyyyyyyy


Regards
JuRGEN
TheGuru
T68 gold
Joined: Aug 01, 2005
Posts: 46
PM
Posted: 2006-12-10 02:49
Reply with quoteEdit/Delete This PostPrint this post
Guys,
do you use the default settings for encoding for P990 ? or what are the optimum settings?

I converted a 11MB MP4 (encoded with H264) and M3 created a 20MB file. So I am wondering if I am using the right settings.

thx
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-12-10 02:57
Reply with quoteEdit/Delete This PostPrint this post
load the h264 compressed file in M3, and select it in the file list, then go to the information tab.

you'll see the video bitrate. H264 is maybe 30% more efficient than straight MPEG-4 Simple Profile that the P990/M600 uses, so add 30% to that value and then go to the video tab, and change the bitrate to suit.

In short, if you want to maintain image quality, MPEG-4 SP for your phone will need more bitrate than H264 in the source file. This makes the file larger. If you don't mind a slight quality loss, drop the video bitrate to 350-ish.
TheGuru
T68 gold
Joined: Aug 01, 2005
Posts: 46
PM
Posted: 2006-12-10 04:26
Reply with quoteEdit/Delete This PostPrint this post
@mysh

thanks for the tips. that helped. original was 323kbps and now i changed it to 210kbps and file size is 8MB vs 20MB

thx for the great app. it;s really cool and makes me love my p990 even more now
Access the forum with a mobile phone via esato.mobi
Previous  123 4 ... 313233  Next
Goto page:
Lock this Topic Move this Topic Delete this Topic