Log in

View Full Version : Does mvanalyze now work with YUY2?


kevinm
24th August 2005, 19:52
I while back I was working on a NTSC to PAL script which used mvbob, under this mvanalyze was being called.

I see from my notes that I had to convert to yv12 to be compatible with mvanalyze, I am wondering if mvanalyze has been enhanced to support YUY2. If so this would avoid me having to do an additional conversion.

Does anyone know if mvanalyze (part of mvtools) support YUY2?

thanks,

Kevin

Boulder
24th August 2005, 20:42
Why don't you try it out? The filter will surely tell you if it doesn't support YUY2.

kevinm
24th August 2005, 21:26
I certainly will try it out.

BTW I just downloaded the latest mvtools and there is a help page (mvtools.htm), in it I see ..

author: Manao & Fizick
version: 0.9.9.1
download: http://manao4.free.fr/
category: Misc Plugins
requirements: YV12 Colorspace <<<<<!!!!


so it looks like I am forced to continue converting to YV12. It is just that I already convert to YUV2 for some filters, and I wanted to avoid the conversion to YV12 if I could. I don't know if this color space conversion back and forth causes any loss of quality, I am going to go away now and read up on that,

Kevin

Boulder
25th August 2005, 05:08
I can't notice one YUY2 (the original colorspace)->YV12->YUY2 conversion (or the other way around) myself while watching the video, but you can quite easily test it with a simple script such as

AVISource("path\clip.avi")
original=last.Subtitle("original")
converted=ConverttoYV12().ConverttoYUY2().Subtitle("converted") # the parameter interlaced=true for interlaced content
interleave(original,converted)

Open it in VirtualDub and see if you can notice the difference between adjacent frames without using any zoom.

You might want to post your script and tell us what your final destination format is.

kevinm
30th August 2005, 20:28
Boulder,
sorry for the delay in responding, rather than do this conversion I have been reading up on a thread where Sharfis_Brain says that MvBob works with YUY2

Posted 31st July 2005 ..

"@joshbm: for PAL-DV I suggest to use my function ReYV12() which returns YUY2-decoded PAL-DV to its origin: YV12.
Lossless of course.

however, mvbob() also works quite acceptable with yuy2 input."

See .. http://forum.doom9.org/showthread.php?t=97585&referrerid=38152

I guess that the version which I am using must be out of date because the mvanalyse called by mvbob definitely didn't accept yuy2

It is hard to keep up with the changes/refinements to these filters unless you are using them all the time and reading every discussion about them.

Anyway, I am off now to try to find out if there is a later mvbob and mvanalyse which I can use,


Kevin

Boulder
30th August 2005, 22:01
Boulder,
sorry for the delay in responding, rather than do this conversion I have been reading up on a thread where Sharfis_Brain says that MvBob works with YUY2

MVAnalyse doesn't accept YUY2 but there's a colorspace conversion to YV12 in MVBob if the input colorspace isn't already that.

kevinm
30th August 2005, 22:07
Boulder,

I just installed the .rar file which Sharfis-Brain posted a little while ago, yes it seems that he does a conversion 'under the hood'. I guess this wasn't being done in earlier versions of the mvbob. Looks like a lot of work has been done on improving mvbob since I tested it, I should definitely give it another go.

Also I might give Tdeint a try.

thanks for your help,

Kevin