Feature Request - Playback of two video streams at the same time for PiP and more?

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
RockerC Offline
Posting Freak
Posts: 1,485
Joined: May 2011
Reputation: 28
Post: #1
Any plans for the new video player architecture to support playback of two videos at the same time?

Perhaps by either by having the one VideoPlayer be able to play two different videos, or allow two (or even more) instances of the VideoPlayer core to run at the same time to that way enable Kodi to play different videos at the same time.

I think the primary reason for wanting this feature in Kodi is PiP (Picture-in-Picture) support. PiP is commonly supported by almost all modern DVR boxes these days if they have multiple TV-tuners inside them. With the GUI showing two different video streams where one smaller window is overlaying the other in only one corner of the screen. This would perhaps also be the natural progression of Kodi as a PVR frontend software to display Live TV, and preview of a new program when browsing the EPG.

Picture-by-Picture (PbP), also referred to as Picture-and-Picture (PaP/P&P), is a related Picture-in-Picture feature however instead it refers to showing two programs side-by-side on the screen, with bonus feature being that the sound from one program can be being played through the speakers, and the sound from the other program is being sent to headphones.

Blu-ray Disc (and HD DVD) specifications also included picture-in-picture support as a standard feature, this to allowing viewers to see, say, the director's comment on a film they are watching. All of the Blu-ray Disc titles in 2006 and 2007 that had a PiP track used two separate HD encodings, with one of the HD encodings including a hard-coded PiP track. Starting in 2008 Blu-ray Disc titles started being released that use one HD and one SD video track which can be combined together with a Bonus View or BD-Live player. This method uses less disc space allowing for PiP to be more easily added to a title. Several studios have released Bonus View PiP Blu-ray Disc titles in 2008 such as Aliens vs. Predator: Requiem, Resident Evil: Extinction, V for Vendetta, and War.

Other reasons for wanting this could be to create the opertunity for more unusual features; such as seamless or crossover playback of videos, like when for examples playing a playlist of music videos. Or perhaps playing a video game through RetroPlayer while having the a 'Let's Play' video from YouTube or fotball game (Live TV) playing windowed in a corner while gaming, PictureInPicture style.
(This post was last modified: 2016-03-10 13:38 by RockerC.)
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 6,190
Joined: Jul 2010
Reputation: 140
Location: Munich
Post: #2
(2016-03-10 13:25)RockerC Wrote:  Any plans for the new video player architecture to support playback of two videos at the same time?

Sure, but this is a long way to go that require major architectural changes. Note that VideoPlayer is more of a transformation than a rewrite.
find quote
RockerC Offline
Posting Freak
Posts: 1,485
Joined: May 2011
Reputation: 28
Post: #3
(2016-03-11 16:54)FernetMenta Wrote:  
(2016-03-10 13:25)RockerC Wrote:  Any plans for the new video player architecture to support playback of two videos at the same time?
Sure, but this is a long way to go that require major architectural changes. Note that VideoPlayer is more of a transformation than a rewrite.
That's cool. So which one do you think is the best approach to achieve it? Having the one VideoPlayer be able to play two different videos, or allow two (or even more) instances of the VideoPlayer core to run at the same time to that way enable Kodi to play different videos at the same time?
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 6,190
Joined: Jul 2010
Reputation: 140
Location: Munich
Post: #4
The latter. That's also the approach for transcoding.
find quote
jmebd Offline
Junior Member
Posts: 1
Joined: May 2016
Reputation: 0
Post: #5
Was searching exactly for this feature and saw this.....I'd LOVE to be able to do PIP since I have 3 tuners. (whispers----> "so where do I throw the money to for this to be added?") *grin*
(This post was last modified: 2016-05-04 20:45 by jmebd.)
find quote
overdrive69 Offline
Junior Member
Posts: 20
Joined: Aug 2014
Reputation: 2
Post: #6
Hi everyone,
are there any news on this?
find quote
FernetMenta Offline
Team-Kodi Developer
Posts: 6,190
Joined: Jul 2010
Reputation: 140
Location: Munich
Post: #7
Still a long way to go
find quote
Rjsachse Offline
Fan
Posts: 475
Joined: Sep 2015
Reputation: 16
Location: Australia
Post: #8
I see ffmpeg is very capable of doing picture in picture. Is there away we could write commands to ffmpeg in kodi for various effects? This feature would really put kodi above all other media centers.

Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
find quote
Mike7143 Offline
Junior Member
Posts: 23
Joined: Dec 2014
Reputation: 0
Post: #9
What about just live TV for starters? I use Windows Media Center with ServerWMC as the backend and a Ceton card with 4 tuners. It'd be neat to split and do 2 live show at once. I suppose if you're making screen splits, why not 4? 6?
find quote
Gregoire Offline
Senior Member
Posts: 140
Joined: Jan 2011
Reputation: 1
Post: #10
*bump*

Much interest in this too.
find quote
da-anda Offline
Team-Kodi Member
Posts: 5,779
Joined: Jun 2009
Reputation: 77
Location: germany
Post: #11
it's still work in progress. You'll see this feature being announced in our blog posts once ready.
find quote
freddy12 Offline
Senior Member
Posts: 145
Joined: Aug 2014
Reputation: 2
Post: #12
(2017-01-22 23:20)da-anda Wrote:  it's still work in progress. You'll see this feature being announced in our blog posts once ready.

looking forward to it, Deff a feature im looking forward to, im sure its still a long way off but is it looking likely to be v18 or 19
find quote
Memphiz Offline
Kodi MVP
Posts: 16,012
Joined: Feb 2011
Reputation: 225
Location: germany
Post: #13
Where does it look likely to be v18 or v19? I really wanna know Smile

AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
freddy12 Offline
Senior Member
Posts: 145
Joined: Aug 2014
Reputation: 2
Post: #14
(2017-02-22 18:12)Memphiz Wrote:  Where does it look likely to be v18 or v19? I really wanna know Smile

"is it" usually means a question... but feel free to always be a grumpy ass memphiz.
find quote
Atreyu Offline
Donor
Posts: 1,023
Joined: Sep 2015
Reputation: 23
Post: #15
Questions usually have question marks and i see a happy face at the end of Memphiz sentence ;-).

But anyway, why i came in here : w00t! to PiP !!
find quote
Post Reply