mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-08 17:50:15 +08:00
Add ffmpeg async option for HomeKit audio
This commit is contained in:
@@ -58,3 +58,4 @@
|
|||||||
- https://github.com/leandromoreira/ffmpeg-libav-tutorial
|
- https://github.com/leandromoreira/ffmpeg-libav-tutorial
|
||||||
- https://www.reddit.com/user/VeritablePornocopium/comments/okw130/ffmpeg_with_libfdk_aac_for_windows_x64/
|
- https://www.reddit.com/user/VeritablePornocopium/comments/okw130/ffmpeg_with_libfdk_aac_for_windows_x64/
|
||||||
- https://slhck.info/video/2017/02/24/vbr-settings.html
|
- https://slhck.info/video/2017/02/24/vbr-settings.html
|
||||||
|
- [HomeKit audio samples problem](https://superuser.com/questions/1290996/non-monotonous-dts-with-igndts-flag)
|
||||||
|
@@ -115,6 +115,10 @@ func Init() {
|
|||||||
input = strings.Replace(tpl["file"], "{input}", s, 1)
|
input = strings.Replace(tpl["file"], "{input}", s, 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if _, ok := query["async"]; ok {
|
||||||
|
input = "-use_wallclock_as_timestamps 1 -async 1 " + input
|
||||||
|
}
|
||||||
|
|
||||||
s = cmd + input
|
s = cmd + input
|
||||||
|
|
||||||
if query != nil {
|
if query != nil {
|
||||||
|
Reference in New Issue
Block a user