PDA

View Full Version : Video appears zoomed in WMP


johndoes
16th August 2005, 11:17
Hi,

Some divx/xvid files, when played in WMP appear as if zoomed. When they start the DivX logo is double in size, and the resolution is very poor due to the zoom. When the same files are played in DivX player, the video appears in its natural size. What should I look for? I don't know even where to start looking...

Here are the logs of two such video. The first was done a couple of months ago, with AutoGK 1.90b. The second was done yesterday with AutoGK 2.15b and I had the same unpleasant result. Could it be that the final resolution is too small?

[24/2/2005 8:25:57 μμ] AutoGK 1.90b
[24/2/2005 8:25:57 μμ] OS: WinXP (5.1.2600).2
[24/2/2005 8:25:57 μμ] Job started.
[24/2/2005 8:25:57 μμ] Input dir: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS
[24/2/2005 8:25:57 μμ] Output file: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\Man_on_Fire_XviD.avi
[24/2/2005 8:25:57 μμ] Audio: English
[24/2/2005 8:25:57 μμ] Subtitles: Greek : Wide/Letterbox
[24/2/2005 8:25:57 μμ] Codec: XviD
[24/2/2005 8:25:57 μμ] Target size: 700Mb
[24/2/2005 8:25:57 μμ] Started encoding.
[24/2/2005 8:25:57 μμ] Demuxing and indexing.
[24/2/2005 8:28:44 μμ] Processing file: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\VTS_02_PGC_01_1.VOB
[24/2/2005 8:28:44 μμ] Processing file: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\VTS_02_PGC_01_2.VOB
[24/2/2005 8:28:44 μμ] Processing file: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\VTS_02_PGC_01_3.VOB
[24/2/2005 8:28:44 μμ] Processing file: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\VTS_02_PGC_01_4.VOB
[24/2/2005 8:28:44 μμ] Processing file: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\VTS_02_PGC_01_5.VOB
[24/2/2005 8:28:44 μμ] Processing file: C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\VTS_02_PGC_01_6.VOB
[24/2/2005 8:28:44 μμ] Source aspect ratio: 16:9
[24/2/2005 8:28:44 μμ] Source resolution: 720x576
[24/2/2005 8:28:44 μμ] Found PAL source.
[24/2/2005 8:28:44 μμ] Color correction enabled.
[24/2/2005 8:28:44 μμ] Analyzing source.
[24/2/2005 8:34:50 μμ] Source has percentage of interlacing in motion areas: 0,00
[24/2/2005 8:34:50 μμ] Source is considered to be progressive.
[24/2/2005 8:34:50 μμ] Output will contain 210137 frames
[24/2/2005 8:34:50 μμ] Encoding audio.
[24/2/2005 8:51:11 μμ] Preparing subtitles.
[24/2/2005 8:53:29 μμ] Compressing subtitles.
[24/2/2005 8:53:32 μμ] Using bitrate spikes control.
[24/2/2005 8:53:33 μμ] Audio size: 134,007,240 bytes (127.80 Mb)
[24/2/2005 8:53:33 μμ] Overhead: 8,405,504 bytes (8.02 Mb)
[24/2/2005 8:53:33 μμ] Subtitles size: 656,778 bytes (0.63 Mb)
[24/2/2005 8:53:33 μμ] Video size: 590,933,678 bytes (563.56 Mb)
[24/2/2005 8:53:33 μμ] Running compressibility test.
[24/2/2005 8:53:33 μμ] Writing the following script to C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\agk_tmp\Man_on_Fire_XviD_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\agk_tmp\Man_on_Fire_XviD.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 640
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(300,15)
===========================================================
[24/2/2005 8:59:26 μμ] Duration was: 5 minutes 51 seconds
[24/2/2005 8:59:26 μμ] Speed was: 29,86 fps.
[24/2/2005 8:59:27 μμ] Compressibility percentage is: 33,53
[24/2/2005 8:59:27 μμ] Using softer resizer.
[24/2/2005 8:59:27 μμ] Chosen resolution is: 496x208 ( AR: 2,38 )
[24/2/2005 8:59:27 μμ] Predicted comptest value is: 60,38
[24/2/2005 8:59:27 μμ] Running first pass.
[24/2/2005 8:59:27 μμ] Writing the following script to C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\agk_tmp\Man_on_Fire_XviD_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\agk_tmp\Man_on_Fire_XviD.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 496
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[24/2/2005 9:47:49 μμ] Duration was: 48 minutes 21 seconds
[24/2/2005 9:47:49 μμ] Speed was: 72,42 fps.
[24/2/2005 9:47:50 μμ] Expected quality of first pass size: 49,89
[24/2/2005 9:47:50 μμ] Trying to adjust settings.
[24/2/2005 9:47:50 μμ] Chosen resolution is: 416x176 ( AR: 2,36 )
[24/2/2005 9:47:50 μμ] Predicted comptest value is: 70,29
[24/2/2005 9:47:50 μμ] Re-running first pass.
[24/2/2005 9:47:50 μμ] Writing the following script to C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\agk_tmp\Man_on_Fire_XviD_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain.dll")

movie = mpeg2source("C:\DVDRips\MAN_ON_FIRE\VIDEO_TS\agk_tmp\Man_on_Fire_XviD.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = input_par > 1.4 ? input_par : (4.0/3.0)
out_width = 416
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[24/2/2005 10:29:25 μμ] Duration was: 41 minutes 35 seconds
[24/2/2005 10:29:25 μμ] Speed was: 84,21 fps.
[24/2/2005 10:29:26 μμ] Expected quality of first pass size: 64,29
[24/2/2005 10:29:26 μμ] Running second pass.
[24/2/2005 11:21:23 μμ] Duration was: 51 minutes 57 seconds
[24/2/2005 11:21:23 μμ] Speed was: 67,41 fps.
[24/2/2005 11:21:23 μμ] Job finished. Total time: 2 hours 55 minutes 26 seconds

******************************************************

[15/8/2005 9:35:26 μμ] AutoGK 2.15b
[15/8/2005 9:35:26 μμ] OS: WinXP (5.1.2600).2
[15/8/2005 9:35:26 μμ] Job started.
[15/8/2005 9:35:26 μμ] Input file: C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\VTS_01_0.IFO
[15/8/2005 9:35:26 μμ] Output file: C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\Lock_Stock_and_2_Smoking_Barrels.avi
[15/8/2005 9:35:26 μμ] Output codec: DivX
[15/8/2005 9:35:26 μμ] Audio 1: English AC3 6ch
[15/8/2005 9:35:26 μμ] Subtitles: none
[15/8/2005 9:35:26 μμ] Format: .AVI
[15/8/2005 9:35:26 μμ] Target size: 694Mb
[15/8/2005 9:35:26 μμ] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[15/8/2005 9:35:26 μμ] Started encoding.
[15/8/2005 9:35:26 μμ] Demuxing and indexing.
[15/8/2005 9:38:11 μμ] Processing file: C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\VTS_01_PGC_01_1.VOB
[15/8/2005 9:38:11 μμ] Processing file: C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\VTS_01_PGC_01_2.VOB
[15/8/2005 9:38:11 μμ] Processing file: C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\VTS_01_PGC_01_3.VOB
[15/8/2005 9:38:11 μμ] Processing file: C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\VTS_01_PGC_01_4.VOB
[15/8/2005 9:38:11 μμ] Source resolution: 720x576
[15/8/2005 9:38:11 μμ] Found PAL source.
[15/8/2005 9:38:11 μμ] Source aspect ratio: 16:9
[15/8/2005 9:38:11 μμ] Analyzing source.
[15/8/2005 9:42:02 μμ] Source has percentage of interlacing in motion areas: 2,54
[15/8/2005 9:42:02 μμ] Source is considered to be interlaced.
[15/8/2005 9:42:02 μμ] Output will contain 153611 frames
[15/8/2005 9:42:02 μμ] Decoding audio.
[15/8/2005 9:44:54 μμ] Normalizing audio.
[15/8/2005 9:46:49 μμ] Encoding audio.
[15/8/2005 9:54:03 μμ] Audio1 size: 101,040,696 bytes (96.36 Mb)
[15/8/2005 9:54:03 μμ] Overhead: 9,910,784 bytes (9.45 Mb)
[15/8/2005 9:54:03 μμ] Video size: 616,760,264 bytes (588.19 Mb)
[15/8/2005 9:54:03 μμ] Target bitrate is: 803kbps
[15/8/2005 9:54:03 μμ] Running compressibility test.
[15/8/2005 9:54:03 μμ] Writing the following script to C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\agk_tmp\Lock_Stock_and_2_Smoking_Barrels_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

movie = mpeg2source("C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\agk_tmp\Lock_Stock_and_2_Smoking_Barrels.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 640
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
SelectRangeEvery(280,14)
===========================================================
[15/8/2005 9:59:55 μμ] Duration was: 5 minutes 50 seconds
[15/8/2005 9:59:55 μμ] Speed was: 21,90 fps.
[15/8/2005 9:59:55 μμ] Compressibility percentage is: 20,79
[15/8/2005 9:59:55 μμ] Using softer resizer.
[15/8/2005 9:59:55 μμ] Chosen resolution is: 416x240 ( AR: 1,73 )
[15/8/2005 9:59:55 μμ] Predicted comptest value is: 49,65
[15/8/2005 9:59:55 μμ] Running first pass.
[15/8/2005 9:59:55 μμ] Writing the following script to C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\agk_tmp\Lock_Stock_and_2_Smoking_Barrels_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")

movie = mpeg2source("C:\DVDRips\LOCK_STOCK_AND_2_SMOKING_BARRELS\VIDEO_TS\agk_tmp\Lock_Stock_and_2_Smoking_Barrels.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1.42222222222222
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 416
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
KernelDeInt(movie,order=1,sharp=true)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
BicubicResize(out_width,out_height,0,0.5)
RemoveGrain(mode=2)
===========================================================
[15/8/2005 10:49:10 μμ] Duration was: 49 minutes 14 seconds
[15/8/2005 10:49:10 μμ] Speed was: 51,99 fps.
[15/8/2005 10:49:10 μμ] Running second pass.
[15/8/2005 11:37:55 μμ] Duration was: 48 minutes 44 seconds
[15/8/2005 11:37:55 μμ] Speed was: 52,52 fps.
[15/8/2005 11:37:55 μμ] Job finished. Total time: 2 hours 2 minutes 28 seconds

len0x
16th August 2005, 20:50
morale of the story: its really time to stop using WMP and start with some other decent player (for instance BSPlayer).

johndoes
19th August 2005, 22:04
morale of the story: its really time to stop using WMP and start with some other decent player (for instance BSPlayer).

Sorry to disappoint you, but BSPlayer 1.35 exibits exactly the same behaviour. So does CyberLink PowerDVD. Only DivX Player plays the file in its original size (sans subtitles of course).

len0x
19th August 2005, 22:12
okey, dshow decoder is at fault then. What does your system use? (check via gspot rendering)

johndoes
20th August 2005, 13:09
okey, dshow decoder is at fault then. What does your system use? (check via gspot rendering)

I'm not sure what information you're asking of me, so here's what gspot v2.21 shows when I press render:

Video Src Type: 4cc:DX50
Audio Src: MPEGLAYER3 (MP3) (0x0055)
Video path: (S) --> AVI Splitter --> DivX Decoder Filter --> DirectVobSub (auto-loading version) --> (R)
Audio path: (S) --> AVI Splitter --> MPEG Layer-3 Decoder --> Morgan Stream Switcher --> (R)
Rendering successful

And the details are:

DirectShow claims to be able to play the file. The following combination of filters were used:
I:\Lock_Stock_and_Two_Smoking_Barrels.avi (Source)
AVI Splitter (Splitter)
DivX Decoder Filter (Video Decoder)
DirectVobSub (auto-loading version) (Video post-processor)
Video Renderer (Video Renderer)
MPEG Layer-3 Decoder (Audio decoder)
Morgan Stream Switcher (Audio Post-processor)
Default DirectSound Device (Audio Render)

I'm assuming you'll need something more than that, like dll versions. Unfortunately I don't know what to look for...

len0x
20th August 2005, 21:23
try different decoders (for instance ffdshow or xvid).

P.S. i'm also curious about what DVobSub is doing there - are you trying to view subs as well? If yes try without them and see if its ok...

Koti
22nd August 2005, 09:20
looks like direct vobsub has picture doubling activated.
By default any video under 384x288 will be 2x'd (your res were 496x208 and 416x176 both would be doubled while directvob sub is enabled if this is activated (set to "double if smaller than")

I would take a peek at that and set to "Original height" "Original resolution" and "Load when needed" in DirectVobSub Properties/General tab.

That should ensure vobsub isn't resizing your video in any way.http://img396.imageshack.us/img396/2064/vobsub0fq.jpg

johndoes
22nd August 2005, 13:27
looks like direct vobsub has picture doubling activated.


Yes!!! That's it!!! DirectVobSub was to blame after all! I did as Koti suggested and now the file plays in its original size.

Thanks to you both for the advice and the solution!!!

And, once more, kudos to len0x for the great tool he created!

:thanks: