Esato Mobile
Sony Ericsson / Sony : Themes, ringtones, screensavers, games, video clips : Official K800/790 Video Thread
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > Themes, ringtones, screensavers, games, video clips > Official K800/790 Video Thread Bookmark topic
Page <  123 ... 242526 ... 353637>

dcuk Posts: 121

Hey Mysh

thank you for your feedback!

I know we are always asking for requests and it's not fair to ask to much but how easy would it be to add .mpg/.avi AC3 support? (for people who already have video files with this audio format)

There is an opensource AC3 coder/decoder here if this helps!?
http://fcchandler.home.comcast.net/

PS: If it's not feasible don't worry.
_________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-23 01:58 ]
--
Posted: 2006-10-23 02:52:57
Edit : Quote

mysh Posts: 176

i don't think you can get mpeg files with ac3 soundtracks?

vob files containing mpeg video have ac3 soundtracks, but vob files with ac3 are already supported by M3.

avi files with ac3 audio are also supported, providing you can play the avi file on your computer. What that means is you need some kind of ac3 codec installed.

i personally use m3 to convert a number of avi files with ac3 audio, so i know it does work.

if you've got a problem with an avi containing ac3 audio, ie. it fails to convert in m3, email me the lastrun.log.

I could easily change the avi-with-ac3 decoding method if you find there is a problem.

[ This Message was edited by: mysh on 2006-10-23 03:57 ]
--
Posted: 2006-10-23 04:55:45
Edit : Quote

dcuk Posts: 121

Would you like me to send you one?

EDIT: update mailed you an small mpg AC3 file to try


[ This Message was edited by: dcuk on 2006-10-23 13:53 ]
--
Posted: 2006-10-23 14:25:00
Edit : Quote

mysh Posts: 176

Thanks for the file dcuk.

After checking it out, it seems your mpg file -was- a vob file taken straight from a dvd, and renamed to mpg to make it play in windows media player.

The easiest fix for that is to name it back to .vob instead.

But as some renamed vob mpeg streams may be on readonly storage (can't rename unless you copy it), i've added code to detect pseudo-vob files named as mpg/mpeg/dat and treat them as vob files without renaming them (ac3 audio decoding and also more importantly DAR/PAR aspect correction).
--
Posted: 2006-10-23 23:28:40
Edit : Quote

dcuk Posts: 121

Thanks Mysh

The clip was from my dvd ripped using DVDFabDecrypter then imported the vob into VideoReDo-Plus to select just the part I wanted to send to you so saved out as an mpg

I guess ViedoReDo will be just renaming the vob section (hadn't thought of that, thanks) as it only encodes extra I-frames at cuts to create keyframes and no other actual 'video' encoding is done

///////////////////////////////////////////////////////////////////////////
Very interested to here about your work so far on PAR & DAR cropping

I've been working for hours, well actually last few days lol to correct my own PAL Anamorphic movie to K800i 320x240 4:3 cropping algorithm and think I've finally cracked it!
(there's lot of articles on the net to go 4:3 to 16:9 but not the other way round)

*** here it is in case it's helpful in some way.***
720x576 (16:9)-> cropped to smaller(4:3)= y1+y2*2.04/2=cropping size x1 & x2

The user only has to manually crop the blackbars at the top & bottom, the left and right is cropped automatically to keep correct aspect for the K800i

If you need my 720x576 (non-anamorphic) to 320x240 4:3 please let me know,


I might be behind in where you are at but thought I'd try and help with M3 in some small way.


_________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-24 00:11 ]
--
Posted: 2006-10-24 00:41:53
Edit : Quote

jj03 Posts: > 500

found out that the max framrate for the n73 is 15 fps...surely that can't be right...quite disappointed. anyway...hopefully mysh's adjustments to m3 will help me out video wise.
--
Posted: 2006-10-24 00:47:58
Edit : Quote

mysh Posts: 176

hey dcuk,

Interesting to see you've been looking at DAR correction too... any reason?

I had to develop DAR correction once i added vob support to m3 a while ago, and then tweak it a bit more once i added full DVD ripping.

I'm trying to follow your formula there, it seems you're operating on cropping values either end of the picture (y1/2 and x1/2), but i found as 1 and 2 are always equal, it's easier to operate on total crop value then divide by two as the last step.

When m3 calculate cropping values for DVDs or vobs, it does it in stages. First thing to deal with is the 4:3 PAR using a 16:9 DAR (display as non-square pixels), and m3 handles this by changing the PAR to 16:9 also. for example on a typical DVD...

PAR = 720x576
DAR = 16:9

resize the video pixel resolution to 16:9 using...

new y = (x / DAR-x) * DAR-y

in this case that's...

(720 / 16) * 9 = 405

changing PAR to 720x405, so now...

PAR = 720x405 = DAR = 16:9

Now the video is played with square pixels (DAR is applied at the pixel level), so it's like any other widescreen video.

At this point 4:3 cropping is done the same as any other video such as avi/mov/mp4 etc.

M3 has several widescreen modes, but in the case of cropping to 4:3 for fullscreen with no borders, the math is:

(y / 3) * 4 = new x

old x - new x = total cropping

crop per side = total cropping / 2

in the example that's....

(405 / 3) * 4 = 540

720 - 540 = 180

180 / 2 = 90

so crop 90 pixels from each side to get 4:3 fullscreen without distortions.

As a single line formula for widescreen to 4:3 cropping, you could express it as:

crop from each side = (ResX - ((ResY / 3) * 4)) / 2

i'm pretty sure i put it in those video tutorials i wrote.

Then resize to 320x240 of course. hehe.


jj03: 15fps does sound low, i'll look into n73 performance, but if it is only 15fps, that's what i'll add the profile as.


[ This Message was edited by: mysh on 2006-10-24 00:54 ]
--
Posted: 2006-10-24 01:40:35
Edit : Quote

jj03 Posts: > 500

thankyou mysh...very very much appreciated...oh..and please add a donate button soon...
--
Posted: 2006-10-24 01:44:42
Edit : Quote

mysh Posts: 176

Thanks jj03, i will add the donate button soon... once things are working well enough that i won't feel bad accepting money for it!
--
Posted: 2006-10-24 01:52:31
Edit : Quote

jj03 Posts: > 500

well, i'll tell ya..i'm using SUPER! at the mo...and it just don't feel right...i'm so used to m3...
--
Posted: 2006-10-24 02:01:18
Edit : Quote
Page <  123 ... 242526 ... 353637>

New Topic   Reply
Forum Index

Esato home