DJV icon indicating copy to clipboard operation
DJV copied to clipboard

Problem wirh command line

Open geraldft opened this issue 2 years ago • 2 comments

Hi

Using Windows 10 with Nvidia Geforce graphics on laptop.

I can't get the transport command line playback options to work. For example

djv_view "file name" -playback_frame(25) opens a new instance of djv with the video file loaded, but reports an unrecognised file error reference to the playback_frame command.

Whereas some commands do work - ie. window_full_screen

But more importantly for me - is there way to issue a command line without opening a new program instance? For instance I'd like to use command line to move forward or back to a specific frame with a currently loaded movie file. Thanks

geraldft avatar Jan 30 '22 08:01 geraldft

Hi, which version of DJV are you using?

I'm not sure I understand about the command-line request; do you mean something like Python where you can type interactive commands into the shell/command prompt?

darbyjohnston avatar Feb 01 '22 19:02 darbyjohnston

Hi. It's v 1.3.0 Basically I want to remote control djv to do things such as display a specific frame in a loaded sequence, or to simply jog back or forward 1 frame on demand. I want to do this from another program running on the same PC. The program I'm using has a batch file feature which means it can issue command line code. I could also use OSC but I guess that would be a whole other thing. I thought I could use the current command line feature, but it does seem to always spawn a new player, which is not what I want. Also having issues with some commands not working. For testing I am just typing commands into a windows command prompt. Thanks

geraldft avatar Feb 01 '22 22:02 geraldft