View Issue Details

IDProjectCategoryView StatusLast Update
0000826libextractorpluginspublic2006-05-16 23: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-24 23: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 02: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 10: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-16 23:24

manager   ~0002652

Resolved by switching to libmpeg2 for parsing mpegs.

Issue History

Date ModifiedUsernameFieldChange
2005-01-23 21:05Patrick BURNANDNew Issue
2005-01-24 21:06Christian GrothoffStatusnew => acknowledged
2005-01-24 21:06Christian GrothoffCategorylibextractor main library => plugins
2005-01-24 22:32Christian GrothoffStatusacknowledged => assigned
2005-01-24 22:32Christian GrothoffAssigned To => Christian Grothoff
2005-01-24 23:26Christian GrothoffNote Added: 0002001
2005-01-24 23:26Christian GrothoffStatusassigned => feedback
2006-05-14 02:45Patrick BURNANDNote Added: 0002639
2006-05-14 10:22Christian GrothoffNote Added: 0002642
2006-05-16 23:24Christian GrothoffStatusfeedback => resolved
2006-05-16 23:24Christian GrothoffResolutionopen => fixed
2006-05-16 23:24Christian GrothoffNote Added: 0002652
2006-05-16 23:43Christian GrothoffStatusresolved => closed