This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

crashing when using FFV1
#1
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


Attached Files
.zip   1_HybridDebugOutput.zip (Size: 12,62 KB / Downloads: 10)
Reply
#2
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
Reply
#3
Send you a link to a dev version (via pm) for testing.
Let me know whether it fixes the problem for you.

Cu Selur
Reply
#4
thank you for the quick fix !

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

Kr

Fred
Reply
#5
Thanks for the feedback.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)