<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/tests/Jellyfin.Controller.Tests/MediaEncoding, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.b0n.dev/jellyfin/atom?h=master</id>
<link rel='self' href='https://git.b0n.dev/jellyfin/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/'/>
<updated>2026-06-21T07:43:31Z</updated>
<entry>
<title>Fix audio sample rate forced to 48 kHz for non-Opus codecs</title>
<updated>2026-06-21T07:43:31Z</updated>
<author>
<name>danne</name>
<email>danne.e85@gmail.com</email>
</author>
<published>2026-06-13T20:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=e4383493a96da86c99516bfdf69ecd609c2dfec2'/>
<id>urn:sha1:e4383493a96da86c99516bfdf69ecd609c2dfec2</id>
<content type='text'>
GetProgressiveAudioFullCommandLine applied the libopus-only sample rate
quantization to every codec except Opus, inverting the intended guard.
A requested rate such as 44100 Hz was therefore snapped to 48000 Hz for
AAC/MP3/FLAC, while Opus (which actually requires the quantization) was
skipped entirely.

Apply the quantization only when the output codec is Opus, and pass the
requested sample rate through unchanged for all other codecs.

Fixes #17026

Co-Authored-By: Claude Opus 4.8 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Fix A/V desync when resuming HLS with video transcode + audio copy (#16580)</title>
<updated>2026-05-28T17:26:28Z</updated>
<author>
<name>Piotr Niełacny</name>
<email>piotr.nielacny@gmail.com</email>
</author>
<published>2026-05-28T17:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=8d544e48424d9ddbb1f97d354ed6e6a3f749cbfb'/>
<id>urn:sha1:8d544e48424d9ddbb1f97d354ed6e6a3f749cbfb</id>
<content type='text'>
Fix A/V desync when resuming HLS with video transcode + audio copy</content>
</entry>
<entry>
<title>Use file-scoped namespace in EncodingHelperTests</title>
<updated>2026-05-19T11:03:07Z</updated>
<author>
<name>Piotr Niełacny</name>
<email>piotr.nielacny@gmail.com</email>
</author>
<published>2026-05-19T11:01:25Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=f6af1a9fb626e4a2f39f0caceebb590340d54c72'/>
<id>urn:sha1:f6af1a9fb626e4a2f39f0caceebb590340d54c72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Normalize VobSub .sub to .idx for embedding, add EncodingHelper tests</title>
<updated>2026-05-19T11:03:07Z</updated>
<author>
<name>Piotr Niełacny</name>
<email>piotr.nielacny@gmail.com</email>
</author>
<published>2026-03-24T13:26:25Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=405d987557b2638afc89edf3dff20360e39cb09a'/>
<id>urn:sha1:405d987557b2638afc89edf3dff20360e39cb09a</id>
<content type='text'>
Move the .sub to .idx path normalization outside the burn-in check so
it applies to subtitle embedding as well. ffmpeg requires the .idx file
to read VobSub subtitles.

Add unit tests for GetMapArgs and GetInputArgument covering internal
subs, external SRT, multi-file SRT, multi-stream MKS containers, and
VobSub .sub/.idx path normalization.
</content>
</entry>
<entry>
<title>Fix external subtitle stream mapping for multi-stream containers</title>
<updated>2026-05-19T11:03:07Z</updated>
<author>
<name>Piotr Niełacny</name>
<email>piotr.nielacny@gmail.com</email>
</author>
<published>2026-03-24T10:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=a15b426e73afb46d7337b98f8279e83847e20f2d'/>
<id>urn:sha1:a15b426e73afb46d7337b98f8279e83847e20f2d</id>
<content type='text'>
Compute the in-file stream index for external subtitles instead of
hardcoding -map 1:0. For single-stream files (SRT/ASS/VTT) the index
is always 0, preserving existing behavior. For multi-stream containers
like MKS, the correct track is selected by counting sibling streams
that share the same Path.

Add unit tests for GetMapArgs covering internal subs, external SRT,
multiple external files, and multi-stream MKS containers.
</content>
</entry>
</feed>
