Mailing List archive

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

[vdr] Re: Problems with cPlayer's PlayVideo



Andreas 'powARman' Regel wrote:
> 
> Hello list,
> 
> I did some tests with the MPEG decoder of my DVB card using the
> PlayVideo method of cPlayer class. Now I have a small problem: If the
> decoder is finally working and I see some output on TV I have to send
> a video frame twice to see it on screen. I am using ffmpeg's
> libavcodec to encode the test image to a MPEG1 I-frame and put it in a
> PES-packet that is sended through the PlayVideo call.
> 
> I've uploaded my test plugin at
> http://www.powarman.de/files/vdr-mpegtest-0.0.1.tgz
> Maybe someone sees the error.
> 
> After starting it through its main menu entry You can switch the Image
> using the colored keys.

I haven't tried your test plugin, but the problem may be that
you have to send enough data to actually fill up the buffer
enough so that it will show the image. See also the implementation
of the VIDEO_STILLPICTURE ioctl() in the driver.

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index