• 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 General Questions Comskip in Jellyfin on Docker

     
    • 0 Vote(s) - 0 Average

    Comskip in Jellyfin on Docker

    finicky6457
    Offline

    Junior Member

    Posts: 29
    Threads: 5
    Joined: 2024 Oct
    Reputation: 1
    Country:United States
    #1
    2024-11-19, 11:21 PM
    I'm running Jellyfin 10.10.2 in a Docker instance on Ubuntu and I'm trying out commercial skipping using Comskip. The issue I have is that comskip runs correctly on the host but in the Docker container I get the error:

    Code:
    ./comskip: error while loading shared libraries: libargtable2.so.0: cannot open shared object file: No such file or directory

    I've read that you can include libraries in your Docker container but you must do this when the container is created. Is there any other way to share the library with the container?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 16,276
    Threads: 11
    Joined: 2023 Jun
    Reputation: 485
    Country:United States
    #2
    2024-11-20, 01:45 AM
    If you have that library on your host disk, you could try passing it into the container, like you would your media.
    Jellyfin 12.1 (Docker)
    Debian 13 w/Xanmod amd64v3 LTS kernel
    AMD Ryzen 5500 w/32GB DDR4
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    ZFS Storage pool
        vdev1 - 6x WD Red Pro 6TB CMR in RAIDZ1
        vdev2 - 3x WD Red Pro 18TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    finicky6457
    Offline

    Junior Member

    Posts: 29
    Threads: 5
    Joined: 2024 Oct
    Reputation: 1
    Country:United States
    #3
    2024-11-27, 05:38 PM
    (2024-11-20, 01:45 AM)TheDreadPirate Wrote: If you have that library on your host disk, you could try passing it into the container, like you would your media.

    Thanks! I was able to get it working by doing exactly this. If it helps others, here's the steps I followed:
    • In the persistent volume, I added a new directory, "libs". This maps to /config/libs/ in the docker container.
    • In the Docker container settings, added this value: LD_LIBRARY_PATH=/config/libs/. I verified the setting in the Docker container by running: env | grep LD_LIBRARY_PATH
    • I ran comskip in the container and checked which libraries were missing. I copied the missing libraries to libs/. 
    • To save you time, following libraries were copied to the /config/libs/:
    • libaom.so.0
      libcodec2.so.0.9
      libglib-2.0.so.0.6400.6
      libharfbuzz.so.0
      libshine.so.3.0.1
      libthai.so.0.3.1
      libwavpack.so.1
      libargtable2.so
      libdatrie.so.1
      libgme.so.0
      libharfbuzz.so.0.20600.4
      libsnappy.so.1
      libtwolame.so.0
      libwavpack.so.1.2.1
      libargtable2.so.0
      libdatrie.so.1.3.5
      libgme.so.0.6.2
      libopenjp2.so.7
      libsnappy.so.1.1.8
      libtwolame.so.0.0.0
      libwebp.so.6
      libargtable2.so.0.1.8
      libdrm.so.2
      libgmodule-2.0.so.0
      libpango-1.0.so.0
      libsoxr.so.0
      libva-drm.so.2
      libwebp.so.6.0.2
      libavcodec.so.58
      libdrm.so.2.4.0
      libgmodule-2.0.so.0.6400.6
      libpango-1.0.so.0.4400.7
      libsoxr.so.0.1.2
      libva-drm.so.2.700.0
      libx264.so.155
      libavcodec.so.58.54.100
      libffi.so.7
      libgobject-2.0.so.0
      libpangocairo-1.0.so.0
      libspeex.so.1
      libva.so.2
      libx265.so.179
      libavformat.so.58
      libffi.so.7.1.0
      libgobject-2.0.so.0.6400.6
      libpangocairo-1.0.so.0.4400.7
      libspeex.so.1.5.0
      libva.so.2.700.0
      libXfixes.so.3
      libavformat.so.58.29.100
      libfribidi.so.0
      libgomp.so.1
      libpangoft2-1.0.so.0
      libssh-gcrypt.so.4
      libva-x11.so.2
      libXfixes.so.3.1.0
      libavutil.so.56
      libfribidi.so.0.4.0
      libgomp.so.1.0.0
      libpangoft2-1.0.so.0.4400.7
      libssh-gcrypt.so.4.8.4
      libva-x11.so.2.700.0
      libxvidcore.so.4
      libavutil.so.56.31.100
      libgdk_pixbuf-2.0.so.0
      libgraphite2.so.2.0.0
      libpcre.so.3
      libswresample.so.3
      libvdpau.so.1
      libxvidcore.so.4.3
      libcairo-gobject.so.2
      libgdk_pixbuf-2.0.so.0.4000.0
      libgraphite2.so.3
      libpcre.so.3.13.3
      libswresample.so.3.5.100
      libvdpau.so.1.0.0
      libcairo-gobject.so.2.11600.0
      libgio-2.0.so.0
      libgraphite2.so.3.2.1
      librsvg-2.so.2
      libswscale.so.5
      libvpx.so.6
      libchromaprint.so.1
      libgio-2.0.so.0.6400.6
      libgsm.so.1
      librsvg-2.so.2.47.0
      libswscale.so.5.5.100
      libvpx.so.6.2
      libchromaprint.so.1.4.3
      libglib-2.0.so.0
      libgsm.so.1.0.18
      libshine.so.3
      libthai.so.0
      libvpx.so.6.2.0

    Now comskip and comcut are working!
    lakestonelabs
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2026 Mar
    Reputation: 0
    Country:United States
    #4
    2026-03-28, 04:57 AM (This post was last modified: 2026-03-28, 05:01 AM by lakestonelabs. Edited 1 time in total.)
    I'd recommend my new project ComGone. It removes commercials, has prebuilt docker containers, and uses Comskip under the hood. Check it if you're interested: https://forum.jellyfin.org/t-new-alterna...al-removal
    « 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