jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.11k stars 312 forks source link

Audio Track changes back to default when auto playing #407

Open memetrusidovski opened 1 year ago

memetrusidovski commented 1 year ago

When using the MacOS 1.9 edition and switching the language audio it will switch back to the default one when you go to the next episode. for example if I watch something with Japanese and English audio tracks, If I set it to English and Japanese is the first option when the next episode starts it switches back to Japanese

iwalton3 commented 1 year ago

It does try to keep the same tracks selected, but it looks for more than the same audio language. I believe it requires some other property to match like the track index or title of the subtitles.

The log may contain more details

Henkow commented 12 months ago

I have the same issue. The "correct" audio track is still selected in the GUI but the default audio track is playing. However, I've noticed that if I start on the secondary track it's maintained, but if I switch to the default track during playback it will stick for the next episode even if I switch back to the secondary track. So it appears the default track is locked "forever" once it's selected.

ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 57. 28.100 / 57. 28.100 libavcodec 59. 37.100 / 59. 37.100 libavformat 59. 27.100 / 59. 27.100 libavdevice 59. 7.100 / 59. 7.100 libavfilter 8. 44.100 / 8. 44.100 libswscale 6. 7.100 / 6. 7.100 libswresample 4. 7.100 / 4. 7.100 libpostproc 56. 6.100 / 56. 6.100 Input #0, mpeg, from 'file:/data/tv_shows/"random show"/Season 1/s01e08.VOB': Duration: 00:22:48.29, start: 0.060000, bitrate: 2721 kb/s Stream #0:0[0x1bf]: Data: dvd_nav_packet Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 7000000/0/0 buffer size: 1835008 vbv_delay: N/A Stream #0:2[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s Stream #0:3[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s Stream mapping: Stream #0:1 -> #0:0 (mpeg2video (native) -> h264 (libx264)) Stream #0:2 -> #0:1 (ac3 (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [libx264 @ 0x55567af83940] using SAR=16/15 [libx264 @ 0x55567af83940] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x55567af83940] profile Main, level 3.1, 4:2:0, 8-bit [libx264 @ 0x55567af83940] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=5443 vbv_bufsize=10886 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 Output #0, hls, to '/transkod/eabc01cee23ac122a3d8b81e5c6b5d62.m3u8': Metadata: encoder : Lavf59.27.100 Stream #0:0: Video: h264, yuv420p(tv, bt709, progressive), 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 fps, 90k tbn Metadata: encoder : Lavc59.37.100 libx264 Side data: cpb: bitrate max/min/avg: 5443000/0/0 buffer size: 10886000 vbv_delay: N/A Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 256 kb/s Metadata: encoder : Lavc59.37.100 libfdk_aac

Gnarflord commented 4 months ago

I have a similiar issue:

  1. Japanese is the default, I select the english audio for the current episode
  2. Next episode starts playing in japanese again, even though the GUI says that the english track is playing!
  3. I have to switch from the "faulty" english track to japanese and back again. Only then does finally english audio play
kamte commented 3 months ago

Any updates on this? It becomes quite an annoying issue quickly

julian100004 commented 2 months ago

+1