Log in

View Full Version : X264 cmd help [-output file size?]


AiDz0r
26th October 2012, 14:58
Hi all, i'm using RipBot, and on the "commands" i'm wondering if it's possible to place a command that would limit the output file size to an amount i type and this would auto-adjust the bitrate itself.

For example I want to upload a video to a website, but it's 60MB max, and i want to limit the compression to 60MB.

Thanks.

Atak_Snajpera
26th October 2012, 15:48
use 2-pass and activate lock size option

AiDz0r
26th October 2012, 16:08
Yes! Thank you. I've got a another question.

I'm using .avs file:

LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
video = ffvideosource("D:\as.mkv")
audio = ffaudiosource("D:\as.mkv")
Trim(18683,28339) #output frames between 18683 and 28339.
AudioDub(video, audio)

When I try to open the file through RipBot, i get this error Script error: Invalid arguments to function "Trim"

EDIT: Wow found solution, silly me! changed line order with TRIM and AudioDub. Working now

IanB
31st October 2012, 21:18
You are trying to Trim nothing (yet) [read up on "implicit Last usage"]LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ffms2.dll")
video = ffvideosource("D:\as.mkv")
audio = ffaudiosource("D:\as.mkv")
AudioDub(video, audio)
Trim(18683,28339) #output frames between 18683 and 28339.