Windows >
Software Development for Windows Client Forums
>
DirectShow Development
>
Unable to export MJPEG into ASF format with 2560x1920 resolution
Unable to export MJPEG into ASF format with 2560x1920 resolution
- I'm trying to convert a proprietary format video file encoded with MJPEG into ASF using the WM ASF Writer and it works great for up to and including 1280x960. When I try 2560x1920 I get an error from the graph 0xc00d002f.
I can't see anything that would suggest any error in the conversion process (this is also code that hasn't been touched in years). I build a graph, insert the filters, specify the WME profile (which I also tried to play with for a while, trying to see if anything would change, to no avail), but the graph just barfs.
Is there potentially a limitation with the ASF Writer that it can't handle 2560x1920?
Does anyone have any suggestions?
Thanks
Answers
- IIRC, there was an earlier post here or in the dshow newsgroup about running into a limit with the dimensions of a sample the WM ASF writer will handle.It seems to me that you can figure out what this limit is, if it exists, empirically by iterating through increasingly larger resolutions. Note that some encoders enforce dimensions must be a multiple of 4 and possibly 8 or 16 (most, at least a multiple of 2).
Please use Vote As Helpful (green up arrow at top-left of posts) and Mark As Answer where appropriate.
My dshow site is http://tmhare.mvps.org.- Marked As Answer byThe March HareMVP, ModeratorThursday, November 12, 2009 2:53 PM
- Some of Windows Media video encoders has a limit of 2000 pixels, the limit AFAIK is specific to 32-bit systems and can be resolved by updating a WM component such as latest WMP runtime (sorry, I don't remember details).
http://alax.info/blog/tag/directshow- Marked As Answer byThe March HareMVP, ModeratorThursday, November 12, 2009 2:53 PM
All Replies
- IIRC, there was an earlier post here or in the dshow newsgroup about running into a limit with the dimensions of a sample the WM ASF writer will handle.It seems to me that you can figure out what this limit is, if it exists, empirically by iterating through increasingly larger resolutions. Note that some encoders enforce dimensions must be a multiple of 4 and possibly 8 or 16 (most, at least a multiple of 2).
Please use Vote As Helpful (green up arrow at top-left of posts) and Mark As Answer where appropriate.
My dshow site is http://tmhare.mvps.org.- Marked As Answer byThe March HareMVP, ModeratorThursday, November 12, 2009 2:53 PM
- Some of Windows Media video encoders has a limit of 2000 pixels, the limit AFAIK is specific to 32-bit systems and can be resolved by updating a WM component such as latest WMP runtime (sorry, I don't remember details).
http://alax.info/blog/tag/directshow- Marked As Answer byThe March HareMVP, ModeratorThursday, November 12, 2009 2:53 PM


