Skip to content

Commit 5c4382a

Browse files
committed
Stabilize audio timestamps
1 parent 1f45468 commit 5c4382a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ac_training_lab/picam/device.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ 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",
235237
]
236238
+ input_opts
237239
+ [

0 commit comments

Comments
 (0)