Kodi Community Forum
Android Sony Bravia Smart TVs (2015) based on Android TV - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Android Sony Bravia Smart TVs (2015) based on Android TV (/showthread.php?tid=229348)



RE: Sony Bravia Smart TVs (2015) based on Android TV - cwh060 - 2017-06-21

I know this might be a bit of work, but could you combine the VOB files into an MKV, MP4 (HVEC265 or 264), TS stream. Then store them on your NAS. Been a while since I worked with VOB files, but this was my process a few years ago. I usually stripped out excess languages, CC and audio. I converted all my DVD's to MP4, this way I can playback on almost any device. Kodi does a marvelous job of picking up movie details and fanart.


Use either FFMPEG, MediaCoder, VideoRedo. There are many out there, I use these.


RE: Sony Bravia Smart TVs (2015) based on Android TV - Dinsdale87 - 2017-06-21

Not or 6TB worth of DVD's, ha... I'd rather keep them in the original format... I don't want to suffer any quality loss as a result of conversion, lose chapters, lose menu's etc.


RE: Sony Bravia Smart TVs (2015) based on Android TV - wrxtasy - 2017-06-21

(2017-06-21, 14:36)Dinsdale87 Wrote: I use Kodi on my 2015 Sony Bravia Android TV and love it. I have recently invested in a NAS drive and ported 6TB of content over. 99% of this is standard definition video (mostly NTSC, some PAL) in DVD format with MPEG-2 video.

I've added the server as an SMB connection and Kodi can see the files fine. It recognises the DVD format so booting up any IFO files takes me straight to the menu and I can play the video as if it were in a DVD player. This is exactly what I want - brilliant.

The issue is playback. Both NTSC and PAL footage is very choppy. The sound seems fine, but the playback just isn't smooth. It seems to be choppy in the same places.

If the CPU's on the Sony Android TV's up up to the task and have enough grunt you can use SPMC and Software decoding by following this workaround for DVD, mpeg2, .vob playback:

https://forum.kodi.tv/showthread.php?tid=316507&pid=2603123#pid2603123

The real question is does Kodi or SPMC on the Sony TV's do Kodi/SPMC dynamic refresh switching of the TV to match 29.97fps NTSC DVD's or 25fps PAL DVD for smooth video playback ?

If Kodi/SPMC on Sony TV's does not do dynamic refresh switching that will be where at least one of your choppy video playback problem originates from.


RE: Sony Bravia Smart TVs (2015) based on Android TV - cwh060 - 2017-06-21

Now I'm curious.

Does the internal Sony Video player recognize the IFO files and play them back?

Have you tried moving the DVD video TS folder to a USB stick and plugging this into the Television? See if Kodi playback is any better, would eliminate a network issue or any kind of data playback issue.

Great suggestion wrxtasy....I think SPMC can dynamic refresh. Not at home to confirm though.


RE: Sony Bravia Smart TVs (2015) based on Android TV - wrxtasy - 2017-06-21

SPMC v16 .x can be installed direct from the Playstore along side Kodi - they do not interfere with each other.

SPMC v17.x (Krypton) has started very early testing too. Bit buggy at the moment tho:
https://github.com/koying/SPMC/issues/936


RE: Sony Bravia Smart TVs (2015) based on Android TV - Dinsdale87 - 2017-06-21

(2017-06-21, 17:32)cwh060 Wrote: Now I'm curious.

Does the internal Sony Video player recognize the IFO files and play them back?

Have you tried moving the DVD video TS folder to a USB stick and plugging this into the Television? See if Kodi playback is any better, would eliminate a network issue or any kind of data playback issue.

Great suggestion wrxtasy....I think SPMC can dynamic refresh. Not at home to confirm though.

I don't think it does, but I will try it. Ideally though, I want to use Kodi anyway.

I don't mean to sound silly but I don't even know what SPMC is. Can I confirm wrxtasy, that you don't know of a solution that doesn't involve installing this SPMC (hardware capability permitting)?


RE: Sony Bravia Smart TVs (2015) based on Android TV - cwh060 - 2017-06-21

If it works using the Sony Internal Player, then you can just call it through Kodi using the playercorefactory.xml each time a DVD or "IFO" record is encountered.

SPMC is a modified android version of Kodi, by the developer who created Kodi for Android.


RE: Sony Bravia Smart TVs (2015) based on Android TV - wrxtasy - 2017-06-21

http://kodi.wiki/view/SPMC

https://github.com/koying/SPMC/wiki


RE: Sony Bravia Smart TVs (2015) based on Android TV - nickr - 2017-06-22

If you rip with makemkv you lose no quality.


RE: Sony Bravia Smart TVs (2015) based on Android TV - krakout - 2017-06-22

Haven't ever tried using external players, but indeed cwh060 is right - SPMC seems to be much better at handling things, I can confirm that.


RE: Sony Bravia Smart TVs (2015) based on Android TV - Oibaf - 2017-06-22

Looking at the code of kodi and SPMC I found out that Kodi disables the hardware acceleration for mpeg4 files (divx, xvid, etc.) if they have a width smaller than 800 whilst this parameter is configurable in SPMC:

case AV_CODEC_ID_MPEG4:
if (hints.width <= 800)
goto FAIL;
m_mime = "video/mp4v-es";
m_formatname = "amc-mpeg4";
break;

Moreover in Kodi the vp6 files are wrongly decoded with the vp8 codec:

case AV_CODEC_ID_VP3:
case AV_CODEC_ID_VP6:
case AV_CODEC_ID_VP6F:
case AV_CODEC_ID_VP8:
//m_mime = "video/x-vp6";
//m_mime = "video/x-vp7";
m_mime = "video/x-vnd.on2.vp8";
m_formatname = "amc-vpX";
break;

The code is correct in SPMC.


RE: Sony Bravia Smart TVs (2015) based on Android TV - Oibaf - 2017-06-23

I found an old post where there were some complaints about kodi rendering xvid files with choppiness:

https://forum.kodi.tv/showthread.php?tid=181174

According to this post in the past it was possible to configure the decoding behavior of kodi (hardware or software decoding for each format ). Now it is not possible anymore and it is a pity.

I think the coder decide to force the software decoding of mpeg4 files to avoid problems with some socs but it would have been better to leave an option like in SPMC.


RE: Sony Bravia Smart TVs (2015) based on Android TV - nickr - 2017-06-23

Perhaps either post a bugtracker (see above) or submit a pull request to github.


RE: Sony Bravia Smart TVs (2015) based on Android TV - Koying - 2017-06-23

Unfortunately, adding "tweaking" gui options is one of the things which is generally rejected in Kodi, a lot of members strongly believing in the "automagic" motto, rather than the "let the users help themselves" one.

Other examples:
- IEC vs RAW passthrough
- Mysql via GUI (as amet told me)

So yeah, those are the kinds of spmc "features" that I generally don't backport to avoid endless discussion leading mostly to a dead PR.


RE: Sony Bravia Smart TVs (2015) based on Android TV - Oibaf - 2017-06-23

Thanks I was just looking at the github repository and I noticed that the issues section has been disabled. I will use the bugtracker.