An attachment is read from a rip's folder, not its concat list #45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An attachment is pulled out of a rip through the folder it lives in, where
upstream reads it out of the concat list.
TranscodeManagerpicks the input by video type before it extracts(
TranscodeManager.cs:401):so a rip's fonts come out of the list of files that play it, and only a plain
file is read through its own path. This port passes the source's own path for
both, which for a rip is a directory ffmpeg cannot open.
Subtitles are not affected:
SubtitleEncoderreadsmediaSource.Pathwhateverthe video type is, which is what this port already does.
Blocked on #43 — there is no list to read until one is written.
The
.concatbranch already incrates/jellyfin-encoding/src/attachment.rsisunreachable until this is fixed, so whatever it does is unmeasured.
Only reached when a subtitle is burned in, which needs a rip carrying a
subtitle stream. Neither library here has one, so this is read from upstream
rather than seen.
A rip's fonts now come out of the list of the files that play it.
TranscodeManagerpicks the extraction's input by video type before itextracts, and only a plain file is read through its own path. This server
passed the source path either way, which for a rip is a directory ffmpeg
cannot open — so a burned-in subtitle on a rip lost every font in it.
That also reaches the
.concatbranch the attachment builder already carried,which nothing could hand a list to until now. Upstream spots the list the same
way, by the suffix on the input path.
Subtitles are unchanged:
SubtitleEncoderreads the source's own path whateverthe video type is, which is what this already did.
The test covers the wiring rather than the argument builder — pointing the
extraction back at the source path fails it. A test on the builder alone passed
either way, which is no test at all.
Still unmeasured, and unmeasurable here: this path is only reached when a
subtitle is burned into a rip, and neither library holds a rip at all, let alone
one carrying a subtitle stream. The corpus cannot see it either, its generator
refusing a folder source. Read from upstream and asserted by hand.