• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Audio out of sync on Chrome, Edge and Firefox on Windows 11

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Audio out of sync on Chrome, Edge and Firefox on Windows 11

    cfcman
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #1
    2024-11-15, 04:29 PM
    From looking at Reddit it seems that this is not uncommon. Does anyone have a fix/workaround for the audio sync problem when viewing on a web browser on Windows 11? I've tried Chrome and Edge, and the audio is badly out of sync. I can't get playback to work at all on Firefox - just get a spinning wheel.

    I'm using then latest version of Jellyfin (as at 15/11/24) on Ubuntu 20.04.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-15, 04:50 PM
    Can you share your jellyfin logs via pastebin? And the media info for your videos? Does this happen with every video or just some?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    cfcman
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #3
    2024-11-15, 04:58 PM
    This happens for all media - e.g. recorded TV, downloaded media as well as live TV
    My logs are here:
    https://pastebin.com/jaXkUnYC
    https://pastebin.com/iwZu3ih8

    I'm not sure how to get media info from jellyfin??
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-15, 05:14 PM
    Are these all live TV recordings in TS containers?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    cfcman
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #5
    2024-11-15, 06:58 PM (This post was last modified: 2024-11-15, 06:59 PM by cfcman.)
    Yes that's right - some recorded using Jellyfin DVR and some on a Humax PVR.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-11-15, 07:29 PM
    The problem is two fold, they are in TS containers and they are transcoding when played back. TS containers are really not meant for playback. They can work fine some of the time, especially if they are direct played. This is the case for my recordings. But, often, when transcoding or remuxing TS recordings you can get these kinds of de-sync issues.

    What you can try to do is manually remux your videos into MP4. Do not overwrite the originals. We are just testing if this works.

    Code:
    /usr/lib/jellyfin-ffmpeg/ffmpeg -fflags +genpts+igndts -i "/path/to/video/ts" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled newFile.mp4

    Then add that new file to a test library and see if it plays ok.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    cfcman
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #7
    2024-11-15, 10:34 PM (This post was last modified: 2024-11-15, 10:40 PM by cfcman. Edited 1 time in total.)
    I don't have /usr/lib/jellyfin-ffmpeg/ffmpeg on my server - should that have been installed with Jellyfin?

    EDIT: I guess maybe because I'm running Jellyfin in a Docker container. Is there any way that I can access ffmpeg from within the container to do this conversion??
    cfcman
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #8
    2024-11-15, 10:52 PM
    Ok in the end I installed ffmpeg separately, and ran it. This is the log that it produced:

    ffmpeg -fflags +genpts+igndts -i "/media/barracuda4tb/Videos/TV/BBC London News; Weather/BBC London News; Weather 2024_11_15_13_35_00.ts" -map 0 -codec copy -max_muxing_queue_size 2048 -max_interleave_delta 0 -avoid_negative_ts disabled BBC_London_News_MP4.mp4
    ffmpeg version 4.2.7-0ubuntu0.1 Copyright © 2000-2022 the FFmpeg developers
    built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
    configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
    libavutil 56. 31.100 / 56. 31.100
    libavcodec 58. 54.100 / 58. 54.100
    libavformat 58. 29.100 / 58. 29.100
    libavdevice 58. 8.100 / 58. 8.100
    libavfilter 7. 57.100 / 7. 57.100
    libavresample 4. 0. 0 / 4. 0. 0
    libswscale 5. 5.100 / 5. 5.100
    libswresample 3. 5.100 / 3. 5.100
    libpostproc 55. 5.100 / 55. 5.100
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] SPS unavailable in decode_picture_timing
    [h264 @ 0x559110474840] non-existing PPS 0 referenced
    [h264 @ 0x559110474840] decode_slice_header error
    [h264 @ 0x559110474840] no frame!
    [mpegts @ 0x55911046f880] PES packet size mismatch
    [mpegts @ 0x55911046f880] Could not find codec parameters for stream 2 (Unknown: none ([17][0][0][0] / 0x0011)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x55911046f880] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x55911046f880] Could not find codec parameters for stream 5 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x55911046f880] Could not find codec parameters for stream 6 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [mpegts @ 0x55911046f880] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, mpegts, from '/media/barracuda4tb/Videos/TV/BBC London News; Weather/BBC London News; Weather 2024_11_15_13_35_00.ts':
    Duration: 00:11:59.26, start: 91204.192033, bitrate: 3546 kb/s
    Program 17536
    Stream #0:0[0x19c9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x19ca](eng): Audio: aac_latm (LC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    Stream #0:2[0x19ce](eng): Unknown: none ([17][0][0][0] / 0x0011) (visual impaired) (descriptions) (dependent)
    Stream #0:3[0x19cd](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:4[0x1c86]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:5[0x1c97]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:6[0x1bc4]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:7[0x1bc6]: Unknown: none ([5][0][0][0] / 0x0005)
    Cannot map stream #0:2 - unsupported type.
    If you want unsupported types ignored instead of failing, please use the -ignore_unknown option
    If you want them copied, please use -copy_unknown
    cfcman
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Nov
    Reputation: 0
    Country:United Kingdom
    #9
    2024-11-15, 11:04 PM
    Interestingly, Kodi is able to playback the same files without any issues, but I guess that's because the decoding is being done on the Kodi client?
    gnattu
    Offline

    Team Member

    Posts: 340
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #10
    2024-11-15, 11:08 PM
    LiveTV recorded files will have audio desynced after remuxing. A workaround is to disable prefer fmp4 container but that also means you loss HEVC and AV1
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode