Play video from Memory Stream
|
11-20-2014, 01:00 AM
Post: #6
|
|||
|
|||
RE: Play video from Memory Stream
If User Account Control (UAC) is bugging you on windows 7 you can turn that off, easy google.
In your case you want to decompress the JPEG-stream, how where or when you do this is up to you. That ought to produce frames, probably in some buffer, then you read that framebuffer into a TVCLVideoBuffer and you make the VLGeneric-Gen/Filter send it to an ImageDisplay. A VLGenericGen is probably the easiest, in the OnGenerate event you'd get something like: ------------------------ Read+decompress stream Frame ready? No - return (do nothing) Yes | TVLCVideoBuffer myBuffer(320,240,vfRGB24); // your frame width, height and videoformat unsigned char *ptr=myBuffer.Write(); CopyMemory(ptr,(void *)JPegFrame,sizeof(JPegFrame)); // might need some different casting OutBuffer=myBuffer; Hope that gets you somewhere. Perhaps if you read the JPegFrame directly into myBuffer, if possible, it could even save some time. Regards, Dave |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Play video from Memory Stream - BReeves - 11-18-2014, 12:32 AM
RE: Play video from Memory Stream - Dave - 11-18-2014, 10:31 AM
RE: Play video from Memory Stream - BReeves - 11-18-2014, 08:32 PM
RE: Play video from Memory Stream - Dave - 11-18-2014, 09:33 PM
RE: Play video from Memory Stream - BReeves - 11-19-2014, 10:18 PM
RE: Play video from Memory Stream - Dave - 11-20-2014 01:00 AM
RE: Play video from Memory Stream - BReeves - 11-28-2014, 10:03 PM
|
User(s) browsing this thread: 1 Guest(s)