LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2005, 09:18 AM   #1
ghackett
LQ Newbie
 
Registered: Apr 2005
Distribution: Slackware 10.1
Posts: 5

Rep: Reputation: 0
Question Linux Video Converter


Hi everyone - First post.
I wouldn't call myself a linux noob, I know the basics an can get most things to work, but I'm definately a novice. Anyway...

I'm building a Slackware 10.1 based MythTV box and I'm trying to figure out a way to convert video. In windows I use TMPGEnc and VirtualDub for almost all of my converting needs. Sometimes I want to make SVCDs and sometimes I need to make XVids, but I don't know how to do either in linux. I've found what look to be some decent DVD authoring programs (QDVDAuthor and klvemkdvd) but nothing on basic video converting. I could do without the ability to create XVids but I need to ability to decode and convert from XVids and I want to be able to author SVCDs as well (I have a 52x cd burner and a 2x DVD burner - you do the math). If anyone can give me some advice I'd be very greatfull. Thank you

P.S. I know that MythTV doesn't output XVids but I have lots of files downloaded that are XVids that I want to convert.

P.P.S. One other thing... If there are any PSP (Playstation Portable) owners out there that have a good solution to convert video into PSP's MP4 format under linux, that is something else I am trying to figure out.



UPDATE: Apperantly I'm pretty dumb. FFMPEG would be the program to convert to mpeg 1/2 for vcd and svd authoring right? and vcdimager (k3b frontend) would be the way to auther the disc and burn it. I'm sorry I have this inate ability to ask a question that I basically know the answer to. So here's my new question, whats a good GUI frontend for FFMPEG converting? My PSP question still stands.

Last edited by ghackett; 04-18-2005 at 09:33 AM.
 
Old 04-18-2005, 09:33 AM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Use transcode.

The syntax is too complicated to explain here though.

http://www.transcoding.org/cgi-bin/transcode

If transcode won't do mp4 (quite sure it does, it does most conversions) then look up ffmpeg.

http://ffmpeg.sourceforge.net/index.php
 
Old 03-24-2008, 04:54 PM   #3
stefan_rogin2000
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Rep: Reputation: 15
Question how exactly is it done.. to make into xvid from others..

how exactly is it done.. to make into xvid from others..

I for example have a mp4 and have soft for it only in windows... a converter that modify resolution and makes it to avi and xvid


any alternative in Linux??
 
Old 03-24-2008, 05:05 PM   #4
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
I use mencoder for this sort of thing. The following will do basic conversion into xvid:
Code:
mencoder <inputfilename> -ovc xvid -xvidencopts bitrate=-<targetvideosize>:pass=1:turbo:threads=2 -ofps 25 -oac copy -o /dev/null

mencoder <inputfilename> -ovc xvid -xvidencopts bitrate=-<targetvideosize>:pass=2:threads=2 -ofps 25 -oac mp3lame -lameopts br=$abitrate:vol=2:aq=2:mode=0:vbr=0 -o output.avi
The above is for a two pass encode (which gives better quality, as well as good bitrate/size control). The first step just creates a log file containing pertinent information about the video, so rate control works better. The second step actually creates the output, converting the video to xvid, and also converts the audio into mp3 format, and both the audio and video are wrapped up into an avi file. Most of the options are just the default values, which work fairly well for my needs. Have a look at the mencoder man page for LOADS of options.
 
Old 05-27-2008, 10:00 PM   #5
Eman1955
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Using Mencoder to scale video

beadyallen - Thanks for your code, works like a charm.

I'm using Mencoder to convert DVD to mpeg. The following works fairly nicely, but produces too large a file, 1GB. The scale command doesn't work so I know I'm doing something wrong there. I want to scale it down from 720x480 to work on an Arcos video player and also to fit on a CD. On the Windows side, I can use AnyDVD with cloneDVDMobile and get the video to size at 480x270 witha file size of around 700MB. I know I can keep using AnyDVD, but would rather learn more about Linux and eventually deep 6 Windows.

mencoder dvd://-chapter 1-32 -vf scale=480:270, -o indy.avi -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -ofps 25 of mpeg4

Can you help?

E
 
Old 05-28-2008, 11:55 AM   #6
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
You should probably start a new thread for this, but here goes. For starters you've got a ',' after the scale command, so that is why it's not working. As for the video size (1G), there's two reasons. Firstly, you're not converting the audio, so you just get the ac3 dvd audio. It's best to convert it to mp3 or similar. Secondly, you need to specify a target video bitrate, so that the overall file size (video+audio) will be the size you want. Have a google for online bitrate calculators, and you'll find what you want (or you could encode it into the conversion script).

Also, you don't want to use -of mpeg (which is for mpeg2 files). Most likely you want the default .avi output container.

Since afaik clonedvd uses mencoder to do the grunt work anyway, you might be able to find proper command line settings within clonedvd somewhere.

Good luck
 
Old 01-21-2009, 02:12 AM   #7
Rudd-O
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Rep: Reputation: 0
Talking A program to convert video

May I offer Linux video converter?

Google "Linux video converter rudd-o.com" without the quotes. The first hit is what you want.

If the target format you want is not supported, just log on a bug in the Web site.

Last edited by Rudd-O; 01-21-2009 at 07:56 PM.
 
Old 08-28-2009, 12:17 AM   #8
rafttrip
LQ Newbie
 
Registered: Mar 2008
Posts: 13

Rep: Reputation: 0
You could try HandBrake, I found the linux version was not as good as the windows version. I have had both working in Ubuntu. WinFF is another option I I have had success with.
 
Old 09-30-2010, 03:34 AM   #9
chelovek84
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Rep: Reputation: 0
Transcoder

Transcoder is a video converter for Linux using GTK+ as GUI toolkit and ffmpeg as backend.
 
Old 09-30-2010, 03:36 AM   #10
chelovek84
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Rep: Reputation: 0
Transcoder

http://transcoder84.sourceforge.net/
 
  


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
Video Converter? gauge73 Linux - Software 13 01-21-2009 08:20 PM
Video Converter in Linux kaon Linux - Software 6 01-21-2009 02:12 AM
Video file converter crofty13 Linux - Software 5 08-02-2005 07:45 AM
Subtitle maker and video converter bsdpowa Linux - Software 2 07-21-2005 11:34 AM
ogm video converter? tutwabee Linux - Software 0 06-25-2004 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:21 PM.

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
Open Source Consulting | Domain Registration