Log in

View Full Version : Frame By Frame 3D, problem with x264


DarkZeros
29th January 2011, 15:44
I'm trying to build a Frame By Frame 3D video. Avisynth script goes, ok, and the convert process too.
The final video is working fine, but when I Seek through the video I sometimes get left and right eye image unsynced by 1 frame.

I supose the problem is that the I-keyframes are not always in the same eye. So, the video player does not understand the video properly.

I could solve this by forcing all the keyframes to be in the first frame of each block of a pair of frames.
Is there someway to force x264 to one put I-frames on odd or even frames?
Or I will have to manually edit the stat file and cross my fingers?

Thanks.

MasterNobody
29th January 2011, 17:47
Do you use x264 r1874 or higher?

DarkZeros
29th January 2011, 20:37
Its more like an unsuported option in x264, instead of a old version.
X264 does not let you specify odd or even I frames.

MasterNobody
29th January 2011, 20:44
Answer the question, please. And read what was the change in r1874 (http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=62b661a4a1f569f79f07dc81634a9371a8887c28)

DarkZeros
30th January 2011, 01:22
Answering the question yes, I use the last build.

And, are you saying to me that: "--frame-packing 5"
Will that solve my error? And produce the correct I-frames in the place?

nm
30th January 2011, 01:28
And, are you saying to me that: "--frame-packing 5"
Will that solve my error? And produce the correct I-frames in the place?

Well, it might solve the issue if your decoder/player would read the frame-packing SEI and follow it. Otherwise it won't help.

BlackSharkfr
3rd February 2011, 13:34
I use stereoscopic player and my own test encoding with x264 rev 1884.
There is no inversion on my side, so matter how much I seek.

I do not believe stereoscopic player supports the frame packing 5 option, otherwise it would not need to ask me how the picture is formatted. Could it be a playback issue on your side ?
What 3D display do you use, which playback software and h264 decoder do you use ?

nm
3rd February 2011, 13:43
I use stereoscopic player and my own test encoding with x264 rev 1884.
There is no inversion on my side, so matter how much I seek.

Maybe you've been lucky and had all the IDR frames on the left view.

DarkZeros
28th February 2011, 23:17
I'm just using the lastest revisión (the one with the --frame-packing 5 FIX [r1911], to don't let IDR frames on right images),
I am now getting all the video OK.

Just to inform that this problem was solved.
Thanks jason!