Log in

View Full Version : 4/3 23,976 fps on blueray ?


lutinor
1st June 2011, 10:05
Hi all,

I'm encountering a damn prob.

I need to stay on 23,976 fps but the only blueray resolution in this fps is 1280x720 in 16/9 but i must use 4/3 :(

How can i save my day ? The source is in 4/3 so if i mod it to 16/9 i have horrible proportion result :( Is it possible to 'fake' 16/9 or something ? :confused:

Help help help :(

Max.

J_Darnley
1st June 2011, 10:17
Uh... Pad each side with blackness?

lutinor
1st June 2011, 10:54
Uh... Pad each side with blackness?

yea i thought about that but i can't do that in pratice, how can i do it ? Only with x264 or i need another tool ? :confused:

J_Darnley
1st June 2011, 11:17
Avisynth or a patched x264

lutinor
1st June 2011, 11:32
Avisynth or a patched x264
I think it will be better for me to use patched x264 but which one and what line(s) i need to inject in my original x264.exe code ?

Lam3rD
1st June 2011, 11:51
Using avisynth would be so much easier:
FFVideoSource("path\to\file") #or other more appropriated input filter
Spline36Resize(960,720)
addborders(160,0,160,0)

Save and encode, no need of patched x264.

kypec
1st June 2011, 12:43
If Avisynth approach is not good for you then perhaps you could convince some developer to include ffmpeg's pad filter (http://ffmpeg.org/ffmpeg-doc.html#SEC87) into x264 just like resize and crop filters were implemented...

ronnylov
1st June 2011, 12:48
Another option would be zooming into the pictrure to remove the borders. Crop bottom and top to get 16:9 display ratio and then enlarge to fill the 16:9 frame. But then you loose the top and bottom of the original video. Sometimes the original video is letterboxed 4:3 and then you can crop the black bars on top and bottom and zoom without loosing anything important.

Temuthril
1st June 2011, 16:42
These builds seem to have padding. Check fullhelp.
http://x264.fushizen.eu/

lutinor
1st June 2011, 22:12
Using avisynth would be so much easier:
FFVideoSource("path\to\file") #or other more appropriated input filter
Spline36Resize(960,720)
addborders(160,0,160,0)

Save and encode, no need of patched x264.

Hi,

Atm i try this in virtualdub (drag and drop the script) :

AviSource("c:\u\4000.avi")
Spline36Resize(960,720)
addborders(160,0,160,0)

Questions :

You said "FFVideoSource" ? Avisource is the same ?
How do you calcul number in your script ? Atm i have a square (the movie) in the full rectangle (the 1280x720).
Is it possible to 'link' the script and x264 ? (i will need batch encode).

Thx in adv for your help

J_Darnley
1st June 2011, 22:17
No.

720 * 4 / 3 = 960; 1280 - 960 = 320; 320 / 2 = 160

To encode the script using x264, use the script as the input file for x264.

lutinor
1st June 2011, 22:23
No.

720 * 4 / 3 = 960; 1280 - 960 = 320; 320 / 2 = 160

To encode the script using x264, use the script as the input file for x264.

Wait , my usual x264 line is :

x264 --bitrate 900 --fps 24000/1001 --force-cfr --ref 6 --preset slow --tune animation --bluray-compat --vbv-maxrate 10000 --vbv-bufsize 10000 --level 4.0 --keyint 24 --open-gop --slices 1 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 -o 4-1.264 4-01.avi

My script name is test.avs

How can i adapt my cli line ? Sorry but i'm a total noob in avs script :(

J_Darnley
1st June 2011, 22:24
Change 4-01.avi for test.avs

lutinor
1st June 2011, 22:32
Change 4-01.avi for test.avs
haaaa ok, a question :

my source is a 512x384 and i need to put it in 1280x720 'fake' 16/9 with your script but atm i have black line horizontal and vertical, why ? Isn't it possible to reach only vertical line ?

QBhd
1st June 2011, 22:48
The answer was given above... resize then addborders.

Unless your source is already letterboxed.

QB

J_Darnley
1st June 2011, 22:49
If you have some padding (letterbox) in the source video, crop it. Then see what aspect ratio it becomes. I'm getting a strange sense of deja-vu at this point.

lutinor
1st June 2011, 23:15
I'm going to test this tomorrow, i will post my result asap. I'm off to bed, thx all anyway you guys help noobs so much :)

lutinor
2nd June 2011, 20:30
All is working but dunno why, in vlc and mpc classic when i fullscreen my files i have a square movie (surrounded by black line) but in my ps3 it's perfect...strange

nm
3rd June 2011, 08:56
All is working but dunno why, in vlc and mpc classic when i fullscreen my files i have a square movie (surrounded by black line) but in my ps3 it's perfect...strange

Your monitor has a 16:10 aspect ratio and your TV is 16:9.

lutinor
5th June 2011, 18:28
Your monitor has a 16:10 aspect ratio and your TV is 16:9.

Yea but in TotalMedia theatre on pc it's in fullscreen , guess it tweaks 'something' somewhere ^^

Lam3rD
5th June 2011, 18:54
In case of 16/9 video and 16/10 screen try Touch Window from Inside/Outside in MPC-HC and you'll see the difference. My guess is that Total Media is doing this without you knowing it.

lutinor
7th June 2011, 08:15
In case of 16/9 video and 16/10 screen try Touch Window from Inside/Outside in MPC-HC and you'll see the difference. My guess is that Total Media is doing this without you knowing it.

True :) All is fine, thx ^^