Luke 40079 Posted August 31, 2021 Posted August 31, 2021 11 hours ago, fgalvani70 said: Hi Luke. I use TrueNAS. Inside it I did it in two ways: the first I did using the instructions from the Emby site below and the second through the community app automatic installation process. On both, version 4.6.4.0 https://emby.media/freebsd-server.html OK if you follow the instructions on our website, the ffmpeg build is embedded and you don't need to install it separately.
fgalvani70 0 Posted August 31, 2021 Posted August 31, 2021 54 minutes ago, Luke said: OK if you follow the instructions on our website, the ffmpeg build is embedded and you don't need to install it separately. Hi Luke. It only worked after I installed ffmpeg manually
Luke 40079 Posted August 31, 2021 Posted August 31, 2021 49 minutes ago, fgalvani70 said: Hi Luke. It only worked after I installed ffmpeg manually Right that's if you install via the Freenas web interface, but using freebsd ports it is embedded.
fgalvani70 0 Posted August 31, 2021 Posted August 31, 2021 (edited) 2 hours ago, Luke said: Right that's if you install via the Freenas web interface, but using freebsd ports it is embedded. Please look these error messages: 2021-08-30 23:40:52.530 Error App: Error in Screen Grabber *** Error Report *** Version: 4.7.0.9 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.pkg -noautorunwebapp Operating system: Unix 12.2.9.0 Framework: Mono: 6.8.0.123 (tarball Fri Jul 9 13:09:06 UTC 2021) OS/Process: X64/X64 Runtime: usr/local/lib/mono/4.5/mscorlib.dll Processor count: 12 Data path: /var/db/emby-server Application path: /usr/local/lib/emby-server/system System.ArgumentNullException: System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <4e0b4fa81dd04effbc4e22d8fabefb81>:0 at MediaBrowser.Providers.MediaInfo.VideoImageProvider.GetImage (MediaBrowser.Controller.Providers.BaseMetadataResult itemResult, MediaBrowser.Model.Entities.ImageType type, System.Threading.CancellationToken cancellationToken) [0x00147] in <60335291b94044d59698fd79d880999f>:0 at MediaBrowser.Providers.Manager.ItemImageProvider.RefreshFromProvider (MediaBrowser.Controller.Providers.BaseMetadataResult itemResult, MediaBrowser.Controller.Providers.IDynamicImageProvider provider, System.Boolean providerReportsChanges, MediaBrowser.Controller.Providers.ImageRefreshOptions refreshOptions, MediaBrowser.Model.Configuration.TypeOptions savedOptions, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, System.Collections.Generic.List`1[T] downloadedImages, MediaBrowser.Providers.Manager.RefreshResult result, System.Threading.CancellationToken cancellationToken) [0x0017f] in <60335291b94044d59698fd79d880999f>:0 Source: mscorlib TargetSite: Void Throw() 2021-08-30 23:40:52.529 Error App: Error in ffprobe *** Error Report *** Version: 4.7.0.9 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.pkg -noautorunwebapp Operating system: Unix 12.2.9.0 Framework: Mono: 6.8.0.123 (tarball Fri Jul 9 13:09:06 UTC 2021) OS/Process: X64/X64 Runtime: usr/local/lib/mono/4.5/mscorlib.dll Processor count: 12 Data path: /var/db/emby-server Application path: /usr/local/lib/emby-server/system System.Exception: System.Exception: Error running ffprobe for file:"/mnt/hdd1/NASBKP03/Clipes Infantis/Vem Dançar com a Gente - Palavra Cantada.mp4" - ld-elf.so.1: Shared object "libavdevice.so.58" not found, required by "ffprobe" at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal (System.String inputPath, System.String primaryPath, MediaBrowser.Model.MediaInfo.MediaProtocol protocol, System.String userAgent, System.Boolean extractChapters, System.String probeSizeArgument, System.Boolean isAudio, System.Boolean forceEnableLogging, System.Threading.CancellationToken cancellationToken) [0x001a8] in <19c50093f56a4171b8f7c1e7f5f74eed>:0 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T] (MediaBrowser.Controller.Providers.MetadataResult`1[T] metadataResult, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, System.Threading.CancellationToken cancellationToken) [0x001f7] in <60335291b94044d59698fd79d880999f>:0 at MediaBrowser.Providers.Manager.MetadataService`2[TItemType,TIdType].RunCustomProvider (MediaBrowser.Controller.Providers.ICustomMetadataProvider`1[TItemType] provider, MediaBrowser.Controller.Providers.MetadataResult`1[T] itemResult, System.String logName, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, MediaBrowser.Providers.Manager.RefreshResult refreshResult, System.Threading.CancellationToken cancellationToken) [0x000df] in <60335291b94044d59698fd79d880999f>:0 Source: mscorlib TargetSite: Void Throw() 021-08-30 23:40:52.204 Info App: User policy for emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2021-08-30 23:40:52.205 Info Server: http/1.1 Response 200 to 10.0.13.104. Time: 63ms. http://10.0.13.52:8096/emby/Items/12/PlaybackInfo?UserId=9345e24a908c46d3b8d77bbe5b95229f&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&SubtitleStreamIndex=-1&EnableDirectPlay=false&EnableDirectStream=false&AllowVideoStreamCopy=false&AllowAudioStreamCopy=false&MediaSourceId=aa21b79d134e352019c1e5c2eaa90168&MaxStreamingBitrate=140000000&CurrentPlaySessionId=e40bc387adc84619acc4cd59c00b3c30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=1d03aaca-8d2c-4c85-ad77-a36a4a4f97e6&X-Emby-Client-Version=4.7.0.9 2021-08-30 23:40:52.216 Info Server: http/1.1 DELETE http://10.0.13.52:8096/emby/Videos/ActiveEncodings?deviceId=1d03aaca-8d2c-4c85-ad77-a36a4a4f97e6&PlaySessionId=e40bc387adc84619acc4cd59c00b3c30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=1d03aaca-8d2c-4c85-ad77-a36a4a4f97e6&X-Emby-Client-Version=4.7.0.9. Host=10.0.13.52:8096, Connection=keep-alive, User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36, Accept=*/*, Origin=http://10.0.13.52:8096, Referer=http://10.0.13.52:8096/web/index.html?, Accept-Encoding=gzip, deflate, Accept-Language=pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 2021-08-30 23:40:52.216 Info App: ProcessRun 'StreamTranscode dd664c' Process exited with code 1 2021-08-30 23:40:52.217 Info Server: http/1.1 Response 204 to 10.0.13.104. Time: 1ms. http://10.0.13.52:8096/emby/Videos/ActiveEncodings?deviceId=1d03aaca-8d2c-4c85-ad77-a36a4a4f97e6&PlaySessionId=e40bc387adc84619acc4cd59c00b3c30&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=1d03aaca-8d2c-4c85-ad77-a36a4a4f97e6&X-Emby-Client-Version=4.7.0.9 2021-08-30 23:40:52.237 Info Server: http/1.1 GET http://10.0.13.52:8096/emby/videos/12/master.m3u8?DeviceId=1d03aaca-8d2c-4c85-ad77-a36a4a4f97e6&MediaSourceId=aa21b79d134e352019c1e5c2eaa90168&PlaySessionId=29c917e1490a42798c8501b84d8f8d93&VideoCodec=h264&VideoBitrate=140000000&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=52&TranscodeReasons=VideoCodecNotSupported,DirectPlayError&allowVideoStreamCopy=false&allowAudioStreamCopy=false. Host=10.0.13.52:8096, Connection=keep-alive, User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36, Accept=*/*, Referer=http://10.0.13.52:8096/web/index.html?, Accept-Encoding=gzip, deflate, Accept-Language=pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7 2021-08-30 23:40:52.241 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /usr/local/lib/emby-server/bin/ffprobe -i file:"/mnt/hdd1/NASBKP03/Clipes Infantis/Vem Dançar com a Gente - Palavra Cantada.mp4" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2021-08-30 23:40:52.255 Error Server: Error processing request *** Error Report *** Version: 4.7.0.9 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.pkg -noautorunwebapp Operating system: Unix 12.2.9.0 Framework: Mono: 6.8.0.123 (tarball Fri Jul 9 13:09:06 UTC 2021) OS/Process: X64/X64 Runtime: usr/local/lib/mono/4.5/mscorlib.dll Processor count: 12 Data path: /var/db/emby-server Application path: /usr/local/lib/emby-server/system System.Exception: System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg (Emby.Server.MediaEncoding.Api.StreamState state, System.String outputPath, System.Threading.CancellationToken cancellationToken, System.Boolean acquireResources) [0x00412] in <19c50093f56a4171b8f7c1e7f5f74eed>:0 at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.ProcessRequest (Emby.Server.MediaEncoding.Api.StreamRequest request) [0x0021a] in <19c50093f56a4171b8f7c1e7f5f74eed>:0 at Emby.Server.Implementations.Services.ServiceController.GetTaskResult (System.Threading.Tasks.Task task) [0x00081] in <2c38cc7b38c6447cb8572af0a91833c6>:0 at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, Emby.Server.Implementations.Services.RestPath restPath, System.String responseContentType, System.Threading.CancellationToken cancellationToken) [0x001da] in <2c38cc7b38c6447cb8572af0a91833c6>:0 at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.ReadOnlyMemory`1[T] urlString, System.ReadOnlyMemory`1[T] localPath, System.Threading.CancellationToken cancellationToken) [0x00b46] in <2c38cc7b38c6447cb8572af0a91833c6>:0 Source: mscorlib TargetSite: Void Throw() All of them related to ffmpeg embyserver (1).txt Edited August 31, 2021 by fgalvani70 add a file
alucryd 240 Posted September 2, 2021 Posted September 2, 2021 @fgalvani70Apologies, I just pushed a new beta which should have the required libs.
Luke 40079 Posted November 30, 2021 Posted November 30, 2021 @fgalvani70 are you still running into this?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now