+
    #Ïj1  ã                   ó  € ^ RI t ^ RIHtHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHtHt ^ RIHt ^ R	IHtHt ^ R
IHtHt ] P.                  R R l4       t] P2                  ] P4                   ! R R]4      4       4       tR# )é    N)ÚCodecContextÚwrap_codec_context)ÚStreamContainer)Ú
Dictionary)Ú	err_check)ÚPacket)ÚStreamÚwrap_stream)Úavdict_to_dict)Úint64_tÚuint8_t)ÚfreeÚmallocc                ó$   € V ^8„  d   QhR\         /# )é   Úself)ÚInputContainer)Úformats   "ÚH/opt/data/home/.local/lib/python3.14/site-packages/av/container/input.pyÚ__annotate__r      s   € ÷ ñ ”nñ ó    c                 óX  € \        4       V n        \        P                  ;_uu_ 4        V P                  ^,          '       dM   \
        P                  \        P                  ! V P                  4      4       V ;P                  R,          un        RRR4       R#   + '       g   i     R# ; i)r   Néýÿÿÿ)	r   ÚstreamsÚcythonÚnogilÚ_myflagÚlibÚavformat_close_inputÚaddressÚptr©r   s   &r   Úclose_inputr#      sY   € ä"Ó$€D„LÜ	��‹Ø�<‰<˜!×Ôä×$Ñ$¤V§^¢^°D·H±HÓ%=Ô>Ø�LŠL˜BÕ�L÷	 
��Šús   ¨A&BÂB)	c            
       óÜ   a € ] tR t^t o R tR t]R 4       t]R 4       t]R 4       t	]R 4       t
]R 4       tR tR	 tR
 tRRRRRRRRRR/V 3R lR llt]P"                  R 4       tRtV tR# )r   c           	     ó@	  € \         P                  pV P                  P                  pV P                  '       d   V^ 8X  d   \        R4      hV P                  '       g   V P                  '       Ed™   V^ 8”  Ed‘   \        V P                  4      p\         P                  ! \         P                  \         P                  \        P                  ,          ,          \        V\         P                  ! \         P                  4      ,          4      4      p\        V4       Fë  p\         P                  W6&   V\!        V P                  4      8  d‚   V P                  '       dp   VP#                  4       pVP%                  V P                  V,          4       \        P'                  \         P(                  ! W6,          4      VP                  ^ 4       K°  \        P'                  \         P(                  ! W6,          4      VP                  ^ 4       Kí  	  V P+                  V P,                  4       V P/                  4        \         P0                  ;_uu_ 4        \        P3                  V P                  V4      pRRR4       V P+                  R4       V P5                  X4       V'       dM   \        V4       F2  p\        P7                  \         P(                  ! W6,          4      4       K4  	  \9        V4       Rp	\;        4       V n        \        V P                  P                  4       Fñ  pV P                  P<                  V,          p
\        P?                  V
P@                  PB                  4      pV'       dz   \        PE                  V4      p\5        \        PG                  WÊP@                  4      4       V
PH                  Vn%        \M        WËV PN                  4      pVPP                  '       d   Rp	MRpV P<                  PS                  \U        W
V4      4       Kó  	  V PN                  '       d0   V PN                  PV                  '       g   V	'       g   \Y        R4      h\[        V P                  P\                  V P^                  V P`                  4      V n1        R#   + '       g   i     EL); i)r   z�stream_options were provided, but this format does not expose its streams before avformat_find_stream_info (e.g. MPEG). Per-stream options cannot be applied.NFTzAHardware accelerated decode requested but no stream is compatible)2r   ÚNULLr!   Ú
nb_streamsÚstream_optionsÚ
ValueErrorÚoptionsr   ÚcastÚpointerr   ÚAVDictionaryr   ÚsizeofÚp_voidÚrangeÚlenÚcopyÚupdateÚav_dict_copyr    Úset_timeoutÚopen_timeoutÚstart_timeoutr   Úavformat_find_stream_infor   Úav_dict_freer   r   r   Úavcodec_find_decoderÚcodecparÚcodec_idÚavcodec_alloc_context3Úavcodec_parameters_to_contextÚ	time_baseÚpkt_timebaser   ÚhwaccelÚ
is_hwaccelÚ
add_streamr
   Úallow_software_fallbackÚRuntimeErrorr   ÚmetadataÚmetadata_encodingÚmetadata_errorsÚ	_metadata)r   ÚargsÚkwargsÚ	c_optionsÚnb_streams_beforeÚ	base_dictÚiÚstream_dictÚretÚ at_least_one_accelerated_contextÚstreamÚcodecÚcodec_contextÚpy_codec_contexts   &*,           r   Ú	__cinit__ÚInputContainer.__cinit__   s1  € ô GMÇkÁkˆ	ð *.¯©×)<Ñ)<ÐØ××ÐÐ#4¸Ô#9Üð8óð ð �L�LˆL˜D×/×/Ñ/Ð5FÈÕ5JÜ" 4§<¡<Ó0ˆIÜŸšÜ—‘œvŸ~™~¬c×.>Ñ.>Õ?Õ@ÜÐ(¬6¯=ª=¼¿¹Ó+GÕGÓHóˆIô Ð,Ö-�Ü%Ÿ{™{�	‘Ø”s˜4×.Ñ.Ó/Ô/°D×4G×4GÐ4GØ"+§.¡.Ó"2�KØ×&Ñ& t×':Ñ':¸1Õ'=Ô>Ü×$Ñ$¤V§^¢^°IµLÓ%AÀ;Ç?Á?ÐTUÖVä×$Ñ$¤V§^¢^°IµLÓ%AÀ9Ç=Á=ÐRSÖTñ .ð 	×Ñ˜×*Ñ*Ô+Ø×ÑÔÜ�\�\‹\Ü×/Ñ/°·±¸)ÓDˆC÷ à×Ñ˜ÔØ�‰�sÔçÜÐ,Ö-�Ü× Ñ ¤§¢°	µÓ!=Ö>ñ .ä�ŒOà+0Ð(ä&Ó(ˆŒÜ�t—x‘x×*Ñ*Ö+ˆAØ—X‘X×%Ñ% aÕ(ˆFÜ×,Ñ,¨V¯_©_×-EÑ-EÓFˆEßÜ #× :Ñ :¸5Ó A�ÜÜ×5Ñ5°mÇ_Á_ÓUôð .4×-=Ñ-=�Ô*Ü#5Ø!¨$¯,©,ó$Ð ð $×.×.Ð.Ø7;Ð4øð $(Ð Ø�L‰L×#Ñ#¤K°Ð>NÓ$OÖPñ# ,ð( �L�LˆLØ—L‘L×8×8Ð8ß4äØSóð ô (Ø�H‰H×Ñ˜t×5Ñ5°t×7KÑ7Kó
ˆŽ÷S �\ˆ\ús   É!RÒR	c                ó   € \        V 4       R # ©N©r#   r"   s   &r   Ú__dealloc__ÚInputContainer.__dealloc__l   ó
   € Ü�DÖr   c                ó¤   € V P                  4        V P                  P                  \        P                  8w  d   V P                  P                  # R # rZ   )Ú_assert_openr!   Ú
start_timer   ÚAV_NOPTS_VALUEr"   s   &r   ra   ÚInputContainer.start_timeo   s;   € à×ÑÔØ�8‰8×Ñ¤#×"4Ñ"4Ô4Ø—8‘8×&Ñ&Ð&ñ 5r   c                ó¤   € V P                  4        V P                  P                  \        P                  8w  d   V P                  P                  # R# )a8  Start time of the stream in real world time, in microseconds since the
Unix epoch, or ``None`` if unknown.

Only a few demuxers know this; RTSP computes it from RTCP sender reports,
which is what makes it useful for aligning analytics with a camera's clock.

Wraps :ffmpeg:`AVFormatContext.start_time_realtime`.
N)r`   r!   Ústart_time_realtimer   rb   r"   s   &r   re   Ú"InputContainer.start_time_realtimeu   s=   € ð 	×ÑÔØ�8‰8×'Ñ'¬3×+=Ñ+=Ô=Ø—8‘8×/Ñ/Ð/ñ >r   c                ó¤   € V P                  4        V P                  P                  \        P                  8w  d   V P                  P                  # R # rZ   )r`   r!   Údurationr   rb   r"   s   &r   rh   ÚInputContainer.durationƒ   s;   € à×ÑÔØ�8‰8×Ñ¤× 2Ñ 2Ô2Ø—8‘8×$Ñ$Ð$ñ 3r   c                óN   € V P                  4        V P                  P                  # rZ   )r`   r!   Úbit_rater"   s   &r   rk   ÚInputContainer.bit_rate‰   s   € à×ÑÔØ�x‰x× Ñ Ð r   c                ót   € V P                  4        \        P                  V P                  P                  4      # rZ   )r`   r   Ú	avio_sizer!   Úpbr"   s   &r   ÚsizeÚInputContainer.sizeŽ   s%   € à×ÑÔÜ�}‰}˜TŸX™XŸ[™[Ó)Ð)r   c                ó   € \        V 4       R # rZ   r[   r"   s   &r   ÚcloseÚInputContainer.close“   r^   r   c           	   /  óÌ	  "  € V P                  4        V P                  P                  ! V/ VB pV P                  P                  ^ 8X  d   R# \
        P                  ! \
        P                  \        ,          \        V P                  P                  \
        P                  ! \        4      ,          4      4      pV\
        P                  8X  d   \        4       hV P                  V P                  4        \        V P                  P                  4       F  p^ WE&   K	  	  V F<  pVP                   pWPP                  P                  8¼  d   \#        RV R24      h^WE&   K>  	  \
        P$                  ;_uu_ 4        \&        P)                  4       pRRR4       X\
        P                  8X  d   \        R4      h \
        P$                  ;_uu_ 4        \&        P+                  V4       RRR4        V P-                  4        \
        P$                  ;_uu_ 4        \&        P/                  V P                  V4      pRRR4       V P1                  X4       YGP4                  ,          '       g   K´  TP4                  \7        T P                  4      8  g   KÚ  \9        4       p	\
        P$                  ;_uu_ 4        \&        P;                  T	P                  T4       RRR4       T P                  T	P                  P4                  ,          T	n        T	P<                  P                  P>                  T	P                  n        T	x € EK‡    + '       g   i     EL¸; i  + '       g   i     ELu; i  + '       g   i     EL7; i  \2         d     Mi ; i  + '       g   i     L¿; i\        T P                  P                  4       Fh  pYE,          '       g   K  \9        4       p	T P                  T,          T	n        T	P<                  P                  P>                  T	P                  n        T	x € Kj  	  T P                  R4       \A        T4       T\
        P                  8w  d,   \&        PC                  \
        PD                  ! T4      4       R# R#   T P                  R4       \A        T4       X\
        P                  8w  d+   \&        PC                  \
        PD                  ! T4      4       i i ; i5i)aè  demux(streams=None, video=None, audio=None, subtitles=None, data=None)

Yields a series of :class:`.Packet` from the given set of :class:`.Stream`::

    for packet in container.demux():
        # Do something with `packet`, often:
        for frame in packet.decode():
            # Do something with `frame`.

.. seealso:: :meth:`.StreamContainer.get` for the interpretation of
    the arguments.

.. note:: The last packets are dummy packets that when decoded will flush the buffers.

Nzstream index z out of rangezCould not allocate packet)#r`   r   Úgetr!   r'   r   r+   r,   r   r   r.   r&   ÚMemoryErrorr5   Úread_timeoutr0   Úindexr)   r   r   Úav_packet_allocÚav_packet_unrefr7   Úav_read_framer   ÚEOFErrorÚstream_indexr1   r   Úav_packet_move_refÚ_streamr?   r   Úav_packet_freer    )
r   rJ   rK   r   Úinclude_streamrO   rS   Úread_packetrQ   Úpackets
   &*,       r   ÚdemuxÚInputContainer.demux–   sH  é € ð  	×ÑÔà $§¡× 0Ò 0°$Ð A¸&Ñ AˆØ�8‰8×Ñ !Ô#ÙÜ28·+²+Ü�N‰Nœ7Õ#Ü�4—8‘8×&Ñ&¬¯ª´wÓ)?Õ?Ó@ó3
ˆð œVŸ[™[Ô(Ü“-Ðð 	×Ñ˜×*Ñ*Ô+ð7	@Ü˜4Ÿ8™8×.Ñ.Ö/�Ø$%�Ó!ñ 0ã!�Ø—L‘L�ØŸ™×+Ñ+Ô+Ü$ }°Q°C°}Ð%EÓFÐFØ$%�Ó!ñ	 "ô ——“Ü!×1Ñ1Ó3�÷ àœfŸk™kÔ)Ü!Ð"=Ó>Ð>àä—\—\“\Ü×'Ñ'¨Ô4÷ "ðØ×&Ñ&Ô(ÜŸŸ›Ü!×/Ñ/°·±¸+ÓF˜÷ &à—N‘N 3Ô'ð "×":Ñ":×;Ö;ð
 #×/Ñ/´#°d·l±lÓ2CÖCô "(£˜Ü#Ÿ\Ÿ\›\Ü×2Ñ2°6·:±:¸{ÔK÷ *à)-¯©°f·j±j×6MÑ6MÕ)N˜œà/5¯~©~×/AÑ/A×/KÑ/K˜Ÿ
™
Ô,Ø$�÷? —�ú÷ "—\�\ú÷ &Ÿ˜ûô  ô Ùðú÷ *Ÿ\úô ˜4Ÿ8™8×.Ñ.Ö/�Ø!×$Ö$Ü#›X�FØ%)§\¡\°!¥_�F”NØ+1¯>©>×+=Ñ+=×+GÑ+G�F—J‘JÔ(Ø ”Lñ 0ð ×Ñ˜TÔ"Ü�Ô ØœfŸk™kÔ)Ü×"Ñ"¤6§>¢>°+Ó#>Ö?ñ *øð ×Ñ˜TÔ"Ü�Ô ØœfŸk™kÔ)Ü×"Ñ"¤6§>¢>°+Ó#>Õ?ð *üsº   ‚C0S$Ã3BR Å7L;ÆAR ÇMÇ#R Ç,(M7 È!M#È5M7 ÉR É(!R Ê"R Ê0!NËA*R Ì;M	Í	R ÍM 	Í	R Í#M4	Í.	M7 Í7NÎR ÎNÎR ÎN	Î5R ÏAR Ð&AS$ÒAS!Ó!S$c              /  ó”   "  € V P                  4        V P                  ! V/ VB  F  pVP                  4        Rj  x€L
  K  	  R#  L
5i)a0  decode(streams=None, video=None, audio=None, subtitles=None, data=None)

Yields a series of :class:`.Frame` from the given set of streams::

    for frame in container.decode():
        # Do something with `frame`.

.. seealso:: :meth:`.StreamContainer.get` for the interpretation of
    the arguments.

N)r`   r…   Údecode)r   rJ   rK   r„   s   &*, r   rˆ   ÚInputContainer.decodeñ   s=   é € ð 	×ÑÔØ—j’j $Ð1¨&Ô1ˆFØ—}‘}“×&Ò&ó 2Ù&ùs   ‚9A»A¼AÚbackwardTÚ	any_frameFrS   NÚunsupported_frame_offsetÚunsupported_byte_offsetc          
      ó–   <€ V ^8„  d   QhRS[ P                  RS[ P                  RS[R,          RS[ P                  RS[ P                  /# )r   rŠ   r‹   rS   NrŒ   r�   )r   Úbintr	   )r   Ú__classdict__s   "€r   r   ÚInputContainer.__annotate__  sS   ø€ ÷ >ñ >ñ —+‘+ð	>ñ
 —;‘;ð>ñ ˜•ð>ñ #)§+¡+ð>ñ "(§¡ñ>r   c               óˆ  € V P                  4        \        V\        4      '       g   \        R\	        V4      4      hTp^ pV'       d   V\
        P                  ,          pV'       d   V\
        P                  ,          pV'       d   V\
        P                  ,          pV'       d   V\
        P                  ,          pV'       d   VP                  MRp	\        P                  ;_uu_ 4        \
        P                  V P                  W—V4      p
RRR4       \        X
4       V P!                  4        R#   + '       g   i     L-; i)a‘  seek(offset, *, backward=True, any_frame=False, stream=None)

Seek to a (key)frame nearest to the given timestamp.

:param int offset: Time to seek to, expressed in``stream.time_base`` if ``stream``
    is given, otherwise in :data:`av.time_base`.
:param bool backward: If there is not a (key)frame at the given offset,
    look backwards for it.
:param bool any_frame: Seek to any frame, not just a keyframe.
:param Stream stream: The stream who's ``time_base`` the ``offset`` is in.

:param bool unsupported_frame_offset: ``offset`` is a frame
    index instead of a time; not supported by any known format.
:param bool unsupported_byte_offset: ``offset`` is a byte
    location in the file; not supported by any known format.

After seeking, packets that you demux should correspond (roughly) to
the position you requested.

In most cases, the defaults of ``backwards = True`` and ``any_frame = False``
are the best course of action, followed by you demuxing/decoding to
the position that you want. This is because to properly decode video frames
you need to start from the previous keyframe.

.. seealso:: :ffmpeg:`avformat_seek_file` for discussion of the flags.

z+Container.seek only accepts integer offset.Néÿÿÿÿ)r`   Ú
isinstanceÚintÚ	TypeErrorÚtyper   ÚAVSEEK_FLAG_BACKWARDÚAVSEEK_FLAG_ANYÚAVSEEK_FLAG_FRAMEÚAVSEEK_FLAG_BYTEry   r   r   Úav_seek_framer!   r   Úflush_buffers)r   ÚoffsetrŠ   r‹   rS   rŒ   r�   Úc_offsetÚflagsr~   rQ   s   &&$$$$$    r   ÚseekÚInputContainer.seek  sÙ   € ðJ 	×ÑÔä˜&¤#×&Ò&ÜÐIÌ4ÐPVË<ÓXÐXà"ˆØˆ÷ Ø”S×-Ñ-Õ-ˆEßØ”S×(Ñ(Õ(ˆE÷ $Ø”S×*Ñ*Õ*ˆEß"Ø”S×)Ñ)Õ)ˆEç39 6§<¢<¸rˆÜ�\�\‹\Ü×#Ñ# D§H¡H¨lÀeÓLˆC÷ ä�#Œà×ÑÖ÷	 �\ús   Ã*"D1Ä1E	c                ó˜   € V P                  4        V P                   F)  pVP                  pV'       g   K  VP                  4        K+  	  R # rZ   )r`   r   rU   r�   )r   rS   rU   s   &  r   r�   ÚInputContainer.flush_buffersA  s:   € à×ÑÔð
 —l”lˆFØ"×0Ñ0ˆMß‰}Ø×+Ñ+Ö-ó #r   )rI   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__rW   r\   Úpropertyra   re   rh   rk   rp   rs   r…   rˆ   r¡   r   Úcfuncr�   Ú__static_attributes__Ú__classdictcell__)r�   s   @r   r   r      sÜ   ø‡ € òP
òdð ñ'ó ð'ð
 ñ0ó ð0ð ñ%ó ð%ð
 ñ!ó ð!ð ñ*ó ð*òòY@òv'ð >ð !%ð	>ð
 "'ð>ð !%ð>ð 16ð>ð 05÷>ò >ð@ ‡\�\ñ	.ó ö	.r   r   )r   Ú cython.cimports.av.codec.contextr   r   Ú$cython.cimports.av.container.streamsr   Úcython.cimports.av.dictionaryr   Úcython.cimports.av.errorr   Úcython.cimports.av.packetr   Úcython.cimports.av.streamr	   r
   Úcython.cimports.av.utilsr   Úcython.cimports.libc.stdintr   r   Úcython.cimports.libc.stdlibr   r   rª   r#   ÚfinalÚcclassÚ	Containerr   © r   r   Ú<module>rº      si   ðÛ ß MÝ @Ý 4Ý .Ý ,ß 9Ý 3ß 8ß 4ð ‡�ôó ðð ‡�Ø‡�ôr.�Yó r.ó ó òr.r   