Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Still pictures with latest CVS driver




Stefan Huelswitt wrote:
> 
> On 24 Nov 2001 Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de> wrote:
> 
> > The first one contains Ralph's I-frame (@Ralph: I hope it's ok with you
> > that I have uploaded this file?!), the second one is one of VDR's I-frames,
> > and the third one is a small example program that takes the name of a file
> > and displays the I-frame in that file as a still picture (I also got this one
> >>from Ralph). Interestingly, with the unpatched driver cim.mpg works, but kls.mpg
> > doesn't. If you apply my patch to dvb.c, kls.mpg works (and IIRC cim.mpg doesn't
> > work any more, but I'm not sure about that).
> 
> I played around with the files, but I couldn't display either of
> them. On first try I get a blank screen, on any following try
> nothing happens. After a driver reload I get a blank screen again
> (using latest cvs driver with still frame patch).
> Still frames from inside VDR are working.
> Strange...
> 
> > If anybody can find out what prevents kls.mpg from being displayed, I'd appreciate
> > any hints. BTW: kls.mpg may contain sequences with many subsequent 0x00 bytes.
> > These are former AC3 audio packets that have been erase by overwriting them with 0x00.
> > AFAIK there may be any number of 0x00 bytes in an MPEG stream, so this shouldn't
> > make a difference.
> 
> Did you ever tried to remove the deleted packets in
> StripAudioPakets() ?

Not yet, but if that's what breaks things, I can give it a shot.
I just thought that it would be ok to have a sequence of 0x00 bytes
(at least it appears to be ok from what I can see in the standard...)

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index