View Issue Details

IDProjectCategoryView StatusLast Update
0000826libextractorpluginspublic2006-05-17 01:43
ReporterPatrick BURNAND Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000826: mpeg resolution extraction off by 1 bit...
DescriptionThe libextractor mpeg modules seems to extract resolution wrongly. It seems there is a binary shift of 1 bit...

A video with a resolution of 720x480 is recognized as 721x224
A video with a resolution of 352x288 is recognized as 353x32
Additional Informationlibextractor 0.4.0
TagsNo tags attached.

Activities

Christian Grothoff

2005-01-25 00:26

manager   ~0002001

Hmm. It works for a couple of mpegs that I have. Could be related to the mpeg version -- some mpegs don't seem to parse at all. Would help to have some documentation about the various formats :-(.

Patrick BURNAND

2006-05-14 04:45

reporter   ~0002639

A good way of doing this would to look at mplayer's source. I found no mpeg file for which the resolution is badly calculated. (I have loads of them).

Christian Grothoff

2006-05-14 12:22

manager   ~0002642

Well, could you provide me with a sample (maybe just the first few frames) of an mpeg file where libextractor IS wrong? I mean, for testing, I don't just need code to show how to do it right, it would be nice to have a file showing that we are wrong now (and showing afterwards that the issue is resolved).

Christian Grothoff

2006-05-17 01:24

manager   ~0002652

Resolved by switching to libmpeg2 for parsing mpegs.

Issue History

Date Modified Username Field Change
2005-01-23 22:05 Patrick BURNAND New Issue
2005-01-24 22:06 Christian Grothoff Status new => acknowledged
2005-01-24 22:06 Christian Grothoff Category libextractor main library => plugins
2005-01-24 23:32 Christian Grothoff Status acknowledged => assigned
2005-01-24 23:32 Christian Grothoff Assigned To => Christian Grothoff
2005-01-25 00:26 Christian Grothoff Note Added: 0002001
2005-01-25 00:26 Christian Grothoff Status assigned => feedback
2006-05-14 04:45 Patrick BURNAND Note Added: 0002639
2006-05-14 12:22 Christian Grothoff Note Added: 0002642
2006-05-17 01:24 Christian Grothoff Status feedback => resolved
2006-05-17 01:24 Christian Grothoff Resolution open => fixed
2006-05-17 01:24 Christian Grothoff Note Added: 0002652
2006-05-17 01:43 Christian Grothoff Status resolved => closed