Skip to content

Commit e85dd45

Browse files
committed
Apply audio resample filter correctly
1 parent 5c4382a commit e85dd45

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ac_training_lab/picam/device.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ def start_stream(ffmpeg_url, stream_key):
232232
"lavfi",
233233
"-i",
234234
"anullsrc=channel_layout=stereo:sample_rate=44100",
235-
"-af",
236-
"aresample=async=1:first_pts=0",
237235
]
238236
+ input_opts
239237
+ [
238+
"-filter:a",
239+
"aresample=async=1:first_pts=0",
240240
"-c:v",
241241
"libx264",
242242
"-preset",

0 commit comments

Comments
 (0)