Bump av to 19.0.0 (#183912)

This commit is contained in:
Claire Novotny
2026-10-05 11:54:39 +00:00
committed by Franck Nijhof
parent 3213b6e09e
commit 692bd453cf
6 changed files with 10 additions and 10 deletions
@@ -7,5 +7,5 @@
"documentation": "https://www.home-assistant.io/integrations/generic",
"integration_type": "device",
"iot_class": "local_push",
"requirements": ["av==17.0.1", "Pillow==12.3.0"]
"requirements": ["av==19.0.0", "Pillow==12.3.0"]
}
@@ -7,5 +7,5 @@
"integration_type": "system",
"iot_class": "local_push",
"quality_scale": "internal",
"requirements": ["PyTurboJPEG==1.8.3", "av==17.0.1", "numpy==2.3.2"]
"requirements": ["PyTurboJPEG==1.8.3", "av==19.0.0", "numpy==2.3.2"]
}
+3 -3
View File
@@ -110,7 +110,7 @@ class RecorderOutput(StreamOutput):
# Create output on first segment
if not output:
container_options: dict[str, str] = {
"video_track_timescale": str(int(1 / source_v.time_base)), # type: ignore[operator]
"video_track_timescale": str(int(1 / source_v.time_base)),
"movflags": "frag_keyframe+empty_moov",
"min_frag_duration": str(self.stream_settings.min_segment_duration),
}
@@ -133,12 +133,12 @@ class RecorderOutput(StreamOutput):
last_stream_id = segment.stream_id
pts_adjuster["video"] = int(
(running_duration - source.start_time)
/ (av.time_base * source_v.time_base) # type: ignore[operator]
/ (av.time_base * source_v.time_base)
)
if source_a:
pts_adjuster["audio"] = int(
(running_duration - source.start_time)
/ (av.time_base * source_a.time_base) # type: ignore[operator]
/ (av.time_base * source_a.time_base)
)
# Remux video
+3 -3
View File
@@ -197,7 +197,7 @@ class StreamMuxer:
# in test_durations
"avoid_negative_ts": "make_non_negative",
"fragment_index": str(sequence + 1),
"video_track_timescale": str(int(1 / input_vstream.time_base)), # type: ignore[operator]
"video_track_timescale": str(int(1 / input_vstream.time_base)),
# Only do extra fragmenting if we are using ll_hls
# Let ffmpeg do the work using frag_duration
# Fragment durations may exceed the 15% allowed variance but it seems ok
@@ -669,8 +669,8 @@ def stream_worker(
stream_state.diagnostics.set_value("audio_codec", audio_stream.name)
dts_validator = TimestampValidator(
int(1 / video_stream.time_base), # type: ignore[operator]
int(1 / audio_stream.time_base) if audio_stream else 1, # type: ignore[operator]
int(1 / video_stream.time_base),
int(1 / audio_stream.time_base) if audio_stream else 1,
)
unvalidated_packets = PeekIterator(container.demux((video_stream, audio_stream)))
container_packets = PeekIterator(
+1 -1
View File
@@ -17,7 +17,7 @@ async-upnp-client==0.48.2
atomicwrites-homeassistant==1.4.1
attrs==26.1.0
audioop-lts==0.2.2
av==17.0.1
av==19.0.0
awesomeversion==25.8.0
bcrypt==5.0.0
bleak-retry-connector==4.7.1
+1 -1
View File
@@ -625,7 +625,7 @@ autoskope_client==1.4.1
# homeassistant.components.generic
# homeassistant.components.stream
av==17.0.1
av==19.0.0
# homeassistant.components.avea
avea==1.8.0