Jump to content

DLNA transcoding 4K content successfully, but nothing show on my Panasonic TV


Recommended Posts

Posted

Hey, I need some help to figure out the reason why my 2017 model Panasonic TV cannot play any 4K HEVC content.

 

The Emby server installed on a PC with Windows Server 2016 standard, stream to my TV via DLNA. 

checked the transcode log, cannot find any issue. but I do find there are some HttpListenerResponseWrapper error in the server log.  have tried to turn off my server firewall, which does not make any differences.

 

really appreciated if anyone could point me to the right direction.

 

ffmpeg-remux-6df72abf-5487-4396-a5f3-7ec1f43b5558.txt

server-63645424096.txt

Posted

hi @@jinjin, we haven't tested this on a panasonic. have you researched the supported formats of the tv so find out how it should be playing this file? thanks !

Posted

Hi Luke, thanks for your reply.  I copied the temp file to a USB drive  and it plays well on the TV (original video plus converted sound track)

Posted (edited)

Hi, I have a few questions regarding the errors I saw in the logs.

 

1. Error in HttpListenerResponseWrapper: An established connection was aborted by the software in your host machine.

 

   what is the host machine, is the emby server or the DLNA receiver?

 

 

2  HTTP Response 500 to 192.168.178.32. Time: 1333ms (slow).   //localhost:8096/videos/f7d253f5d17ff7e884c309cc4dde9b9a/stream.mkv?Params=ba9ab94f705db3d86f649f19dc5c78a1;test;f7d253f5d17ff7e884c309cc4dde9b9a;false;h264,hevc,mpeg2video;ac3;1;;99616000;384000;;;;;0;;;;;;;;;f7d253f5d17ff7e884c309cc4dde9b9a;false;;;false;e42e14fd987af7dc147fd0bc52124bb5;false;;false;false;AudioCodecNotSupported,

 

Does AudioCodecNotSupported indicate emby is not able to convert the dts to ac3, so it returns 500 to the DLNA receiver? 

 

 

 

it would be appreciated if anyone can give me some hints 

Edited by jinjin
Posted

What this means is that the TV didn't like the format being sent by the server so it disconnected. Yes conversion is possible. Unfortunately dlna requires individual testing on every device you want to support, and we don't have a Panasonic in house so that's why the out of box experience is not optimal.

Posted (edited)

now I found some interesting things between a transcoded movie and a direct played movie.
 
For this transcoded movie: 
5a110a1cbf488_Capture.png
 
I got errors from the server log, saying the audiocodec does not supported. 
 

2017-11-19 16:59:21.811 Info HttpServer: HTTP GET http://192.168.50.200:8096/videos/60c687be66c908fae5d6ea4c609f34c5/stream.mkv?Params=ba9ab94f705db3d86f649f19dc5c78a1;test;60c687be66c908fae5d6ea4c609f34c5;false;h264,hevc,mpeg2video;ac3,aac,mp3,flac;1;;99616000;384000;;;;;0;;;;;;;;;60c687be66c908fae5d6ea4c609f34c5;false;;;false;5ed352134e4b645fce2e3a41996c489a;false;;false;false;AudioCodecNotSupported. Accept=*/*, Connection=close, Host=192.168.50.200:8096
2017-11-19 16:59:21.816 Info App: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -i file:"E:\Movies\Planet Earth II HEVC 2160p UHD\Planet Earth II S01E05 Grasslands 2160p UHD BluRay HEVC HDR DTSHD5.1-DDR.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 384000 -y "D:\Emby-Server\TempTranscoding\transcoding-temp\cfc41b2cb6e7d6ec4ae8a10334fc21cb.mkv"
2017-11-19 16:59:22.028 Info App: ffmpeg successfully started
2017-11-19 16:59:22.028 Info App: ffmpeg successfully started
2017-11-19 16:59:23.219 Error HttpServer: Error in HttpListenerResponseWrapper: An existing connection was forcibly closed by the remote host
*** Error Report ***
Version: 3.2.36.0
Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at SocketHttpListener.Net.HttpResponseStream.DisposeCore()
at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response)
System.Net.Sockets.SocketException
at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at SocketHttpListener.Net.HttpResponseStream.DisposeCore()
at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response)

2017-11-19 16:59:23.220 Info HttpServer: HTTP Response 500 to 192.168.50.228. Time: 1408ms (slow). http://192.168.50.200:8096/videos/60c687be66c908fae5d6ea4c609f34c5/stream.mkv?Params=ba9ab94f705db3d86f649f19dc5c78a1;test;60c687be66c908fae5d6ea4c609f34c5;false;h264,hevc,mpeg2video;ac3,aac,mp3,flac;1;;99616000;384000;;;;;0;;;;;;;;;60c687be66c908fae5d6ea4c609f34c5;false;;;false;5ed352134e4b645fce2e3a41996c489a;false;;false;false;AudioCodecNotSupported
2017-11-19 16:59:23.221 Info HttpServer: HTTP GET http://192.168.50.200:8096/videos/60c687be66c908fae5d6ea4c609f34c5/stream.mkv?Params=ba9ab94f705db3d86f649f19dc5c78a1;test;60c687be66c908fae5d6ea4c609f34c5;false;h264,hevc,mpeg2video;ac3,aac,mp3,flac;1;;99616000;384000;;;;;0;;;;;;;;;60c687be66c908fae5d6ea4c609f34c5;false;;;false;5ed352134e4b645fce2e3a41996c489a;false;;false;false;AudioCodecNotSupported. Accept=*/*, Connection=close, Host=192.168.50.200:8096
2017-11-19 16:59:23.231 Error HttpServer: Error in HttpListenerResponseWrapper: An established connection was aborted by the software in your host machine
*** Error Report ***
Version: 3.2.36.0
Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine
at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at SocketHttpListener.Net.HttpResponseStream.DisposeCore()
at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response)
System.Net.Sockets.SocketException
at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at SocketHttpListener.Net.HttpResponseStream.DisposeCore()
at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response)

2017-11-19 16:59:23.232 Info HttpServer: HTTP Response 500 to 192.168.50.228. Time: 1779ms (slow). http://192.168.50.200:8096/videos/aa3b5b8918a6f2c1eb4e497241613dfd/stream.mkv?Params=ba9ab94f705db3d86f649f19dc5c78a1;test;aa3b5b8918a6f2c1eb4e497241613dfd;false;h264,hevc,mpeg2video;ac3,aac,mp3,flac;1;;99616000;384000;;;;;0;;;;;;;;;aa3b5b8918a6f2c1eb4e497241613dfd;false;;;false;9ace61ea15f0519848cd9aef74907594;false;;false;false;AudioCodecNotSupported
2017-11-19 16:59:23.734 Info HttpServer: HTTP GET http://123.255.23.193:8096/emby/ScheduledTasks?IsEnabled=true. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
2017-11-19 16:59:23.742 Info HttpServer: HTTP Response 200 to 192.168.50.1. Time: 8ms. http://123.255.23.193:8096/emby/ScheduledTasks?IsEnabled=true
2017-11-19 16:59:27.179 Error HttpServer: Error in HttpListenerResponseWrapper: An existing connection was forcibly closed by the remote host
*** Error Report ***
Version: 3.2.36.0
Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at SocketHttpListener.Net.HttpResponseStream.DisposeCore()
at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response)
System.Net.Sockets.SocketException
at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at SocketHttpListener.Net.HttpResponseStream.DisposeCore()
at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response)

2017-11-19 16:59:27.179 Info HttpServer: HTTP Response 500 to 192.168.50.228. Time: 3958ms (slow). http://192.168.50.200:8096/videos/60c687be66c908fae5d6ea4c609f34c5/stream.mkv?Params=ba9ab94f705db3d86f649f19dc5c78a1;test;60c687be66c908fae5d6ea4c609f34c5;false;h264,hevc,mpeg2video;ac3,aac,mp3,flac;1;;99616000;384000;;;;;0;;;;;;;;;60c687be66c908fae5d6ea4c609f34c5;false;;;false;5ed352134e4b645fce2e3a41996c489a;false;;false;false;AudioCodecNotSupported

then I checked the remux log:

 

 

 

C:\Users\Administrator\AppData\Roaming\Emby-Server\system\ffmpeg.exe -i file:"E:\Movies\Planet Earth II HEVC 2160p UHD\Planet Earth II S01E05 Grasslands 2160p UHD BluRay HEVC HDR DTSHD5.1-DDR.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 6 -ab 384000  -y "D:\Emby-Server\TempTranscoding\transcoding-temp\cfc41b2cb6e7d6ec4ae8a10334fc21cb.mkv"

ffmpeg version 3.4 Copyright © 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, matroska,webm, from 'file:E:\Movies\Planet Earth II HEVC 2160p UHD\Planet Earth II S01E05 Grasslands 2160p UHD BluRay HEVC HDR DTSHD5.1-DDR.mkv':
  Metadata:
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-04-25T20:55:16.000000Z
  Duration: 00:49:12.84, start: 0.000000, bitrate: 36872 kb/s
    Chapter #0:0: start 0.000000, end 488.960000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 488.960000, end 1010.920000
    Metadata:
      title           : 00:08:08.960
    Chapter #0:2: start 1010.920000, end 1524.640000
    Metadata:
      title           : 00:16:50.920
    Chapter #0:3: start 1524.640000, end 1999.800000
    Metadata:
      title           : 00:25:24.640
    Chapter #0:4: start 1999.800000, end 2526.280000
    Metadata:
      title           : 00:33:19.800
    Chapter #0:5: start 2526.280000, end 2952.843000
    Metadata:
      title           : 00:42:06.280
    Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 25 tbc (default)
    Metadata:
      BPS             : 32845705
      BPS-eng         : 32845705
      DURATION        : 00:49:12.840000000
      DURATION-eng    : 00:49:12.840000000
      NUMBER_OF_FRAMES: 73821
      NUMBER_OF_FRAMES-eng: 73821
      NUMBER_OF_BYTES : 12123514073
      NUMBER_OF_BYTES-eng: 12123514073
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-04-25 20:55:16
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-04-25 20:55:16
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit)
    Metadata:
      title           : DTS-HD MA 5.1 @ 3840 kbps - Blu-ray GER
      BPS             : 4022709
      BPS-eng         : 4022709
      DURATION        : 00:49:12.843000000
      DURATION-eng    : 00:49:12.843000000
      NUMBER_OF_FRAMES: 276829
      NUMBER_OF_FRAMES-eng: 276829
      NUMBER_OF_BYTES : 1484803536
      NUMBER_OF_BYTES-eng: 1484803536
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-04-25 20:55:16
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-04-25 20:55:16
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Subtitle: subrip
    Metadata:
      BPS             : 44
      BPS-eng         : 44
      DURATION        : 00:48:31.119000000
      DURATION-eng    : 00:48:31.119000000
      NUMBER_OF_FRAMES: 359
      NUMBER_OF_FRAMES-eng: 359
      NUMBER_OF_BYTES : 16141
      NUMBER_OF_BYTES-eng: 16141
      _STATISTICS_WRITING_APP: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v10.0.0 ('To Drown In You') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2017-04-25 20:55:16
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-04-25 20:55:16
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, matroska, to 'D:\Emby-Server\TempTranscoding\transcoding-temp\cfc41b2cb6e7d6ec4ae8a10334fc21cb.mkv':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [sAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1, fltp (24 bit), 384 kb/s
    Metadata:
      encoder         : Lavc57.107.100 ac3

 

looks like server copies the video, just transcodes dts to ac3, using the MKV container to stream. but the connection between the server and TV has been disconnected because of the server error.

 

 

then I tried a direct played movie with this info:

 

5a110b3f78a6d_Capture.png

 

this movie can be played perfectly. and I can see the 3 audio tracks in the option menu

 

5a110b8c7f1af_IMG_20171119_172203_1.jpg

 

 

the customized profile attached. might need someone to help me, many thanks

Edited by jinjin
Posted

FYI - there's no server error. The TV disconnects because it doesn't like the format of the video being sent back. Unfortunately without a Panasonic for testing I can't explain why right now. It's just something that requires trial and error to keep trying certain things until you settle on something that works.

Posted (edited)

finally!!  I got it right.

 

few more questions, Luke.

 

the aspect ratio does not seems to be correct for some of the movies, 

 

5a113591e87bc_Capture.png

 

TV stretched the picture to full screen which makes it look so wired, do you know if there is anything I can force it to always output the original  ratio? 

 

 

 

the audio part, do you know if there is anyway in Emby I can setup the default audio track? 

 

and the subtitle does not seem to be working, I am not sure if there is anything I need to tweak in the profile, please advise 

Edited by jinjin
Posted

Except that we're not doing anything with that aspect ratio value so I don't see how it could have any impact.

 

As for the other questions, we should solve video first.

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