Kodi Community Forum
WIP Stereoscopic 3D support for half/full SBS, over/under, etc - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: WIP Stereoscopic 3D support for half/full SBS, over/under, etc (/showthread.php?tid=147285)



RE: Stereoscopic 3D support for half/full SBS, over/under, etc - phate89 - 2014-07-01

Also libav is working on mvc (but idk what is the status of the development).
http://blogs.gentoo.org/lu_zero/2014/04/04/the-road-to-mvc/


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - da-anda - 2014-07-01

@arokh driver support allone won't help if XBMC can't decode the MVC 3D bluray Wink


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - RockerC - 2014-07-01

If an when libav get support for MVC then it probably just a matter of time before FFmpeg gets it too, see http://forum.xbmc.org/showthread.php?tid=147285&pid=1714028&highlight=libav#pid1714028
(2014-05-19, 12:22)RockerC Wrote:
(2014-05-18, 14:54)da-anda Wrote:
(2014-05-17, 16:10)HomeTheatreGuru Wrote: what are the chances of MKV MVC support being implemented at some point?
I talked to some ffmpeg guys at LinuxTag exhibition, and MVC is still not on the big radar, especially because it requires fundamental changes to ffmpeg core
Libav, a fork of FFmpeg, currently have a few developers working on a major refactoring and cleanup of the H.264 code to accommodate MVC support

Libav developer Luca Barbato have posted a nice little summary about this huge task on his blog
http://blogs.gentoo.org/lu_zero/2014/04/04/the-road-to-mvc/
https://wiki.libav.org/Blueprint/MVC

More discussion about that refactoring effort and work on MVC in their libav-devel mailing list
https://lists.libav.org/mailman/listinfo/libav-devel/

There is at least a chance once Libav finish their refactoring and cleanup that FFmpeg developers might perhaps back-port those changes to FFmpeg



RE: Stereoscopic 3D support for half/full SBS, over/under, etc - arokh - 2014-07-01

(2014-07-01, 13:29)da-anda Wrote: @arokh driver support allone won't help if XBMC can't decode the MVC 3D bluray Wink

Can't we simply launch an external player to play the file like the Windows people do? XBMC doesn't need to know it's MVC.


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - phate89 - 2014-07-01

(2014-07-01, 14:47)arokh Wrote:
(2014-07-01, 13:29)da-anda Wrote: @arokh driver support allone won't help if XBMC can't decode the MVC 3D bluray Wink

Can't we simply launch an external player to play the file like the Windows people do? XBMC doesn't need to know it's MVC.

you need 3 things to do what you want:
1)hardware that support frame packing and driver that supports it
2) software that support the specific driver for your os (for example the build they talked about supports nvidia and intel driver only in windows) with frame packing support
3) MVC decoder
Right now (i think) there isn't 2 and 3 for linux. Windows with tmt ad powerdvd can work with an external player..


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - arokh - 2014-07-01

1. Check! http://cgit.freedesktop.org/vaapi/intel-driver/log/ (MVC decoding has just been commited in master).
2. No, we just need a player that supports MVC.
3. Check! Read my previous post about gstreamer.

Looks to me like I'll be playing MVC this summer Smile


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - as00270 - 2014-07-07

I have a high-end crt projector (Electrohome 9500) -that can produce [email protected]
(or [email protected] -my favourite resolution )

For the moment -i only get 3d with a hdfury4 -limited o 720p120.00Hz

- or on a crazy way -
directly from my vide6 card over d-sub (vga) to my projector-( with the xbmc 3d interlaced mode in [email protected] and simulatiously (with xrandr) over hdmi in 60p to hd-fury - this one in 3d mode outputs the necessary sync 3d signal for nvidis 3d vision glasse

Actually i do use linx - but i would even chnge my os, if there should be any easier solution

My question: is there any other - easier way to "catch" the shutter sync signal?


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - xbmc_now - 2014-07-07

I'd like to play on XBMC open 3D SBS videos in Youtube addon, but how to start python by the 3D mode is not known.
For the URL, 3D mode start-up of the file name does not work in playback of Youtube addon.
Is there any way?

PHP Code:
xbmc.Player().play('plugin://plugin.video.youtube/?action=play_video&videoid=EgD5_7u2NvQ'



RE: Stereoscopic 3D support for half/full SBS, over/under, etc - da-anda - 2014-07-07

if you don't know in python that it's a 3D video, there is nothing you can do. If you know in python that the video is 3D, you could try adding a ".3D.SBS" string to the URL as fake parameter f.e. or try setting the stereo_mode in the streamdetails of that fileitem. Just guesses, no guarantees.


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - xbmc_now - 2014-07-08

ok
how to setting the stereo_mode in the streamdetails of that fileitem?


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - Batiatus - 2014-07-08

(2014-07-01, 15:14)arokh Wrote: 1. Check! http://cgit.freedesktop.org/vaapi/intel-driver/log/ (MVC decoding has just been commited in master).
2. No, we just need a player that supports MVC.
3. Check! Read my previous post about gstreamer.

Looks to me like I'll be playing MVC this summer Smile

So if I'm ready this correctly, decoding for playback of MVC doesn't sound that far off.... at least with external players? Or is this being built into the codec that XBMC uses and if so, how long after going live would it take to be build in and supported by XBMC?


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - da-anda - 2014-07-08

(2014-07-08, 05:55)xbmc_now Wrote: ok
how to setting the stereo_mode in the streamdetails of that fileitem?
have a look at the example here: http://mirrors.xbmc.org/docs/python-docs/13.0-gotham/xbmcgui.html#ListItem
I haven't checked the underlying code though, so i'm not sure if you can pass the stereo_mode in same way as f.e. the codec. I'm also not sure if the player will make use of it in the correct spots. Best might be to first try the filename flags.


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - da-anda - 2014-07-08

(2014-07-08, 07:18)Batiatus Wrote:
(2014-07-01, 15:14)arokh Wrote: 1. Check! http://cgit.freedesktop.org/vaapi/intel-driver/log/ (MVC decoding has just been commited in master).
2. No, we just need a player that supports MVC.
3. Check! Read my previous post about gstreamer.

Looks to me like I'll be playing MVC this summer Smile

So if I'm ready this correctly, decoding for playback of MVC doesn't sound that far off.... at least with external players? Or is this being built into the codec that XBMC uses and if so, how long after going live would it take to be build in and supported by XBMC?
read again. Decoding is the missing piece, and this might still take a while until it has been implemented in to libav and been backported to ffmpeg. And only once it's in ffmpeg XBMC can make use of it.


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - xbmc_now - 2014-07-08

If the URL listed in the file, such as 'live.3D.SBS.m3u8' or 'stream.3D.SBS.strm', it is played in 3D mode.


RE: Stereoscopic 3D support for half/full SBS, over/under, etc - da-anda - 2014-07-08

(2014-07-08, 13:58)xbmc_now Wrote: If the URL listed in the file, such as 'live.3D.SBS.m3u8' or 'stream.3D.SBS.strm', it is played in 3D mode.
so issue solved for you? I know it's some sort of a hacky workaround, but probably the only working solution atm