+
    #ÏjÛ'  ã                   ó¶  € ^ RI HtHt ^ RIt^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHtHtHtHt  ! R R]4      t ! R	 R
]4      t]P$                  ! ]]! 4       4      t]P*                  R R l4       t]P.                   ! R R4      4       t]P2                  ]P.                   ! R R]4      4       4       t]P2                  ]P.                   ! R R]4      4       4       tR# )é    )ÚIntEnumÚIntFlagN)Úlibav)Ú	err_check)Úwrap_index_entries)Úavdict_to_dictÚavrational_to_fractionÚdict_to_avdictÚto_avrationalc                   ób   € ] tR t^t^t^t^t^t^t^ t	^@t
^€tRtRtRtRtRtRtR	tR
tRtRtRtRtR# )ÚDisposition© Né   i   i   i   i   i   i   i   i   i   i    )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚdefaultÚdubÚoriginalÚcommentÚlyricsÚkaraokeÚforcedÚhearing_impairedÚvisual_impairedÚclean_effectsÚattached_picÚtimed_thumbnailsÚnon_diegeticÚcaptionsÚdescriptionsÚmetadataÚ	dependentÚstill_imageÚ
multilayerÚ__static_attributes__r   ó    Ú?/opt/data/home/.local/lib/python3.14/site-packages/av/stream.pyr   r      sc   † Ø€GØ
€CØ€HØ€GØ€FØ€GØ€FØÐØ€OØ€MØ€LØÐØ€LØ€HØ€LØ€HØ€IØ€KØ„Jr(   r   c                   ó¾   € ] tR t^%t]P
                  t]P                  t]P                  t
]P                  t]P                  t]P                  t]P"                  tRtR# )ÚDiscardr   N)r   r   r   r   ÚlibÚAVDISCARD_NONEÚnoneÚAVDISCARD_DEFAULTr   ÚAVDISCARD_NONREFÚnonrefÚAVDISCARD_BIDIRÚbidirÚAVDISCARD_NONINTRAÚnonintraÚAVDISCARD_NONKEYÚnonkeyÚAVDISCARD_ALLÚallr'   r   r(   r)   r+   r+   %   sO   † Ø×Ñ€DØ×#Ñ#€GØ×!Ñ!€FØ×Ñ€EØ×%Ñ%€HØ×!Ñ!€FØ
×
Ñ
„Cr(   r+   c                ó†   € V ^8„  d   QhR\         R\        P                  \        P                  ,          R\
        R\        /# )é   Ú	containerÚc_streamÚcodec_contextÚreturn)Ú	ContainerÚcythonÚpointerr,   ÚAVStreamÚCodecContextÚStream)Úformats   "r)   Ú__annotate__rG   3   s=   € ÷ !ñ !Üð!ä�n‰nœSŸ\™\Õ*ð!ô  ð!ô ñ	!r(   c                óˆ  € V P                   P                  VP                  ,          V8X  g   Q h^ RIHp ^ RIHp ^ RIHp VP                  P                  \        P                  8X  d   VP                  V\        4      pEM.VP                  P                  \        P                  8X  d   VP                  V\        4      pMîVP                  P                  \        P                   8X  d   VP                  V\        4      pM®VP                  P                  \        P"                  8X  d    \$        P                  \$        \        4      pMfVP                  P                  \        P&                  8X  d    \(        P                  \(        \        4      pM\*        P                  \*        \        4      pVP-                  WV4       V# )z~Build an av.Stream for an existing AVStream.

The AVStream MUST be fully constructed and ready for use before this is called.
)ÚAudioStream)ÚSubtitleStream)ÚVideoStream)ÚptrÚstreamsÚindexÚav.audio.streamrI   Úav.subtitles.streamrJ   Úav.video.streamrK   ÚcodecparÚ
codec_typer,   ÚAVMEDIA_TYPE_VIDEOÚ__new__Ú_cinit_bypass_sentinelÚAVMEDIA_TYPE_AUDIOÚAVMEDIA_TYPE_SUBTITLEÚAVMEDIA_TYPE_ATTACHMENTÚAttachmentStreamÚAVMEDIA_TYPE_DATAÚ
DataStreamrE   Ú_init)r<   r=   r>   rI   rJ   rK   Ú	py_streams   &&&    r)   Úwrap_streamr_   2   s7  € ð �=‰=× Ñ  §¡Õ0°HÔ<Ð<Ð<õ ,Ý2Ý+à×Ñ×#Ñ#¤s×'=Ñ'=Ô=Ø×'Ñ'¨Ô5KÓLŠ	Ø	×	Ñ	×	%Ñ	%¬×)?Ñ)?Ô	?Ø×'Ñ'¨Ô5KÓL‰	Ø	×	Ñ	×	%Ñ	%¬×)BÑ)BÔ	BØ"×*Ñ*¨>Ô;QÓR‰	Ø	×	Ñ	×	%Ñ	%¬×)DÑ)DÔ	DÜ$×,Ñ,Ô-=Ô?UÓV‰	Ø	×	Ñ	×	%Ñ	%¬×)>Ñ)>Ô	>Ü×&Ñ&¤zÔ3IÓJ‰	ä—N‘N¤6Ô+AÓBˆ	à‡O�O�I¨Ô7ØÐr(   c                   ó¸  a € ] tR t^Wt o RtR t]P                  V 3R lR l4       t]P                  ]	P                  3V 3R lR ll4       tR tR t]P                  R	 4       t]R
 4       t]P                  R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       t]R 4       tRtV tR# )rE   aÕ  
A single stream of audio, video or subtitles within a :class:`.Container`.

::

    >>> fh = av.open(video_path)
    >>> stream = fh.streams.video[0]
    >>> stream
    <av.VideoStream #0 h264, yuv420p 1280x720 at 0x...>

This encapsulates a :class:`.CodecContext`, located at :attr:`Stream.codec_context`.
Attribute access is passed through to that context when attributes are missing
on the stream itself. E.g. ``stream.options`` will be the options on the
context.
c                ó0   € V\         J d   R # \        R4      h)Nz"cannot manually instantiate Stream)rV   ÚRuntimeError©ÚselfÚnames   &&r)   Ú	__cinit__ÚStream.__cinit__i   s   € ØÔ)Ó)ÙÜÐ?Ó@Ð@r(   c                ód   <€ V ^8„  d   QhRS[ RS[P                  S[P                  ,          RS[/# )r;   r<   Ústreamr>   )r@   rA   rB   r,   rC   rD   )rF   Ú__classdict__s   "€r)   rG   ÚStream.__annotate__o   s6   ø€ ÷ 
ñ 
áð
ñ —‘™sŸ|™|Õ,ð
ñ $ñ	
r(   c                óB  € Wn         W n        \        V P                  4      V n        W0n        V P                  '       d   VP
                  V P                  n        \        VP                  V P                   P                  V P                   P                  R 7      V n        R# ©)ÚencodingÚerrorsN)r<   rL   r   Úindex_entriesr>   rN   Ústream_indexr   r#   Úmetadata_encodingÚmetadata_errors)rd   r<   ri   r>   s   &&&&r)   r]   ÚStream._initn   sp   € ð #ŒØŒÜ/°·±Ó9ˆÔà*ÔØ××ÐØ.4¯l©lˆD×ÑÔ+ä&Ø�O‰OØ—^‘^×5Ñ5Ø—>‘>×1Ñ1ô
ˆŽr(   c                ó4   <€ V ^8„  d   QhRS[ P                  /# )r;   Úerr)rA   Úint)rF   rj   s   "€r)   rG   rk   „   s   ø€ ÷ ñ Ù—:‘:ñr(   c                ó<   € V P                   f   \        V4       R # R # ©N)r>   r   )rd   rv   s   &&r)   Ú_assert_has_codec_contextÚ Stream._assert_has_codec_contextƒ   s   € ð
 ×ÑÒ%Ü�cŽNñ &r(   c                óÌ   € \        V R R4      pRV P                  P                   RV P                   RV P                  ;'       g    R RT;'       g    R R\        V 4      R	 R
2# )re   Nú<av.ú #Ú z<notype>Ú/ú	<nocodec>ú at 0xÚxÚ>)ÚgetattrÚ	__class__r   rN   ÚtypeÚidrc   s   & r)   Ú__repr__ÚStream.__repr__‹   sh   € Ü�t˜V TÓ*ˆà�4—>‘>×*Ñ*Ð+¨2¨d¯j©j¨\¸¸4¿9¹9×;RÐ;RÈ
Ð:SÐSTØ×"Ð"�{Ð# 6¬"¨T«(°1¨°Qð8ð	
r(   c                óŒ  € VR 8X  d   V P                  V4       R# VR8X  d   W P                  n        R# VR8X  d'   \        V4      P                  V P                  n        R# VR8X  d7   \        V\        P                  ! V P                  P                  4      4       R# V P                  e   \        V P                  W4       R# R# )rˆ   NÚdispositionÚdiscardÚ	time_base)Ú_set_idrL   rŒ   r+   Úvaluer�   r   rA   ÚaddressrŽ   r>   Úsetattr)rd   re   r�   s   &&&r)   Ú__setattr__ÚStream.__setattr__’   s™   € Ø�4Œ<Ø�L‰L˜ÔÙØ�=Ô Ø#(�H‰HÔ ÙØ�9ÔÜ& u›~×3Ñ3ˆD�H‰HÔÙØ�;ÔÜ˜%¤§¢°·±×0BÑ0BÓ!CÔDÙð ×ÑÒ)Ü�D×&Ñ&¨Ö4ñ *r(   c                ó2  € \        \        P                  ! V P                  P                  4      V P                  V P
                  P                  V P
                  P                  R 7       V P                  f   R# V P                  P                  P                  '       g0   V P                  P                  P                  V P                  n	        \        \        P                  ! V P                  P                  V P                  P                  4      4       R# rm   )r
   rA   r‘   rL   r#   r<   rr   rs   r>   rŽ   Únumr   r,   Úavcodec_parameters_from_contextrR   ©rd   s   &r)   Ú_finalize_for_outputÚStream._finalize_for_output¤   s¹   € äÜ�NŠN˜4Ÿ8™8×,Ñ,Ó-Ø�M‰MØ—^‘^×5Ñ5Ø—>‘>×1Ñ1õ		
ð ×ÑÒ%Ùà�x‰x×!Ñ!×%×%Ð%Ø!%×!3Ñ!3×!7Ñ!7×!AÑ!AˆD�H‰HÔô 	Ü×/Ò/Ø—‘×!Ñ! 4×#5Ñ#5×#9Ñ#9óö	
r(   c                ó.   € V P                   P                  # )z5
The format-specific ID of this stream.

:type: int

©rL   rˆ   r˜   s   &r)   rˆ   Ú	Stream.idº   s   € ð �x‰x�{‰{Ðr(   c                óT   € Vf   ^ V P                   n        R # WP                   n        R # ry   rœ   )rd   r�   s   &&r)   r�   ÚStream._set_idÄ   s   € àŠ=ØˆD�H‰HŽKà�H‰HŽKr(   c                óV   € V P                   '       d   V P                   P                  # . # )z@
List the available profiles for this stream.

:type: list[str]
)r>   Úprofilesr˜   s   &r)   r¡   ÚStream.profilesË   s'   € ð ××ÐØ×%Ñ%×.Ñ.Ð.àˆIr(   c                óV   € V P                   '       d   V P                   P                  # R# )z)
The profile of this stream.

:type: str
N)r>   Úprofiler˜   s   &r)   r¤   ÚStream.profile×   s%   € ð ××ÐØ×%Ñ%×-Ñ-Ð-ár(   c                ó.   € V P                   P                  # )zB
The index of this stream in its :class:`.Container`.

:type: int
)rL   rN   r˜   s   &r)   rN   ÚStream.indexã   s   € ð �x‰x�~‰~Ðr(   c                óh   € \        \        P                  ! V P                  P                  4      4      # )zp
The unit of time (in fractional seconds) in which timestamps are expressed.

:type: fractions.Fraction | None

)r	   rA   r‘   rL   rŽ   r˜   s   &r)   rŽ   ÚStream.time_baseì   s"   € ô &¤f§n¢n°T·X±X×5GÑ5GÓ&HÓIÐIr(   c                ó„   € V P                   P                  \        P                  8w  d   V P                   P                  # R# )zm
The presentation timestamp in :attr:`time_base` units of the first
frame in this stream.

:type: int | None
N)rL   Ú
start_timer,   ÚAV_NOPTS_VALUEr˜   s   &r)   r«   ÚStream.start_timeö   s1   € ð �8‰8×Ñ¤#×"4Ñ"4Ô4Ø—8‘8×&Ñ&Ð&ñ 5r(   c                ó„   € V P                   P                  \        P                  8w  d   V P                   P                  # R# )zM
The duration of this stream in :attr:`time_base` units.

:type: int | None

N)rL   Údurationr,   r¬   r˜   s   &r)   r¯   ÚStream.duration  s1   € ð �8‰8×Ñ¤× 2Ñ 2Ô2Ø—8‘8×$Ñ$Ð$ñ 3r(   c                ó.   € V P                   P                  # )z[
The number of frames this stream contains.

Returns ``0`` if it is not known.

:type: int
)rL   Ú	nb_framesr˜   s   &r)   ÚframesÚStream.frames  s   € ð �x‰x×!Ñ!Ð!r(   c                ó8   € V P                   P                  R4      # )z0
The language of the stream.

:type: str | None
Úlanguage©r#   Úgetr˜   s   &r)   r¶   ÚStream.language  ó   € ð �}‰}× Ñ  Ó,Ð,r(   c                ó@   € \        V P                  P                  4      # ry   )r   rL   rŒ   r˜   s   &r)   rŒ   ÚStream.disposition   s   € ä˜4Ÿ8™8×/Ñ/Ó0Ð0r(   c                ó@   € \        V P                  P                  4      # )a  
Controls which packets of this stream are discarded by the demuxer.

Set this to e.g. :attr:`Discard.all` on streams you don't need so that
:meth:`.Container.demux` and :meth:`.Container.seek` skip them, avoiding
the cost of synchronizing streams you never read.

:type: Discard
)r+   rL   r�   r˜   s   &r)   r�   ÚStream.discard$  s   € ô �t—x‘x×'Ñ'Ó(Ð(r(   c                óœ   € \         P                  ! V P                  P                  P                  4      pV\
        P                  8X  d   R# T# )z]
The type of the stream.

:type: Literal["audio", "video", "subtitle", "data", "attachment"]
Úunknown)r,   Úav_get_media_type_stringrL   rR   rS   rA   ÚNULL)rd   Ú
media_types   & r)   r‡   ÚStream.type1  s:   € ô ×1Ò1°$·(±(×2CÑ2C×2NÑ2NÓOˆ
Ø&¬&¯+©+Ô5ˆyÐE¸:ÐEr(   )r>   r<   rp   r#   rL   N)r   r   r   r   Ú__doc__rf   rA   Úcfuncr]   r,   ÚAVERROR_DECODER_NOT_FOUNDrz   r‰   r“   r™   Úpropertyrˆ   r�   r¡   r¤   rN   rŽ   r«   r¯   r³   r¶   rŒ   r�   r‡   r'   Ú__classdictcell__©rj   s   @r)   rE   rE   W   s|  ø‡ € ñò Að
 ‡\�\÷
ó ð
ð( ‡\�\à #× =Ñ =÷ñ ó ðò
ò5ð$ ‡\�\ñ
ó ð
ð* ñó ðð ‡\�\ñ ó ð ð ñ	ó ð	ð ñ	ó ð	ð ñó ðð ñJó ðJð ñ'ó ð'ð ñ%ó ð%ð ñ"ó ð"ð ñ-ó ð-ð ñ1ó ð1ð ñ
)ó ð
)ð ñFó öFr(   rE   c                   ó6   a € ] tR tRt o R t]R 4       tRtV tR# )r\   i<  c           
     ó˜   € R V P                   P                   RV P                   RV P                  ;'       g    R R\	        V 4      R R2	# )r}   r~   z data/r�   r‚   rƒ   r„   )r†   r   rN   re   rˆ   r˜   s   &r)   r‰   ÚDataStream.__repr__?  sJ   € à�4—>‘>×*Ñ*Ð+¨2¨d¯j©j¨\¸Ø�y‰y×'Ð'˜KÐ(¨¬r°$«x¸¨l¸!ð=ð	
r(   c                ó°   € \         P                  ! V P                  P                  P                  4      pV\
        P                  8X  d   R # VP                  # ry   )r,   Úavcodec_descriptor_getrL   rR   Úcodec_idrA   rÂ   re   )rd   Údescs   & r)   re   ÚDataStream.nameE  sB   € ô ×&Ò& t§x¡x×'8Ñ'8×'AÑ'AÓBð 	ð ”6—;‘;ÔÙØ�y‰yÐr(   r   N)	r   r   r   r   r‰   rÈ   re   r'   rÉ   rÊ   s   @r)   r\   r\   <  s   ø‡ € ò
ð ñó ör(   r\   c                   óT   a € ] tR tRt o Rt]R 4       t]R 4       t]R 4       tRt	V t
R# )rZ   iO  z´
An :class:`AttachmentStream` represents a stream of attachment data within a media container.
Typically used to attach font files that are referenced in ASS/SSA Subtitle Streams.
c                ó8   € V P                   P                  R4      # )z>
Returns the file name of the attachment.

:rtype: str | None
Úfilenamer·   r˜   s   &r)   re   ÚAttachmentStream.nameW  rº   r(   c                ó8   € V P                   P                  R4      # )z>
Returns the MIME type of the attachment.

:rtype: str | None
Úmimetyper·   r˜   s   &r)   rØ   ÚAttachmentStream.mimetype`  rº   r(   c                ó"  € V P                   P                  P                  pV P                   P                  P                  pV\        P
                  8X  g   V^ 8:  d   R# \        V4      p\        V4       F  pW,          W4&   K  	  \        V4      # )z+Return the raw attachment payload as bytes.r(   )	rL   rR   Ú	extradataÚextradata_sizerA   rÂ   Ú	bytearrayÚrangeÚbytes)rd   rÛ   ÚsizeÚpayloadÚis   &    r)   ÚdataÚAttachmentStream.datai  so   € ð %)§H¡H×$5Ñ$5×$?Ñ$?ˆ	Ø"&§(¡(×"3Ñ"3×"BÑ"BˆØœŸ™Ô# t¨q¤yÙä˜D“/ˆÜ�t–ˆAØ"�ˆG‹Jñ ô �W‹~Ðr(   r   N)r   r   r   r   rÅ   rÈ   re   rØ   rã   r'   rÉ   rÊ   s   @r)   rZ   rZ   O  sF   ø‡ € ñð
 ñ-ó ð-ð ñ-ó ð-ð ñó ör(   rZ   )Úenumr   r   rA   Úcython.cimportsr   r,   Úcython.cimports.av.errorr   Úcython.cimports.av.indexr   Úcython.cimports.av.utilsr   r	   r
   r   r   r+   ÚdeclareÚobjectrV   rÆ   r_   ÚcclassrE   Úfinalr\   rZ   r   r(   r)   Ú<module>rî      sÞ   ðß !ã Ý (Ý .Ý 7÷ó ô�'ô ô,ˆgô ð  Ÿš¨±³Ó9Ð ð ‡�ô!ó ð!ðH ‡�÷aFð aFó ðaFðH ‡�Ø‡�ô�ó ó ó ðð" ‡�Ø‡�ô$�vó $ó ó ò$r(   