You are not logged in.

#1 2010-05-14 21:24:43

inp3dance
Member
Registered: 2008-06-23
Posts: 106

Convert mpeg files to mkv or avi

Hi,
I have some videos made with a digital camera in mjpeg format and I want to convert so something else, into xvid, mkv or I dont know, just to made them smaller without quality lose. So is there something GUI for this, or I need to start reading the mencoder man page? big_smile

Offline

#2 2010-05-14 21:44:38

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Convert mpeg files to mkv or avi

I dont think you need to read it, because you task is impossible. Converting to a lossy format aways lose quality.

But, if you really mean without appreciable quality loss, so this is possible. And I recommend that you first learn about codecs and containers (mkv is a container, xvid a codec). Read the mencoder html documentation for examples. But I think that ffmpeg is more direct for most cases.

I really recommend that you use something modern like h.264, ffmpeg have some profiles to help.

And you need to read the docs, either you use a GUI or not. Or you risk to not have the best result.

Offline

#3 2010-05-14 23:03:47

inp3dance
Member
Registered: 2008-06-23
Posts: 106

Re: Convert mpeg files to mkv or avi

Yes, my mistake, mkv is a container, I was thinking of h/x.264.. I was asking here because I don't have to much time right now to get into codecs, not to mention the mencoder man page, wich is a lecture for a week tongue Some script, some gui where I can select a profile, select the codec, the bitrate, the audio codec, it would be much easier.
Thank you!

Offline

#4 2010-05-14 23:26:27

jocheem67
Member
Registered: 2009-11-09
Posts: 250

Re: Convert mpeg files to mkv or avi

I believe that handbrake lets you use mpeg's...otherwise I'm sure that avidemux can do that. Mjpeg....not sure here.

Offline

#5 2010-05-15 01:09:05

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Convert mpeg files to mkv or avi

I've had some pretty decent success going from mjpeg to H264 through x264. In order to pull it off, I used x264's 'very slow' preset which can be too much for some decoders to handle. It is possible to distribute in a cross platform way if you let other people know what decoders to use (for instance, DivX 7 on Windows is a very fast H264 decoder).

Offline

#6 2010-05-15 09:36:31

inp3dance
Member
Registered: 2008-06-23
Posts: 106

Re: Convert mpeg files to mkv or avi

skottish, with what program did you use that preset? mencoder?

Offline

#7 2010-05-15 10:38:42

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Convert mpeg files to mkv or avi

What about using ffmpeg as I said? If you search google the first result give you this:

ffmpeg -i INFILE -acodec libfaac -ab 96k -vcodec libx264 -vpre slow -crf 22 -threads 0 OUTPUT.mp4

Done.

Offline

#8 2010-05-15 13:50:45

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Convert mpeg files to mkv or avi

inp3dance wrote:

skottish, with what program did you use that preset? mencoder?

I do things the way that DrZaius has been doing it:

http://bbs.archlinux.org/viewtopic.php? … 67#p749867

Those are the best tools for the job.

Offline

#9 2010-05-15 15:27:38

inp3dance
Member
Registered: 2008-06-23
Posts: 106

Re: Convert mpeg files to mkv or avi

I found divxconverter (http://code.google.com/p/foxoman/). It is a mencoder Gui written in python, can convert into dvx4/5, xvid and h.264, and it is simple to use. If I will have time, wich will be at summer, I will learn a bit more about codecs, coders and containers. And for now, thank you for help big_smile

Offline

#10 2010-05-28 06:30:37

kate59588
Member
Registered: 2010-05-28
Posts: 1

Re: Convert mpeg files to mkv or avi

Offline

Board footer

Powered by FluxBB