Jump to content

Videos won't play - Emby Server on OSMC(Kodi)/Pi3


karaskis

Recommended Posts

karaskis

Hi,

 

I'm running Emby Server on a Raspberry Pi3 with OSCM. I was able to get it installed and running by following these instructions: https://github.com/d...mc_install_emby

And by accessing the url I added my OSMC library (drive connected to Pi3) perfectly.

 

The problem is when I hit play nothing happens, both on browser and on the iOS app.

I get a "loading" circle on the screen that disappears after 4 seconds but no playback and no error message. 

 

Bellow are the logs. Does anyone know how to fix this?

 

Thanks

 

 

Log_2.txt

Log.txt

Link to comment
Share on other sites

karaskis

It seems as an access problem, but I can't find a fix for it.. :(

Any help is appreciated 

 

2016-12-27 16:14:40.6965 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 3.1.1.0
    Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/share/man/man1/ffmpeg.1 -ffprobe /usr/local/share/man/man1/ffprobe.1
    Operating system: Unix 4.4.27.5
    64-Bit OS: False
    64-Bit Process: False
    Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 21 12:20:54 UTC 2016)
    Processor count: 4
    Program data path: /opt/mediabrowser/ProgramData-Server
    Application directory: /opt/mediabrowser
    System.ComponentModel.Win32Exception (0x80004005): ApplicationName='/usr/local/share/man/man1/ffmpeg.1', CommandLine='-fflags +genpts -i file:"/home/osmc/mnt/Series Temp/Scandal (2012)/Season 01/Scandal.2012.S01E01.720p.WEB.DL-SickRage.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -tune zerolatency -b:v 145262546 -maxrate 145262546 -bufsize 290525092 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -fflags +genpts -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 6 -ab 192000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/88c709107e343bd0cb10105cf7885e9e/" -y "/opt/mediabrowser/ProgramData-Server/transcoding-temp/88c709107e343bd0cb10105cf7885e9e.m3u8"', CurrentDirectory='', Native error= Access denied

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi @@karaskis, the ffmpeg build seems to be invalid.

/opt/mediabrowser/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/share/man/man1/ffmpeg.1

Make sure this path is correct, that it points to the ffmpeg executable file, and that it is marked with execute privileges. If it is not marked as executable then Emby Server will not be allowed to execute it.

 

Please let us know if this helps. Thanks !

Link to comment
Share on other sites

karaskis

Hi Luke,

 

I actually fixed it following this post https://gist.github.com/ocReaper/00b854e8d096479e86592fad0ccc5362

And I also had to change the path to the new installation as you mentioned.

 

I believe it was a missing codec problem.

 

Thanks!

 

Hi @@karaskis, the ffmpeg build seems to be invalid.

/opt/mediabrowser/MediaBrowser.Server.Mono.exe -ffmpeg /usr/local/share/man/man1/ffmpeg.1

Make sure this path is correct, that it points to the ffmpeg executable file, and that it is marked with execute privileges. If it is not marked as executable then Emby Server will not be allowed to execute it.

 

Please let us know if this helps. 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...