Jump to content

New FreeNAS Package for testing


Luke

Recommended Posts

Barlog9511

Hi

 

I don't know if this is related to the new package 

but I have a problem with True HD audio,

Problem is in all apps

 

I have version 3.6.0.76 of emby a later stable version of FreeNAS

 

everything works just fine when I play DTS audio, but in TrueHD audio it TV output looks like this

 

post-102570-0-38946500-1544522547_thumb.jpg

server_log.txt

remux_log.txt

server_log_longer.txt

Link to comment
Share on other sites

  • 3 weeks later...
stuartsjg

Hi, did you follow the instructions in the first post of this topic? thanks.

 

Hello,

 

I was not 100% sure if i did so i started a fresh.  Followed the instructions on the first page, and then done 

cp -R /mnt/z1array/Jails/emby_1/var/db/emby-server/ /mnt/iocage/jails/emby-server/root/var/db/emby-server/

from my old warden jail folder ontop of the new folder and emby loaded without issue, old users, media etc.   I added the storage via the jail GUI and things are working fine for the most part.

 

Interestingly initially i had no thumbnails or images, but i tried the permissions settings again and this appeared to fix it, i had noticed an error on the dashboard saying coverart could not update due to permission error.  Again, a miracle that following the instructions fixes things :)

 

However... On some media files i get an error reporting (after playing via chrome PC browser) there is no steam and the logs like like the following:

2018-12-29 11:34:56.205
Application version: 3.5.3.0

http://192.168.1.210:8096/emby/videos/f6797cb4da4f8090e0fa9d95c7376e37/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzcxLjAuMzU3OC45OCBTYWZhcmkvNTM3LjM2fDE1NDYwNDE1NjU1NDk1&MediaSourceId=f6797cb4da4f8090e0fa9d95c7376e37&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=7ce39252db4d4b609c37f55bc0a61b34&api_key=17dbfaafcc2e4cf5a478a5117a53b4ff&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=50fd1a3e3fd5e1087b0426111ea490df&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported&allowVideoStreamCopy=false&allowAudioStreamCopy=false

{"Protocol":"File","Id":"f6797cb4da4f8090e0fa9d95c7376e37","Path":"/media/tv/Unforgotten/Season 2/Unforgotten S02E04.mkv","Type":"Default","Container":"mkv","Name":"Unforgotten S02E04","IsRemote":false,"ETag":"50fd1a3e3fd5e1087b0426111ea490df","RunTimeTicks":27371200512,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/50","VideoRange":"SDR","DisplayTitle":"720P H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":2184670,"BitDepth":8,"RefFrames":5,"IsDefault":true,"IsForced":false,"Height":720,"Width":1278,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Eng Dolby Digital stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":2376670,"RequiredHttpHeaders":{}}

User policy for Stuart: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

/usr/local/opt/emby-server/bin/ffmpeg -f matroska -i file:"/media/tv/Unforgotten/Season 2/Unforgotten S02E04.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 4369340 -bufsize 8738680 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/d97e210b29ac06e2adfcb2304c7b60ef.m3u8" -y "/var/db/emby-server/transcoding-temp/d97e210b29ac06e2adfcb2304c7b60ef%d.ts"

Shared object "libx264.so.152" not found, required by "libavcodec.so.58"
2018-12-29 11:34:47.639
Application version: 3.5.3.0

http://192.168.1.210:8096/emby/videos/9d7bac86ea3ba74b85dea85042cad353/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzcxLjAuMzU3OC45OCBTYWZhcmkvNTM3LjM2fDE1NDYwNDE1NjU1NDk1&MediaSourceId=9d7bac86ea3ba74b85dea85042cad353&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139360000&AudioBitrate=640000&PlaySessionId=7347908081da467f9c1a7beebb8ba561&api_key=17dbfaafcc2e4cf5a478a5117a53b4ff&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=8236a54c80586dd0428e16c46466f222&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&allowVideoStreamCopy=false&allowAudioStreamCopy=false

{"Protocol":"File","Id":"9d7bac86ea3ba74b85dea85042cad353","Path":"/media/music videos/Queen/Rock Montreal & Live Aid/Queen Rock Montreal.mkv","Type":"Default","Container":"mkv,webm","Name":"Queen Rock Montreal","IsRemote":false,"ETag":"8236a54c80586dd0428e16c46466f222","RunTimeTicks":57107881984,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/1000","CodecTimeBase":"1001/48000","Title":"WWW.BLUDV.COM","VideoRange":"SDR","DisplayTitle":"1080P H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":3833898,"BitDepth":8,"RefFrames":4,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Show","DisplayTitle":"Eng Dolby Digital 5.1 Default","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":640000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":true,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Comentarios","DisplayTitle":"Eng Dolby Digital stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":3833898,"RequiredHttpHeaders":{}}

User policy for Stuart: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

/usr/local/opt/emby-server/bin/ffmpeg -f matroska,webm -i file:"/media/music videos/Queen/Rock Montreal & Live Aid/Queen Rock Montreal.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 3833898 -bufsize 7667796 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 384000 -af "volume=0.5" -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/65cc26b6f7eea27afec96a8d9a8c0259.m3u8" -y "/var/db/emby-server/transcoding-temp/65cc26b6f7eea27afec96a8d9a8c0259%d.ts"

Shared object "libx264.so.152" not found, required by "libavcodec.so.582018-12-29 11:26:28.627
2018-12-29 11:26:28.627
Application version: 3.5.3.0

http://192.168.1.210:8096/emby/videos/2671d5dbcad6c8c7699769b8ea84cf66/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzcxLjAuMzU3OC45OCBTYWZhcmkvNTM3LjM2fDE1NDYwNDE1NjU1NDk1&MediaSourceId=2671d5dbcad6c8c7699769b8ea84cf66&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=93d8d1c55ac34a948d7408c77e4f5d16&api_key=17dbfaafcc2e4cf5a478a5117a53b4ff&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&RequireAvc=false&Tag=b6b5685e64d7438bf1073d3c78ce2f94&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported&allowVideoStreamCopy=false

{"Protocol":"File","Id":"2671d5dbcad6c8c7699769b8ea84cf66","Path":"/media/movies/Inside Out/Inside Out 2015.mkv","Type":"Default","Container":"mkv","Name":"Inside Out 2015","IsRemote":false,"ETag":"b6b5685e64d7438bf1073d3c78ce2f94","RunTimeTicks":56743358464,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","VideoRange":"SDR","DisplayTitle":"720P H264","IsInterlaced":false,"BitRate":3044549,"BitDepth":8,"RefFrames":5,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":30,"RealFrameRate":30,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","DisplayTitle":"Eng Dolby Digital stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":3236549,"RequiredHttpHeaders":{}}

User policy for Stuart: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

/usr/local/opt/emby-server/bin/ffmpeg -f matroska -i file:"/media/movies/Inside Out/Inside Out 2015.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 3044549 -bufsize 6089098 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/9ad27b5eea710e557d7367a1e1b7fa8f.m3u8" -y "/var/db/emby-server/transcoding-temp/9ad27b5eea710e557d7367a1e1b7fa8f%d.ts"

Shared object "libx264.so.152" not found, required by "libavcodec.so.58"

Looks to be an issue with libx264 being missing but i assume it should have installed via the instructions on the first page?  Its odd that some files do play, but i assume this is due to the device being able to play back.  EG. i can play all of the above via the android app, but i can only play some videos via PC Chrome, likewise via Amazon Fire TV app.

Edited by stuartsjg
Link to comment
Share on other sites

makarai

Hi, you can fix this if you install the beta in a new jail, I guess the stable still has this bug, or you install the proper libx264 packages.

Link to comment
Share on other sites

WingraMax

When I follow the instructions to install Emby server 3.6 beta, the installer grabs the files fine, but in the end just installs 3.5. I need 3.6 to be installed do to a stream error 3.5 throws at me when playing media

Link to comment
Share on other sites

When I follow the instructions to install Emby server 3.6 beta, the installer grabs the files fine, but in the end just installs 3.5. I need 3.6 to be installed do to a stream error 3.5 throws at me when playing media

 

What instructions are you using?

Link to comment
Share on other sites

I know  I am replying to a thread that's months old, but I wanted to comment that  the below helped me immensely. It was a pain to find out why videos weren't playing (FreeNAS11.2-STABLE) and eventually I found in the logs that ffprobe was failing, and it was related to "libx264.so.152 not found".

 

I didn't use the exact link below since there have been beta updates since then, but if anyone else stumbles across the problem with their FreeNas version of Emby not playing movies  or video  (music sometimes worked, and pictures worked), I recommend figuring out how to access the jails shell and updating to a beta release. I used https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.83/emby-server-freebsd_3.6.0.83_amd64.txz

 


and while you are add it update to the newest beta it works flawelessly

service emby-server stop
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/3.6.0.55/emby-server-freebsd_3.6.0.55_amd64.txz
service emby-server start

Thanks constrict

Link to comment
Share on other sites

Thanks for the feedback and I apologize for the difficulty. We will have a new stable release very soon that hopefully should not have any more dependency conflicts. Thanks.

Link to comment
Share on other sites

  • 2 weeks later...
Vidman

I can't wait to try out all these great new features and fixes in emby 4!

What is the best way to upgrade from the last stable release for freeNAS?

Link to comment
Share on other sites

For now it will have to be manual. We should have 4.0 submitted to freebsd ports by the weekend. Thanks.

Link to comment
Share on other sites

  • 6 months later...
Vidman

I have a manually installed emby server jail on my freenas box . Is there a way to manually force an pkg update? ATM i have 4.2.0.40 and trying to update to 4.2.1.0 using 

iocage console emby-sever


service emby-server stop
pkg add https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd11_4.2.1.0_amd64.txz
service emby-server start

the pkg downloads but fails to install saying the lateat version 4.2.0.40_1 is already installed.

Link to comment
Share on other sites


service emby-server stop
pkg update
pkg upgrade
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.2.1.0/emby-server-freebsd11_4.2.1.0_amd64.txz
service emby-server start
Link to comment
Share on other sites

  • 1 month later...

For non-beta users who wish to run the stable release, the suggested approach is installing the IOCage plugin:

 

5d9235e80ff32_65834265a70df080e2d911e988

Link to comment
Share on other sites

For non-beta users who wish to run the stable release, the suggested approach is installing the IOCage plugin:

 

5d9235e80ff32_65834265a70df080e2d911e988

who is maintaining this?
Link to comment
Share on other sites

That's our FreeBSD package that we submit to FreeBSD ports.

i was specifically referring to updating the official freenas plugin repository....as it often lags months behinds emby releases Edited by Vidman
Link to comment
Share on other sites

With the IOCase plugin system I believe it should be available now when our FreeBSD port updates get merged in.

  • Like 1
Link to comment
Share on other sites

  • 5 months later...
giacombum

I'm trying to install the package on FreeNAS 11.3-U1 using the method proposed in the first post. I modified inside the emby-server.json file, the 11.2-RELEASE entry to 11.3-RELEASE. Anyway, it seems that the name for the official Emby plugin has been changed from emby-server to emby, so in order to keep things more close to the standard release, it could be possible to modify the emby-server.json installing file and also the official packages from Emby.Releases? 

Link to comment
Share on other sites

tprelog
I'm trying to install the package on FreeNAS 11.3-U1 using the method proposed in the first post.

Why not just use the emby-server from the FreeNAS Community Plugins page?

Link to comment
Share on other sites

Vidman

 

I'm trying to install the package on FreeNAS 11.3-U1 using the method proposed in the first post.
Why not just use the emby-server from the FreeNAS Community Plugins page?
who is maintaining this? would be great if the version info was added to info page before installing (as some of the other community plugins have)
Link to comment
Share on other sites

tprelog

who is maintaining this? would be great if the version info was added to info page before installing (as some of the other community plugins have)

 

I'm pretty sure @@makarai submitted the plugin - It will install whatever is the current stable release at the time. You can also update emby at any time there is new release ( In this case, you don't have to wait for someone to update the plugin ) 

 

I've submitted several plugins myself - I can't figure out how to show a version number on my plugins either.  :unsure:

Link to comment
Share on other sites

giacombum
I'm trying to install the package on FreeNAS 11.3-U1 using the method proposed in the first post.

Why not just use the emby-server from the FreeNAS Community Plugins page?

 

I would like to have a more up to date version of the server; the FreeNAS Community Plugin is not updated so often.

Link to comment
Share on other sites

tprelog

I would like to have a more up to date version of the server

 

Ahh, So do you want a beta version of Emby? -

 

The community plugin it not tied to a specific version of Emby. It does not need to be updated for every release of Emby.

 

You can press the update plugin any time there is a new version of Emby available in the FreeBSD package repo and it will be installed.

 

 the FreeNAS Community Plugin is not updated so often.

The community plugin was just added a week ago. That is not enough time to even make such a statement

Edited by tprelog
Link to comment
Share on other sites

giacombum

Ahh, So do you want a beta version of Emby? -

 

The community plugin it not tied to a specific version of Emby. It does not need to be updated for every release of Emby.

 

You can press the update plugin any time there is a new version of Emby available in the FreeBSD package repo and it will be installed.

 

The community plugin was just added a week ago. That is not enough time to even make such a statement

The last version of emby-server is 4.4.0.40, released three days ago. On FreeBSD ports, I can see only emby-server 4.3.1.0 https://www.freebsd.org/cgi/ports.cgi?query=emby&stype=all

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