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



Selur's Little Message Board
Drop frames when using ffmpegsource - 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: Drop frames when using ffmpegsource (/thread-499.html)



Drop frames when using ffmpegsource - kingcrimsonster - 05.07.2018

For example, frame 15 not present, 14 present, 15 present as is the dublicate frame 14 and etc.


RE: Drop frames when using ffmpegsource - Selur - 05.07.2018

Can you share a small sample of a source where this is happening?


RE: Drop frames when using ffmpegsource - kingcrimsonster - 05.07.2018

source file 120 mB source
This is not one file, there are others. You can encode any file with VirtualDub a frame rate of 29.97 with a codec XVID and then work with it in Hybrid.


RE: Drop frames when using ffmpegsource - Selur - 05.07.2018

Thanks, will look at it once I'm home from work.


RE: Drop frames when using ffmpegsource - Selur - 05.07.2018

The ffmpegSource + 'colormatrix+Tweak' file doesn't use ColorMatrix, only Teak is used.
Same for the libavsource + 'colormatrix+Tweak' file
The ffmpeg + colormatrix file doesn't use ColorMatrix either.
-> This happend because From&To are the same value. Smile

Using just FFVideoSource:
FFVideoSource("C:\Users\Selur\Desktop\2SOURC~1.AVI",cachefile="H:\Temp\avi_3a7584798a428c1a525d134a8f55420b_18467_1_0.ffindex",fpsnum=30000,fpsden=1001)
# current resolution: 640x480
return last
Frame with time 14 is shown as frame 14&15.
Frame with time 29 is shown as frame 29 and 30.
Frame with time 31 is missing.
Frame with time 32 is shown as frame 32&34.
Frame with time 33 is missing.
Frame with time 54 is shown as frame 54&55.
Frame with time 55 is missing.
Frame with time 56 is shown as frame 56&57.
Frame with time 59 is shown as frame 59&60.
Using just FFms2000:
same result as when using FFVideoSource.
Using just LWLibavVideoSource:
All frames are properly decoded.
Installing a Xvid vfw decoder and using AviSource:
All frames are properly decoded.

-> This isn't related to any filtering, but this is a problem with the source filter.

Using Vapoursynth + FFMS2K
All frames are properly decoded.
Using Vapoursynth + FFVideoSource
All frames are properly decoded.
Using Vapoursynth + LibAV
All frames are properly decoded.

My guess is that there is a bug in the Avisynth filters.
-> Your best bet is to contact qyot27 over at doom9, since as far as I know he's the only one building C-plugin build for FFVideosource and actively fixing bugs in it. (https://forum.doom9.org/showthread.php?t=175173) You can also search for older C-Plugin ffms2 builds and try whether and older version works for your source. ( i posted there now)

Cu Selur