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 ... 262728 ... 353637>

mysh Posts: 176

hey dcuk, how is the DAR correction on 5:4 video working for you?

also, if you look back a page, you can see a simple way to compute letterbox removal with widescreen cropping in that code i posted. Although it assumes letterbox size of 16:10 image in a 4:3 frame currently.

Possibly the next version of m3 will have manual letterbox removal values. i need to find a good way to visualise the letterbox removal amount. Possibly using a framegrab and drawing lines over it that the user can then move. Much like your image there, but with dynamic lines that respond to new 'crop' values as you enter them. i'll keep you posted.
--
Posted: 2006-10-25 01:22:15
Edit : Quote

dcuk Posts: 121

Hi Mysh,

The output aspect in 0.884 for an 4:3 imported video is spot on now, thank you!

My algorithm is for true 720x576 Anamorphic videos and works every time (unlike my other method hehe ) rather than 4x3 letterbox videos (I wish they wouldn't use that method of encoding) and will allow someone to input any settings in Y1 & Y2 (if they like ) and will give a correct calculation for X1 & X2

__________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-25 01:36 ]
--
Posted: 2006-10-25 01:49:27
Edit : Quote

mysh Posts: 176

Glad that 5:4 is now perfect

i think for anamorphic in 720x576 with letterboxing, at least in m3, i'll deal with it as following:

-first of all convert the 5:4 to 4:3 AR as now works in 0.88.4

- use a common formula for all 4:3 video (includes 5:4 made into 4:3 as above)

math is too simple really...

whatever you crop off the top and bottom to remove the letterbox, multiply by 1.33 (3 off the top and bottom equals 4 off each side, keeps proportions perfectly)

so literally it's just: cropX = CropY * 1.33

obviously CropX/Y are divided by 2 when it comes to actual cropping.

It will achieve the same as your formula, but by dealing with the PAR / DAR difference prior to letterbox cropping (ie. cropping or resizing all input to 4:3 first), you make the letterbox cropping itself a much simpler and reusable process for any aspect video.

Sound ok to you? You'll have to trust me that it will work until i code it into the next version.

[ This Message was edited by: mysh on 2006-10-25 01:08 ]
--
Posted: 2006-10-25 02:04:45
Edit : Quote

dcuk Posts: 121

I think that is a great idea to only have one calculation and like your method

the only downside is loss of picture quailty with the Anamorphic video being scaled twice, once on import then again on export also the extra time needed when importing Anamorphic videos

Hey sneaky I just rechecked (ok I measured but you did ask me to check! ) my Pussycat dolls- Buttons M3 output video (encoded directly from the original mpg) with 0.884 and circles are a tiny bit taller than wider but most people won't notice!

I really look forward to the manual/semi-automatic cropping in a future version of M3!
Could you utilise the 'preview video' window and add manual/semi-automatic cropping to that, would that be easier so a user can select which ever frame they wanted!?

(PS: the manual slider and small output preview window isn't working at the mo with mpg's)

_________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-25 01:40 ]
--
Posted: 2006-10-25 02:15:42
Edit : Quote

hampad Posts: 196

hey hey got a neew strange problem, the sound is to slow not out of sync but in slowmotion. otherwise it works greate
--
Posted: 2006-10-25 09:53:39
Edit : Quote

dcuk Posts: 121

Mysh I had another thought last night,

As well as reading the aspect from the mpg or file type header you'll need a manual aspect selection button in case someone has ananmorphic avi's which of course don't have header aspect data!


_________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-26 02:35 ]
--
Posted: 2006-10-26 03:22:43
Edit : Quote

bavlondon2 Posts: > 500

Best thing ive seen for ripping is a combination of xilisoft dvd ripper and mpegable to encode.

The dvd ripper rips to either mpg/wmv or many other choices and I use mpegable to encode to mp4.

And the dvd rips come out really clear. In terms of how much space they take up an hour episode takes around 100mb but its worth it.

Ill post up a sample at some point.
--
Posted: 2006-10-26 14:47:04
Edit : Quote

dcuk Posts: 121

Hey Myah,

I've just reviewed your post and have carried out some tests and unless I've done something wrong I don't think that formula will provide the best results (I tired this approach first off only to discover it doesn't work so well for 720x576 4:3 videos

*****************************************
Quote:
"math is too simple really...

whatever you crop off the top and bottom to remove the letterbox, multiply by 1.33 (3 off the top and bottom equals 4 off each side, keeps proportions perfectly)

so literally it's just: cropX = CropY * 1.33"

*****************************************
Now this works ok on smaller values but the larger the Y crop the less accurate it becomes.

Trying my formula (Not the one I posted already, I mean one I use at the moment for 4:3 videos), I know it might not be the best but the videos won't need to be scaled up when opened so can be converted quicker and keep as much detail as possible

EG:
if Y=20
(your method Y*1.33=X) X=26.6
(my method with a 1.2222 value) X would=32.45 (true circles)
(my method with a 1.25 value) X=25 (which is very close to your original target)

________________________________
now if we take a larger Y value say 120

(your method Y*1.33=X) X=159.6
(my method with a 1.2222 value) X=154.6 (true circles)
(my method with a 1.25 value) X=150


If you choose to use this new method (Y*1.33=X) the larger Y becomes the bigger the discrepancy ending up nearly 20 pixels out compared to your current 1.25 M3 ratio
--
Posted: 2006-10-27 03:53:52
Edit : Quote

shuandrew Posts: 8

Hi everyone, and thanks to mysh for M3 - it's awesome! I wonder whether you can answer one question for me.

I've downloaded the newest version and converted a full-length DVD movie into MP4 for my K800, using the default settings in M3. It works great for about ten minutes, but then the sound starts getting terribly out of synch with the onscreen images. The only way I can see to fix it is to stop the movie all together, then start it up again.

Can anyone help? =)

Thanks a lot,

Andrew.
--
Posted: 2006-10-27 19:50:28
Edit : Quote

mysh Posts: 176

what movie profile (high/very high/smaller) or movie audio codec setting are you using?

I personally found HE-AAC or HE-AACv2 loses audio sync on some movies, but people insisted i include those codecs for movies, as they said they had no sync issues with it.

If stopping then fast-forwarding back to where you stopped it gets the sync back, it prolly is HE-AAC audio issues.

dcuk - thanks for the email, i'm looking into it.
--
Posted: 2006-10-27 20:11:51
Edit : Quote
Page <  123 ... 262728 ... 353637>

New Topic   Reply
Forum Index

Esato home