Hi,

> -----Ursprüngliche Nachricht-----
> Von: "Michael Riepe" <[EMAIL PROTECTED]>
> Gesendet: 19.10.08 22:03:39
> An: DVBCUT development discussions <dvbcut-devel@lists.sourceforge.net>
> Betreff: Re: [DVBCUT-devel] [PATCH] show picture infos
> Hi!
> 
> Ralph Glasstetter wrote:
> 
> > ... hmmm ...  after indexing and opening about 30+ recordings I found not a 
> > single 
> > one with problems!?! And there have been some with lot's of warnings during 
> > indexing...
> 
> Maybe because your input files are different somehow (I don't use a
> Topfield receiver, for instance).
> 

Yeah, maybe... but I also tested some DIVX-videos which I converted to 
MPEG-TSes (with ffmpeg).

Hmmm... maybe I got it!!!
Is it possible that some of your videos don't contain any resolution 
information in their MPEG-header? 
And if yes... is that allowed? Anyway...

That way 7 zeroed fake pics would be appended to the end of the index in 
generate() but load() recognizes 
the file as old style index file, because of the 3bit resolution number which 
would always be 0 (actually 
even only the first pic is tested for >0) and therefore the last 7 pics are 
regarded as REAL and some check may 
fail!

Solution is either use kind of a default resolution (i.e. always start with 
nres=1 pointing to a default 999x999) or 
don't write the fake pics at all if nres==0. The latter would fail if only some 
of the pics have no resolution in their header 
so it's better to write a default but don't use it (instead use compatibility 
mode for displaying also for nres=1).

I'll implement this later (don't have the code and my PC around at the moment) 
... guess it's in any case a good 
idea and only 6 real resolutions per file should be still enough. ;-)

ciao
Ralph

_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DVBCUT-devel mailing list
DVBCUT-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-devel

Reply via email to