Log in

View Full Version : video format changed (320x240 to 384x240)


lol_123
7th March 2008, 11:15
i came up against a strange problem that the resolution of th e video content would be changed ( from 320x240 to 384x240)when i playback 320x240 content with using YV12 output.if I used YUY2, then the resolution would not change, ketp 320x240.Does anyone know the reason? it causes my deblocking filter crashed.
Thanks, L

Guest
7th March 2008, 14:17
Temporarily moving to General Discussion until it becomes clear where this belongs.

What is the format of your source video? What are you playing it in? What makes you think the size is being changed?

Tell us all the steps and details that you go through to see this happen.

lol_123
8th March 2008, 18:06
the source video is 320x240 MPEG2 file
decoder is FFdshow
but the problem is only @ YV12 mode.
I looked into the video render pin info, it showed 384x240.

setarip_old
8th March 2008, 18:51
Hi!

Please load the source video into GSpot and post a screen capture back here...

lol_123
9th March 2008, 04:16
here is not allowed to upload image. so i wrote down the render pin info as follows.
the enviorment is graphedit.
filter chains:
dst.m2v->mpeg splitter ->ffdshow video decoder -> video redender (VMR input0)
stage 1, all filters got connected. then the render pin info as follows
Major tape: video
Sub type :YV12
Format :YV120 320x240 12bits
Aspect ratio:4:3
interlace format: frames
rcSrc=(0,0,320,240)
rcDst=(0,0,320,240)
Ctrflages=00000000,
stage 2, playback, render info
Major tape: video
Sub type :YV12
Format :YV120 384x-240 12bits
Aspect ratio:4:3
interlace format: frames
rcSrc=(0,0,320,240)
rcDst=(0,0,320,240)
Ctrflages=00000000,

lol_123
10th March 2008, 08:33
Temporarily moving to General Discussion until it becomes clear where this belongs.

What is the format of your source video? What are you playing it in? What makes you think the size is being changed?

Tell us all the steps and details that you go through to see this happen.

hi neorun, i did think this is a development issue,now i am writing de-blocking filter, the problem caused my filter crashed. Also i tried to use step-debug mode but i can not trace the problem. Hopefully you can move this thread to development catalogues

lol_123
10th March 2008, 09:55
i found out the root cause. it came from video render.
for detail, you may see
http://msdn2.microsoft.com/en-us/library/ms867156.aspx

Guest
10th March 2008, 13:46
Moved per your request.