mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-08-09 23:50:40 +02:00
Prevent ffmpeg pipe probe deadlock
This commit is contained in:
@@ -149,6 +149,11 @@ regeneration. It centralizes container codecs, optional audio stream copying,
|
||||
metadata/chapter policy, encode-failure reporting, and atomic same-directory
|
||||
publication. Each mapped stream is allowed to reach its own end, so a copied
|
||||
audio tail is not shortened to the frame-input duration.
|
||||
Both the raw-BGR and timestamped-NUT stdin inputs disable ffmpeg probing before
|
||||
`pipe:0`: their format is already explicit, and ffmpeg 6 on Linux can otherwise
|
||||
wait for its normal analysis window while the producer blocks on a full pipe
|
||||
before the source-audio input opens. Command-order regressions cover both stdin
|
||||
modes; the real Linux full-clip CI job guards process completion.
|
||||
`probe_video_encode_profile` reads the first source video stream with ffprobe
|
||||
and preserves the supported properties that survive the 8-bit BGR boundary:
|
||||
`yuv420p`/`yuv422p`/`yuv444p` chroma sampling, recognized color tags, encoder
|
||||
|
||||
Reference in New Issue
Block a user