porcino / Av1ador

AV1/VVC/HEVC/VP9/H264 parallel encoder GUI for FFmpeg with preview/comparison
GNU General Public License v3.0
52 stars 2 forks source link

[Feat request] Option to shut down computer + keep audio and segments calculation files #13

Closed Anacondo closed 9 months ago

Anacondo commented 9 months ago

Hola! Could you please add an option to keep the audio and segments calculations after encoding is finished? Sometimes I need to adjust the CRF values and run a 2nd encode to hit a target file size, and it would save a lot of time if I didn't have to calculate the chunks + encode the audio again. Also, could you add an option to shutdown the computer after the queue is finished? Thanks a lot!

porcino commented 9 months ago

Sorry I don't know what you mean with calculation files, do you mean the encoded segments .ivf or the .txt with the timestamp of the different scenes? anyway, right now you can keep everything if you create an empty file named "debug" where the exe is located. I'll add a button for this Untitled

Anacondo commented 9 months ago

Just the .txt file with the segments and the audio file, no need for the .ivf files as the encode will start over anyway. Also, would it be possible to override the confirmation to use the existing files from a previous encode, so that you don't have to be in front of the PC to resume an old/previous encode? Thanks a lot!

porcino commented 9 months ago

I added a cleanup button to choose what files to keep.

would it be possible to override the confirmation to use the existing files from a previous encode, so that you don't have to be in front of the PC to resume an old/previous encode?

Now this dialog will not appear if you enable the button "encode entire list", default is always resume c9a786f131963966d67f65e39cf153ab583680fd. The only missing thing is the option to shutdown the computer, I don't know where to put it.

Anacondo commented 9 months ago

I added a cleanup button to choose what files to keep. Now this dialog will not appear if you enable the button "encode entire list", default is always resume

These work wonderfully, thank you so much!

The only missing thing is the option to shutdown the computer, I don't know where to put it.

May I suggest something like this?

image

Anacondo commented 9 months ago

I think I found a couple bugs:

  1. The settings for the cleanup button seem to reset every time I change the selected video in the list, it doesn't remember my settings unless I close the program first, at which point it writes the selected option to the "settings.xml" file. If I choose my preferred option, close the program and open it again it works as expected.

EDIT: 2nd bug was an error on my side, please ignore.