Re: YUV Overlay

2013-08-05 Thread Tobias Leich
makes the YUV overlay completely useless. Not to be deterred, I wrote this code: SDL::Video::lock_YUV_overlay( $overlay ); # The order of array indexen is correct, according to: # http://dranger.com/ffmpeg/tutorial02.html [1] my $pitches = $overlay-pitches; $$pitches[0

Re: YUV Overlay

2013-08-05 Thread tmurray
times a second to handle realtime video. The C technique is used in the recently released UAV::Pilot v0.5. I have run across a new problem when trying to draw on top of the YUV overlay. I can draw a line using the RGB colorspace, but it shows up black. Maybe I need to convert RGB to YUV

Re: YUV Overlay

2013-08-05 Thread Tobias Leich
a very expensive operation to do 30 times a second to handle realtime video. The C technique is used in the recently released UAV::Pilot v0.5. I have run across a new problem when trying to draw on top of the YUV overlay. I can draw a line using the RGB colorspace, but it shows up black. Maybe I

Re: YUV Overlay

2013-07-24 Thread Tobias Leich
with ffmpeg and then outputting them to an SDL surface. From what I've read, the YUV overlay is meant for this kind of job, but I'm having trouble getting it to work with the Perl bindings. One thing that seems odd to me in the Perl docs is: As of release 2.3 direct right to overlay is disable

Re: YUV Overlay

2013-07-24 Thread tmurray
decoding h.264 video frames with ffmpeg and then outputting them to an SDL surface. From what I've read, the YUV overlay is meant for this kind of job, but I'm having trouble getting it to work with the Perl bindings. One thing that seems odd to me in the Perl docs is: As of release 2.3 direct

Re: YUV Overlay

2013-07-24 Thread Kartik Thakore
is SDL's latest release, which is 2.540 or so. Cheers, FROGGS Am 23.07.2013 23:44, schrieb tmur...@wumpus-cave.net: I'm working on a project involving decoding h.264 video frames with ffmpeg and then outputting them to an SDL surface. From what I've read, the YUV overlay is meant

Re: YUV Overlay

2013-07-24 Thread tmurray
decoding h.264 video frames with ffmpeg and then outputting them to an SDL surface. From what I've read, the YUV overlay is meant for this kind of job, but I'm having trouble getting it to work with the Perl bindings. One thing that seems odd to me in the Perl docs is:     As of release 2.3 direct

Re: YUV Overlay

2013-07-24 Thread tmurray
what I've read, the YUV overlay is meant for this kind of job, but I'm having trouble getting it to work with the Perl bindings. One thing that seems odd to me in the Perl docs is:     As of release 2.3 direct right to overlay is disable. Besides the typos, this troubles me because it seems

YUV Overlay

2013-07-23 Thread tmurray
I'm working on a project involving decoding h.264 video frames with ffmpeg and then outputting them to an SDL surface. From what I've read, the YUV overlay is meant for this kind of job, but I'm having trouble getting it to work with the Perl bindings. One thing that seems odd to me