njk1961
Posts: 20
Joined: Mon Jun 15, 2015 5:05 am

3D Frame Packing (FP)

Sat Jan 09, 2016 12:33 pm

I am using omxplayer with SBS 3D movies without problem. But now I got a projector that only accepts 3D Frame Packing.
I noticed there is a flag on omxplayer to force FP. My questions:

1. What media format should I use? Do I need to render the media first in this format (Top Bottom with 45 lines = 1920x2205) or is there any player that already does that?
2. Is there any opengl "plugin" to convert from SBS to FP on the fly?
3. Which HDMI mode should be set?
4. Is RPI able to send 1920x2205 resolution? How should I configure my config.txt?

Thanks in advance for any help
N

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5171
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 3D Frame Packing (FP)

Sat Jan 09, 2016 12:57 pm

Currently FP output from omxplayer is only supported for full resolution MVC files.
You can remux a Blu-Ray ISO to mkv (e.g. with makemkv) and make sure the stereo video stream is enabled (it isn't by default).

Run:

Code: Select all

omxplayer -3 FP file.mkv
Kodi does also support what you need for half-SBS and half-TAB files if you enable "Use full HD modes for 3D" in video/acceleration settings.

njk1961
Posts: 20
Joined: Mon Jun 15, 2015 5:05 am

Re: 3D Frame Packing (FP)

Sat Jan 09, 2016 2:10 pm

Thanks for your reply, dom.

But I still dont understand one thing: AFAIK, rpi is limited to 1920x1080p videos resolution, right? So how is it possible to send 1920x2205?

I have rendered myself a small video at this resolution (1920x1080 plus 45 lines plus 1920x1080 = 1920x2205). Then I tried "omxplayer -3 FP myvideo1920x2205.mp4", so the "-3 FP" should send hdmi signals to TV telling the video format being used. I was expecting that this would work, but it didnt. I was wondering it was due to 1920x1080 limitation.

My TV accepts FP full HD, and EDID confirms that. Should I make any modification in my /boot/config.txt? I have tried to force a customized mode 87 without success.

Thanks again,
N

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5171
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 3D Frame Packing (FP)

Sat Jan 09, 2016 2:41 pm

MVC is an extension to H.264 which is supported in hardware. It is not encoded as 1920x2205 but as a primary 1920x1080 stream with a secondary stream that can use the primary as a reference.

So, resolutions above 1920x1080 are not supported, but MVC is.

https://en.wikipedia.org/wiki/Multiview_Video_Coding

njk1961
Posts: 20
Joined: Mon Jun 15, 2015 5:05 am

Re: 3D Frame Packing (FP)

Sat Jan 09, 2016 2:59 pm

OK, I got it.

But reading about 3D FP, the output through HDMI should be in that resolution for full HD (1920x2205), no matter how the video was stored (SBS, TB, MVC, etc), right? I understand that the player should get each eye view, compose them into the 3D FP format and send to HDMI. Thats why my question still remains. The output resolution shouldnt be in HDMI mode 32, which is [email protected]?

The same question about Kodi alternative. I understand that Kodi takes each Half SBS video frame, split it, expand each half to fulfill 1920x1080, then compose them to Frame Packing format. Only after that it can send it to HDMI.

I am trying to understand how it works, I read a lot and still confused.

Thanks again
N

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5171
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: 3D Frame Packing (FP)

Sat Jan 09, 2016 4:09 pm

The MVC video is two streams of 1920x1080.
The HDMI mode switched to by omxplayer will be 1920x2205 when run with the "-3 FP" option.

When the decoded video frames are tagged as two channel and the HDMI mode is 3D FP, then dispmanx will ensure the left and right pictures are positioned appropriately in the 1920x2205 HDMI mode.
Although the 1920x2205 image never exists in memory - it is generated on the fly by the hardware video scaler (HVS) when outputting the HDMI frame.

cajrix
Posts: 1
Joined: Fri Jun 22, 2018 8:42 am

Re: 3D Frame Packing (FP)

Fri Jun 22, 2018 8:44 am

Hello, got rpi3 with LibreElec installed, what i have to set up for 3d mvc support? i need it to connect to my beamer.
Have got some 3D BD iso, when i try to play it it offers 3 streams, think one is for 2d and other two for 3D picture.
I also test it on kodi full hd test file (first video https://kodi.wiki/view/Samples)

Can you help me step by step setup?
Full HD HDMI modes for stereoscopic 3D is enabled

thank you

Return to “Media centres”