Esato

Forum > Sony Ericsson / Sony > Themes, ringtones, screensavers, games, video clips > Official K800/790 Video Thread

Visitors browsing this topic: 3
Add to Bookmarks
Previous  123 ... 171819 ... 232425  Next
Author Official K800/790 Video Thread
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-10-24 04:05
Reply with quoteEdit/Delete This PostPrint this post
hehe ok this getting silly now.

on the pics you posted on page 13, the 1.22 image is the same as doing the 'narrowscreen' vertical cropping i just mentioned.

Compared to the 1.33 image, you just cropped a few pixels from the top and bottom. You shorten the image height while maintaining the image width, essentially 'squashing' down the image slightly when it comes time to resize to 320x240.

This is exactly what will be in the next version of m3! I can also add a function to remove those 8 dead pixels on the sides prior to computing the vertical crop, if that'd be handy?
dcuk
K800 Black
Joined: Jun 28, 2005
Posts: 121
PM
Posted: 2006-10-24 04:20
Reply with quoteEdit/Delete This PostPrint this post
I agree it is and we shouldn't hog the thread

I honestly didn't squash the shots vertically they are true screen grabs from virtualdub output window with the different PAR settings, I'll send you them later today. each picture is 320x240

PS: goto page 13 and right click the images and 'save as' to your desktop then check the properties for each image

***UPDATE:***
Each image's width is altered only to test different PAR settings before being converted to 320x240

I prefer to alter width rather than height as the vertical crop is usally goverened by the need to remove just the black bars and no more.

Thank you for taking the time to discuss this subject and share your views.
_________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-24 04:10 ]
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-10-24 04:46
Reply with quoteEdit/Delete This PostPrint this post
Email me if you want to discuss this more tho.

Basically the PAR setting in vdub will change the vertical proportions. So none of the image is cropped, just squashed a bit. I think those two screens you posted were from different frames, so it looked like the screen edge had been trimmed to me at first.

M3 will crop maybe 40 pixels from the 720 width to achieve the same effect. That should only be the overscan area, so no vital information will be lost. I could look at doing vertical resizing instead if you'd really prefer tho.

[ This Message was edited by: mysh on 2006-10-24 03:48 ]
dcuk
K800 Black
Joined: Jun 28, 2005
Posts: 121
PM
Posted: 2006-10-24 20:03
Reply with quoteEdit/Delete This PostPrint this post
Hi everyone,

Mysh has been busy again and here is the latest version of M3
http://www.vapulus.com/w900i/M3-0.8.8.4-Installer.exe

Dont forget you need .net framework version 2 for M3 to work!
http://www.microsoft.com/down[....]DD-AAB15C5E04F5&displaylang=en


_________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-24 19:05 ]
dcuk
K800 Black
Joined: Jun 28, 2005
Posts: 121
PM
Posted: 2006-10-25 01:00
Reply with quoteEdit/Delete This PostPrint this post
Well I feel really silly now as I've found out my Anamorphic cropping ratio algorithm is very wrong Oh well!

So I've reverted back to my old method which works every time but is a bit long winded

manually crop away (y1) & (y2) then

(then what's left is) (y3)*0.9152-720/2 = cropping sizes for (x1 & x2)

this is for cropping Anamorphic videos only!
_________________
Hope this helps!
Cheers,
Dcuk

[ This Message was edited by: dcuk on 2006-10-27 01:26 ]
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-10-25 01:22
Reply with quoteEdit/Delete This PostPrint this post
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.
dcuk
K800 Black
Joined: Jun 28, 2005
Posts: 121
PM
Posted: 2006-10-25 01:49
Reply with quoteEdit/Delete This PostPrint this post
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 ]
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-10-25 02:04
Reply with quoteEdit/Delete This PostPrint this post
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 ]
dcuk
K800 Black
Joined: Jun 28, 2005
Posts: 121
PM
Posted: 2006-10-25 02:15
Reply with quoteEdit/Delete This PostPrint this post
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 ]
hampad
W810 black
Joined: Jun 21, 2005
Posts: 196
PM
Posted: 2006-10-25 09:53
Reply with quoteEdit/Delete This PostPrint this post
hey hey got a neew strange problem, the sound is to slow not out of sync but in slowmotion. otherwise it works greate
dcuk
K800 Black
Joined: Jun 28, 2005
Posts: 121
PM
Posted: 2006-10-26 03:22
Reply with quoteEdit/Delete This PostPrint this post
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 ]
bavlondon2
P1
Joined: Jan 28, 2006
Posts: > 500
PM
Posted: 2006-10-26 14:47
Reply with quoteEdit/Delete This PostPrint this post
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.
dcuk
K800 Black
Joined: Jun 28, 2005
Posts: 121
PM
Posted: 2006-10-27 03:53
Reply with quoteEdit/Delete This PostPrint this post
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
Hope this helps!
Cheers,
Dcuk
shuandrew
T68 gold
Joined: Jul 20, 2005
Posts: 8
PM
Posted: 2006-10-27 19:50
Reply with quoteEdit/Delete This PostPrint this post
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.
mysh
K800 Black
Joined: Dec 04, 2005
Posts: 176
PM
Posted: 2006-10-27 20:11
Reply with quoteEdit/Delete This PostPrint this post
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.
Access the forum with a mobile phone via esato.mobi
Previous  123 ... 171819 ... 232425  Next
Goto page:
Lock this Topic Move this Topic Delete this Topic