Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress does not correctly display after restart #134

Closed
ThomasAunvik opened this issue Feb 17, 2023 · 1 comment
Closed

Progress does not correctly display after restart #134

ThomasAunvik opened this issue Feb 17, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ThomasAunvik
Copy link

ThomasAunvik commented Feb 17, 2023

Describe the bug
When initiating restarting the queue after closing the application / or crashing / or shutting down pc, the progress bar, % text and the estimated time is not shown correctly when a few video splits are already encoded.

The only way to see the actual progress would be to check the log files, and see what file it is currently working on.

2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000959.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000960.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000961.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000962.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000963.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000964.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000965.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000966.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000967.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000968.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000969.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000970.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000971.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Chunk: F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000972.mkv
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Command: /C ffmpeg.exe -y -i "F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000969.mkv"  -an -sn -map_metadata -1 -pix_fmt yuv420p  -c:v libaom-av1 -crf 25 -b:v 0 -cpu-used 4 -threads 4 -tile-columns 2 -tile-rows 1 -g 240 "F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Video\000969.webm"
2/17/2023 6:21:48 PM : INFO  - VideoEncode.Encode() => Command: /C ffmpeg.exe -y -i "F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Chunks\split000971.mkv"  -an -sn -map_metadata -1 -pix_fmt yuv420p  -c:v libaom-av1 -crf 25 -b:v 0 -cpu-used 4 -threads 4 -tile-columns 2 -tile-rows 1 -g 240 "F:\Video\Temp\NEAV1E\KAOnsdTKPrGCKXr\Video\000971.webm"

Notice that it skipped all the other ones, since the chunk file is already encoded, and now is on 0000969.webm, but my last file in the chunks folder is split001048.mkv

To Reproduce
Steps to reproduce the behavior:

  1. Initiate an encoding job, long video (or multiple splits)

  2. Wait for it to it to progress be 50% or any.

  3. Shut down PC.

  4. Start up PC

  5. Run NEAV1E

  6. Go to Queue

  7. Hit Start

  8. See progress bar at 0%, and estimated time be the same as when you first started it.

Expected behavior
Progress bar to reflect the encoding jobs already done.

Or

Correctly estimate the time from 0%.

Screenshots
image

Log File
https://gist.github.com/ThomasAunvik/9500bb19c2242ce557567c5834a59a41

Desktop:

  • OS: Win11 22H2
  • NEAV1E Version: 2.1.2
@ThomasAunvik ThomasAunvik added the bug Something isn't working label Feb 17, 2023
Alkl58 added a commit that referenced this issue Feb 18, 2023
@Alkl58
Copy link
Owner

Alkl58 commented Feb 27, 2023

Should be fixed in the release v2.1.3

@Alkl58 Alkl58 closed this as completed Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants