jellyfin / jellyfin

The Free Software Media System
https://jellyfin.org
GNU General Public License v2.0
33.36k stars 3.04k forks source link

[Issue]: file always being transcoded for audio channels #7880

Closed antipiot closed 1 year ago

antipiot commented 2 years ago

When playing a media, i'ts now being always transcoded for audio. I feel this is due to some changes made to match the transcoded channel to the player audio channels.

This prevents a lot of files to be directly played, wich consume ressources and delay the stream play.

This was not the case under Jellyfin 10.7 and never leaded to any problems on all my clients.

Is there any informations about the intentions behind this? Is there a way to avoid the files being transcoded just for audio channel layout related things?

Thanks to every Jellyfin contributors!

Jellyfin Version

10.8.0

if other:

No response

Environment

No response

Jellyfin logs

"/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -fflags +genpts  -i file:\"/media/films/The Unbearable Weight of Massive Talent (2022)/The Unbearable Weight of Massive Talent (2022).mkv\" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -start_at_zero -codec:a:0 libfdk_aac -ac 2 -ab 384000 -ar 48000 -af \"volume=2\" -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_segment_filename \"/transcodes/51424adcee47c049c92f786ab9e07d78%d.ts\" -hls_playlist_type vod -hls_list_size 0 -y \"/transcodes/51424adcee47c049c92f786ab9e07d78.m3u8\""

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

aeg1990 commented 2 years ago

I too have this error. A temporary fix is to have two accounts one for direct play and one for transcoding. I disable all transcoding for the one user and the other it is left enabled. It can be adjusted in the user settings (admin panel). I found when transcoding is enabled and watching dolby vision stuff and true hd is an option, it transcodes the audio and then transcodes the video. When I switch to a lower quality audio it has no issues playing dolby vision or the audio with direct play. But as I said the fix was to disable video/audio muxing and transcoding. Which means if you want transcoding ever you have to reenable it or in my case have two users.

jellyfin-bot commented 1 year ago

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.