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 > Programming and Hacking > Development

Thread Tools Search this Thread Display Modes
Old 8th May 2002, 05:26   #1  |  Link
Registered User
Join Date: Feb 2002
Posts: 27
Height , width of MPEG file


How can I obtain the display height and width of an MPEG file?
Is there any simple way to do this in code?

Thanks in advance,
mario_a is offline   Reply With Quote
Old 24th May 2002, 22:05   #2  |  Link
Registered User
aquaplaning's Avatar
Join Date: Apr 2002
Posts: 39
i found this by accident at http://www.wotsit.org/search.asp?page=2&s=animated

Sequence Header
This contains information related to one or more "group-of-pictures"
Byte#, Data, Details:
1-4, Sequence header code, In Hex 000001B3
12 bits, Horizontal size, In pixels
12 bits, Vertical size, In pixels

search trough a mpeg1 file for "00 00 01 B3".
the first 12 bit from the following 3 byte contain the width...
aquaplaning is offline   Reply With Quote

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 09:32.

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