Jump to content

Emby won't play new video files


inxsible

Recommended Posts

inxsible

I have a playback issue -- I submitted the logs from the Roku app on Jan 21, 2020 at around 3:07 PM EST.

 

Emby Server version : 4.3.1.0 -- manually installed in a FreeNAS jail.

 

With the debug disabled -- it would show me an error indicating playback issue. 

 

Playback Error - There was an error ....in the HTTP response.This could mean that malformed HTTP head

 

The .... is off the screen -- so I am not sure if there is anything between the word error and the word in. Also, everything after HTTP head is off the screen, so again I am not sure what the entire message says

 

When I enabled debug, it got stuck at Retrieving with the purple progress bar at around 10-15%.

 

Until now, all the older files (before I got a Roku) that I have tried to play have played in Roku. But the new files that I added always error out.

 

I have a similar issue where my emby browser clients (firefox and chromium) from my Archlinux desktop also cannot playback many of the video files from my server. For this browser clients issue, the new files don't play at all, but there are some older files that do not play as well. -- but that's probably a separate log and forum post that I'll make

 

EDIT: Removed server log as it might not be relevant since there were a couple of other issues related to libmfx.so and libp11.so

Edited by inxsible
Link to comment
Share on other sites

inxsible

Hi there, can you please attach the emby server log as well? Thanks.

Thanks for the reply Luke. I have attached the server log in the original post.

Link to comment
Share on other sites

Hi.  I didn't see any playback in the Roku log you sent.  If you restarted the app after the playback but before sending the log, that would have cleared it out.

 

However, I see a bunch of "access denied" errors for your file system in your server log and I suspect that is the root of your problem.  Ensure Emby has proper access to all the file system locations necessary.

Link to comment
Share on other sites

inxsible

Hi.  I didn't see any playback in the Roku log you sent.  If you restarted the app after the playback but before sending the log, that would have cleared it out.

 

However, I see a bunch of "access denied" errors for your file system in your server log and I suspect that is the root of your problem.  Ensure Emby has proper access to all the file system locations necessary.

I might have had to restart the app as when debug was enabled, it just got stuck on Retrieving for a long time. I think I had to hit Home for Roku and then go back in to send the log. I'll try to send it again.

 

Let me check the file permissions and report back.

 

I am seeing this in the server logs though:

 

 

2020-01-21 15:48:47.738 Debug MediaProbeManager: ProcessRun 'ffprobe' Started. 2020-01-21 15:48:47.980 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1 2020-01-21 15:48:47.981 Error App: Error in ffprobe *** Error Report *** Version: 4.3.1.0 Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz -noautorunwebapp Operating system: Unix 11.2.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: False Mono: 5.10.1.57 (5.10.1.57 Thu Jan 9 02:18:28 UTC 2020) Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll Processor count: 2 Program data path: /var/db/emby-server Application directory: /usr/local/lib/emby-server/system System.Exception: System.Exception: Error running ffprobe for file:"/mnt/tvshows/Mard/Season 01/Mard.S01E07.mkv" - Shared object "libmfx.so.1" not found, required by "ffprobe" at Emby.Server.MediaEncoding.Probing.MediaProbeManager+<GetMediaInfoInternal>d__9.MoveNext () [0x00160] in <d8df170c1ea546a09fd35e5485f67ddd>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo+<ProbeVideo>d__13`1[T].MoveNext () [0x001e6] in <b715abeb47a74caa86d135cf64129f07>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 at MediaBrowser.Providers.Manager.MetadataService`2+<RunCustomProvider>d__38[TItemType,TIdType].MoveNext () [0x000d9] in <b715abeb47a74caa86d135cf64129f07>:0 Source: mscorlib TargetSite: Void Throw(

....

....

....

 

2020-01-21 15:48:48.041 Error HttpServer: Error processing request *** Error Report *** Version: 4.3.1.0 Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz -noautorunwebapp Operating system: Unix 11.2.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: False Mono: 5.10.1.57 (5.10.1.57 Thu Jan 9 02:18:28 UTC 2020) Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll Processor count: 2 Program data path: /var/db/emby-server Application directory: /usr/local/lib/emby-server/system System.Exception: System.Exception: No video encoder found for 'h264' >>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: Automatic at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.GetVideoEncoder (Emby.Server.MediaEncoding.Encoder.EncodingJobInfo state) [0x00060] in <d8df170c1ea546a09fd35e5485f67ddd>:0 at Emby.Server.MediaEncoding.Encoder.TranscodingCommandBuilder.VideoHlsGetCommandLineArguments (System.String outputPath, Emby.Server.MediaEncoding.Api.StreamState state, System.Int32 startNumber, System.String segmentFileExtension, System.Boolean isEncoding) [0x0003d] in <d8df170c1ea546a09fd35e5485f67ddd>:0

 

 

I saw some other threads : https://emby.media/community/index.php?/topic/66365-no-video-encoder-found-for-h264/

 

which talk about the same issue back in Dec 2018. Do I need to upgrade to a beta version as well? To be honest, I'd rather not create a new jail and re-install emby and rebuild the metadata.

Edited by inxsible
Link to comment
Share on other sites

inxsible

So I looked into the permissions. When I ssh into my FreeNAS box and go into the iocage jail console, the entire movie, music and tvshows folders and everything within them are owned by emby:emby

 

However, I also use those folders as NFS shares to my Archlinux desktop -- there they are owned by my username on the Archlinux box but I don't think that should affect how emby accesses the folders since on the server itself the folders are owned by emby.

 

 

I tried to make sure that I have all the dependencies and I get this :

 

root@emby:~ # pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvpx libvorbis webp libx264 x265 dav1d libzvbi libraw ImageMagick6

Updating FreeBSD repository catalogue...

[emby] Fetching meta.txz: 100% 944B 0.9kB/s 00:001

[emby] Fetching packagesite.txz: 100% 6 MiB 6.5MB/s 00:001

Processing entries: 0%

Newer FreeBSD version for package cyrus-sasl:

To ignore this error set IGNORE_OSVERSION=yes

- package: 1103000

- running kernel: 1102000

Ignore the mismatch and continue? [Y/n]: Y

Processing entries: 100%

FreeBSD repository update completed. 31747 packages processed.

Updating iocage-plugins repository catalogue...

All repositories are up to date.

samba48 has no direct installation candidates, change it to samba410? [Y/n]: n

pkg: No packages available to install matching 'samba48' have been found in the repositories

root@emby:~ #

 

Should I replace samba48 by samba410?

 

FYI, Been trying to post a picture, but somehow the forum just won't accept a post with a inline image in it.

Edited by inxsible
Link to comment
Share on other sites

inxsible

I switched myself from quarterly to latest in FreeBSD.conf and then went ahead and installed intel-media-sdk which I believe provides libmfx. In any case, should i upgrade to samba410 or stay on samba48?

 

Also should i use FreeBSD quarterly repo or the latest? Please let me know so I can make my emby jail completely updated and then try to see if it fixes any of my issues.

Edited by inxsible
Link to comment
Share on other sites

inxsible

I went ahead and selected the latest repo for FreeBSD. Then upgraded/updated the packages and installed samba410. It still did not solve the issue. Here's the server log when trying to play a movie from the browser client (firefox on Archlinux)

 

I am seeing the following  errors among others:

2020-01-23 00:05:15.675 Error LibraryMonitor: Error in Directory watcher for: /mnt/movies
	*** Error Report ***
	Version: 4.3.1.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz -noautorunwebapp
	Operating system: Unix 11.2.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 5.10.1.57 (5.10.1.57 Thu Jan  9 02:18:28 UTC 2020)
	Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
	Processor count: 2
	Program data path: /var/db/emby-server
	Application directory: /usr/local/lib/emby-server/system
	System.IO.IOException: System.IO.IOException: persistent kevent() error, error code = '0'
	  at System.IO.KqueueMonitor.Monitor () [0x00121] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 
	  at System.IO.KqueueMonitor.DoMonitor () [0x0003f] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 
	Source: System
	TargetSite: Void Monitor()

Further down, during playback, I see these 2 errors.

/usr/local/lib/libp11-kit.so.0: version LIBP11_KIT_1.0 required by /usr/local/lib/libgnutls.so.30 not defined
System.Exception: System.Exception: No video encoder found for 'h264'

embyserver.txt

Edited by inxsible
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...