ok people, here's the deal:
i have a number of, what i can only surmise are, improperly encoded wmv files. normally 1440x1080 are supposed to use non-square 4:3 pixels, however these files were encoded in a rather odd way. when i try to play them in any video player, say media player classic or vlc, the files display as "squished" on the left and right side, which results in black borders on either side and the image having an unnatural elongated appearance, this is with the aspect ratio setting at "default", if i manually set the aspect ratio to 16:9, if i set it to 1:1 or 4:3 there is no change from the default view.
all video players agree that the files have resolutions of 1440x1080, here's where the plot, much like oprah, thickens: if i load the file into media info, the default output tells me that they are vc-1, specifically wmv3, mp@hl, 30fps, 6818 kbps, and 1440x1080 (4:3) and that they were created with windows movie maker.
however when i dig deeper it gets really interesting, media info still tells me that the files are 1440 wide by 1080 high with a display aspect ratio of 4:3 but "general" it tells me that "aspect ratio x" is 1440 and "aspect ratio y" is 1920, in effect telling me that the files in question have a resolution of 1440x1920.
does this mean that the headers on these files are wrong and if so is there a way, other than a hex editor, to fix them?
if it's not the header then what is the problem and how can it be fixed, assuming it can be fixed.
thanks.
+ Reply to Thread
Results 1 to 30 of 57
-
-
sounds like the original video maker blew it. try re-encoding to square pixel 1920x1080.
--
"a lot of people are better dead" - prisoner KSC2-303 -
thanks for both the suggestions, unfortunately neither one works, wmvarchanger seems to "correct" the but accomplishes nothing, as confirmed by playing the file back and media info, attempts to re-encode to 1920x1080 with square pixels results in a file that plays just like the original and in a really odd turn of events, re-encoding to a different hd resolution, like 1280x720 or 960x540 with square pixels or 16:9 results in the a file that likewise plays back like the original.
it looks like i'm breaking out a hex editor and trying to manually fix the files, not looking forward to this. -
Originally Posted by deadrats
-
deadrats - can you post a sample? here's a tools that may be able to cut one if you don't have the tools.
makesample.zip--
"a lot of people are better dead" - prisoner KSC2-303 -
Originally Posted by jagabo
while i'm at it, i just had a thought: if the source is 1440x1080 with 4:3 pixels then it doesn't make much sense to re-encode to 1920x1080 with square pixels, does it? i mean were do the extra 480 pixels come from?
regardless, i decided to just re-encode to 1280x720 16:9 and be done with it, thanks for to all for your help. -
Originally Posted by deadrats
Originally Posted by deadrats -
Originally Posted by aedipuss
http://www.mediafire.com/?zriu5tmmetz -
Originally Posted by poisondeathray
so, with that additional info, i assume that my only option remains to re-encode to a blu-ray complaint resolution, in this case i'm assuming the best choice would be 1280x720 16:9, no? i can also re-encode to 1440x1080 16:9 but my understanding is that it is not a blu-ray compliant resolution, re-encoding to 1440x1080 4:3 results in file that improper aspect ratio.
in other words, if you had say 20 such files, all in the 1-1.2 gig range, all improperly encoded like the sample i provided and you wanted to make on blu-ray compliant disk out of them, how would you guys go about it? -
Originally Posted by deadrats
It's wmv3, not vc-1, so you will have to re-encode eitherway
And I believe the file is correctly encoded. As jagabo said earlier, it's the programs you used that decode the file improperly, so the resulting re-encoded file is screwed up.
It's 30.0fps, which isn't compliant either. 29.97 (or 30000/1001) is, but only with interlaced content (really 29.97 frames or 59.94 fields per second)
Are you talking real blu-ray or AVCHD disc on DVD media? Remember that the PS3 can play out of spec content
To make a legit blu-ray, most would duplicate frames (from 30p) and resize to 720p60 (really 720p59.94). 1920x1080p30 and 1440x1080p30 are never legal -
It's unfortunate that Blu-ray is so inflexible with frame rates and frame sizes.
http://www.blurayjukebox.com/pdfs/2b_bdrom_audiovisualapplication_0305-12955-13403.pdf
Originally Posted by poisondeathray -
Yes, it usually responds to AR flags in MKV, AVI, MP4, TS, VOB, etc. Your out.mkv displayed properly as 16:9. It didn't play the audio though. The audio in the original WMV file played fine.
-
Originally Posted by poisondeathray
http://en.wikipedia.org/wiki/VC-1
Simple and Main Profiles of VC-1 remained completely faithful to the existing WMV3 implementation, making WMV3 bitstreams fully VC-1 compliant.Originally Posted by poisondeathray
Originally Posted by poisondeathray
Originally Posted by poisondeathray
http://en.wikipedia.org/wiki/Blu-ray_Disc
it looks like 720p60 also is not a legal blu-ray resolution, so of the legit blu-ray specs, which do you think is better, encoding to 1440x1080p24 or 1440x1080i59.94, with the source i have.
as a side note, i discovered something quite interesting, microsoft actually has their own h264 codec:
http://www.microsoft.com/expression/products/Encoder_Features.aspx
unfortunately the ability to encode to h264 isn't available in the free version of "expression encoder" and i'n not willing to spend $50 for the higher end version just to try it out. <evil thought alert> i wonder if maybe i could find a "demo" version somewhere out there just to see what kind of h264 codec microsoft put together, for some reason i have a feeling that it has to be pretty good.
oh, and one last probably stupid question, how do you interlace content? is it as simple as just choosing the "interlace" option within the encoder output settings?
thanks. -
Originally Posted by deadrats
if that's the case then why is it that media info gives me that screwy description of the file as being 1440 x resolution and a y resolution of 1920 and why would i have to force most players and video editors to see the source as 16:9 when 1440x1080 is supposed to use 4:3 pixels and have a DAR of 1.333?
ok, so i looked over the specs here:
http://en.wikipedia.org/wiki/Blu-ray_Disc
it looks like 720p60 also is not a legal blu-ray resolution, so of the legit blu-ray specs, which do you think is better, encoding to 1440x1080p24 or 1440x1080i59.94, with the source i have.
as a side note, i discovered something quite interesting, microsoft actually has their own h264 codec:
http://www.microsoft.com/expression/products/Encoder_Features.aspx
unfortunately the ability to encode to h264 isn't available in the free version of "expression encoder" and i'n not willing to spend $50 for the higher end version just to try it out. <evil thought alert> i wonder if maybe i could find a "demo" version somewhere out there just to see what kind of h264 codec microsoft put together, for some reason i have a feeling that it has to be pretty good.
oh, and one last probably stupid question, how do you interlace content? is it as simple as just choosing the "interlace" option within the encoder output settings? -
Originally Posted by poisondeathray
If you really want the smoothness of 60 different images per second you could try using one of the motion vector based frame rate changers in AviSynth followed by pulling down fields. It's probably not worth it though.
Progressive YV12 sources should be converted to interlaced YUY2 or interlaced YV12 first. -
Really? And what happens when the stream is deinterlaced on playback on the device? I guess you only see 30p but with deinterlacing artifacts?
All the professionally done blu-ray discs (replicated) use the frame repeat method I mentioned earlier from 30p sources. -
Originally Posted by poisondeathray
And just to be sure we're all on the same page: 60i is just another name for 30i. Marketers like bigger numbers. The video is encoded as 30 frames per second, displayed one field at a time at 60 fields per second.
Originally Posted by poisondeathray -
Originally Posted by jagabo
I guess you could encode it as interlaced as another option, but it doesn't make much sense to me - what's the benefit? -
Originally Posted by poisondeathray
-
Are the fields resized when you encode interlaced? As in real interlaced content:
ie. 1440x540?
or do you retain the full frame size?
Wouldn't the downsizing artifacts be minor compared to the deinterlacing artifacts? -
Originally Posted by poisondeathray
oddly enough, even manually setting the source PAR as 1 within my encoder and the output as 1440x1080 with either 4:3 or 16:9 PAR results in an improperly encoded file, in the case of the former it comes out just like the source, in the case of the latter it comes out with black borders all the way around, a truly crappy encode (basically it comes out letter boxed and pillar boxed).
the only thing that seems to work is jagabo's suggestion of basically "lying" to the encoder and telling it that the source has a PAR of 16:9, it doesn't make any sense to me, but that's the way it is.
i do wonder if it has something to do with the version of movie maker that was used to create these files, while trying to fix them i decided to use the windows movie maker for xp64 and discovered that the highest output resolution supported was 720x480, yet media info says they were created with movie maker. i'm guessing that they were created on a vista or win 7 pc, most likely vista considering the age of the files, so i'm assuming that the movie maker in vista supports hd resolutions, maybe there was an incompatibility between the source files and movie maker or maybe a codec issue and that resulted in screwy files. -
Originally Posted by deadrats
oddly enough, even manually setting the source PAR as 1 within my encoder and the output as 1440x1080 with either 4:3 or 16:9 PAR results in an improperly encoded file, in the case of the former it comes out just like the source, in the case of the latter it comes out with black borders all the way around, a truly crappy encode (basically it comes out letter boxed and pillar boxed).
the only thing that seems to work is jagabo's suggestion of basically "lying" to the encoder and telling it that the source has a PAR of 16:9, it doesn't make any sense to me, but that's the way it is. -
deadrats - you seem to be using words you don't understand. the PAR - pixel aspect ratio - of a 1440x1080 widescreen video is 1.33333 so it's not "lying" to the encoder, but telling it to treat the video properly.
and no, before you whine that 1.33333 is 4:3, it's not in pixel aspect ratio terms. par only relates to the shape of the pixel not it's output on a monitor.--
"a lot of people are better dead" - prisoner KSC2-303
Similar Threads
-
How to fix audio sync issue in a wmv file
By pjbarbour in forum AudioReplies: 11Last Post: 20th Nov 2012, 14:29 -
Weird Brightness Problem - How to fix with Avisynth?
By VideoFanatic in forum RestorationReplies: 20Last Post: 4th Apr 2012, 07:10 -
Wrong Ratio of a wmv file, How to fix this?
By teufel2k in forum Video ConversionReplies: 2Last Post: 10th Oct 2009, 11:20 -
Sound on both channel fix possible on mpg and wmv?
By Blå_Mocka in forum AudioReplies: 2Last Post: 3rd Jul 2008, 14:25 -
Mencoder converts wmv blocky--how to fix?
By kruuth in forum Newbie / General discussionsReplies: 4Last Post: 11th Dec 2007, 14:59