darbyjohnston / DJV

Professional media review software for VFX, animation, and film production
https://darbyjohnston.github.io/DJV/
BSD 3-Clause "New" or "Revised" License
658 stars 58 forks source link

Problem wirh command line #453

Open geraldft opened 2 years ago

geraldft commented 2 years ago

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

darbyjohnston commented 2 years ago

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?

geraldft commented 2 years ago

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