LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2013, 08:21 PM   #1
Darth Maul
LQ Newbie
 
Registered: Aug 2013
Distribution: PClinuxOS 2013.7 KDE
Posts: 28

Rep: Reputation: Disabled
Trying to convert avi file to h264 with mencoder


greeting all,

I am trying to convert a video to h264 format with mencoder. I can do this with ffmpeg easily but I want to learn more on using mencoder.

Here is the code I used

Code:
mencoder mytrip.avi -oac copy -ovc x264 -x264encopts preset=veryslow:tune=film:crf=15:frameref=15:fast_pskip=0:threads=auto -o mytrip.mp4
But I get this error
MEncoder 1.1-4.7.2 (C) 2000-2012 MPlayer Team
-x264encopts is not an MEncoder option

Exiting... (error parsing command line)

It seems options that were once available are not available in newer versions of mencoder.

Does mencoder uses a different syntax for h264 encoding?
 
Old 08-11-2013, 03:20 PM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Looks like you have to set up mencoder for H.264 (x264):

http://www.mplayerhq.hu/DOCS/HTML/en...feat-x264.html

How to set it up:

http://www.mplayerhq.hu/DOCS/HTML/en...tion.html#x264
 
Old 08-11-2013, 04:47 PM   #3
Darth Maul
LQ Newbie
 
Registered: Aug 2013
Distribution: PClinuxOS 2013.7 KDE
Posts: 28

Original Poster
Rep: Reputation: Disabled
I have to think about doing this. I've installed mencoder from the repositories and I don't want to mess things up.

I mean, my version of ffmpeg has libx264 support and I didn't have to do anything to enable x264. I think I stick with ffmpeg for x264 encoding.

Thanks for the links and your time rootboy

Last edited by Darth Maul; 08-11-2013 at 04:49 PM.
 
Old 08-12-2013, 12:10 AM   #4
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
No problem!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to convert MKV file to AVI using mencoder - help please horde Linux - Software 1 05-31-2010 09:53 AM
batch file to convert every file in a directory with mencoder. toben Linux - Software 1 01-31-2008 06:28 PM
does mencoder allows me to convert avi to mp4? sirpelidor Linux - Software 1 12-16-2006 09:34 PM
software to convert AVI file majalee Linux - Software 4 07-25-2006 08:56 AM
using mencoder to convert directory to avi ogross74 Linux - Software 2 07-05-2005 10:04 AM


All times are GMT -5. The time now is 07:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration