The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



Selur's Little Message Board
Encode says 130% complete for some reason and hasn't finished - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Encode says 130% complete for some reason and hasn't finished (/thread-3831.html)

Pages: 1 2 3


Encode says 130% complete for some reason and hasn't finished - lostsnowboardvideos - 22.08.2024

I am encoding an mkv input from a blu-ray disc and my input says it's 29.97fps/vfr, AVC with PCM audio. Total frame count is 67425 but debug output has it up to nearly 90000 even though output says 67425. Debug output attached and input clip sample linked.

Input


RE: Encode says 130% complete for some reason and hasn't finished - lostsnowboardvideos - 22.08.2024

Update: video encode crashed error: time codes not created. crashed at v2 time codes mp4fpsmod. Full debug attached.


RE: Encode says 130% complete for some reason and hasn't finished - Selur - 23.08.2024

Quote:Update: video encode crashed error: time codes not created. crashed at v2 time codes mp4fpsmod.
Not the encode, but the 2nd muxing call crashed.

Quote:... input from a blu-ray disc ..
enabling "Config->Internals->Handling->Ignore all input timecode" should fix the problem.
Will try to add another workaround for 'strange flagged' content. VFR makes no sense for Blu-ray source content.
Video
ID                                       : 1
ID in the original source medium         : 4113 (0x1011)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : Frame doubling / CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 3 frames
Frame mode                               : Frame doubling
Format settings, Slice count             : 4 slices per frame
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 21 s 939 ms
Bit rate mode                            : Variable
Bit rate                                 : 28.1 Mb/s
Maximum bit rate                         : 35.0 Mb/s
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 30.000 FPS
Original frame rate                      : 29.970 (30000/1001) FPS
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 1.017
Stream size                              : 73.5 MiB (95%)
Language                                 : English
Default                                  : No
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
Original source medium                   : Blu-ray
btw. you probably want to apply some SelectEvery on this to remove the duplicate frames.
(seems like someone deinterlaced telecined content instead of applying ivtc)


Cu Selur


RE: Encode says 130% complete for some reason and hasn't finished - lostsnowboardvideos - 23.08.2024

thank so much for the feedback!


RE: Encode says 130% complete for some reason and hasn't finished - lostsnowboardvideos - 23.08.2024

The "ignore all input timecode" worked. No crash at 2nd muxing call. However, I applied the SelectEvery (no offsets, unsure how to use) and the job status still takes it to 200% and playback is slower than the original and so is the audio. Included the output file linked below. Debug attached.

Input/Output


RE: Encode says 130% complete for some reason and hasn't finished - Selur - 23.08.2024

SelectEvery without makes no sense.
Will write something about SelectEvery later.


RE: Encode says 130% complete for some reason and hasn't finished - Selur - 23.08.2024

see: http://www.vapoursynth.com/doc/functions/video/selectevery.html
in short:
Cycle: defines how large chunks that the content is split into are
so a cyble of 10 would look at frames 0-9 10-19 ....
Offsets: which frames to keep, given by their index in the chunk
So with Cycle: "5" and Offsets: "0 1 2 4" you would drop frame 3 8 13 18 ... and keep the rest.
To know what offsets you want, you look the source with SelectEvery deactivated and then look where you got duplicates if for example you look at the frame 10-14 and frame 11 is a duplicate, you set Offsets to "0 2 3 4" to only drop the frames 1 6 11 16 21 .... Smile
If there is a fixed pattern to duplicate frames, this is the fastest way to get rid of them.

Cu Selur


RE: Encode says 130% complete for some reason and hasn't finished - lostsnowboardvideos - 23.08.2024

Okay, thanks. Will give that a shot now. Could that be what is causing the clip to be doubled in length, 21 seconds to 42 seconds?

Looked at 0-5, frames 1 3 5 appear to be duplicates


RE: Encode says 130% complete for some reason and hasn't finished - Selur - 23.08.2024

Messed up time codes sure can cause this.


RE: Encode says 130% complete for some reason and hasn't finished - Selur - 23.08.2024

Another side note: the container and streams fps int that file differs.

Cu Selur

Ps.: Uploaded a dev version which should detect the source as cfr. Will look into the frame count. => Mediainfo reports "Frame count : 658" which why Hybrid assumes that to be correct. (You can tell Hybrid the correct output frame count through Filtering->Misc->Overwrite Output->Frame count to".