Jump to content
TopperBG

[IPTV] Ability to watch PiP (picture in picture) two channels

Recommended Posts

TopperBG

Hello pals,

I'm using short term Emby server to serve my Movie and Music collection and I'm fully satisfied.

After installed XMLTV server plugin I can watch and my TVHeadend IPTV received TV programs.

Now I've though (just an idea because don't look at server plugins in depth) - if the XMLTV plugin uses ffmpeg or avconv to cast TV channels is it possible to make choose second channel and produce resultant stream from both channels with Picture in Picture.

I know with FFMpeg is relatively easily like

ffmpeg -i pipInput1.flv -i pipInput2.flv -filter_complex "[1]scale=iw/5:ih/5 [pip]; [0][pip] overlay=main_w-overlay_w-10:main_h-overlay_h-10" -profile:v main -level 3.1 -b:v 440k -ar 44100 -ab 128k -s 720x400 -vcodec h264 -acodec libfaac PIP_output1.mp4 

 or more simple

ffmpeg -i master_video.mp4 -vf "movie=second_video.mp4, scale=800:-1 [inner]; 
[in][inner] overlay=70:70 [out]" completed.mp4
ffmpeg -i rtsp://serer/mp4:1.mov -i http://serer2/sample-video2.mp4 -filter_complex “[1]scale=iw/4:ih/4 [pip]; [0][pip] overlay=main_w-overlay_w-10:main_h-overlay_h-10″ -ar 44100 -f flv rtmp://localhost:1935/Stream

etc more variants.

 

Could be possible to be created such PiP IPTV plugin server side ?

 

Thanks to anyone in advance.

  • Like 6

Share this post


Link to post
Share on other sites
Luke

Hi, we don't currently have this feature but it's a potentially nice idea for the future.

  • Like 1

Share this post


Link to post
Share on other sites
Untoten

This would be awesome especially with organizr 

Share this post


Link to post
Share on other sites
Jdiesel

I have been playing around with the -filter_complex flag in ffmpeg and have been successful getting 2 and 4 simultaneous live streams from a m3u into a video single stream outside of Emby. This would be a killer feature if it can be incorporated into Emby. NFL season openers start in 4 months... 

Share this post


Link to post
Share on other sites

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