Convert X264 to xvid/avi script

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Convert X264 to xvid/avi script

Post by gruntly69 » Tue Apr 15, 2014 8:34 am

Hi all,

First post & actually started with mencoder but doesn't support old skool xvid/avi which is what i need to convert the normal type encodes to her media player.

Does this script look o.k. it still won't force 700 bitrate, goes to the default 1000 everytime...

HandBrakeCLI -i input.mp4 -oac mp3lame -lameopts aq=2 -ovc xvid -xvidencopt Pass=1:Turbo:bitrate=700:fixed_quant=4:autoaspect:max_key_interval=25:v
hq=2:bvhq=1:trellis:hq_ac:chroma_me:chroma_opt:quant_type=mpeg -o output.avi

The only error it comes up with is the output file for some reason?

Cheers Grant

User avatar
JohnAStebbins
HandBrake Team
Posts: 5424
Joined: Sat Feb 09, 2008 7:21 pm

Re: Convert X264 to xvid/avi script

Post by JohnAStebbins » Tue Apr 15, 2014 3:12 pm

HandBrake does not support avi output or the xvid encoder.

gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Re: Convert X264 to xvid/avi script

Post by gruntly69 » Tue Apr 15, 2014 8:05 pm

Yeah I know the GUI stopped supporting it around 0.9.3 release but that command line does actually convert it from x264 to a different codec but not 100% sure if it's going to be supported by the inlaws media player yet.

User avatar
s55
HandBrake Team
Posts: 9502
Joined: Sun Dec 24, 2006 1:05 pm

Re: Convert X264 to xvid/avi script

Post by s55 » Tue Apr 15, 2014 8:10 pm

The CLI doesn't support xvid either. It's converting it to the CLI defaults. -ovc -oac -lameopts -xvidencopt are not valid options for HandBrake so it's ignoring them.
It's encoding to 1000kbit mpeg4

HandBrakeCLI --help shows you the available options.

gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Re: Convert X264 to xvid/avi script

Post by gruntly69 » Wed Apr 16, 2014 9:12 am

Thanks for the advice, is there older versions of CLI I can download that do support it & what is the best command to use if there is old versions available?

vid.user
Posts: 28
Joined: Tue Dec 18, 2012 9:36 am

Re: Convert X264 to xvid/avi script

Post by vid.user » Wed Apr 16, 2014 10:21 am

gruntly69 wrote:i need to convert the normal type encodes to her media player.
What's 'her' media player? Can it really only do AVI?

gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Re: Convert X264 to xvid/avi script

Post by gruntly69 » Wed Apr 16, 2014 10:40 am

Yeah, its a $28 DVD/usb player from Kmart Australia there only real brand they sell, I tried a few other codecs!

Smithcraft
Veteran User
Posts: 2691
Joined: Thu Jan 22, 2009 8:04 pm

Re: Convert X264 to xvid/avi script

Post by Smithcraft » Wed Apr 16, 2014 10:44 am

gruntly69 wrote:Thanks for the advice, is there older versions of CLI I can download that do support it & what is the best command to use if there is old versions available?
Maybe 0.9.4? I think you might be better off checking out some tools over at VideoHelp if Xvid/AVI is required.

SC

gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Re: Convert X264 to xvid/avi script

Post by gruntly69 » Wed Apr 16, 2014 12:19 pm

If it's the same as GUI then I believe it may have been 0.9.3, but wasn't using command line then so I'm not 100%?

Why do I need video help for conversion?

The player is like this but with USB input so next model up...
http://www.kmart.com.au/product/audioso ... yer/133313

Thanks Grant

gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Re: Convert X264 to xvid/avi script

Post by gruntly69 » Wed Apr 16, 2014 8:31 pm

Has anyone got a version of CLI 0.9.3. that they could share with me, I've had a look over the net & can't find it anywhere?

Smithcraft
Veteran User
Posts: 2691
Joined: Thu Jan 22, 2009 8:04 pm

Re: Convert X264 to xvid/avi script

Post by Smithcraft » Wed Apr 16, 2014 9:27 pm

I suggested VideoHelp as they have listing of tools that you can use which would be better than trying to find a version of Handbrake that came out 6(?) years ago, and is no longer supported.

SC

gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Re: Convert X264 to xvid/avi script

Post by gruntly69 » Thu Apr 17, 2014 9:22 am

What is videohelp, have you got a link for it?

I just had a look through handbrake forum & couldn't find a heading for it.

Just had a look through their support thread & looks like it's just guides on how to using different softwares.

I can use AVS but it's just a bit resource hungry & then can use megui too but similar thing the CLI option was so much easier, is there a command to add to what I was using to force max 800 bitrate & min 700 or similar?

Hopefully just changing codec from h264 to what the command I used will work, over at the inlaws tomorrow so I will find out!

Smithcraft
Veteran User
Posts: 2691
Joined: Thu Jan 22, 2009 8:04 pm

Re: Convert X264 to xvid/avi script

Post by Smithcraft » Thu Apr 17, 2014 10:16 am

The link for VideoHelp would be http://www.videohelp.com

SC

gruntly69
Posts: 8
Joined: Tue Apr 15, 2014 8:10 am

Re: Convert X264 to xvid/avi script

Post by gruntly69 » Thu Apr 17, 2014 12:15 pm

Thanks SC, so it is just as I thought a forum with links to other software versions!

Post Reply