Jump to content

Old LG TV unable to play files using DLNA


KarolKo

Recommended Posts

Hi Experts,


I have recently installed Emby on FreeNAS and I am currently facing an issue when accessing content via my LG TV using DLNA.


I am getting an error message, that the Device does not support the file format.


However when I start the same movie via the Emby web interface on the same TV, it forks flawlessly.


Hence I am assuming its a DLNA profile issue. Can anybody tell me how to find out which profile is being used and how to fix it by creating new one?


I am also not sure in which order profiles are accessed, in case multiple would match?


Thanks in advance.

Below some logs I found on the server. (192.168.88.104 is Emby, and 192.168.88.254 is TV)

2018-12-26 14:38:14.385
Application version: 3.5.3.0

http://192.168.88.104:8096/videos/5e23073e5cc760613c597c493bac5c08/stream.ts?DeviceProfileId=e3c1480b557b0c809d535d409c66aef0&DeviceId=test&MediaSourceId=5e23073e5cc760613c597c493bac5c08&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=139808000&AudioBitrate=192000&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&Tag=df5e13c233cedba471bb21f82eab3a4c&h264-level=41&ac3-audiochannels=6&aac-audiochannels=6&mp3-audiochannels=6&dlnaheaders=true

{"Protocol":"File","Id":"5e23073e5cc760613c597c493bac5c08","Path":"/media/2016/special_tierfotografie.mp4","Type":"Default","Container":"mp4","Name":"special_tierfotografie","IsRemote":false,"ETag":"df5e13c233cedba471bb21f82eab3a4c","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":[],"Formats":[],"RequiredHttpHeaders":{}}

/usr/local/lib/emby-server/bin/ffmpeg -f mp4 -i file:"/media/2016/special_tierfotografie.mp4" -sn -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "scale=trunc(min(max(iw\,ih*dar)\,min(1920\,1080*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(1920/dar\,1080))/2)*2" -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 139808000 -bufsize 279616000 -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -flags -global_header -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 192000  -y "/var/db/emby-server/transcoding-temp/764c6a0a63b7a5d75b65113eed0adcd8.ts"

Shared object "libx264.so.152" not found, required by "libavcodec.so.58"
2018-12-26 14:38:06.817 Info HttpServer: HTTP Response 200 to 192.168.88.254. Time: 126ms. http://192.168.88.104:8096/dlna/9ca155f134ad41d58798c1aecddf9502/contentdirectory/control 
2018-12-26 14:38:14.355 Info HttpServer: HTTP GET http://192.168.88.104:8096/videos/5e23073e5cc760613c597c493bac5c08/stream.ts?DeviceProfileId=e3c1480b557b0c809d535d409c66aef0&DeviceId=test&MediaSourceId=5e23073e5cc760613c597c493bac5c08&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=139808000&AudioBitrate=192000&MaxWidth=1920&MaxHeight=1080&RequireAvc=false&Tag=df5e13c233cedba471bb21f82eab3a4c&h264-level=41&ac3-audiochannels=6&aac-audiochannels=6&mp3-audiochannels=6&dlnaheaders=true. Host=192.168.88.104:8096, Connection=close, icy-metadata=1, User-Agent=GStreamer souphttpsrc (compatible; LG NetCast.TV-2013) libsoup/2.34.2
2018-12-26 14:38:14.361 Info App: /usr/local/lib/emby-server/bin/ffmpeg -f mp4 -i file:"/media/2016/special_tierfotografie.mp4" -sn -codec:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "scale=trunc(min(max(iw\,ih*dar)\,min(1920\,1080*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(1920/dar\,1080))/2)*2" -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 139808000 -bufsize 279616000 -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -flags -global_header -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 192000  -y "/var/db/emby-server/transcoding-temp/764c6a0a63b7a5d75b65113eed0adcd8.ts"
2018-12-26 14:38:14.742 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.5.3.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -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 Mon Dec 17 12:06:02 UTC 2018)
	Processor count: 4
	Program data path: /var/db/emby-server
	Application directory: /usr/local/lib/emby-server/system
	System.Exception: Error starting ffmpeg
	  at Emby.Server.MediaEncoding.Api.BaseStreamingService+<StartFfMpeg>d__76.MoveNext () [0x007c4] in <a768fbbcdae542acb8dabdec0aacecfb>: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.Progressive.BaseProgressiveStreamingService+<GetStreamResult>d__9.MoveNext () [0x00251] in <a768fbbcdae542acb8dabdec0aacecfb>: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.Progressive.BaseProgressiveStreamingService+<ProcessRequest>d__7.MoveNext () [0x004f1] in <a768fbbcdae542acb8dabdec0aacecfb>: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 <8252e50122f84f82af882c36d707f6ce>: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__13.MoveNext () [0x001c2] in <8252e50122f84f82af882c36d707f6ce>: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__60.MoveNext () [0x009e8] in <8252e50122f84f82af882c36d707f6ce>:0 
	System.Exception
	  at Emby.Server.MediaEncoding.Api.BaseStreamingService+<StartFfMpeg>d__76.MoveNext () [0x007c4] in <a768fbbcdae542acb8dabdec0aacecfb>: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.Progressive.BaseProgressiveStreamingService+<GetStreamResult>d__9.MoveNext () [0x00251] in <a768fbbcdae542acb8dabdec0aacecfb>: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.Progressive.BaseProgressiveStreamingService+<ProcessRequest>d__7.MoveNext () [0x004f1] in <a768fbbcdae542acb8dabdec0aacecfb>: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 <8252e50122f84f82af882c36d707f6ce>: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__13.MoveNext () [0x001c2] in <8252e50122f84f82af882c36d707f6ce>: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__60.MoveNext () [0x009e8] in <8252e50122f84f82af882c36d707f6ce>:0 
	
Link to comment
Share on other sites

An update: my last attempt of adding custom DLNA profile seems to have done the trick:

 

User-Agent: Linux/3.0.13

User-Agent: GStreamer

Link to comment
Share on other sites

Yes, I had no issues playing it via another DLNA server nor via the android emby app. So far I have not come across a movie this TV could not play.

Link to comment
Share on other sites

Thanks. That's great to hear! Do I have to remove the custom profile then? I mean once the new version is released.

 

I seem to have another issue with another file though:

 

At first was getting this error:

2018-12-31 15:16:45.083 Info App: User policy for emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2018-12-31 15:16:45.083 Info App: Profile: Unknown Profile, Path: /media/Bild bearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-12-31 15:16:45.083 Info App: Profile: Unknown Profile, Path: /media/Bild bearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-12-31 15:16:45.083 Info App: Profile: Unknown Profile, Path: /media/Bild bearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-12-31 15:16:45.085 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 17ms. http://192.168.88.104:8096/emby/Items/cfa0abffa610f66038ab90eb4a34d5cb/PlaybackInfo?UserId=be45838204e144e3a6bac653f5ef2ce8&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000 
2018-12-31 15:16:46.262 Info HttpServer: HTTP GET http://192.168.88.104:8096/emby/Users/be45838204e144e3a6bac653f5ef2ce8/Items/cfa0abffa610f66038ab90eb4a34d5cb/Intros. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2018-12-31 15:16:46.266 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 4ms. http://192.168.88.104:8096/emby/Users/be45838204e144e3a6bac653f5ef2ce8/Items/cfa0abffa610f66038ab90eb4a34d5cb/Intros 
2018-12-31 15:16:46.298 Info HttpServer: HTTP GET http://192.168.88.104:8096/emby/Users/be45838204e144e3a6bac653f5ef2ce8. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2018-12-31 15:16:46.304 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 7ms. http://192.168.88.104:8096/emby/Users/be45838204e144e3a6bac653f5ef2ce8 
2018-12-31 15:16:46.320 Info HttpServer: HTTP POST http://192.168.88.104:8096/emby/Items/cfa0abffa610f66038ab90eb4a34d5cb/PlaybackInfo?UserId=be45838204e144e3a6bac653f5ef2ce8&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MediaSourceId=cfa0abffa610f66038ab90eb4a34d5cb&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2018-12-31 15:16:46.699 Error App: Error in ffprobe
	*** Error Report ***
	Version: 3.5.3.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -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 Mon Dec 17 12:06:02 UTC 2018)
	Processor count: 4
	Program data path: /var/db/emby-server
	Application directory: /usr/local/lib/emby-server/system
	System.Exception: ffprobe failed for file:"/media/Bild bearbeitung 6.mp4" - streams and format are both null.
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>d__69.MoveNext () [0x001d4] in <a768fbbcdae542acb8dabdec0aacecfb>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>d__69.MoveNext () [0x0036f] in <a768fbbcdae542acb8dabdec0aacecfb>: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__16`1[T].MoveNext () [0x00170] in <fda3b7744bc34f6f9c56a6de3eff2e98>: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__39[TItemType,TIdType].MoveNext () [0x000d9] in <fda3b7744bc34f6f9c56a6de3eff2e98>:0 
	System.Exception
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>d__69.MoveNext () [0x001d4] in <a768fbbcdae542acb8dabdec0aacecfb>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder+<GetMediaInfoInternal>d__69.MoveNext () [0x0036f] in <a768fbbcdae542acb8dabdec0aacecfb>: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__16`1[T].MoveNext () [0x00170] in <fda3b7744bc34f6f9c56a6de3eff2e98>: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__39[TItemType,TIdType].MoveNext () [0x000d9] in <fda3b7744bc34f6f9c56a6de3eff2e98>:0 

And then when I changed the custom profile, It started using it, but I still cannot play the file from Emby - Neither directly from DLNA client, nor From Android App:

2018-12-31 15:21:19.988 Info HttpServer: HTTP POST http://192.168.88.104:8096/emby/Sessions/08469f0ea9d770bcc3b21c5131628363/Playing?ItemIds=cfa0abffa610f66038ab90eb4a34d5cb&PlayCommand=PlayNow. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
2018-12-31 15:21:19.994 Info Dlna: Profile: Custom LG TV, Path: /media/Bild bearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2018-12-31 15:21:23.341 Info HttpServer: HTTP GET http://192.168.88.104:8096/videos/cfa0abffa610f66038ab90eb4a34d5cb/stream.mp4?DeviceProfileId=799eb5a2dafa32352d950e616b4573f3&DeviceId=uuid:c234e32c-bb4f-28a7-9396-05c722779916&MediaSourceId=cfa0abffa610f66038ab90eb4a34d5cb&Static=true&Tag=a853802b78dd14d8c3c5350b42fbef56&dlnaheaders=true. Host=192.168.88.104:8096, Connection=close, icy-metadata=1, User-Agent=GStreamer souphttpsrc (compatible; LG NetCast.TV-2013) libsoup/2.34.2
2018-12-31 15:21:23.496 Info HttpServer: HTTP Response 500 to 192.168.88.254. Time: 155ms. http://192.168.88.104:8096/videos/cfa0abffa610f66038ab90eb4a34d5cb/stream.mp4?DeviceProfileId=799eb5a2dafa32352d950e616b4573f3&DeviceId=uuid:c234e32c-bb4f-28a7-9396-05c722779916&MediaSourceId=cfa0abffa610f66038ab90eb4a34d5cb&Static=true&Tag=a853802b78dd14d8c3c5350b42fbef56&dlnaheaders=true 
2018-12-31 15:21:24.252 Error HttpClient: Error ProtocolError getting response from http://192.168.88.254:2040/AVTransport/c234e32c-bb4f-28a7-9396-05c722779916/control.xml
	*** Error Report ***
	Version: 3.5.3.0
	Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -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 Mon Dec 17 12:06:02 UTC 2018)
	Processor count: 4
	Program data path: /var/db/emby-server
	Application directory: /usr/local/lib/emby-server/system
	System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0 
	System.Net.WebException
	  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00058] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0 
	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x0000f] in <0e06830de9a44394a7e366951eabca52>:0 

I can confirm the file is playing by the TV just fine when I play it from another DLNA server (Netgear ReadyNAS Duo) and it surely does not transcode.

Link to comment
Share on other sites

Hmm, that means the TV is rejecting the request for whatever reason. It seems to work fine for my with my LG. I would suggest trying again with the upcoming 3.6 release. Thanks.

Link to comment
Share on other sites

KarolKo

I have installed version

3.6.0.82

on my other server, added the same library... so far I have not been able to play a single movie... but this might be some configuration issue...? Who knows. I will wait until 3.6 is out, upadate on Freenas and get back.

Link to comment
Share on other sites

KarolKo

I am getting some connection errors, but not sure where is it trying to connect to:

2019-01-02 13:27:58.473 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Items/969/ThemeMedia?UserId=9c1ab963aa6c4f938c76bc010881042d&InheritFromParent=true&EnableThemeSongs=true&EnableThemeVideos=false. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.475 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 2ms. http://192.168.88.242:8096/emby/Items/969/ThemeMedia?UserId=9c1ab963aa6c4f938c76bc010881042d&InheritFromParent=true&EnableThemeSongs=true&EnableThemeVideos=false
2019-01-02 13:27:58.477 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.482 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.487 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 10ms. http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d
2019-01-02 13:27:58.496 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 14ms. http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969
2019-01-02 13:27:58.566 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969/SpecialFeatures. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.568 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 2ms. http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969/SpecialFeatures
2019-01-02 13:27:58.569 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.571 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete&IncludeItemTypes=Program. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.574 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 3ms. http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete&IncludeItemTypes=Program
2019-01-02 13:27:58.581 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 12ms. http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete
2019-01-02 13:27:58.627 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Sync/969/Status. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.632 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Sync/969/Status. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.654 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 28ms. http://192.168.88.242:8096/emby/Sync/969/Status
2019-01-02 13:27:58.655 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 23ms. http://192.168.88.242:8096/emby/Sync/969/Status
2019-01-02 13:27:58.685 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Items/969/PlaybackInfo?UserId=9c1ab963aa6c4f938c76bc010881042d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.691 Info App: User policy for emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2019-01-02 13:27:58.691 Info App: Profile: Unknown Profile, Path: /media/Video/Bildbearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2019-01-02 13:27:58.691 Info App: Profile: Unknown Profile, Path: /media/Video/Bildbearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2019-01-02 13:27:58.691 Info App: Profile: Unknown Profile, Path: /media/Video/Bildbearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2019-01-02 13:27:58.691 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 7ms. http://192.168.88.242:8096/emby/Items/969/PlaybackInfo?UserId=9c1ab963aa6c4f938c76bc010881042d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000
2019-01-02 13:28:02.774 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Sessions/08469f0ea9d770bcc3b21c5131628363/Playing?ItemIds=969&PlayCommand=PlayNow&MediaSourceId=2cd6578b6738f0efab812d6ca28b722a&AudioStreamIndex=1. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:28:02.835 Error HttpClient: Error getting response from 
	*** Error Report ***
	Version: 3.6.0.82
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.4.0.104
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 1
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Connection refused ---> System.Net.Sockets.SocketException: Connection refused
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
	   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
	   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	InnerException: System.Net.Sockets.SocketException: Connection refused
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	
Link to comment
Share on other sites

KarolKo

I have reinstalled it again on the other server and here is the transcode log with the "out of the box" profile configuration:

2019-01-03 20:43:55.414
Application version: 3.6.0.83

http://192.168.88.242:8096/videos/32/stream.ts?DeviceProfileId=f9cabf8894487dae6285820cd9d5a4ce&DeviceId=uuid:c234e32c-bb4f-28a7-9396-05c722779916&MediaSourceId=2cd6578b6738f0efab812d6ca28b722a&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=139808000&AudioBitrate=192000&MaxWidth=1920&MaxHeight=1080&h264-level=41&ac3-audiochannels=6&aac-audiochannels=6&mp3-audiochannels=6&TranscodeReasons=VideoCodecNotSupported

{"Protocol":"File","Id":"2cd6578b6738f0efab812d6ca28b722a","Path":"/media/Video/Bild bearbeitung 6.mp4","Type":"Default","Container":"mp4","Size":0,"Name":"Bild bearbeitung 6","IsRemote":false,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{}}

Affected codecs:
>>>>>>  libx264 Software Encoder
        Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10LE, YUV422P10LE, YUV444P10LE, NV20LE
        Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Profile (Level 6.2)


>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 1
Info    FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 1
Info    FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

/opt/emby-server/bin/ffmpeg -f mp4 -i file:"/media/Video/Bild bearbeitung 6.mp4" -sn -c:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -vf "scale=trunc(min(max(iw\,ih*dar)\,min(1920\,1080*dar))/2)*2:trunc(min(max(iw/dar\,ih)\,min(1920/dar\,1080))/2)*2" -pix_fmt yuv420p  -maxrate 139808000 -bufsize 279616000 -preset veryfast -profile high -level 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -flags -global_header -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -disposition:a:0 default -ac:a:0 6 -ab:a:0 192000  -y "/var/lib/emby-server/transcoding-temp/5e80a9de8322ffab8d28dd86ed33e3cb.ts"

ffmpeg version 4.0.2-emby_2018_12_09 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
  configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/media/Video/Bild bearbeitung 6.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Spievankovo_6_Title14
    encoder         : WinXDVD-"Digiarty DVD Engine v2017"
  Duration: 01:19:00.12, start: 0.000000, bitrate: 3938 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x404 [SAR 404:405 DAR 16:9], 3886 kb/s, SAR 254:255 DAR 3048:1717, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Please use -profile:a or -profile:v, -profile is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
[libx264 @ 0x12f9680] using SAR=254/255
[libx264 @ 0x12f9680] VBV bitrate (139808) > level limit (50000)
[libx264 @ 0x12f9680] VBV buffer (279616) > level limit (62500)
[libx264 @ 0x12f9680] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x12f9680] profile Main, level 4.1
Output #0, mpegts, to '/var/lib/emby-server/transcoding-temp/5e80a9de8322ffab8d28dd86ed33e3cb.ts':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (libx264), yuv420p(progressive), 720x404 [SAR 254:255 DAR 3048:1717], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 139808000/0/0 buffer size: 279616000 vbv_delay: -1
    Stream #0:1: Audio: ac3, 44100 Hz, 5.1, fltp, 192 kb/s (default)
    Metadata:
      encoder         : Lavc58.18.100 ac3
frame=   94 fps=0.0 q=28.0 size=     256kB time=00:00:03.74 bitrate= 560.1kbits/s speed=7.35x    
frame=  153 fps=151 q=28.0 size=     768kB time=00:00:06.07 bitrate=1035.1kbits/s speed=5.99x    
frame=  202 fps=133 q=28.0 size=    1536kB time=00:00:08.06 bitrate=1560.6kbits/s speed=5.32x    
frame=  260 fps=129 q=28.0 size=    2048kB time=00:00:10.39 bitrate=1613.7kbits/s speed=5.16x    
frame=  310 fps=123 q=28.0 size=    2560kB time=00:00:12.38 bitrate=1693.7kbits/s speed=4.92x    
frame=  370 fps=122 q=28.0 size=    3072kB time=00:00:14.78 bitrate=1702.1kbits/s speed=4.89x    
frame=  424 fps=120 q=28.0 size=    3584kB time=00:00:16.94 bitrate=1732.7kbits/s speed=4.81x    
frame=  479 fps=119 q=28.0 size=    4096kB time=00:00:19.13 bitrate=1753.2kbits/s speed=4.75x    
frame=  536 fps=118 q=28.0 size=    4608kB time=00:00:21.40 bitrate=1763.7kbits/s speed=4.73x    
frame=  597 fps=119 q=28.0 size=    4864kB time=00:00:23.84 bitrate=1671.3kbits/s speed=4.74x    
frame=  658 fps=119 q=28.0 size=    5376kB time=00:00:26.27 bitrate=1675.9kbits/s speed=4.74x    
frame=  717 fps=119 q=28.0 size=    5632kB time=00:00:28.64 bitrate=1610.5kbits/s speed=4.74x    
frame=  778 fps=119 q=28.0 size=    6144kB time=00:00:31.08 bitrate=1619.1kbits/s speed=4.74x    
frame=  834 fps=118 q=28.0 size=    6400kB time=00:00:33.31 bitrate=1573.7kbits/s speed=4.72x    
frame=  879 fps=116 q=28.0 size=    6656kB time=00:00:35.12 bitrate=1552.3kbits/s speed=4.64x    
frame=  932 fps=115 q=28.0 size=    7168kB time=00:00:37.25 bitrate=1576.4kbits/s speed=4.61x    
frame=  986 fps=115 q=28.0 size=    7424kB time=00:00:39.41 bitrate=1543.2kbits/s speed=4.59x    
frame= 1046 fps=115 q=28.0 size=    7936kB time=00:00:41.81 bitrate=1554.8kbits/s speed= 4.6x    
frame= 1099 fps=115 q=28.0 size=    8192kB time=00:00:43.93 bitrate=1527.4kbits/s speed=4.58x    
frame= 1154 fps=114 q=28.0 size=    8704kB time=00:00:46.13 bitrate=1545.6kbits/s speed=4.57x    
frame= 1204 fps=114 q=28.0 size=    9216kB time=00:00:48.15 bitrate=1567.9kbits/s speed=4.54x    
frame= 1260 fps=113 q=28.0 size=    9472kB time=00:00:50.38 bitrate=1540.1kbits/s speed=4.54x    
frame= 1315 fps=113 q=28.0 size=    9984kB time=00:00:52.57 bitrate=1555.6kbits/s speed=4.53x    
frame= 1368 fps=113 q=28.0 size=   10496kB time=00:00:54.70 bitrate=1571.9kbits/s speed=4.52x    
frame= 1423 fps=113 q=28.0 size=   10752kB time=00:00:56.89 bitrate=1548.1kbits/s speed=4.51x    
frame= 1464 fps=112 q=28.0 size=   11008kB time=00:00:58.53 bitrate=1540.7kbits/s speed=4.46x    
frame= 1514 fps=111 q=28.0 size=   11520kB time=00:01:00.55 bitrate=1558.5kbits/s speed=4.44x    
frame= 1573 fps=111 q=28.0 size=   11776kB time=00:01:02.92 bitrate=1533.2kbits/s speed=4.45x    
frame= 1630 fps=111 q=28.0 size=   12288kB time=00:01:05.18 bitrate=1544.3kbits/s speed=4.45x    
frame= 1687 fps=111 q=28.0 size=   12544kB time=00:01:07.44 bitrate=1523.5kbits/s speed=4.45x    
frame= 1742 fps=111 q=28.0 size=   12800kB time=00:01:09.67 bitrate=1504.9kbits/s speed=4.45x    
frame= 1800 fps=111 q=28.0 size=   13312kB time=00:01:11.97 bitrate=1515.1kbits/s speed=4.45x    
frame= 1856 fps=111 q=28.0 size=   13568kB time=00:01:14.20 bitrate=1497.9kbits/s speed=4.45x    
frame= 1908 fps=111 q=28.0 size=   14080kB time=00:01:16.29 bitrate=1511.8kbits/s speed=4.44x    
frame= 1952 fps=110 q=28.0 size=   14592kB time=00:01:18.03 bitrate=1531.8kbits/s speed=4.41x    
frame= 2005 fps=110 q=28.0 size=   15104kB time=00:01:20.19 bitrate=1542.9kbits/s speed=4.41x    
frame= 2102 fps=112 q=28.0 size=   15360kB time=00:01:24.06 bitrate=1496.9kbits/s speed=4.49x    
frame= 2175 fps=113 q=28.0 size=   15872kB time=00:01:26.98 bitrate=1494.7kbits/s speed=4.53x    
frame= 2244 fps=114 q=28.0 size=   16384kB time=00:01:29.73 bitrate=1495.6kbits/s speed=4.55x    
frame= 2313 fps=114 q=28.0 size=   16640kB time=00:01:32.49 bitrate=1473.8kbits/s speed=4.58x    
frame= 2380 fps=115 q=28.0 size=   17152kB time=00:01:35.17 bitrate=1476.4kbits/s speed=4.59x    
frame= 2445 fps=115 q=28.0 size=   17664kB time=00:01:37.78 bitrate=1479.8kbits/s speed=4.61x    
frame= 2511 fps=116 q=28.0 size=   18176kB time=00:01:40.39 bitrate=1483.1kbits/s speed=4.62x    
frame= 2523 fps=115 q=28.0 Lsize=   18407kB time=00:01:40.88 bitrate=1494.6kbits/s speed=4.61x    
video:14347kB audio:2364kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 10.148403%
[libx264 @ 0x12f9680] frame I:23    Avg QP:20.70  size: 57544
[libx264 @ 0x12f9680] frame P:817   Avg QP:24.35  size: 12678
[libx264 @ 0x12f9680] frame B:1683  Avg QP:28.57  size:  1788
[libx264 @ 0x12f9680] consecutive B-frames: 10.1%  2.5%  1.3% 86.1%
[libx264 @ 0x12f9680] mb I  I16..4: 10.4%  0.0% 89.6%
[libx264 @ 0x12f9680] mb P  I16..4:  3.9%  0.0%  0.0%  P16..4: 74.5%  0.0%  0.0%  0.0%  0.0%    skip:21.6%
[libx264 @ 0x12f9680] mb B  I16..4:  0.6%  0.0%  0.0%  B16..8: 15.1%  0.0%  0.0%  direct:12.4%  skip:72.0%  L0:28.3% L1:33.5% BI:38.2%
[libx264 @ 0x12f9680] coded y,uvDC,uvAC intra: 81.7% 86.4% 59.2% inter: 19.8% 17.3% 2.1%
[libx264 @ 0x12f9680] i16 v,h,dc,p: 42% 20% 28% 11%
[libx264 @ 0x12f9680] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 15% 10%  9%  9%  9%  9%  8% 11%
[libx264 @ 0x12f9680] i8c dc,h,v,p: 35% 21% 32% 12%
[libx264 @ 0x12f9680] Weighted P-Frames: Y:2.0% UV:1.0%
[libx264 @ 0x12f9680] kb/s:1164.56

Now after applying the custom profile, there is no transcoding, but the video does not play either. Here is a couple of attempts of trying to trigger to play the video on TV using the Android App and also directly using the TV's DLNA client. Log is attached.

 

You should also know, that the server has only local access.

embylog.txt

Edited by KarolKo
Link to comment
Share on other sites

What happened with the out of box profile?

 

Your custom profile isn't guaranteed to work. You have to make sure that the TV supports whatever changes you're making.

Link to comment
Share on other sites

For some reason this file still has no media info. Now that you have a working ffmpeg build, try refreshing the metadata on it. It will be probed and that should hopefully fill in media info. Then please try to play it again.

Link to comment
Share on other sites

 

I am getting some connection errors, but not sure where is it trying to connect to:

2019-01-02 13:27:58.473 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Items/969/ThemeMedia?UserId=9c1ab963aa6c4f938c76bc010881042d&InheritFromParent=true&EnableThemeSongs=true&EnableThemeVideos=false. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.475 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 2ms. http://192.168.88.242:8096/emby/Items/969/ThemeMedia?UserId=9c1ab963aa6c4f938c76bc010881042d&InheritFromParent=true&EnableThemeSongs=true&EnableThemeVideos=false
2019-01-02 13:27:58.477 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.482 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.487 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 10ms. http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d
2019-01-02 13:27:58.496 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 14ms. http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969
2019-01-02 13:27:58.566 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969/SpecialFeatures. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.568 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 2ms. http://192.168.88.242:8096/emby/Users/9c1ab963aa6c4f938c76bc010881042d/Items/969/SpecialFeatures
2019-01-02 13:27:58.569 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.571 Info HttpServer: HTTP GET http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete&IncludeItemTypes=Program. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.574 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 3ms. http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete&IncludeItemTypes=Program
2019-01-02 13:27:58.581 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 12ms. http://192.168.88.242:8096/emby/Items/969/Similar?userId=9c1ab963aa6c4f938c76bc010881042d&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete
2019-01-02 13:27:58.627 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Sync/969/Status. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.632 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Sync/969/Status. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.654 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 28ms. http://192.168.88.242:8096/emby/Sync/969/Status
2019-01-02 13:27:58.655 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 23ms. http://192.168.88.242:8096/emby/Sync/969/Status
2019-01-02 13:27:58.685 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Items/969/PlaybackInfo?UserId=9c1ab963aa6c4f938c76bc010881042d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:27:58.691 Info App: User policy for emby. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2019-01-02 13:27:58.691 Info App: Profile: Unknown Profile, Path: /media/Video/Bildbearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2019-01-02 13:27:58.691 Info App: Profile: Unknown Profile, Path: /media/Video/Bildbearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2019-01-02 13:27:58.691 Info App: Profile: Unknown Profile, Path: /media/Video/Bildbearbeitung 6.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2019-01-02 13:27:58.691 Info HttpServer: HTTP Response 200 to 192.168.88.123. Time: 7ms. http://192.168.88.242:8096/emby/Items/969/PlaybackInfo?UserId=9c1ab963aa6c4f938c76bc010881042d&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000
2019-01-02 13:28:02.774 Info HttpServer: HTTP POST http://192.168.88.242:8096/emby/Sessions/08469f0ea9d770bcc3b21c5131628363/Playing?ItemIds=969&PlayCommand=PlayNow&MediaSourceId=2cd6578b6738f0efab812d6ca28b722a&AudioStreamIndex=1. UserAgent: Mozilla/5.0 (Linux; Android 8.0.0; SM-T820 Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/69.0.3497.91 Safari/537.36
2019-01-02 13:28:02.835 Error HttpClient: Error getting response from 
	*** Error Report ***
	Version: 3.6.0.82
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.4.0.104
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 1
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Connection refused ---> System.Net.Sockets.SocketException: Connection refused
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   --- End of inner exception stack trace ---
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
	   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	Source: System.Net.Http
	TargetSite: Void MoveNext()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask`1 creationTask)
	   at System.Threading.Tasks.ValueTask`1.get_Result()
	   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
	   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
	   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	InnerException: System.Net.Sockets.SocketException: Connection refused
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
	

 

The connection errors are because it appears your jail cannot access the internet.

Link to comment
Share on other sites

KarolKo

What happened with the out of box profile?

 

Your custom profile isn't guaranteed to work. You have to make sure that the TV supports whatever changes you're making.

 

I tried with the "out of the box" configuration and the result was transcoding. I copied the transcode log from that attempt to my previous response. Only then I started adding a custom profile which improved my situation on 3.5.3.0.

Edited by KarolKo
Link to comment
Share on other sites

KarolKo

Fond this in Hardware Detection log:

DetectionOutputs":[{"CodecProviderName":"Vaapi","StandardError":"\n","Result":
,"ExitCode":139},{"CodecProviderName":"QuickSyncCodecInfoProvider","StandardError":"\n","Result":
,"ExitCode":139},{"CodecProviderName":"NvidiaCodecInfoProvider","StandardError":"\n","Result":{
    "ProgramVersion": {
        "Version": "4.0.2-emby_2018_12_09",
        "Copyright": "Copyright (c) 2018-2018 softworkz for Emby Llc",
        "Compiler": "gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)",
        "Configuration": "--cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static"
    },
    "Error": {
        "Number": -1,
        "Message": "Operation not permitted"
    },
    "Log": [
        {
            "Level": 16,
            "Category": 0,
            "Message": "Cannot load libcuda.so.1"
        },
        {
            "Level": 16,
            "Category": 0,
            "Message": "Error loading CUDA functions"
        }
    ]
}

So I did another test, removed the custom profile at first, kept everything again. You can see it has found the LG Smart TV profile when the movie started via the Android App or Web App, but the movie did not direct play, neither transcoded.

In the logs you will also see Unknown profile - this is what I was trying to resolve with my Custom profile - its the access directly from TV via the built in DLNA client.

I also tried again my own profile, but again, no transcoding nor direct play.

 

It always ends with unsupported media format.

 

Lastly, THANK YOU for your help!

 

embylognew.txt

Link to comment
Share on other sites

KarolKo

The connection errors are because it appears your jail cannot access the internet.

 

Those logs are _not_ from the FREENAS install. Its from an ubuntu server and yes, some of the connection errors are from trying to update metainfo from internet. The machine has no access to internet. Though I tried to enable internet access for the sake of trying everything while I was testing 3.6.0.82/3. No difference to the result though.

Link to comment
Share on other sites

The only thing I can think of is something in our dlna response headers that the tv doesn't like. can you supply a sample video for testing? thanks.

Link to comment
Share on other sites

KarolKo

Thank you for looking into this.

 

I am not so sure if the problem is on Emby's side.

 

Though the setup of the server was fairly standard with apt-get install emby-server and dpkg -i empty 3.6.0.83 on my Ubuntu 16.04.5. I find it suspicious, that nothing is playing at all. Not on TV, neither on Android app, nor WebApp. Yet other DLNA servers are playing all movies just fine. Or Emby 3.5.3.0 is playing at least something (though installed on Freenas).

 

I have attached a sample file for your convenience.

Video1.tgz

Link to comment
Share on other sites

  • 3 weeks later...

Hi Luke,

 

I just updated to emby 4.0.1.0 on freenas and so far all my issues seem resolved and all movies I tried so far are playing on my TV correctly. Thank you so much for your efforts.

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