Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,951
|
Encoding with --frame-packing 3 and slices?
I've got some interesting 3D content lying around and thought I'd take a whack and encoding and playing it. I had encoded a bunch of stereo 3D with Expression Encoder for the Silverlight stereo 3D player several years ago, but I've never done it with x264.
First question: does --frame-packing 3 only set a metadata flag, or does it have some impact on the encoding process itself? It occurs to me that it may be preference to encode each eye's image as an individual slice, to reduce the risk of prediction crossing the frame border and causing some weirdness around the edge. Also, a decoder could then decode left/right in parallel. To that end, is there any way in x264 to specify the shape of the slices? I presume setting --slices 2 would give me a top/bottom split as long as the frame height is mod32. But how about a left/right split? I see lots of options to control slice size etcetera, but none that seem to apply to location. |
![]() |
![]() |
![]() |
#3 | Link | |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,951
|
Quote:
I suppose this would be a slight pro for top/bottom encoding over left/right. However, consumer 3D display technologies tend to reduce horizontal detail a lot more than vertical detail, so it probably wouldn't be worth it. Anyway, are there any actual encoding changes caused by encoding with --frame-packing, or does it just set a metadata flag? |
|
![]() |
![]() |
![]() |
#5 | Link |
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 4,951
|
Okay, thanks. That's what I figured. As long as I stick to mod32 width (so that the eye boundary is also between macroblocks) I imagine it'll encode fine. That worked for VC-1 stereo 3D.
Anyone know offhand of devices that will honor that bitstream flag and "do the right thing" when attached to a 3D display? |
![]() |
![]() |
![]() |
Tags |
frame-packing, slices, stereo 3d, stereoscopic |
Thread Tools | Search this Thread |
Display Modes | |
|
|