Video and audio is mismatched on playback #686

Closed
opened 2026-02-06 19:59:35 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @hrvstr on GitHub (May 13, 2019).

Describe the bug
When playing back certain items from my library the correct video will start but the audio track of another library item is being played back. This does only happen for some items, most work fine. I tried several clients: Jellyfin for Kodi, AndroidTV client and Web UI/Browser.

E.g. Library has "Movie A" and "Movie B" - play "Movie A" - video will be "Movie A" but with the audio track of "Movie B".

To Reproduce
Not really reproducable without sending the media files in question. I noticed in the logs that Jellyfin remuxes the media files on playback so I think that is where the bug is comming from.

Expected behavior

Logs

[2019-05-13 14:21:56.322 +02:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:00:30.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 6 -segment_time_delta -30 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 5 -segment_list "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8" -y "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3%d.ts"
[2019-05-13 14:21:57.454 +02:00] [WRN] HTTP Response 500 to "192.168.178.31". Time (slow): 0:00:01.1638679. "http://dietpi:8096/emby/videos/03c76305-3f23-3df5-bda1-2ecc921c5822/hls1/main/5.ts?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzEyLjAuMyBTYWZhcmkvNjA1LjEuMTV8MTU0OTk2OTYzMjg3MA11&MediaSourceId=03c763053f233df5bda12ecc921c5822&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=a3ad5830411f4356b4322e9ff52f2477&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=c2a9e5778614597fbd27380daffa1896&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported"
[2019-05-13 14:21:57.456 +02:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8"
[2019-05-13 14:21:57.551 +02:00] [INF] FFMpeg exited with code 0
[2019-05-13 14:21:57.553 +02:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8"
[2019-05-13 14:21:59.133 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.3.2" playing "Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)". Stopped at "40128" ms
[2019-05-13 14:21:59.147 +02:00] [WRN] HTTP Response 204 to "192.168.178.31". Time (slow): 0:00:01.8370021. "http://dietpi:8096/emby/Sessions/Playing/Stopped"
[2019-05-13 14:21:59.217 +02:00] [INF] Playback Stopped
http://dietpi:8096/emby/videos/03c76305-3f23-3df5-bda1-2ecc921c5822/hls1/main/5.ts?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzEyLjAuMyBTYWZhcmkvNjA1LjEuMTV8MTU0OTk2OTYzMjg3MA11&MediaSourceId=03c763053f233df5bda12ecc921c5822&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=a3ad5830411f4356b4322e9ff52f2477&api_key=b08afda06f8748f696004614d9a11edb&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=c2a9e5778614597fbd27380daffa1896&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported

{"Protocol":"File","Id":"03c763053f233df5bda12ecc921c5822","Path":"/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv","Type":"Default","Container":"mkv,webm","Size":952566016,"Name":"Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)","IsRemote":false,"ETag":"c2a9e5778614597fbd27380daffa1896","RunTimeTicks":35180158976,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/1000","CodecTimeBase":"1/50","VideoRange":"SDR","DisplayTitle":"720P H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":2166143,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41},{"Codec":"aac","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Eng AAC stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":2358143,"RequiredHttpHeaders":{}}

/usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:00:30.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 6 -segment_time_delta -30 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 5 -segment_list "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8" -y "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3%d.ts"


ffmpeg version 4.0.4 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18) 20170516
  configuration: --toolchain=hardened --prefix=/usr --target-os=linux --enable-cross-compile --extra-cflags=--static --enable-gpl --enable-static --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-omx --enable-omx-rpi --enable-version3 --enable-vaapi --enable-vdpau --enable-cross-compile --cross-prefix=/usr/bin/arm-linux-gnueabihf- --arch=armhf
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, matroska,webm, from 'file:/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv':
  Metadata:
    encoder         : libebml v1.3.5 + libmatroska v1.4.8
    creation_time   : 2019-04-01T21:30:57.000000Z
  Duration: 00:58:38.02, start: 0.000000, bitrate: 2166 kb/s
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/unknown/unknown, progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
    Metadata:
      BPS-eng         : 2135207
      DURATION-eng    : 00:56:01.200000000
      NUMBER_OF_FRAMES-eng: 84030
      NUMBER_OF_BYTES-eng: 897107372
      _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-04-01 21:30:57
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
    Metadata:
      BPS-eng         : 123874
      DURATION-eng    : 00:58:38.016000000
      NUMBER_OF_FRAMES-eng: 164907
      NUMBER_OF_BYTES-eng: 54474213
      _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-04-01 21:30:57
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help

System (please complete the following information):

  • OS: Debian (Raspian/DietPi)
  • Browser: Safari
  • Jellyfin Version: 10.3.2
  • Reverse proxy: no

Video

  • Title: 720P H264
  • Codec: H264
  • AVC: Yes
  • Profil: High
  • Level: 41
  • Auflösung: 1280x720
  • Seitenverhältnis: 16:9
  • Interlaced/Zeilensprungverfahren: No
  • Bildrate:25
  • Bitrate: 2166 kbps
  • Bit-Tiefe: 8 bit
  • Pixelformat: yuv420p
  • Ref Frames: 1
  • NAL: 4

Audio

  • Title: Eng AAC stereo Default
  • Sprache: eng
  • Codec: AAC
  • Profil: LC
  • Darstellung: stereo
  • Kanäle: 2 ch
  • Bitrate: 192 kbps
  • Sample-Rate: 48000 Hz
  • Voreinstellung: Yes
  • Container: mkv
Originally created by @hrvstr on GitHub (May 13, 2019). **Describe the bug** When playing back certain items from my library the correct video will start but the audio track of another library item is being played back. This does only happen for some items, most work fine. I tried several clients: Jellyfin for Kodi, AndroidTV client and Web UI/Browser. E.g. Library has "Movie A" and "Movie B" - play "Movie A" - video will be "Movie A" but with the audio track of "Movie B". **To Reproduce** Not really reproducable without sending the media files in question. I noticed in the logs that Jellyfin remuxes the media files on playback so I think that is where the bug is comming from. **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> **Logs** ```` [2019-05-13 14:21:56.322 +02:00] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:00:30.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 6 -segment_time_delta -30 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 5 -segment_list "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8" -y "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3%d.ts" [2019-05-13 14:21:57.454 +02:00] [WRN] HTTP Response 500 to "192.168.178.31". Time (slow): 0:00:01.1638679. "http://dietpi:8096/emby/videos/03c76305-3f23-3df5-bda1-2ecc921c5822/hls1/main/5.ts?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzEyLjAuMyBTYWZhcmkvNjA1LjEuMTV8MTU0OTk2OTYzMjg3MA11&MediaSourceId=03c763053f233df5bda12ecc921c5822&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=a3ad5830411f4356b4322e9ff52f2477&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=c2a9e5778614597fbd27380daffa1896&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported" [2019-05-13 14:21:57.456 +02:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8" [2019-05-13 14:21:57.551 +02:00] [INF] FFMpeg exited with code 0 [2019-05-13 14:21:57.553 +02:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8" [2019-05-13 14:21:59.133 +02:00] [INF] Playback stopped reported by app "Jellyfin Web" "10.3.2" playing "Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)". Stopped at "40128" ms [2019-05-13 14:21:59.147 +02:00] [WRN] HTTP Response 204 to "192.168.178.31". Time (slow): 0:00:01.8370021. "http://dietpi:8096/emby/Sessions/Playing/Stopped" [2019-05-13 14:21:59.217 +02:00] [INF] Playback Stopped ```` ```` http://dietpi:8096/emby/videos/03c76305-3f23-3df5-bda1-2ecc921c5822/hls1/main/5.ts?DeviceId=TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTNfNikgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzEyLjAuMyBTYWZhcmkvNjA1LjEuMTV8MTU0OTk2OTYzMjg3MA11&MediaSourceId=03c763053f233df5bda12ecc921c5822&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=a3ad5830411f4356b4322e9ff52f2477&api_key=b08afda06f8748f696004614d9a11edb&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=c2a9e5778614597fbd27380daffa1896&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported {"Protocol":"File","Id":"03c763053f233df5bda12ecc921c5822","Path":"/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv","Type":"Default","Container":"mkv,webm","Size":952566016,"Name":"Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)","IsRemote":false,"ETag":"c2a9e5778614597fbd27380daffa1896","RunTimeTicks":35180158976,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/1000","CodecTimeBase":"1/50","VideoRange":"SDR","DisplayTitle":"720P H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":2166143,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41},{"Codec":"aac","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Eng AAC stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":2358143,"RequiredHttpHeaders":{}} /usr/lib/jellyfin-ffmpeg/ffmpeg -ss 00:00:30.000 -fflags +genpts -noaccurate_seek -f matroska,webm -i file:"/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 6 -segment_time_delta -30 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 5 -segment_list "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3.m3u8" -y "/var/lib/jellyfin/transcoding-temp/eab21c8c34c3e564b512518eb052b8c3%d.ts" ffmpeg version 4.0.4 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18) 20170516 configuration: --toolchain=hardened --prefix=/usr --target-os=linux --enable-cross-compile --extra-cflags=--static --enable-gpl --enable-static --disable-doc --disable-ffplay --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libzvbi --enable-omx --enable-omx-rpi --enable-version3 --enable-vaapi --enable-vdpau --enable-cross-compile --cross-prefix=/usr/bin/arm-linux-gnueabihf- --arch=armhf libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 Input #0, matroska,webm, from 'file:/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv': Metadata: encoder : libebml v1.3.5 + libmatroska v1.4.8 creation_time : 2019-04-01T21:30:57.000000Z Duration: 00:58:38.02, start: 0.000000, bitrate: 2166 kb/s Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/unknown/unknown, progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Metadata: BPS-eng : 2135207 DURATION-eng : 00:56:01.200000000 NUMBER_OF_FRAMES-eng: 84030 NUMBER_OF_BYTES-eng: 897107372 _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-04-01 21:30:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: BPS-eng : 123874 DURATION-eng : 00:58:38.016000000 NUMBER_OF_FRAMES-eng: 164907 NUMBER_OF_BYTES-eng: 54474213 _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-04-01 21:30:57 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help ```` **System (please complete the following information):** - OS: Debian (Raspian/DietPi) - Browser: Safari - Jellyfin Version: 10.3.2 - Reverse proxy: no **Video** - Title: 720P H264 - Codec: H264 - AVC: Yes - Profil: High - Level: 41 - Auflösung: 1280x720 - Seitenverhältnis: 16:9 - Interlaced/Zeilensprungverfahren: No - Bildrate:25 - Bitrate: 2166 kbps - Bit-Tiefe: 8 bit - Pixelformat: yuv420p - Ref Frames: 1 - NAL: 4 **Audio** - Title: Eng AAC stereo Default - Sprache: eng - Codec: AAC - Profil: LC - Darstellung: stereo - Kanäle: 2 ch - Bitrate: 192 kbps - Sample-Rate: 48000 Hz - Voreinstellung: Yes - Container: mkv
OVERLORD added the backendbug labels 2026-02-06 19:59:35 +03:00
Author
Owner

@oddstr13 commented on GitHub (Jun 16, 2019):

Can you please verify that playing the video file in question via a stand-alone video player (such as VLC) does not show this problem?

@oddstr13 commented on GitHub (Jun 16, 2019): Can you please verify that playing the video file in question via a stand-alone video player (such as VLC) does not show this problem?
Author
Owner

@sparky8251 commented on GitHub (Jun 25, 2019):

We need oddstr13's question answered before we can proceed further. If not, we will have to close this issue.

@sparky8251 commented on GitHub (Jun 25, 2019): We need oddstr13's question answered before we can proceed further. If not, we will have to close this issue.
Author
Owner

@hrvstr commented on GitHub (Jun 26, 2019):

Sorry for the late reply. I just checked again and it's still present in 10.3.5.

The file plays back fine (correct video and audio) when I open it directly from the HDD with IINA or VLC. When I play it back via the Jellyfin Web Interface or Jellyfin for Kodi the audio is from a tv show from my library. It seems that it's always the same tv show.

@hrvstr commented on GitHub (Jun 26, 2019): Sorry for the late reply. I just checked again and it's still present in 10.3.5. The file plays back fine (correct video and audio) when I open it directly from the HDD with IINA or VLC. When I play it back via the Jellyfin Web Interface or Jellyfin for Kodi the audio is from a tv show from my library. It seems that it's always the same tv show.
Author
Owner

@sparky8251 commented on GitHub (Jun 26, 2019):

Not a problem! Thanks for the confirmation. Hopefully we can address this soon.

@sparky8251 commented on GitHub (Jun 26, 2019): Not a problem! Thanks for the confirmation. Hopefully we can address this soon.
Author
Owner

@stale[bot] commented on GitHub (Sep 24, 2019):

Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (Sep 24, 2019): Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on [Matrix or Social Media](https://jellyfin.readthedocs.io/en/latest/getting-help/).
Author
Owner

@anthonylavado commented on GitHub (Sep 29, 2019):

Shoo bot

@anthonylavado commented on GitHub (Sep 29, 2019): Shoo bot
Author
Owner

@JustAMan commented on GitHub (Oct 10, 2019):

I am somewhat sorry to mis-believe you (or, rather, I don't think you're interpreting what you're experiencing correctly) but I have seen some parts of the code inside out, and it's just not possible for it to do what you say.
For ffmpeg to make something, it needs to read from input, and for remuxing it uses single file as input. According to your logs, ffmpeg is remuxing "/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv".

Might it be so by any chance that you have more than one tab open, and "movie B" is being played back in parallel?

@JustAMan commented on GitHub (Oct 10, 2019): I am somewhat sorry to mis-believe you (or, rather, I don't think you're interpreting what you're experiencing correctly) but I have seen some parts of the code inside out, and it's just not possible for it to do what you say. For ffmpeg to make something, it needs to read from input, and for remuxing it uses single file as input. According to your logs, ffmpeg is remuxing "/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv". Might it be so by any chance that you have more than one tab open, and "movie B" is being played back in parallel?
Author
Owner

@hrvstr commented on GitHub (Oct 10, 2019):

Sorry, I just checked the file again and the audio mismatched inside the file itself. I might had a correct version at some point. What got me confused was that I have the the source of the audio in my library as well but I did not convert it myself.

@hrvstr commented on GitHub (Oct 10, 2019): Sorry, I just checked the file again and the audio mismatched inside the file itself. I might had a correct version at some point. What got me confused was that I have the the source of the audio in my library as well but I did not convert it myself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#686