Jump to content

Troubleshooting error in playback -


mediainsurgence

Recommended Posts

mediainsurgence

Platform Information:

EmbyServer
Version 4.7.14.0
Paths
Program Data/var/lib/emby
Cache/var/lib/emby/cache
Metadata/var/lib/emby/metadata
Logs/var/lib/emby/logs
Transcoding Temporary Files/var/lib/emby/transcoding-temp

Server:
Linux EmbyServer 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 22.04.3 LTS
4GB RAM, Intel Core i7-9700 CPU, SVGA3D Graphics

 

When playing certain files, I consistently get the same error messages... I can play most files just fine. I used to be able to play all files just fine when I ran Emby on Windows, however moving to a Linux server has introduced these issues. I would be very appreciative of any help or tips to resolve this... thinking it is a missing library, codec, or something. Debug logging turned on for troubleshooting.

 

Error on Web Interface: 

Playback Error
No compatible streams are currently available. Please try again later or contact your system administrator for details.

 

Error snippet from logs:

*** Error Report ***
Version: 4.7.14.0
Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
Operating system: Linux version 6.5.0-14-generic (buildd@lcy02-amd64-110) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubunt
Framework: .NET 6.0.20
OS/Process: x64/x64
Runtime: opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /var/lib/emby
Application path: /opt/emby-server/system
System.Exception: System.Exception: Error starting ffmpeg
at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources)
at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String manifestAbsoluteUri, String playlistId, String segmentId, Int32 subtitleStreamIndex, AuthorizationInfo authorizationInfo)
at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
Source: Emby.Server.MediaEncoding
TargetSite: Void MoveNext()
 
 

 

 

 

 

 

embyserver.txt ffmpeg-transcode-cf51030a-3297-47bb-8670-d4e963751e8e_1.txt ffmpeg-transcode-59bbe32c-af4c-4566-98cd-52cb51c2ffd3_1.txt ffmpeg-transcode-10adee9c-a250-4f80-ac12-c44893bcad9d_1.txt ffmpeg-transcode-ebcb2bb7-36e3-4438-88dd-6fa83d2c3611_1.txt hardware_detection-63841343214.txt

Link to comment
Share on other sites

mediainsurgence

Also saw this error with more details in the logs:


 

10:27:02.194 Stream #0:2 (dvdsub) -> scale:default (graph 0)
10:27:02.194 overlay:default (graph 0) -> Stream #0:0 (libx264)
10:27:02.194 Stream #0:1 -> #0:1 (dts (dca) -> mp3 (libmp3lame))
10:27:02.194 Press [q] to stop, [?] for help
10:27:02.315 subtitle input filter: decoding size 0x0
10:27:02.315 Auto-inserting subfeed filter
10:27:02.315 Auto-inserting graphicsub2video filter
10:27:02.319 [swscaler @ 0x249d7c0] 195x46 -> 0x0 is invalid scaling dimension
10:27:02.319 Cannot initialize the conversion context. dstW=0 dstH=0
10:27:02.319 Error while filtering: Invalid argument
10:27:02.319 Failed to inject frame into filter network: Invalid argument
10:27:02.319 Error while processing the decoded data for stream #0:2
10:27:02.321 [libmp3lame @ 0x1c7a600] 3 frames left in the queue on closing
10:27:02.333 Conversion failed!
Link to comment
Share on other sites

Hi, this should be resolved in the upcoming 4.8 server release. Thanks.

Link to comment
Share on other sites

mediainsurgence

So should I try a beta version that has a fix or just wait for the 4.8 release?

Link to comment
Share on other sites

10 minutes ago, mediainsurgence said:

So should I try a beta version that has a fix or just wait for the 4.8 release?

Hi, that's up to you and whether you want to run a test build or not. From our perspective, yes it would be helpful to get feedback from you on that. But if you'd rather run the stable release then I would wait.

Link to comment
Share on other sites

mediainsurgence

Happy to run a beta version - it is a low-activity home server for myself and easy enough to redo with a stable version later. I will grab 4.8.0.73 and let you know how that works out.

  • Thanks 1
Link to comment
Share on other sites

mediainsurgence

I installed 4.8.0.73 over 4.7.14.0. Then I tested the two known files again - one works and one does not. I got similar behavior in that the known good file still played well, however the known problem file still did not play... but it just sat there spinning and did not pop an error. When I went in an disabled the default subtitles (burned into the file), then the file played just fine. So the issue is definitely with reading the burned-in subtitles. And the issue does not appear to be fully resolved in the 4.8.0.73 version (you can get the file to play by disabling subtitles... which is better than before when you had no option to play the file.... however, subtitles don't work for some files now without a known good reason). 

Interesting note - I did go back to verify that those same style subtitles are enabled and work fine on the known good file. 

embyserver.txt ffmpeg-transcode-f1d461ee-ca75-4ba8-84bc-89447901aa9f_1.txt ffmpeg-transcode-aa83ed8a-a106-4355-87c5-ee586a41a347_1.txt ffmpeg-remux-c21abe71-5fb1-41e1-bbaa-3435c596213e_1.txt

Link to comment
Share on other sites

  • 2 weeks later...

Are you still having an issue with this on the latest build?

Link to comment
Share on other sites

mediainsurgence

I updated to 4.8.0.76 and I can report I still have the issue - although the workaround is still there... disabling subtitles allows the media to play.

Link to comment
Share on other sites

Can you install 4.8.0.78 and provide log file examples from that? Thanks.

  • Agree 1
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...