mbentley / docker-ums

Docker image for Universal Media Server (UMS)
24 stars 10 forks source link

Install mediainfo #21

Open thinkloop opened 7 months ago

thinkloop commented 7 months ago

Hello, I am getting "unseekable stream" trying to play some videos in VLC android. The web says I need to apt install mediainfo. Will that be accessible by the docker container? Or is there another way to do it?

Thank you.

mbentley commented 7 months ago

Which image/tag are you using?

thinkloop commented 7 months ago

I am using this:

  ums:
    container_name: ums
    image: mbentley/ums    
    restart: unless-stopped
    network_mode: host
    volumes:
      - /mnt/ephemeral/video:/media         
      - /mnt/docker-data/ums/UMS.conf:/opt/ums/UMS.conf
      - /mnt/docker-data/ums/data:/opt/ums/data
      - /mnt/docker-data/ums/database:/opt/ums/database
    ports:
      - "5001:5001"   
      - "9001:9001"         
    environment:
      - FOLDER=/media
      - PORT=5001
      - NETWORK_INTERFACE=eno2
      - SET_MEDIA_PERMISSIONS=true
      - FORCE_CHOWN=true
mbentley commented 7 months ago

Since you're running the latest version, it would be the 13-alpine Dockerfile. and mediainfo is already installed in the image: https://github.com/mbentley/docker-ums/blob/master/Dockerfile.13-alpine#L30C50-L30C59 so it must be something else - not really sure myself as I don't run UMS anymore but I still keep this image up to date.

thinkloop commented 7 months ago

Ok, thank you. It's not all the files, just a certain set, perhaps there is something strange with them. What are you running now?

mbentley commented 7 months ago

I tend to use mkvmerge -i <path to your media file> to look at the file info to see if there are patterns for the data track type in the media container to help with understanding if there is a limitation based on the track type, file type or the device. I used to run into that a lot where my TVs wouldn’t support certain file types or encodings. I now run Plex just because it has a much nicer looking user interface and I never have issues with unplayable files.