Aufnahme: select=noaudio fuer display-dst

This commit is contained in:
dimedtec 2026-05-21 23:34:08 +02:00
parent 2ac99425af
commit 282e5c3f5a

View file

@ -722,14 +722,12 @@ public partial class MainWindow : Window
// #duplicate: gleichzeitig Display (Abspielen) UND File (Aufnahme)
_player.Stop();
// sout-duplicate: display (Liveanzeige) + file (Aufnahme)
// --no-sout-audio: sout gibt Audio NICHT nochmals aus (verhindert Hall durch doppelten Output)
// Audio kommt nur vom normalen Decoder-Pfad
var sout = $":sout=#duplicate{{dst=display,dst=std{{access=file,mux=ts,dst={filePath}}}}}";
// sout-duplicate: display nur Video (kein Audio via sout-Pfad!), file bekommt alles
// Audio laeuft separat ueber den normalen Decoder-Pfad -> kein Hall
var sout = $":sout=#duplicate{{dst=display{{select=noaudio}},dst=std{{access=file,mux=ts,dst={filePath}}}}}";
var media = new Media(_libVLC!, new Uri(_currentChannel.Url),
sout,
":sout-keep",
"--no-sout-audio",
"--network-caching=1000",
"--no-video-title-show",
"--no-osd",