Jump to content

Docker w/ Traefik reverse proxy playback error


wreyna

Recommended Posts

Hello, I'm getting a playback error on Emby. I'm running it on Ubuntu 18.04 Server LTS in a docker container with Traefik. Here is the error:

2018-11-17 22:46:06.245 Info SubtitleEncoder: /bin/ffmpeg -i file:"/mnt/media/tv-shows/Impractical Jokers/Season 7/Impractical Jokers S07E01.mkv" -map 0:2 -an -vn -c:s copy "/config/data/subtitles/e/e9fd1b29-4ef2-2920-ca91-066a78c89027.srt"
2018-11-17 22:46:06.278 Error SubtitleEncoder: ffmpeg subtitle extraction failed for file:"/mnt/media/tv-shows/Impractical Jokers/Season 7/Impractical Jokers S07E01.mkv" to /config/data/subtitles/e/e9fd1b29-4ef2-2920-ca91-066a78c89027.srt
2018-11-17 22:46:06.295 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.5.3.0
	Command line: /system/EmbyServer.dll -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Unix 4.15.0.39
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /config
	Application directory: /system
	System.Exception: ffmpeg subtitle extraction failed for file:"/mnt/media/tv-shows/Impractical Jokers/Season 7/Impractical Jokers S07E01.mkv" to /config/data/subtitles/e/e9fd1b29-4ef2-2920-ca91-066a78c89027.srt
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(String[] inputFiles, MediaProtocol protocol, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, String[] inputFiles, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitleStream(MediaSourceInfo mediaSource, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	System.Exception
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(String[] inputFiles, MediaProtocol protocol, Int32 subtitleStreamIndex, String outputCodec, String outputPath, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, String[] inputFiles, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitleStream(MediaSourceInfo mediaSource, MediaStream subtitleStream, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)

This happens with all files. Here's my docker-compose.yml:

version: "3.6"

networks:
  proxy:
    external: true
  internal:
    external: false

services:

  emby:
    image: emby/embyserver
    volumes:
      - /config:/config
      - /media:/mnt/share1
    devices:
      - /dev/dri/renderD128
    ports:
      - 8096:8096
      - 8920:8920
    environment:
      - UID=1000
      - GID=100
      - GIDLIST=100
    labels:
      - traefik.backend=emby
      - traefik.frontend.rule=Host:emby.domain.com
      - traefik.docker.network=proxy
      - traefik.port=8096
    networks:
      - proxy
      - internal

I can send the full log if requested.

Thanks

 

edit: the srt file it's looking for doesn't exist. I tried refreshing the library but it didn't do anything :/

Edited by wreyna
Link to comment
Share on other sites

Hi there, please attach the complete emby server log.

 

You will want to make sure that your proxy isn't stripping off any http headers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...