!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

514 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant135 Servers

Load older messages


SenderMessageTime
9 Feb 2025
@tired:fairydust.space@tired:fairydust.space left the room.22:50:16
@robert:funklause.dedotlambda Where does that test.py come from? 22:50:28
@hexa:lossy.network@hexa:lossy.network
#0  0x00007f4e2aea7bfe in __GI___libc_free (mem=0x4037800000000000) at malloc.c:3375
        ar_ptr = <optimized out>
        p = <optimized out>
        err = <optimized out>
#1  0x00007f4dc63a4713 in libx265_encode_frame () from /nix/store/vchiak5lf0i1jh12ppfzyazbp5077wav-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#2  0x00007f4dc6126ff6 in ff_encode_encode_cb () from /nix/store/vchiak5lf0i1jh12ppfzyazbp5077wav-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#3  0x00007f4dc612736e in encode_receive_packet_internal () from /nix/store/vchiak5lf0i1jh12ppfzyazbp5077wav-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#4  0x00007f4dc6127607 in avcodec_send_frame () from /nix/store/vchiak5lf0i1jh12ppfzyazbp5077wav-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#5  0x00007f4dbf23670e in __pyx_gb_2av_5codec_7context_12CodecContext_24generator ()
   from /nix/store/pn1q89rlrzccgfyppaw0f03h8gq081r8-python3-3.13.1-env/lib/python3.13/site-packages/av/codec/context.cpython-313-x86_64-linux-gnu.so
No symbol table info available.
#6  0x00007f4dbf36b94c in __Pyx_Coroutine_SendEx.isra.0 ()
   from /nix/store/pn1q89rlrzccgfyppaw0f03h8gq081r8-python3-3.13.1-env/lib/python3.13/site-packages/av/enum.cpython-313-x86_64-linux-gnu.so
No symbol table info available.
#7  0x00007f4dbf23f382 in __pyx_f_2av_5codec_7context_12CodecContext_encode ()
   from /nix/store/pn1q89rlrzccgfyppaw0f03h8gq081r8-python3-3.13.1-env/lib/python3.13/site-packages/av/codec/context.cpython-313-x86_64-linux-gnu.so
No symbol table info available.
#8  0x00007f4dbef60f7b in __pyx_f_2av_5video_6stream_11VideoStream_encode ()
   from /nix/store/pn1q89rlrzccgfyppaw0f03h8gq081r8-python3-3.13.1-env/lib/python3.13/site-packages/av/video/stream.cpython-313-x86_64-linux-gnu.so
No symbol table info available.
#9  0x00007f4dbef5ea8a in __pyx_pw_2av_5video_6stream_11VideoStream_5encode ()
   from /nix/store/pn1q89rlrzccgfyppaw0f03h8gq081r8-python3-3.13.1-env/lib/python3.13/site-packages/av/video/stream.cpython-313-x86_64-linux-gnu.so
No symbol table info available.
#10 0x00007f4e2b5aef01 in _PyObject_VectorcallTstate (tstate=0x7f4e2b81ae70 <_PyRuntime+283024>, callable=0x7f4dbf01cba0, args=0x7f4e2b8a9148, nargsf=9223372036854775810, kwnames=0x0)
    at ./Include/internal/pycore_call.h:168
        func = <optimized out>
        res = <optimized out>
        func = <optimized out>
        res = <optimized out>
        nargs = <optimized out>
#11 PyObject_Vectorcall (callable=0x7f4dbf01cba0, args=0x7f4e2b8a9148, nargsf=9223372036854775810, kwnames=0x0) at Objects/call.c:327
        tstate = 0x7f4e2b81ae70 <_PyRuntime+283024>
        tstate = <optimized out>
#12 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at Python/generated_cases.c.h:813
        total_args = <optimized out>
        self = <optimized out>
        method = <optimized out>
        op = <optimized out>
        dealloc = <optimized out>
        self_or_null = <optimized out>
        callable = 0x7f4dbf01cba0
        this_instr = 0x19548c48
        args = 0x7f4e2b8a9148
        res = <optimized out>
        opcode = <optimized out>
        oparg = <optimized out>
        entry_frame = {f_executable = 0x7f4e2b7cd1d0 <_Py_NoneStruct>, previous = 0x0, f_funcobj = 0x7f4e2b7d11a0 <PyFunction_Type>, f_globals = 0x7f4e2b2ee4a4 <_PyObject_GC_New+180>, 
          f_builtins = 0x7f4e2a998640, f_locals = 0x336c5f64f8cbe900, frame_obj = 0x7fff0fdec170, instr_ptr = 0x7f4e2b68a972 <_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS+2>, stacktop = 0, 
          return_offset = 0, owner = 3 '\003', localsplus = {0x7f4e2a96d278}}
        next_instr = <optimized out>
        stack_pointer = <optimized out>
        exception_unwind = <optimized out>
        dying = <optimized out>
        __func__ = "_PyEval_EvalFrameDefault"
        opcode_targets = {0x7f4e2b5b8618 <_PyEval_EvalFrameDefault+45304>, 0x7f4e2b5b2c92 <_PyEval_EvalFrameDefault+22386>, 0x7f4e2b5b1098 <_PyEval_EvalFrameDefault+15224>, 
          0x7f4e2b5b3040 <_PyEval_EvalFrameDefault+23328>, 0x7f4e2b5b2790 <_PyEval_EvalFrameDefault+21104>, 0x7f4e2b5b2828 <_PyEval_EvalFrameDefault+21256>, 
          0x7f4e2b5b35da <_PyEval_EvalFrameDefault+24762>, 0x7f4e2b5b1bda <_PyEval_EvalFrameDefault+18106>, 0x7f4e2b5b3700 <_PyEval_EvalFrameDefault+25056>, 
          0x7f4e2b5ae26f <_PyEval_EvalFrameDefault+3407>, 0x7f4e2b5ae3d3 <_PyEval_EvalFrameDefault+3763>, 0x7f4e2b5ae455 <_PyEval_EvalFrameDefault+3893>, 
          0x7f4e2b5ae493 <_PyEval_EvalFrameDefault+3955>, 0x7f4e2b5ae4d9 <_PyEval_EvalFrameDefault+4025>, 0x7f4e2b5ae947 <_PyEval_EvalFrameDefault+5159>, 
          0x7f4e2b5aeaff <_PyEval_EvalFrameDefault+5599>, 0x7f4e2b5ae8b7 <_PyEval_EvalFrameDefault+5015>, 0x7f4e2b5b862f <_PyEval_EvalFrameDefault+45327>, 
          0x7f4e2b5ae758 <_PyEval_EvalFrameDefault+4664>, 0x7f4e2b5ae85f <_PyEval_EvalFrameDefault+4927>, 0x7f4e2b5ae9b3 <_PyEval_EvalFrameDefault+5267>, 
          0x7f4e2b5aeb7b <_PyEval_EvalFrameDefault+5723>, 0x7f4e2b5b13da <_PyEval_EvalFrameDefault+16058>, 0x7f4e2b5afd1d <_PyEval_EvalFrameDefault+10237>, 
          0x7f4e2b5b3070 <_PyEval_EvalFrameDefault+23376>, 0x7f4e2b5b44f8 <_PyEval_EvalFrameDefault+28632>, 0x7f4e2b5b4e0b <_PyEval_EvalFrameDefault+30955>, 
          0x7f4e2b5b4a87 <_PyEval_EvalFrameDefault+30055>, 0x7f4e2b5b521f <_PyEval_EvalFrameDefault+31999>, 0x7f4e2b5b5261 <_PyEval_EvalFrameDefault+32065>, 
          0x7f4e2b5b0fb6 <_PyEval_EvalFrameDefault+14998>, 0x7f4e2b5b50b8 <_PyEval_EvalFrameDefault+31640>, 0x7f4e2b5b4f47 <_PyEval_EvalFrameDefault+31271>, 
          0x7f4e2b5b4f85 <_PyEval_EvalFrameDefault+31333>, 0x7f4e2b5b3170 <_PyEval_EvalFrameDefault+23632>, 0x7f4e2b5b5b74 <_PyEval_EvalFrameDefault+34388>, 
          0x7f4e2b5b5c77 <_PyEval_EvalFrameDefault+34647>, 0x7f4e2b5b59dd <_PyEval_EvalFrameDefault+33981>, 0x7f4e2b5b1167 <_PyEval_EvalFrameDefault+15431>, 
          0x7f4e2b5b1223 <_PyEval_EvalFrameDefault+15619>, 0x7f4e2b5b4b39 <_PyEval_EvalFrameDefault+30233>, 0x7f4e2b5b52a3 <_PyEval_EvalFrameDefault+32131>, 
          0x7f4e2b5b569d <_PyEval_EvalFrameDefault+33149>, 0x7f4e2b5b55f0 <_PyEval_EvalFrameDefault+32976>, 0x7f4e2b5b3db5 <_PyEval_EvalFrameDefault+26773>, 
          0x7f4e2b5b28db <_PyEval_EvalFrameDefault+21435>, 0x7f4e2b5b1e92 <_PyEval_EvalFrameDefault+18802>, 0x7f4e2b5b1f86 <_PyEval_EvalFrameDefault+19046>, 
          0x7f4e2b5b1fe0 <_PyEval_EvalFrameDefault+19136>, 0x7f4e2b5b209a <_PyEval_EvalFrameDefault+19322>, 0x7f4e2b5b2178 <_PyEval_EvalFrameDefault+19544>, 
          0x7f4e2b5b223d <_PyEval_EvalFrameDefault+19741>, 0x7f4e2b5b2311 <_PyEval_EvalFrameDefault+19953>, 0x7f4e2b5b236b <_PyEval_EvalFrameDefault+20043>, 
          0x7f4e2b5adc39 <_PyEval_EvalFrameDefault+1817>, 0x7f4e2b5b4272 <_PyEval_EvalFrameDefault+27986>, 0x7f4e2b5b0d1b <_PyEval_EvalFrameDefault+14331>, 
          0x7f4e2b5b13fd <_PyEval_EvalFrameDefault+16093>, 0x7f4e2b5b16d9 <_PyEval_EvalFrameDefault+16825>, 0x7f4e2b5af910 <_PyEval_EvalFrameDefault+9200>, 
          0x7f4e2b5b1e32 <_PyEval_EvalFrameDefault+18706>, 0x7f4e2b5ae007 <_PyEval_EvalFrameDefault+2791>, 0x7f4e2b5ae041 <_PyEval_EvalFrameDefault+2849>, 
          0x7f4e2b5ae09b <_PyEval_EvalFrameDefault+2939>, 0x7f4e2b5ae12e <_PyEval_EvalFrameDefault+3086>, 0x7f4e2b5ae181 <_PyEval_EvalFrameDefault+3169>, 
          0x7f4e2b5ae1d5 <_PyEval_EvalFrameDefault+3253>, 0x7f4e2b5ae223 <_PyEval_EvalFrameDefault+3331>, 0x7f4e2b5ae2e7 <_PyEval_EvalFrameDefault+3527>, 
          0x7f4e2b5ae373 <_PyEval_EvalFrameDefault+3667>, 0x7f4e2b5b8646 <_PyEval_EvalFrameDefault+45350>, 0x7f4e2b5ae50d <_PyEval_EvalFrameDefault+4077>, 
          0x7f4e2b5ae9fc <_PyEval_EvalFrameDefault+5340>, 0x7f4e2b5ae7ec <_PyEval_EvalFrameDefault+4812>, 0x7f4e2b5aebef <_PyEval_EvalFrameDefault+5839>, 
          0x7f4e2b5aec3c <_PyEval_EvalFrameDefault+5916>, 0x7f4e2b5b130f <_PyEval_EvalFrameDefault+15855>, 0x7f4e2b5b139f <_PyEval_EvalFrameDefault+15999>, 
          0x7f4e2b5afc34 <_PyEval_EvalFrameDefault+10004>, 0x7f4e2b5afc5b <_PyEval_EvalFrameDefault+10043>, 0x7f4e2b5afc7e <_PyEval_EvalFrameDefault+10078>, 
          0x7f4e2b5afcbe <_PyEval_EvalFrameDefault+10142>, 0x7f4e2b5afd56 <_PyEval_EvalFrameDefault+10294>, 0x7f4e2b5b44b9 <_PyEval_EvalFrameDefault+28569>, 
          0x7f4e2b5b443e <_PyEval_EvalFrameDefault+28446>, 0x7f4e2b5b4482 <_PyEval_EvalFrameDefault+28514>, 0x7f4e2b5b42da <_PyEval_EvalFrameDefault+28090>, 
          0x7f4e2b5b4316 <_PyEval_EvalFrameDefault+28150>, 0x7f4e2b5b4356 <_PyEval_EvalFrameDefault+28214>, 0x7f4e2b5b43b0 <_PyEval_EvalFrameDefault+28304>, 
          0x7f4e2b5b19e2 <_PyEval_EvalFrameDefault+17602>, 0x7f4e2b5b4de7 <_PyEval_EvalFrameDefault+30919>, 0x7f4e2b5b4534 <_PyEval_EvalFrameDefault+28692>, 
          0x7f4e2b5b45ab <_PyEval_EvalFrameDefault+28811>, 0x7f4e2b5b357a <_PyEval_EvalFrameDefault+24666>, 0x7f4e2b5b52fb <_PyEval_EvalFrameDefault+32219>, 
          0x7f4e2b5b49da <_PyEval_EvalFrameDefault+29882>, 0x7f4e2b5b4fe1 <_PyEval_EvalFrameDefault+31425>, 0x7f4e2b5b5032 <_PyEval_EvalFrameDefault+31506>, 
          0x7f4e2b5b4e74 <_PyEval_EvalFrameDefault+31060>, 0x7f4e2b5b4ef6 <_PyEval_EvalFrameDefault+31190>, 0x7f4e2b5b319c <_PyEval_EvalFrameDefault+23676>, 
          0x7f4e2b5b5574 <_PyEval_EvalFrameDefault+32852>, 0x7f4e2b5b5185 <_PyEval_EvalFrameDefault+31845>, 0x7f4e2b5b17c7 <_PyEval_EvalFrameDefault+17063>, 
          0x7f4e2b5b5a58 <_PyEval_EvalFrameDefault+34104>, 0x7f4e2b5b5341 <_PyEval_EvalFrameDefault+32289>, 0x7f4e2b5b538e <_PyEval_EvalFrameDefault+32366>, 
          0x7f4e2b5b46f5 <_PyEval_EvalFrameDefault+29141>, 0x7f4e2b5b594d <_PyEval_EvalFrameDefault+33837>, 0x7f4e2b5b5989 <_PyEval_EvalFrameDefault+33897>, 
          0x7f4e2b5b5760 <_PyEval_EvalFrameDefault+33344>, 0x7f4e2b5b57cc <_PyEval_EvalFrameDefault+33452>, 0x7f4e2b5b585b <_PyEval_EvalFrameDefault+33595>, 
          0x7f4e2b5b58c7 <_PyEval_EvalFrameDefault+33703>, 0x7f4e2b5b4b01 <_PyEval_EvalFrameDefault+30177>, 0x7f4e2b5b5624 <_PyEval_EvalFrameDefault+33028>, 
          0x7f4e2b5b0706 <_PyEval_EvalFrameDefault+12774>, 0x7f4e2b5b0c32 <_PyEval_EvalFrameDefault+14098>, 0x7f4e2b5b4ac8 <_PyEval_EvalFrameDefault+30120> <repeats 30 times>, 
          0x7f4e2b5b514c <_PyEval_EvalFrameDefault+31788>, 0x7f4e2b5b2a54 <_PyEval_EvalFrameDefault+21812>, 0x7f4e2b5b2adc <_PyEval_EvalFrameDefault+21948>, 
          0x7f4e2b5b2bb7 <_PyEval_EvalFrameDefault+22167>, 0x7f4e2b5b2d4a <_PyEval_EvalFrameDefault+22570>, 0x7f4e2b5b2dd2 <_PyEval_EvalFrameDefault+22706>, 
          0x7f4e2b5b2ead <_PyEval_EvalFrameDefault+22925>, 0x7f4e2b5b2f35 <_PyEval_EvalFrameDefault+23061>, 0x7f4e2b5b2835 <_PyEval_EvalFrameDefault+21269>, 
          0x7f4e2b5b2381 <_PyEval_EvalFrameDefault+20065>, 0x7f4e2b5b254e <_PyEval_EvalFrameDefault+20526>, 0x7f4e2b5b25cc <_PyEval_EvalFrameDefault+20652>, 
          0x7f4e2b5b26b8 <_PyEval_EvalFrameDefault+20888>, 0x7f4e2b5b1660 <_PyEval_EvalFrameDefault+16704>, 0x7f4e2b5b16a2 <_PyEval_EvalFrameDefault+16770>, 
          0x7f4e2b5b3010 <_PyEval_EvalFrameDefault+23280>, 0x7f4e2b5b07bc <_PyEval_EvalFrameDefault+12956>, 0x7f4e2b5b08ef <_PyEval_EvalFrameDefault+13263>, 
          0x7f4e2b5b0a08 <_PyEval_EvalFrameDefault+13544>, 0x7f4e2b5b1c55 <_PyEval_EvalFrameDefault+18229>, 0x7f4e2b5b0da7 <_PyEval_EvalFrameDefault+14471>, 
          0x7f4e2b5b140f <_PyEval_EvalFrameDefault+16111>, 0x7f4e2b5b1501 <_PyEval_EvalFrameDefault+16353>, 0x7f4e2b5b153c <_PyEval_EvalFrameDefault+16412>, 
          0x7f4e2b5afecb <_PyEval_EvalFrameDefault+10667>, 0x7f4e2b5b3340 <_PyEval_EvalFrameDefault+24096>, 0x7f4e2b5b31f2 <_PyEval_EvalFrameDefault+23762>, 
          0x7f4e2b5b3c8b <_PyEval_EvalFrameDefault+26475>, 0x7f4e2b5b0fd6 <_PyEval_EvalFrameDefault+15030>, 0x7f4e2b5afc04 <_PyEval_EvalFrameDefault+9956>, 
          0x7f4e2b5b1006 <_PyEval_EvalFrameDefault+15078>, 0x7f4e2b5b1b48 <_PyEval_EvalFrameDefault+17960>, 0x7f4e2b5afb8e <_PyEval_EvalFrameDefault+9838>, 
          0x7f4e2b5b37dc <_PyEval_EvalFrameDefault+25276>, 0x7f4e2b5b30cf <_PyEval_EvalFrameDefault+23471>, 0x7f4e2b5b3902 <_PyEval_EvalFrameDefault+25570>, 
          0x7f4e2b5af9f2 <_PyEval_EvalFrameDefault+9426>, 0x7f4e2b5b1d70 <_PyEval_EvalFrameDefault+18512>, 0x7f4e2b5aea0d <_PyEval_EvalFrameDefault+5357>, 
          0x7f4e2b5ae530 <_PyEval_EvalFrameDefault+4112>, 0x7f4e2b5ae5da <_PyEval_EvalFrameDefault+4282>, 0x7f4e2b5ae6b2 <_PyEval_EvalFrameDefault+4498>, 
          0x7f4e2b5afd6b <_PyEval_EvalFrameDefault+10315>, 0x7f4e2b5afe01 <_PyEval_EvalFrameDefault+10465>, 0x7f4e2b5af5c4 <_PyEval_EvalFrameDefault+8356>, 
          0x7f4e2b5af7b5 <_PyEval_EvalFrameDefault+8853>, 0x7f4e2b5b1a6b <_PyEval_EvalFrameDefault+17739>, 0x7f4e2b5b1aca <_PyEval_EvalFrameDefault+17834>, 
          0x7f4e2b5b414d <_PyEval_EvalFrameDefault+27693>, 0x7f4e2b5b4209 <_PyEval_EvalFrameDefault+27881>, 0x7f4e2b5b3e67 <_PyEval_EvalFrameDefault+26951>, 
          0x7f4e2b5b3eef <_PyEval_EvalFrameDefault+27087>, 0x7f4e2b5b3fc0 <_PyEval_EvalFrameDefault+27296>, 0x7f4e2b5b4056 <_PyEval_EvalFrameDefault+27446>, 
          0x7f4e2b5b4c54 <_PyEval_EvalFrameDefault+30516>, 0x7f4e2b5b4d50 <_PyEval_EvalFrameDefault+30768>, 0x7f4e2b5b45bc <_PyEval_EvalFrameDefault+28828>, 
          0x7f4e2b5b3460 <_PyEval_EvalFrameDefault+24384>, 0x7f4e2b5b5117 <_PyEval_EvalFrameDefault+31735>, 0x7f4e2b5b5abb <_PyEval_EvalFrameDefault+34203>, 
          0x7f4e2b5b53f1 <_PyEval_EvalFrameDefault+32465>, 0x7f4e2b5b466f <_PyEval_EvalFrameDefault+29007>, 0x7f4e2b5b4893 <_PyEval_EvalFrameDefault+29555>, 
          0x7f4e2b5b4bde <_PyEval_EvalFrameDefault+30398>, 0x7f4e2b5b5499 <_PyEval_EvalFrameDefault+32633>, 0x7f4e2b5b4b4a <_PyEval_EvalFrameDefault+30250>, 
          0x7f4e2b5b4ba9 <_PyEval_EvalFrameDefault+30345>, 0x7f4e2b5b3aa8 <_PyEval_EvalFrameDefault+25992>, 0x7f4e2b5b3c2b <_PyEval_EvalFrameDefault+26379>, 
          0x7f4e2b5b5552 <_PyEval_EvalFrameDefault+32818>, 0x7f4e2b5b56f5 <_PyEval_EvalFrameDefault+33237>...}
        word = <optimized out>
        word = <optimized out>
#13 0x00007f4e2b5baf0d in PyEval_EvalCode (co=0x7f4e2a96d1b0, globals=<optimized out>, locals=0x7f4e2a938940) at Python/ceval.c:601
        tstate = 0x7f4e2b81ae70 <_PyRuntime+283024>
        builtins = <optimized out>
        desc = {fc_globals = 0x7f4e2a938940, fc_builtins = 0x7f4e2b1a9d80, fc_name = 0x7f4e2b7de4b8 <_PyRuntime+34776>, fc_qualname = 0x7f4e2b7de4b8 <_PyRuntime+34776>, 
          fc_code = 0x7f4e2a96d1b0, fc_defaults = 0x0, fc_kwdefaults = 0x0, fc_closure = 0x0}
        func = 0x7f4e2b1d14e0
        res = <optimized out>
#14 0x00007f4e2b5c1b06 in run_eval_code_obj (tstate=0x7f4e2b81ae70 <_PyRuntime+283024>, co=0x7f4e2a96d1b0, globals=0x7f4e2a938940, locals=0x7f4e2a938940) at Python/pythonrun.c:1337
        v = <optimized out>
        has_builtins = <optimized out>
#15 run_eval_code_obj (tstate=tstate@entry=0x7f4e2b81ae70 <_PyRuntime+283024>, co=co@entry=0x7f4e2a96d1b0, globals=globals@entry=0x7f4e2a938940, locals=locals@entry=0x7f4e2a938940)
    at Python/pythonrun.c:1304
        v = <optimized out>
        has_builtins = <optimized out>
#16 0x00007f4e2b5c1d28 in run_mod (mod=<optimized out>, filename=filename@entry=0x7f4e2b1f1fb0, globals=globals@entry=0x7f4e2a938940, locals=locals@entry=0x7f4e2a938940, 
    flags=flags@entry=0x7fff0fdec398, arena=arena@entry=0x7f4e2b11bcf0, interactive_src=0x0, generate_new_source=0) at Python/pythonrun.c:1422
        tstate = 0x7f4e2b81ae70 <_PyRuntime+283024>
        interactive_filename = <optimized out>
        co = 0x7f4e2a96d1b0
        v = <optimized out>
#17 0x00007f4e2b5c4004 in pyrun_file (fp=0x1949f440, filename=0x7f4e2b1f1fb0, start=257, globals=0x7f4e2a938940, locals=0x7f4e2a938940, closeit=1, flags=0x7fff0fdec398)
    at Python/pythonrun.c:1255
        arena = 0x7f4e2b11bcf0
        mod = <optimized out>
        ret = <optimized out>
        arena = <optimized out>
        mod = <optimized out>
        ret = <optimized out>
#18 _PyRun_SimpleFileObject (fp=fp@entry=0x1949f440, filename=filename@entry=0x7f4e2b1f1fb0, closeit=closeit@entry=1, flags=flags@entry=0x7fff0fdec398) at Python/pythonrun.c:490
        ret = <optimized out>
        main_module = 0x7f4e2a905f80
        dict = 0x7f4e2a938940
        set_file_name = <optimized out>
        has_file = <optimized out>
        done = <optimized out>
        pyc = <optimized out>
        v = <optimized out>
#19 0x00007f4e2b5c65a9 in _PyRun_AnyFileObject (fp=0x1949f440, filename=0x7f4e2b1f1fb0, closeit=1, flags=0x7fff0fdec398) at Python/pythonrun.c:77
        decref_filename = 0
        res = <optimized out>
        decref_filename = <optimized out>
        res = <optimized out>
#20 pymain_run_file_obj (program_name=0x7f4e2b149c30, filename=0x7f4e2b1f1fb0, skip_source_first_line=0) at Modules/main.c:409
        fp = 0x1949f440
        sb = {st_dev = 44, st_ino = 11056247, st_nlink = 1, st_mode = 33188, st_uid = 1000, st_gid = 100, __pad0 = 0, st_rdev = 0, st_size = 1613, st_blksize = 4096, st_blocks = 8, 
          st_atim = {tv_sec = 1739141364, tv_nsec = 95253279}, st_mtim = {tv_sec = 1739141334, tv_nsec = 499999669}, st_ctim = {tv_sec = 1739141334, tv_nsec = 499999669}, 
          __glibc_reserved = {0, 0, 0}}
        cf = {cf_flags = 0, cf_feature_version = 13}
        run = <optimized out>
        fp = <optimized out>
        sb = <optimized out>
        cf = <optimized out>
        run = <optimized out>
        ch = <optimized out>
#21 pymain_run_file (config=0x7f4e2b7ed568 <_PyRuntime+96392>) at Modules/main.c:428
        filename = 0x7f4e2b1f1fb0
        program_name = 0x7f4e2b149c30
        res = <optimized out>
        filename = <optimized out>
        program_name = <optimized out>
        res = <optimized out>
#22 pymain_run_python (exitcode=0x7fff0fdec38c) at Modules/main.c:696
        main_importer_path = <optimized out>
        interp = 0x7f4e2b7eb630 <_PyRuntime+88400>
        config = 0x7f4e2b7ed568 <_PyRuntime+96392>
        path0 = 0x7f4e2b1f8d20
        main_importer_path = <optimized out>
        interp = <optimized out>
        config = <optimized out>
        error = <optimized out>
        path0 = <optimized out>
        done = <optimized out>
        res = <optimized out>
        _tmp_op_ptr = <optimized out>
        _tmp_old_op = <optimized out>
        wstr = <optimized out>
        res = <optimized out>
#23 Py_RunMain () at Modules/main.c:775
        exitcode = 0
#24 0x00007f4e2ae2a1fc in __libc_start_call_main (main=main@entry=0x401040 <main>, argc=argc@entry=2, argv=argv@entry=0x7fff0fdec5a8) at ../sysdeps/nptl/libc_start_call_main.h:58
        self = <optimized out>
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140733459645864, 1854606859623690877, 0, 140733459645888, 139973716512768, 4210040, -1854642326750924163, -1792231605973323139}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fff0fdec5a8, 0x2}, data = {prev = 0x0, cleanup = 0x0, canceltype = 266257832}}}
        not_first_call = <optimized out>
#25 0x00007f4e2ae2a2b9 in __libc_start_main_impl (main=0x401040 <main>, argc=2, argv=0x7fff0fdec5a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fff0fdec598) at ../csu/libc-start.c:360
No locals.
#26 0x0000000000401075 in _start ()
22:51:06
@hexa:lossy.network@hexa:lossy.network
import functools
import numpy as np
import io
import av

@functools.lru_cache(maxsize=1024)
def frame_image_data(frame_i, total_frames):
    """Generate image content for a frame of a video."""
    img = np.empty((480, 320, 3))
    img[:, :, 0] = 0.5 + 0.5 * np.sin(2 * np.pi * (0 / 3 + frame_i / total_frames))
    img[:, :, 1] = 0.5 + 0.5 * np.sin(2 * np.pi * (1 / 3 + frame_i / total_frames))
    img[:, :, 2] = 0.5 + 0.5 * np.sin(2 * np.pi * (2 / 3 + frame_i / total_frames))

    img = np.round(255 * img).astype(np.uint8)
    return np.clip(img, 0, 255)


def generate_video(encoder, container_format, duration):
    """Generate a test video.

    See: http://docs.mikeboers.com/pyav/develop/cookbook/numpy.html
    """

    fps = 24
    total_frames = duration * fps

    output = io.BytesIO()
    output.name = "test.mov" if container_format == "mov" else "test.mp4"
    container = av.open(output, mode="w", format=container_format)

    stream = container.add_stream(encoder, rate=fps)
    stream.width = 480
    stream.height = 320
    stream.pix_fmt = "yuv420p"
    stream.options.update({"g": str(fps), "keyint_min": str(fps)})

    for frame_i in range(total_frames):
        img = frame_image_data(frame_i, total_frames)
        frame = av.VideoFrame.from_ndarray(img, format="rgb24")
        for packet in stream.encode(frame):
            container.mux(packet)

    # Flush stream
    for packet in stream.encode():
        container.mux(packet)

    # Close the file
    container.close()
    output.seek(0)

    return output

if __name__ == "__main__":
    generate_video("libx265", "mp4", 5)
22:51:19
@hexa:lossy.network@hexa:lossy.network the crash happens in one stream.encode() 22:59:10
@hexa:lossy.network@hexa:lossy.network * the crash happens in one stream.encode() L40 22:59:18
@hexa:lossy.network@hexa:lossy.network * the crash happens in stream.encode() L40 22:59:27
@hexa:lossy.network@hexa:lossy.network
#0  0x00007f66f2aa7a7e in free () from /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6
No symbol table info available.
#1  0x00007f668dfa4713 in libx265_encode_frame () from /nix/store/f43hhzc99v3m1cad94mqfd3wj4vspv25-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#2  0x00007f668dd26ff6 in ff_encode_encode_cb () from /nix/store/f43hhzc99v3m1cad94mqfd3wj4vspv25-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#3  0x00007f668dd2736e in encode_receive_packet_internal () from /nix/store/f43hhzc99v3m1cad94mqfd3wj4vspv25-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#4  0x00007f668dd27607 in avcodec_send_frame () from /nix/store/f43hhzc99v3m1cad94mqfd3wj4vspv25-ffmpeg-headless-7.1-lib/lib/libavcodec.so.61
No symbol table info available.
#5  0x00007f6686dc7c0e in __pyx_gb_2av_5codec_7context_12CodecContext_24generator ()
   from /nix/store/2jcw9fqbl8k372rswf6cvwfyj275wiw6-python3-3.12.8-env/lib/python3.12/site-packages/av/codec/context.cpython-312-x86_64-linux-gnu.so
No symbol table info available.
23:40:43
@hexa:lossy.network@hexa:lossy.networkcleaned up a bit23:40:47
@hexa:lossy.network@hexa:lossy.networknot actually sure how to get more debug info on nixpkgs23:58:26
10 Feb 2025
@mattleon:matrix.orgmattleonLooks like an overlay/override of ffmpeg with `withDebug = true` should do it: https://github.com/NixOS/nixpkgs/blob/76320c89a8dca7477bd8e0ff9d4eae4eaf14752c/pkgs/development/libraries/ffmpeg/generic.nix#L22014:09:37
@hexa:lossy.network@hexa:lossy.networkhm ok, I only tried dontStrip17:22:03
@nazarewk:matrix.orgkdn I'm creating a JSON file from YAML using gojq in pkgs.runCommand, but when I try to build it with aarch64 builder and turned off the binfmt for aarch64 it fails (also nom sees it as separate build roots?), any ideas? 17:58:53
@hexa:lossy.network@hexa:lossy.network
(gdb) bt full
#0  0x00007feefe2a7a7e in free () from /nix/store/81mi7m3k3wsiz9rrrg636sx21psj20hc-glibc-2.40-66/lib/libc.so.6
No symbol table info available.
#1  0x00007fee98059295 in av_free (ptr=<optimized out>) at libavutil/mem.c:243
No locals.
#2  0x00007fee98059352 in av_freep (arg=<optimized out>) at libavutil/mem.c:253
        val = <optimized out>
#3  0x00007fee997a4713 in libx265_encode_frame (avctx=<optimized out>, pkt=<optimized out>, pic=<optimized out>, 
    got_packet=0x7ffe35c7e3f4) at libavcodec/libx265.c:821
        ctx = <optimized out>
        x265pic = {pts = -2, dts = 0, vbvEndFlag = 1, userData = 0x134f55a0, planes = {0x1375ade0, 0x1380a620, 
            0x15dcf7c0, 0x48000000840}, stride = {1152, 960, 8, 1}, bitDepth = 0, sliceType = 1, poc = 0, 
          colorSpace = 1, forceqp = 0, analysisData = {satdCost = 0, frameRecordSize = 0, poc = 0, sliceType = 0, 
            numCUsInFrame = 0, numPartitions = 0, depthBytes = 0, edgeHist = {0, 0}, yuvHist = {{
                0 <repeats 1024 times>}, {0 <repeats 1024 times>}, {0 <repeats 1024 times>}}, bScenecut = 0, 
            wt = 0x0, interData = 0x0, intraData = 0x0, numCuInHeight = 0, lookahead = {plannedSatd = {
                0 <repeats 251 times>}, vbvCost = 0x0, intraVbvCost = 0x0, satdForVbv = 0x0, intraSatdForVbv = 0x0, 
              keyframe = 0, lastMiniGopBFrame = 0, plannedType = {0 <repeats 251 times>}, dts = 0, 
              reorderedPts = 0}, modeFlag = {0x0, 0x0}, saveParam = {maxNumReferences = 0, analysisReuseLevel = 0, 
              sourceWidth = 0, sourceHeight = 0, keyframeMax = 0, keyframeMin = 0, openGOP = 0, bframes = 0, 
              bPyramid = 0, maxCUSize = 0, minCUSize = 0, intraRefresh = 0, lookaheadDepth = 0, chunkStart = 0, 
              chunkEnd = 0, cuTree = 0, ctuDistortionRefine = 0, rightOffset = 0, bottomOffset = 0, 
              frameDuplication = 0}, distortionData = 0x0, frameBits = 0, list0POC = {0 <repeats 16 times>}, 
            list1POC = {0 <repeats 16 times>}, totalIntraPercent = 0}, quantOffsets = 0x0, frameData = {qp = 0, 
            rateFactor = 99.989999999999995, psnrY = 99.989999999999995, psnrU = 99.989999999999995, 
            psnrV = 99.989999999999995, psnr = 0, ssim = 0, decideWaitTime = 0, row0WaitTime = 0, wallTime = 0, 
            refWaitWallTime = 0, totalCTUTime = 0, stallTime = 0, avgWPP = 0, avgLumaDistortion = 0, 
            avgChromaDistortion = 0, avgPsyEnergy = 0, avgResEnergy = 0, avgLumaLevel = -2.4937016983132806e-308, 
            bufferFill = 2.4110403517052831e-320, bits = 0, encoderOrder = 0, poc = 0, countRowBlocks = 0, 
            list0POC = {0 <repeats 16 times>}, list1POC = {0 <repeats 16 times>}, maxLumaLevel = 0, 
            minLumaLevel = 0, maxChromaULevel = 0, minChromaULevel = 0, avgChromaULevel = 0, maxChromaVLevel = 0, 
            minChromaVLevel = 0, avgChromaVLevel = 3.6066792146410998e-322, sliceType = 0 '\000', bScenecut = 0, 
            ipCostRatio = 1.432790372939615e-322, frameLatency = 0, cuStats = {percentSkipCu = {0, 0, 0, 0}, 
              percentMergeCu = {0, 0, 0, 0}, percentIntraDistribution = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 
                  0}}, percentInterDistribution = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, 
              percentIntraNxN = 0}, puStats = {percentSkipPu = {0, 0, 0, 0}, percentIntraPu = {0, 0, 0, 0}, 
              percentAmpPu = {0, 0, 0, 0}, percentInterPu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, 
              percentMergePu = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, percentNxN = 0}, totalFrameTime = 0, 
            vmafFrameScore = 2.6367985328503855e-222, bufferFillFinal = 0, unclippedBufferFillFinal = 0, 
            tLayer = 0 '\000', currTrBitrate = 0, currTrCRF = 0, currTrQP = 0}, userSEI = {numPayloads = 0, 
            payloads = 0x2cc9d80}, rcData = 0x0, framesize = 0, height = 0, reorderedPts = 0, rpu = {
            payloadSize = 0, payload = 0x0}, fieldNum = 0, picStruct = 0, width = 0, layerID = 0, format = 0}
        x265pic_layers_out = {{pts = 140664452415392, dts = 140729800696240, vbvEndFlag = -20091688, 
            userData = 0x7ffe35c7a2c8, planes = {0x7ffe35c7a230, 0x7ffe35c7a228, 0x7ffe35c7a288, 
              0x7feefece40a0 <PyUnicode_Type>}, stride = {902275736, 32766, -28935552, 32750}, bitDepth = 32, 
            sliceType = 48, poc = 902275728, colorSpace = 32766, forceqp = 902275536, analysisData = {
              satdCost = -4193532480707007744, frameRecordSize = 18789664, poc = 0, sliceType = 4265827408, 
              numCUsInFrame = 32750, numPartitions = 1, depthBytes = 0, edgeHist = {-20943168, 32750}, yuvHist = {{
                  902275728, 32766, 902275728, 32766, -28634688, 32750, 18789664, 0, 1074921472, 1074921472, 
                  1259601920, 32766, -19525488, 32750, 1, 0, -19955136, 32750, -28935552, 32750, 902275736, 32766, 
                  3, 0, -28572608, 32750, -24786657, 32750, 0, 0, -25003228, 32750, -28825536, 32750, -1842463488, 
                  32750, -19525488, 32750, -25793084, 32750, -28620864, 32750, -28825536, 32750, -1842463488, 
                  32750, 3, 0, -19525488, 32750, -1842463552, 32750, -19525488, 32750, -25793084, 32750, -19525488, 
                  32750, -19525488, 32750, -1842463552, 32750, 0, 0, -28825536, 32750, -24926262, 32750, -20085446, 
                  32750, 3, 0, -29296096, 32750, -19525488, 32750, -29296096, 32750, -23794456, 32750, 3, 0, 
                  902276880, 32766, 0, 0, -19908880, 32750, 0, 32766, 902275992, 32766, 0, 2147483647, 0, 0, 0, 0, 
                  902276296, 32766, -22037466, 32750, 0, 2, 902277136, 32766, -22037469, 32750, -19994720, 32750, 
                  -1698920720, 32750, 902276032, 32766, 0, 0, -20019680, 32750, -25767443, 32750, -1698920720, 
                  32750, 0, 0, 1074921472, 1259601920, 1432709888, 0, -1842446272, 32750, -20037472, 1, 902276208, 
                  32766, 902276928, 32766, 902276224, 32766, 902276928, 32766, 902276320, 32766, 0, 0, -28649152, 
                  32750, -20382016, 32750, 0, 0, -25559524, 32750, 0, 0, -28621184, 32750, -19525488, 32750, 
                  -28621024, 32750, -29203056, 32750, -29296232, 32750, -29203056, 32750, -29296232, 32750, 
                  -19525488, 32750, 3, 0, 902276496, 32766, -28621024, 32750, -20085664, 32750, -1838588304, 32750, 
                  -28235968, 32750, 8, 0, 3, 0, -26117316, 32750, 524290, 0, -26063120, 32750, 18789664, 0, 
                  -24516126, 32750, 902276496, 32766, 0, 32750...}, {-28825536, 32750, 902281784, 32766, 7, 0, 5, 
                  0, -1699073952, 32750, 902281784, 32766, 0, 0, 256, 0, 1, 32750, -1699073952, 32750, 0, 0, 5, 0, 
                  -19525488, 32750, -19525488, 32750, -1842463552, 32750, 0, 0, -28825536, 32750, -24926262, 32750, 
--Type <RET> for more, q to quit, c to continue without paging--
                  -20085446, 32750, 3, 0, -29297616, 32750, -19525488, 32750, -29297616, 32750, -23794456, 32750, 3, 0, 902280848, 32766, 0, 0, -19908880, 32750, 0, 32766, 902279960, 32766, 0, 2147483647, 0, 0, 0, 0, 902280264, 32766, 
                  -22037466, 32750, 0, 2, 902281104, 32766, -22037469, 32750, -19994720, 32750, -23794456, 32750, 902280000, 32766, 0, 0, 0, 0, -19908880, 32750, 0, 32766, 902280088, 32766, 0, 2147483647, 0, 0, 0, 0, 902280392, 1, 
                  902280176, 32766, 902280896, 32766, 902280192, 32766, 902280896, 32766, -19994720, 32750, 0, 0, 902280128, 32766, 0, 0, 0, 0, -25559524, 32750, 0, 0, -28621184, 32750, -19525488, 32750, -28621024, 32750, -29203056, 
                  32750, -29297752, 32750, -29203056, 32750, -19256540, 32750, -19525488, 32750, -1836569520, 32750, -19505013, 32750, -19268108, 32750, -20085664, 32750, -2147483648, 2, 22806928, 0, 0, 32750, 3, 0, -2147483648, 2, 
                  22466320, 0, 0, 32750, 18789664, 0, -2147483648, 2, 22465040, 0, 0, 32750, -1838589072, 32750, -2147483648, 2, 22463776, 0, 0, 32750, -29297872, 32750, -2147483648, 2, 22444768, 0, 0, 32750, -20019680, 32750, 
                  -2147483648, 2, 22443488, 0, 0, 32750, -29297872, 32750, -2147483648, 2, 22434592, 0, 0, 32750...}, {902283712, 32766, 0, 0, 16, 0, 902283904, 32766, 902285072, 32766, -25888183, 32750, -19525488, 32750, -19984480, 
                  32750, -28235968, 32750, 1, 0, -1699213840, 32750, -26117316, 32750, 0, 0, -1699213840, 32750, -1600431533, 4503599, -23740776, 32750, 902288576, 32766, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 104, 0, 22462512, 0, 0, 0, 7680, 0, 
                  1, 32750, 22461248, 0, 902283936, 32766, -19288966, 32750, 1, 32750, 22459968, 0, 902283968, 32766, -19288966, 32750, 1, 32750, -19306368, 32750, 902284000, 32766, -19288966, 32750, 1, 32750, 22458704, 0, 902284032, 
                  32766, -19288966, 32750, 1, 32750, 22457440, 0, 902284064, 32766, -19288966, 32750, 1, 32750, 22456176, 0, 902284096, 32766, -19288966, 32750, 1, 32750, 22454912, 0, 902284128, 32766, -19288966, 32750, 1, 32750, 
                  22453632, 0, 902284160, 32766, -19288966, 32750, 1, 32750, 22452368, 0, 902284192, 32766, -19288966, 32750, 1, 32750, 22451104, 0, 902284224, 32766, -19288966, 32750, 1, 32750, 22449840, 0, 902284256, 32766, -19288966, 
                  32750, 1, 32750, 22448576, 0, 902284288, 32766, -19288966, 32750, 1, 32750, 1432709888, -976382867, 902284320, 32766, 902284432, 32766, 902289216, 32766, -1792085304, 32750, 902284896, 32766, 902289856, 32766, 12, 0, 
                  -30889878, 32750, 902284896, 32766, 902284909, 32766, 902288992, 32766, 0, 0, 2, 32766, -19288966, 32750, 1, 32750, 22442224, 0, 902284448, 32766, -19288966, 32750, 1, 32750, -19303504, 32750, 902284480, 32766, 
                  -19288966, 32750, 1, 32750, 20068688, 0...}}, bScenecut = 2, wt = 0x1, interData = 0x7ffe35c7d210, intraData = 0xc5cd946d55656b00, numCuInHeight = 4275441808, lookahead = {plannedSatd = {140662631357040, 0, 
                  140664434327264, 22487312, 4, 0, 140664425048883, 22487312, 140664425048472, 140662631356848, 140664425452316, 1285, 140662631356848, 140662631356848, 4, 1, 1, 140729800708816, 140729800708824, 140729800709992, 
                  4273956992, 140664450923168, 0, 320, 1, 7680, 24, 140729800709016, 140729800710992, 140729800709392, 140664447966643, 140662774848592, 43, 43, 140664447967237, 140662631328256, 2916248434245632, 10667, 0, 104, 
                  140662774848592, 2, 43, 140664453926816, 100, 20854618, 140664448279116, 1, 4294967295, 140729800709312, 140662774848592, 0, 140664453891632, 4294967295, 140664448279528, 4294967295, -1, 0, 140664450233233, 
                  140729800709312, 20256880, 140664453930344, 0, 0, 140664448901479, 140664437138480, 140664434332920, 0, 140664425119595, 140729800709840, 140664434332896, 140664434327264, 140664425344337, 140664434375104, 
                  140664425282856, 140664453993720, 140664435925624, 1, 1, 1, 140664449351050, -1, 4, 140662776842248, 140662776842208, 0, 140662774848632, 545460846593, 104, 2, 104, 127, -4193532480707007744, 140664434332896, 
                  140662776842208, 140662631567744, 140664453891632, 20854620, -4193532480707007744, 140664454385808, 140664454385808, 140664444609536, 140664448316499, 140664435925584, 140729800709792, 140729800709792, 140664449954641, 
                  140728898430723, 140664454385808, 140664452415392, 140664454003664, 20854660, 140729800709864, 0, 140729800709792, 1, 1, 140664434378688, 1856, 140664444512960, -4193532480707007744, 77, -4193532480707007744, 
                  140729800710928, 140664454385808, 140729800710928, 140729800710416, 34784900547618, -4193532480707007744, 1, 140664426794018, 140729800709792, 140729800710496, 140729800709904, 0, 3, 140729800709808, 140729800709824, 
                  140729800709856, 0, 140729800709768, 140664454385808, 140662776774336, 327870928, 8563764531, 140664444708240, 140664444609384, 140664454385808, 2, 140729800710064, 140662776774336, 20854208, 140664444708434, 
                  844429225099263, 140664453891616, 0, -4193532480707007744, 2, 140662776774336, 2, 140664454385808, 140729800710064, 2, 140662775653312, 140664448985384, 0, 140729800710032, 12, -4193532480707007744, 140664437273984, 
                  140662776774336, 140664437221808, 140664447721770, 140729800710064, 140662631416408, 2943610737067203929, 140664448908068, 2, 140664453873824, 1, 140664448917620, 1, 1, 140662774697456, 140664448934384, 524290, 
                  140664447737600, 140662630981952, 140664444609384, 140664454385808, 140664448307062, 140664435348800, 140664454385808, 140662631542720, 5, 140664444609384, 140662631356848, 5, 140664444609384, 140662631356848...}, 
                vbvCost = 0x7ffe35c7dab0, intraVbvCost = 0x7fee9ad42c00, satdForVbv = 0x1381bb0, intraSatdForVbv = 0x7feefe426652, keyframe = -1, lastMiniGopBFrame = 196608, plannedType = {-1842554448, 32750, -11, 0, 1432709888, 
                  -976382867, 902290096, 32766, -1697371136, 32750, 902290096, 32766, -36689680, 32750, 3, 0, -19525488, 32750, 2, 0, -24919921, 32750, 2, 0, -36689680, 32750, -1697371136, 32750, 902290096, 32766, 2, 0, -48430257, 32750, 
                  902290136, 32766, 902290144, 32766, -1842554256, 32750, -19981208, 32750, -19973048, 32750, -20019680, 32750, 0, 1073741824, -40918591, 32750, 24, 48, 902290592, 32766, 902290384, 32766, 1432709888, -976382867, 
                  825307392, 808792625, -38560192, 32750, 8, 0, 24, 0, 7680, 0, 1, 0, -38560192, 32750, -25615591, 32750, 40391920, 0, 1, 0, -1842554256, 32750, -20037472, 32750, 902290480, 32766, 1432709888, -976382867, -19908752, 32750, 
                  -25665042, 32750, -38560192, 32750, -40918592, 32750, -19908880, 32750, -1698922816, 32750, -20019680, 32750, 751943748, -217981624, -20019680, 32750, -35973024, 32750, -20037472, 32750, -25602616, 32750, -19908752, 
                  32750, -25568475, 32750, 2, 0, 8, 0, -20019680, 32750, -38097520, 32750, -19984960, 32750, -35973024, 32750, 2, 0, -24181733, 32750, -20037472, 32750, 0, 0, -20019680, 32750, -25944653, 32750, 16, 0, -20017920, 32750, 
                  -19984480, 32750, -25700960, 32750, -36304304, 32750, -39484512, 32750, 0, 0, -25003228, 32750, -25048240, 32750, -24647340, 32750, 1, 0, -24993676, 32750, 2, 0, 2, 0, -1699214128, 32750, 1432709888, -976382867, 
                  -1698922816, 32750, -26117316, 32750, -36176320, 32750, -29302248, 32750, -19525488, 32750, -25604234, 32750, 3, 0, -26117316, 32750, -1842435392, 32750, 7, 0, -29302248, 32750, -1842554448, 32750, 7, 0, -29302248, 
                  32750, -1842554448, 32750...}, dts = 140664454002416, reorderedPts = 0}, modeFlag = {0x0, 0x7feefe7d65b0 <type_call> "AUI\211\325ATI\211\364USH\211\373H\203\354\bH\215=\316\322A"}, saveParam = {
                maxNumReferences = -25666757, analysisReuseLevel = 32750, sourceWidth = 40, sourceHeight = 0, keyframeMax = -19908880, keyframeMin = 32750, openGOP = -20904448, bframes = 32750, bPyramid = -1842557024, maxCUSize = 32750, 
                minCUSize = -19908880, intraRefresh = 32750, lookaheadDepth = -25336217, chunkStart = 32750, chunkEnd = 0, cuTree = 0, ctuDistortionRefine = -19525488, rightOffset = 32750, bottomOffset = -19908880, 
                frameDuplication = 32750}, distortionData = 0x7fee9a7d0d0b <yuv2yuvX_avx2+187>, frameBits = 0, list0POC = {-1703510440, 32750, 1920, 0, -1703212591, 32750, 478, 0, 40681984, 0, 40399680, 0, 1920, 0, 1079, 0}, list1POC = {
                -1703214935, 32750, 0, 0, 479, 0, 40494512, 0, 40494472, 0, 40399680, 0, 479, 0, 40494512, 0}, totalIntraPercent = 5.3309683186270502e-321}, quantOffsets = 0x269f270, frameData = {qp = 6.9496642598961306e-310, 
              rateFactor = 6.9496573840125015e-310, psnrY = 5.3359089750854627e-321, psnrU = 2.3665744435795709e-321, psnrV = 1.1458649090529815e-311, psnr = 6.949536215434982e-310, ssim = 2.1219957904712067e-314, 
              decideWaitTime = 2.2917554544791515e-311, row0WaitTime = 2.000188008704236e-316, wallTime = 2.3715151000379834e-321, refWaitWallTime = 2.3715151000379834e-321, totalCTUTime = 2.3715151000379834e-321, 
              stallTime = 2.3715151000379834e-321, avgWPP = 1.0185579796638248e-311, avgLumaDistortion = 0, avgChromaDistortion = 4.2439915819305446e-314, avgPsyEnergy = 1.018557979665307e-311, avgResEnergy = 1.9999745723452326e-316, 
              avgLumaLevel = 2.3715151000379834e-321, bufferFill = 2.0001895897143027e-316, bits = 18446744069414584326, encoderOrder = 40494432, poc = 0, countRowBlocks = 480, list0POC = {479, 2, 2, 40494352, 0, 40494272, 0, -26034267, 
                32750, -19908752, 32750, 1920, 0, -1842341824, 32750, -28235968}, list1POC = {32750, -1703473232, 32750, -28236112, 32750, -19984480, 32750, 0, 0, -19907712, 32750, 0, 0, -19525488, 32750, -25189722}, maxLumaLevel = 32750, 
              minLumaLevel = 0, maxChromaULevel = 1920, minChromaULevel = 0, avgChromaULevel = 6.9497474314226572e-310, maxChromaVLevel = 64064, minChromaVLevel = 5016, avgChromaVLevel = 6.9497474503030795e-310, sliceType = 112 'p', 
              bScenecut = 32750, ipCostRatio = 6.9497474313855035e-310, frameLatency = 346031296, cuStats = {percentSkipCu = {1.7198667026273996e-315, 1.7224279389354406e-315, 0, 2.5612363080410221e-318}, percentMergeCu = {
                  -1.8309005238699572e+28, 6.949657380710562e-310, -1.8309005238699572e+28, 6.9497474503030795e-310}, percentIntraDistribution = {{6.9497474503030795e-310, 6.9497474503030795e-310, 6.9496644626894263e-310}, {
                    6.949657380710562e-310, 9.8813129168249309e-324, 0}, {6.9497471705385557e-310, 5.3359089750854627e-321, 6.949657380715305e-310}, {6.9497474503030795e-310, 6.9496574251513716e-310, 1.1894665996354511e-316}}, 
                percentInterDistribution = {{6.9496574251490001e-310, 6.9497474502959649e-310, 4.0754454676805022e-311}, {4.2439921155214421e-314, 6.9495362154112668e-310, 0}, {6.9496575808190062e-310, 1.1669490637605905e-316, 
                    6.9496576245899121e-310}, {6.9496575808190062e-310, -1.8309005238699572e+28, 1.1669490637605905e-316}}, percentIntraNxN = 6.949657386591129e-310}, puStats = {percentSkipPu = {6.9497474258867505e-310, 
                  6.949657380715305e-310, 9.4860604001519336e-321, 6.9497474276021464e-310}, percentIntraPu = {0, 6.9496574256226114e-310, 9.8813129168249309e-324, 9.8813129168249309e-324}, percentAmpPu = {0, 6.9497468944856507e-310, 
                  6.9495362154113656e-310, 7.9050503334599447e-323}, percentInterPu = {{6.9497469625195771e-310, 3.9525251667299724e-322, 1.4454949745830351e-315}, {6.9497468941707333e-310, 1.4454946583810218e-315, 
                    3.1620201333839779e-322}, {3.1620201333839779e-322, 1.4454949745830351e-315, 6.9497469625195771e-310}, {6.9497468946001751e-310, 6.9497469625195771e-310, 3.1620201333839779e-322}}, percentMergePu = {{
                    1.1857575500189917e-322, 6.9497469625195771e-310, 0}, {0, 6.9496622170567193e-310, 6.9497468946919725e-310}, {1.5481962027577967e-317, 6.9497468946037324e-310, 3.1620201333839779e-322}, {6.9529759878334786e-310, 
                    1.1857575500189917e-322, 6.9497468950050619e-310}}, percentNxN = 1.1857575500189917e-322}, totalFrameTime = 6.949662225780634e-310, vmafFrameScore = 2.121995791459338e-314, bufferFillFinal = 6.9496622257484209e-310, 
              unclippedBufferFillFinal = 2.121995791459338e-314, tLayer = 1 '\001', currTrBitrate = 4294967296, currTrCRF = 6.9496622257284607e-310, currTrQP = -1743810336}, userSEI = {numPayloads = 0, payloads = 0x16f5cc0}, 
            rcData = 0x16f5b00, framesize = 1920, height = -1744486357, reorderedPts = 2088960, rpu = {payloadSize = 522240, payload = 0x3 <error: Cannot access memory at address 0x3>}, fieldNum = -1080, picStruct = 0, width = 1920, 
            layerID = 0, format = -1744489712}}
        x265pic_lyrptr_out = {0x0}
        x265pic_out = <optimized out>
        nal = 0x1709ef0
        sei = 0x7ffe35c7a108
        dst = <optimized out>
        pict_type = <optimized out>
        payload = 0
        nnal = 1
        ret = 1
        i = <optimized out>
#4  0x00007fee99526ff6 in ff_encode_encode_cb (avctx=avctx@entry=0x16d1f00, avpkt=avpkt@entry=0x16ad440, frame=0x16f5e80, got_packet=got_packet@entry=0x7ffe35c7e3f4) at libavcodec/encode.c:254
        codec = 0x7fee9a25e5c0 <ff_libx265_encoder>
--Type <RET> for more, q to quit, c to continue without paging--
        ret = <optimized out>
#5  0x00007fee9952736e in encode_simple_internal (avctx=0x16d1f00, avpkt=<optimized out>) at libavcodec/encode.c:340
        frame = <optimized out>
        ret = <optimized out>
        avci = 0x16ad340
        codec = <optimized out>
        got_packet = 0
        avci = <optimized out>
        frame = <optimized out>
        codec = <optimized out>
        got_packet = <optimized out>
        ret = <optimized out>
#6  encode_simple_receive_packet (avctx=<optimized out>, avpkt=<optimized out>) at libavcodec/encode.c:354
        ret = <optimized out>
        ret = <optimized out>
#7  encode_receive_packet_internal (avctx=avctx@entry=0x16d1f00, avpkt=0x16ad440) at libavcodec/encode.c:388
        avci = 0x16ad340
        ret = <optimized out>
#8  0x00007fee99527607 in avcodec_send_frame (avctx=0x16d1f00, frame=0x16f5b00) at libavcodec/encode.c:531
        avci = 0x16ad340
        ret = <optimized out>
18:32:08
@hexa:lossy.network@hexa:lossy.networkalso tried disabling the new flags that were enabled in x265 4.118:33:41
@hexa:lossy.network@hexa:lossy.network
-      "-DENABLE_ALPHA=ON"
-      "-DENABLE_MULTIVIEW=ON"
-      "-DENABLE_SCC_EXT=ON"
+      # "-DENABLE_ALPHA=ON"
+      # "-DENABLE_MULTIVIEW=ON"
+      # "-DENABLE_SCC_EXT=ON"
18:33:46
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/FFmpeg/FFmpeg/blob/n7.1/libavcodec/libx265.c#L82118:34:54
@hexa:lossy.network@hexa:lossy.networktook me 22 minutes to merge the home-assistant 2025.2.2 update into merge, enjoy 😄 22:36:59
@hexa:lossy.network@hexa:lossy.network* took me 22 minutes to merge the home-assistant 2025.2.2 update into master, enjoy 😄 22:54:46
@macaroniskengz:matrix.orgmacaroniskengzimage.png
Download image.png
23:47:10
@macaroniskengz:matrix.orgmacaroniskengzI get this error in my systemd log when trying to save a new automation in the UI. 2025-02-10 23:42:54.016 ERROR (MainThread) [homeassistant.components.homeassistant_alerts.coordinator] Timeout fetching homeassistant_alerts data In the UI, I see the error in the screenshot attached. What could cause this? 23:47:10
@hexa:lossy.network@hexa:lossy.networkcheck the wiki for the relevant snippet23:58:40
@hexa:lossy.network@hexa:lossy.networkhttps://wiki.nixos.org/wiki/Home_Assistant#Automations,_Scenes,_and_Scripts_from_the_UI23:59:02
11 Feb 2025
@motiejus:jakstys.ltmotiejus

I know there are Frigate users here, and they are less likely to point to "dependency issues" on my Frigate NixOS installation. :)

Frigate is consuming a half-to-full core per camera on "detection" process in an OpenMP call, even though Google Coral is configured, visible and seemingly well. I have taken a CPU profile for the process, and the only thing it says is a C function gomp_barrier_wait_end, which is not helpful.

Any insights would be appreciated, here or in the discussion. :)

14:13:17
@motiejus:jakstys.ltmotiejus *

I know there are Frigate users here, and they are less likely to point to "dependency issues" on my Frigate NixOS installation. :)

Frigate is consuming a half-to-full core per camera on "detection" process in an OpenMP call, even though Google Coral is configured, visible and seemingly well. I have taken a CPU profile for the process, and the only thing it says is a C function gomp_barrier_wait_end, which is not helpful for someone not deep into Frigate internals.

Any insights would be appreciated, here or in the discussion. :)

14:13:41
@hexa:lossy.network@hexa:lossy.network gomp 14:13:52
@hexa:lossy.network@hexa:lossy.networksorry, that is a weird sound14:13:57
@motiejus:jakstys.ltmotiejus now that you wrote it, kinda like garp from Irving's novel. 14:14:29
@hexa:lossy.network@hexa:lossy.network

Upgrading to 0.15 is quite some effort if done before 2025.04

14:20:18
@hexa:lossy.network@hexa:lossy.networklmao14:20:19

Show newer messages


Back to Room ListRoom Version: 6