JonathonReinhart / spice-record

Record SPICE session output to MP4 video
MIT License
35 stars 8 forks source link

Allow using the machine argument as a remote-viewer url, bypass libvirt #24

Open fredericgermain opened 1 year ago

fredericgermain commented 1 year ago

Tested on url like spice+unix:///run/user/1000/spice-win32.sock

It's not a rework at all, but the fastest way to make it work...

I could make this work python3 -m spicerecord -r 5 -o test.mp4 spice+unix:///run/user/1000/spice-win32.sock

Related to https://github.com/JonathonReinhart/spice-record/issues/17

Let me know if it inspires you to rework. Or I can try to do it. Probably all the libvirt-related thing should be in their own file, and record.py only handle spice-protocol?