The following warnings occurred:
Warning [2] Undefined array key "extra" - Line: 100 - File: inc/plugins/google_seo/url.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/url.php 100 errorHandler->error_callback
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/global.php 20 require_once
/printthread.php 16 require_once
Warning [2] Undefined variable $location - Line: 1250 - File: inc/plugins/google_seo/url.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/url.php 1250 errorHandler->error_callback
/inc/plugins/google_seo/url.php 174 google_seo_url_hook
/inc/plugins/google_seo.php 317 require_once
/inc/class_plugins.php 38 require_once
/inc/init.php 235 pluginSystem->load
/global.php 20 require_once
/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] 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
crashing when using FFV1 - 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: crashing when using FFV1 (/thread-3619.html)



crashing when using FFV1 - ld57 - 09.03.2024

Hello, 

i meet an issue with a fresh install of the latest version Hybrid Hybrid_2024.03.03.1 + addons, on windows 11.

it happens when i try to deinterlace a video, using FFV1, it crashes.
I tested the process by switching to x264 and it works fine.

it work fine with my previous version Hybrid_2024.01.12.1 with FFV1.

Step by step : 
1. select video processing to FFV1
2. no more settings, i does not impact the issue
3. process the file

it crashes immediatly.
at this moment, Hybrid won't process anything anymore until i delete the crashed job.

i enabled debug mode and attached file here. as i see at the end this :

2024.03.09 - 00:00:22_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: FFmpeg output: Input #0, yuv4mpegpipe, from 'fd:':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: rawvideo (Y3[11][10] / 0xA0B3359), yuv420p10le(progressive), 720x576, 50 fps, 50 tbr, 50 tbn

2024.03.09 - 00:00:22_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: FFmpeg output: Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))

2024.03.09 - 00:00:22_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: FFmpeg output: [ffv1 @ 000001c4ff396700] [Eval @ 0000009a675fe8c0] Undefined constant or missing '(' in 'bt470bg'
[ffv1 @ 000001c4ff396700] Unable to parse option value "bt470bg"
[ffv1 @ 000001c4ff396700] Error setting option color_trc to value bt470bg.
[vost#0:0/ffv1 @ 000001c4ff3962c0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 000001c4ff3a2940] Error sending frames to consumers: Invalid argument

2024.03.09 - 00:00:22_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: FFmpeg output: [vf#0:0 @ 000001c4ff3a2940] Task finished with error code: -22 (Invalid argument)
[vf#0:0 @ 000001c4ff3a2940] Terminating thread with return code -22 (Invalid argument)
[vost#0:0/ffv1 @ 000001c4ff3962c0] Could not open encoder before EOF
[vost#0:0/ffv1 @ 000001c4ff3962c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/ffv1 @ 000001c4ff3962c0] Terminating thread with return code -22 (Invalid argument)

2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: FFmpeg output: [out#0/avi @ 000001c4ff394180] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   

2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: FFmpeg output: Conversion failed!

2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: process finished with exitcode: -22 and exitStatus: 0
2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: process finished with exitcode: -22 and exitStatus: 0
2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: 2024-03-09@00_00_13_8610_02_video ### S:\3x3 eyes d1\A1_t00_new.avi ### 2024-03-09@00_00_13_8610_02_video finished after 00:00:08.152 with exitCode -22
2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: 2024-03-09@00_00_13_8610_02_video ### S:\3x3 eyes d1\A1_t00_new.avi ### Crashed with exit status 0
2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: -> 2024-03-09@00_00_13_8610_02_video crashed: Crashed with exit status 0
2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: 2024-03-09@00_00_13_8610_02_video: Crashed with exit status 0
2024.03.09 - 00:00:23_Windows 11 Version 23H2 (64bit)_2024.03.03.1 - level 9: 2024-03-09@00_00_13_8610_02_video: Crashed with exit status 0



RE: crashing when using FFV1 - Selur - 09.03.2024

Argh, I see the problem:
color_trc integer (decoding/encoding,video)

    Possible values:

    ‘bt709’

        BT.709
    ‘gamma22’

        BT.470 M
    ‘gamma28’

        BT.470 BG
    ‘smpte170m’

        SMPTE 170 M
    ‘smpte240m’

        SMPTE 240 M
    ‘linear’

        Linear
    ‘log’
    ‘log100’

        Log
    ‘log_sqrt’
    ‘log316’

        Log square root
    ‘iec61966_2_4’
    ‘iec61966-2-4’

        IEC 61966-2-4
    ‘bt1361’
    ‘bt1361e’

        BT.1361
    ‘iec61966_2_1’
    ‘iec61966-2-1’

        IEC 61966-2-1
    ‘bt2020_10’
    ‘bt2020_10bit’

        BT.2020 - 10 bit
    ‘bt2020_12’
    ‘bt2020_12bit’

        BT.2020 - 12 bit
    ‘smpte2084’

        SMPTE ST 2084
    ‘smpte428’
    ‘smpte428_1’

        SMPTE ST 428-1
    ‘arib-std-b67’

        ARIB STD-B67
color_trc is an integer, but Hybrid used:
the strings "-color_trc bt470bg"
=> will fix.

Correction, strings are allowed:
ffmpeg -y -noautorotate -nostdin -threads 8 -ignore_editlist true -i "G:\TestClips&Co\files\Drone_rocky.mov" -map 0:0 -an -sn -vf crop=3640:1960:100:100,scale=720:388 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -pix_fmt yuv420p -vsync 0  -sws_flags spline -vcodec ffv1 -coder 0 -context 0 -g 1 -level 1 -metadata encoding_tool="Hybrid 2024.03.08.1" "J:\tmp\2024-03-09@07_00_40_3210\Drone_rocky_1_2024-03-09@07_00_40_3210_01.mkv"
'bt470bg' needs to be 'gamma28' Smile


Cu Selur


RE: crashing when using FFV1 - Selur - 09.03.2024

Send you a link to a dev version (via pm) for testing.
Let me know whether it fixes the problem for you.

Cu Selur


RE: crashing when using FFV1 - ld57 - 09.03.2024

thank you for the quick fix !

i currently test the fix and the process started as expected. it is encoding right now.

Kr

Fred


RE: crashing when using FFV1 - Selur - 09.03.2024

Thanks for the feedback.

Cu Selur