Jump to content

No Playback in Browser


NYRANGERS423

Recommended Posts

NYRANGERS423

I do no get playback in my browsers, Chrome, FireFox, Edge. I can playback through the Android app. I have attached the error Report from the log file. I am running Freenas 11.2 that was release on Dec 5th, I am also running the 3.5.3.0 Version of Emby. It is weird to me that it plays back on the app and not the browsers. 

 

EDIT: My fault I did forget the log, I will attach it here. Thanks!

 

*** Error Report ***
    Version: 3.6.0.76
    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-freebsd_{version}_amd64.txz
    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 Tue Dec 11 02:21:47 UTC 2018)
    Processor count: 4
    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: 1
    
     at Emby.Server.MediaEncoding.Encoder.EncodingHelper.GetVideoEncoder (Emby.Server.MediaEncoding.Encoder.EncodingJobInfo state, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions) [0x0005b] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.GetCommandLineArguments (System.String outputPath, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions, Emby.Server.MediaEncoding.Api.StreamState state, System.Boolean isEncoding) [0x00049] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.BaseStreamingService.GetOutputFilePath (Emby.Server.MediaEncoding.Api.StreamState state, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions, System.String outputFileExtension) [0x00016] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.Hls.VideoHlsService.GetOutputFilePath (Emby.Server.MediaEncoding.Api.StreamState state, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions, System.String outputFileExtension) [0x0002a] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.BaseStreamingService+<GetState>d__81.MoveNext () [0x0082b] in <87fca072dff74617a11c18388469acc0>: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 Emby.Server.MediaEncoding.Api.Hls.BaseHlsService+<ProcessRequest>d__5.MoveNext () [0x000a2] in <87fca072dff74617a11c18388469acc0>: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 Emby.Server.Implementations.Services.ServiceExecGeneral+<GetTaskResult>d__3.MoveNext () [0x00081] in <80bf731820a542adb4cf2639889805da>: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 Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__14.MoveNext () [0x0023e] in <80bf731820a542adb4cf2639889805da>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0
     at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__56.MoveNext () [0x00af1] in <80bf731820a542adb4cf2639889805da>:0
    Source: mscorlib
    TargetSite: Void Throw()
     at Emby.Server.MediaEncoding.Encoder.EncodingHelper.GetVideoEncoder (Emby.Server.MediaEncoding.Encoder.EncodingJobInfo state, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions) [0x0005b] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.GetCommandLineArguments (System.String outputPath, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions, Emby.Server.MediaEncoding.Api.StreamState state, System.Boolean isEncoding) [0x00049] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.BaseStreamingService.GetOutputFilePath (Emby.Server.MediaEncoding.Api.StreamState state, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions, System.String outputFileExtension) [0x00016] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.Hls.VideoHlsService.GetOutputFilePath (Emby.Server.MediaEncoding.Api.StreamState state, MediaBrowser.Model.Configuration.EncodingOptions encodingOptions, System.String outputFileExtension) [0x0002a] in <87fca072dff74617a11c18388469acc0>:0
     at Emby.Server.MediaEncoding.Api.BaseStreamingService+<GetState>d__81.MoveNext () [0x0082b] in <87fca072dff74617a11c18388469acc0>: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 Emby.Server.MediaEncoding.Api.Hls.BaseHlsService+<ProcessRequest>d__5.MoveNext () [0x000a2] in <87fca072dff74617a11c18388469acc0>: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 Emby.Server.Implementations.Services.ServiceExecGeneral+<GetTaskResult>d__3.MoveNext () [0x00081] in <80bf731820a542adb4cf2639889805da>: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 Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>d__14.MoveNext () [0x0023e] in <80bf731820a542adb4cf2639889805da>: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+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0
     at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>d__56.MoveNext () [0x00af1] in <80bf731820a542adb4cf2639889805da>:0 

Edited by NYRANGERS423
Link to comment
Share on other sites

PhilWhite

If not fixed, update to the latest 3.6.0.x beta and it will fix the problem.  Otherwise you need to try the ffmpeg fix, which I do not think works for freenas 11.2 STABLE.

Link to comment
Share on other sites

NYRANGERS423

Are you all set now, based on your response in the other thread?

 

No I set up the server with the help of the other thread but I get no browser playback.

 

If not fixed, update to the latest 3.6.0.x beta and it will fix the problem.  Otherwise you need to try the ffmpeg fix, which I do not think works for freenas 11.2 STABLE.

 

I tried to find where I can update to 3.6.0.x beta but I could not find it on. Do you know the CL instructions to update to the beta?

Link to comment
Share on other sites

NYRANGERS423

So I followed these instructions to update to version 3.6.0.76-beta, I found the .txz on Github and got the link. When I trying updating I got a missing dependency called 'libraw'. 

 

iocage console emby-server-beta
service emby
-server stop
pkg add
-https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.76/emby-server-freebsd_3.6.0.76_amd64.txz
service emby-server start

Link to comment
Share on other sites

NYRANGERS423

I just installed libraw using 'pkg install libraw', then I managed to install the beta version of emby server per the instructions above, I am now running 3.6.0.76-beta. I am still not able to have playback in the browser. I will post the full log in the first post if that helps with anything. 

Link to comment
Share on other sites

PhilWhite

I just installed libraw using 'pkg install libraw', then I managed to install the beta version of emby server per the instructions above, I am now running 3.6.0.76-beta. I am still not able to have playback in the browser. I will post the full log in the first post if that helps with anything. 

Yes, those were the correct instructions above.  Not sure what the problem is, but Luke will be able to help you.  That version has a version of ffmpeg that works with Freenas 11.2.

 

I had the same problems you did initially but the update solved them for me.  I hope you find a solution soon.  I'm afraid that is as far as my knowledge on this issue goes.

Link to comment
Share on other sites

NYRANGERS423

So I started from scratch so I can follow through with instructions. This is what I did.

1. 

cd /tmp

wget https://raw.githubusercontent.com/MediaBrowser/iocage-amd64/master/emby-server.json
iocage fetch -P dhcp=on vnet=on bpf=yes allow_raw_sockets=1 -n emby-server.json --branch 'master'

 

2. I get a missing depednacy, 'libraw' when I tired to update to the beta version so I did the following 

pkg install libraw

 

3. 

iocage console emby-server

service emby-server stop

pkg -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.76/emby-server-freebsd_3.6.0.76_amd64.txz

service emby-server start

 

4. Add a mount point from the jail to a storage on the pool which has all my media 

 

5. I add the library and once the library refreshes I try any browser to play the media back and I only get playback through the android app only.

 

I think the problem may have to do with emby not having permission to some of the media in the datasets. Is there anything I need to do to allow permission for emby to read and write to the mount point?

Link to comment
Share on other sites

NYRANGERS423

I was able to fix my this issue by deleting my database for iocage and setting up the jail and plugins storage again, then installed the beta emby version and all works perfectly. If anyone has questions about the issue send let me know. 

Link to comment
Share on other sites

Thanks for the feedback.

 

We hope to have our package updated this week so that you can install normally. Thanks.

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...