Monday, 15 April 2013

delphi - Displaying an acinerella packet into my form -



delphi - Displaying an acinerella packet into my form -

i have fire monkey form in rad studio xe6 , using acinerella wrapper ffmpeg in order play video. in available illustration shipped acinerella can see line

175| move(videodecoder^.buffer^, bmp.scanline[bmp.height-1]^, videodecoder^.buffer_size);

that can no longer used though scanline not exist. fastest method display packet in form?

edit

i found way @ to the lowest degree compiles, doesn't show in final form.

it includes using vcl.tbitmap scan line can work, saving stream , loading fmx.tbitmap. like

move(videodecoder^.buffer^, bmp.scanline[bmp.height-1]^, videodecoder^.buffer_size); bmp.savetostream(astream); astream.position := 0; imageviewer1.bitmap.loadfromstream(astream);

is going in right direction.

delphi firemonkey

No comments:

Post a Comment