ray2501 / tkvlc

A demo to embed libVLC to Tk toolkit widget (Tcl version)
MIT License
5 stars 0 forks source link

get binary jpeg data when using tkvlc with tclsh #4

Open edoroe opened 2 years ago

edoroe commented 2 years ago

Hello Danilo,

Is it possible to somehow add the ability to receive binary jpeg data from the video stream when used tkvlc with tclsh?

For Example:

tkvlc::init HANDLE tcl_variable

where tcl_variable is a variable tcl that contains binary data in the jpeg format.

Thanks!

ray2501 commented 2 years ago

If you enable "allow for photo images" feature, photo command should support to write image data to a file.

edoroe commented 2 years ago

So. You are absolutely right! But it is a question possibility of use tkvlc in only Tcl, that is without Tk. Which means the absence of all commands Tk, including commands to work with the image.