porcino / Av1ador

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

Queue file corrupted on power loss #22

Closed Anacondo closed 6 months ago

Anacondo commented 7 months ago

Hello,

The other day the electricity went off in the middle of an encode and when I rebooted my PC the queue file was corrupted, full of unreadable characters. I had 10 files in the queue, each with specific settings like cropping, filters, CRF values, etc. so it was quite a pain to redo all that. Would it be possible to prevent this somehow?

Best regards!

porcino commented 6 months ago

This would be impossible for me to test, but in the commit 6496923 the queue.xml will be renamed to queue.xml.bak before saving the queue. If the queue fails to load, it will load the backup automatically a89aea6

Anacondo commented 6 months ago

Many thanks! I hope I won't need it, but if it crashes again I will let you know how it went.