PDA

View Full Version : Odd Playback Resolutions after Encode


Seraphic-
9th August 2008, 05:27
Hi,

Could anyone take a look at this x264 video and see if they are getting 1276x716 visible white pixels on playback?
For some reason I'm getting odd results on both my systems. And yet, the info tab says it is 1276x716.

55.40KB (http://www.temp.seraphicgate.com/test.mkv)

komarovsky
9th August 2008, 05:36
yep, i seem to be getting 1276x716 in mplayer (well, that's what it says, and what the screenshot turns out to be - I didn't count the pixels :p)

Seraphic-
9th August 2008, 05:46
My main system had padding of a good six or so pixels on the right side only.
Just for the hell of it, I disabled Hardware Acceleration for DirectDraw and Direct3D and it is showing the full pixels now on playback.
Anyone ever have that kind of problem?

Seraphic-
9th August 2008, 19:24
Did another run this morning at 1280x720 and after encoding to x264 it displayed the full resolution of pixels.

So I wonder why 1276x716 doesn't display correctly, at least on my system.

nurbs
9th August 2008, 19:26
Maybe your player just doesn't like non mod16 resolutions.

Seraphic-
9th August 2008, 19:55
Maybe your player just doesn't like non mod16 resolutions.

It is the newest version of Media Player Classic.

Encoding a full white image at 1276x716 gets 1272x714 of white pixels on playback.

CruNcher
9th August 2008, 22:52
According to the VMR9 Render i get 1280x716 with Software (ffdshow) decoding and 1280x720 with Hardware Decoding (G92) Hardware wise it seems logic that Nvidia enlarges it with black pixel

Nvidia: http://s7.directupload.net/images/080809/rl476u46.png
ffdshow: http://s7.directupload.net/images/080809/wocb344f.png

tough nobody should use such strange resolutions, they are just out of the norm and that is mod16, Nvidia forces it for both and ffdshow at least for the width it seems and i think you can trust the render info more then you can the status or capture result of MPC.

Seraphic-
9th August 2008, 23:40
According to the VMR9 Render i get 1280x716 with Software (ffdshow) decoding and 1280x720 with Hardware Decoding (G92) Hardware wise it seems logic that Nvidia enlarges it with black pixel

Nvidia: http://s7.directupload.net/images/080809/rl476u46.png
ffdshow: http://s7.directupload.net/images/080809/wocb344f.png

tough nobody should use such strange resolutions, they are just out of the norm and that is mod16, Nvidia forces it for both and ffdshow at least for the width it seems and i think you can trust the render info more then you can the status or capture result of MPC.

Using an encode of 1280x720 gets me 1280x720 on playback, just 1276x716 gets 1272x714.

Sigh... and I thought I had these resolutions finalized. :(

Should I add borders myself to mod16 to insure they display correctly? I thought it would pad up to mod16 on encoding then crop back down on playback, but it seems using the resolutions I wanted will cause problems.

What really sucks is I just designed all my overlay work for the above resolutions... %$#^!

CruNcher
10th August 2008, 00:14
How do you get 1272x714 wich renderer wich OS wich GFX card it seems strange as it isn't mod16 but mod2 ok ffdshow does prefer mod4 if the render output info is correct tough without a real test pattern and only some uniform thing you wont see how internaly it is scaled.

Seraphic-
10th August 2008, 00:53
How do you get 1272x714 wich renderer wich OS wich GFX card it seems strange as it isn't mod16 but mod2 ok ffdshow does prefer mod4 if the render output info is correct tough without a real test pattern and only some uniform thing you wont see how internaly it is scaled.

I use:
K-Lite Codec Pack 4.1.4 Full (http://www.free-codecs.com/download/K_Lite_Codec_Pack.htm) (Profile #3 Playback Only)
Windows XP Pro SP3
Two ATI 3870 in Crossfire (Driver 8.7)

Also, tried:
MPC-HC 1.1.604.0
ffdshow_beta5_rev2033_20080705_clsid
ac3filter_1_51a
MatroskaSplitter

But the result was the same.

CruNcher
10th August 2008, 01:02
So it seems to be Atis way of handling this hmm downscaling to mod2 i guess, tough it's still strange do you use VMR9 windowed what does the Render output says not the MPC info display ?

Seraphic-
10th August 2008, 01:30
So it seems to be Atis way of handling this hmm downscaling to mod2 i guess, tough it's still strange do you use VMR9 windowed what does the Render output says not the MPC info display ?

For 1276x716 I'm now getting 1272x716 with the below settings. (all of the DirectShow Video modes return the same)

What do you get for visible white pixels in THIS (http://www.temp.seraphicgate.com/test.mkv) video?

http://www.temp.seraphicgate.com/test.jpg

CruNcher
10th August 2008, 03:39
Decoder:
Nvidia (Cyberlink): Video: MPEG4 Video (H264) 1276x716 59.94fps
FFDShow: Video: MPEG4 Video (H264) 1276x716 59.94fps

Renderer VMR9 windowed:
Nvidia: Video: DXVA 1280x720 (319:179) 59.94fps
FFDShow: Video: YV12 1280x716 (319:179) 59.94fps

The Visible Data Pixel Count is the same as yours 1272x716

Nvidia:
http://s7.directupload.net/images/080810/r7pjbap5.png

FFdshow:
http://s2.directupload.net/images/080810/ulcydm2r.png

But it seems logic doesn't it i mean if you input 1276 pixels and internaly it gets upscaled to 1280 pixels then it was exactly those 4 pixels 1276-4=1272 ?

Seraphic-
10th August 2008, 14:26
The issue might be from Adobe Premiere and the way it is exporting the video.
For some reason it will still output 1276x716, but four pixels will be black/distorted to 1272x716.
I'll have to do some more testing.

Seraphic-
10th August 2008, 18:56
Found out what the issue was along with the fix.

To get Premiere to export the full 1276x716, it looks like I'm going to have to do the following.

AviSynth (Crop and convert to RBG24) -> Premiere (Edit then export again as RBG24) -> MeGUI (convert to YV12 and encode)

So the video will be going along the lines of: UYVY -> RGB24 -> YV12

How much degradation will that cause to picture quality?