mirror of
https://github.com/vladmandic/automatic
synced 2026-08-28 08:00:59 +02:00
506f5e1c29
relabel toggle to 'LTX save audio' (default true) since audio always generates on 2.x audio-capable models; the toggle gates mux only. hint added to locale_en.json. split add_audio_stream from write_audio. avformat_write_header runs on first container.mux() and freezes the stream set, so audio added after video packets has time_base=0/0 and raises 'Cannot rebase to zero time.' atomic_save_video registers the audio stream before the encode loop.