Topic: Mpeg2lib "wish" List

Though I'm quite happy with its current functionality, it would be great if MPEG2Lib could retrieve aspect ratio (more precisely, display aspect ratio, or DAR) information from mpeg2 files. This info would be simply invaluable when dealing with anamorphic videos.

I also wonder, if this feature is difficult to implement. I've browsed through DVD2AVI sources (DVD2AVI provides this kind of information) and the only place I found with related code was gethdr.c.

P.S. I would greatly prefer to send You a patch than ask You to add this feature, however my programming skills are insufficient here.

2

Re: Mpeg2lib "wish" List

Can you tell me exactly where this information is extracted?
On what line number in gethdr.c did you see this?

Michael Vinther

> software developer <

Re: Mpeg2lib "wish" List

[code]grep --line-number --ignore-case aspect gethdr.c
52:static char *AspectRatio[5] = {
104:

4

Re: Mpeg2lib "wish" List

Thank you. I will look at it and make a new version hopefully within too long...

Michael Vinther

> software developer <

5

Re: Mpeg2lib "wish" List

MPEG2Lib has now been updated with this feature

Michael Vinther

> software developer <

Re: Mpeg2lib "wish" List

Can't say, how greatful I am; THANK You a lot!