Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th October 2006, 21:21   #1  |  Link
crypto
@DVBPortal
 
crypto's Avatar
 
Join Date: Feb 2004
Posts: 434
[Tool] WMV Aspect Ratio Changer 1.0 released

I have made a tool to change the aspect ratio of WMV files without reencoding. It writes the AspectX and AspectY properties in the meta data header as discussed here and here

Enjoy!


Current version is 1.0, get it here

Last edited by crypto; 6th October 2006 at 21:45.
crypto is offline   Reply With Quote
Old 6th October 2006, 22:29   #2  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,183
Does it works with VC-1 streams or it is the same tool like MetadataEdit ?
Kurtnoise is offline   Reply With Quote
Old 6th October 2006, 22:42   #3  |  Link
zambelli
Doom9ing since 2001
 
zambelli's Avatar
 
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 1,967
Quote:
Originally Posted by Kurtnoise13 View Post
Does it works with VC-1 streams or it is the same tool like MetadataEdit ?
AspectRatioX and AspectRatioY are ASF attributes. Crypto's tool will only work on ASF containers. It doesn't touch the VC-1 bitstream.
zambelli is offline   Reply With Quote
Old 7th October 2006, 04:06   #4  |  Link
nixo
Registered User
 
nixo's Avatar
 
Join Date: Dec 2002
Location: EUR
Posts: 159
Many thanks for this. While MetadataEdit.exe works well for certain attributes, I've had no luck trying to add (or modify) AspectRatioX or AspectRatioY. Just kept getting error messages.
This tool, however, works very well for me, so thanks again.

--
Nikolaj
nixo is offline   Reply With Quote
Old 7th October 2006, 05:01   #5  |  Link
mrcorbo
Registered User
 
Join Date: Jan 2005
Posts: 171
This is very useful since last I checked Nic's Encoder couldn't set the PAR. Thanks.
mrcorbo is offline   Reply With Quote
Old 7th October 2006, 12:45   #6  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
moved
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 7th October 2006, 16:19   #7  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,436
Errrrrm.... Not to sound too ungrateful.

But is there a chance future builds could include support for changing the AR signalling values of WMV streams placed within the .AVI container?


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 7th October 2006, 18:40   #8  |  Link
zambelli
Doom9ing since 2001
 
zambelli's Avatar
 
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 1,967
Quote:
Originally Posted by SeeMoreDigital View Post
But is there a chance future builds could include support for changing the AR signalling values of WMV streams placed within the .AVI container?
Of course I can't speak for Crypto, but what you're asking for is a completely different ballgame. With any container other than ASF, you'd have to change the AR signaling in the VC-1 bitstream. You couldn't just add "AspectRatioX" to the the AVI RIFF header because the AVI source filter wouldn't have a clue what to do with it.
zambelli is offline   Reply With Quote
Old 7th October 2006, 23:30   #9  |  Link
crypto
@DVBPortal
 
crypto's Avatar
 
Join Date: Feb 2004
Posts: 434
Exactly like zambelli says, that's completely different.

I am not even sure what needs to be done. To me it looks like Data Unit Extensions are required on every sample, thus requiring the whole stream to be rewritten.
crypto is offline   Reply With Quote
Old 11th October 2006, 14:46   #10  |  Link
mgh
Registered User
 
Join Date: Oct 2004
Location: India
Posts: 322
tried it-it sets PAR not DAR
__________________
A shut mouth gathers no foot
mgh is offline   Reply With Quote
Old 11th October 2006, 19:36   #11  |  Link
zambelli
Doom9ing since 2001
 
zambelli's Avatar
 
Join Date: Oct 2001
Location: Seattle, WA, USA
Posts: 1,967
Quote:
Originally Posted by mgh View Post
tried it-it sets PAR not DAR
Only PAR is supported in WMV.
zambelli is offline   Reply With Quote
Old 11th October 2006, 20:08   #12  |  Link
SeeMoreDigital
Life looks better in UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 11,436
Okay... thanks for the confirmation
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 15th October 2006, 03:33   #13  |  Link
Jay Bee
Registered User
 
Join Date: May 2006
Posts: 451

Last edited by Jay Bee; 15th October 2006 at 03:36.
Jay Bee is offline   Reply With Quote
Old 24th November 2006, 16:37   #14  |  Link
daniel.aam
Registered User
 
Join Date: Jul 2006
Posts: 10
Unfortunately this doesn't actually work on a WMV file, yes it changes the metadata object [can check in asf view] , but the display is exactly the same PAR as it was previously.
There must be another parameter that is changeable surely?
daniel.aam is offline   Reply With Quote
Old 24th November 2006, 16:42   #15  |  Link
crypto
@DVBPortal
 
crypto's Avatar
 
Join Date: Feb 2004
Posts: 434
The player has of course to honor the meta data for this to work. The XBox360 dashboard player does not. It is a confirmed bug.
crypto is offline   Reply With Quote
Old 24th November 2006, 16:45   #16  |  Link
daniel.aam
Registered User
 
Join Date: Jul 2006
Posts: 10
I was referring to WMP.
daniel.aam is offline   Reply With Quote
Old 24th November 2006, 16:54   #17  |  Link
crypto
@DVBPortal
 
crypto's Avatar
 
Join Date: Feb 2004
Posts: 434
With WMP it works 100%. What do the file properties in WMP say?
crypto is offline   Reply With Quote
Old 4th February 2007, 22:29   #18  |  Link
jaswah
Registered User
 
Join Date: Sep 2006
Posts: 9
hey
i just wanted to say a massive thanks to crypto for this.... it's allowed me to encode heaps of wmv's using avs files in apps other than WME, and i'm very happy!
so thanks again for the generous offering!
jason
jaswah is offline   Reply With Quote
Old 26th March 2009, 05:04   #19  |  Link
adam.fred
Registered User
 
Join Date: Jun 2006
Posts: 3
Sorry to raise this thread from the dead but I have been investigating the PAR metadata values AspectRatioX and AspectRatioY in the WMV container. I have had a need to change these values on a hundred or so files.

It is interesting to me that MS sdk sample MetadataEdit.exe does not succeed in modifying these attributes. Did it work once with WM7/9 and was disabled because of WMV script secuirty holes?

Well the wmvarchanger from crypto does work but only for single streams. On mulitbitrate streams only the first stream is modified.

I am still left with a task ahead. To modify the sdk sample app to work properly and modify the metadata values. Anyone pursued this? Or to hexedit the streams - this is the probably the way is done by wmvarchanger - I suppose this way will work without pain but what will be learned
__________________
---
Adam "VIC" Frederick
adam.fred is offline   Reply With Quote
Old 28th May 2009, 09:05   #20  |  Link
Electric_Soul
Registered User
 
Join Date: Jan 2007
Posts: 12
thanks dude....works like a charm
Electric_Soul is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.