Issues playing h265 HEVC video on Samsung TV
I've recently hit some issues playing back media files, they're pretty much always HEVC x265 videos. I'm trying to play them on my Samsung E series TV, I have the profile set on my TV, when I play them through the menu on the TV the files play back but they're so choppy they're unwatchable (green and pixelated bars across the screen). When I play them via UPnP on my phone, the device tells me they're not supported (but my UPnP device is also using the Samsung E series profile).
I've seen this post: viewtopic.php?f=10&t=21948 it seems to describe a similar issue, but there was no resolution.
I first tried updating serviio, and recompiling ffmpeg, with x265 support:
ffmpeg version N-79154-ga55c953 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
This seems to work fine for most files, but not the HEVC files.
I've attached a copy of debug logs from me starting up serviio, trying to play the file through the Samsung TV menu (it takes a few seconds to start up then plays all choppy) I then tried to play back using my phone and it turned my request down.
I noticed after I had finished playing that the init script I use doesn't stop serviio, so I had to kill it, when I did this I noticed the ffmpeg session that should have stopped when I stopped playing back the video was still running:
serviio 14943 14771 99 20:13 pts/1 00:01:34 ffmpeg -threads auto -i /media/storage/share/Media/TVShows/11.22.63/Season 1/11.22.63 - S01E02 - The Kill Floor.mkv -y -threads auto -c:v mpeg2video -pix_fmt yuv420p -b:v 15360k -maxrate:v 15360k -bufsize:v 15360k -r 24000/1001 -g 15 -c:a ac3 -b:a 192k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-2501-sam_ef-ORIGINAL.stf
Strange... it seems to hang around until I kill the main serviio process.
Anyway, any suggestions as to how to fix HEVC video transcoding I would appreciate the help!