KmPg2 - The MPEG2 Encoder for KDE

Video Apps

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
KmPg2 is a user friendly MPEG2 encoding wizard that enables the user to easily create high quality DVD compatible MPEG2 streams from any input video file.

Creating high quality MPEG2 streams involves a lot more than simply feeding the input video to mpeg2enc/transcode/mencoder/etc. The input video needs to be carefully prepared by pulling it through a chain of stream processing tools like low-pass filters, color correction filters, static and dynamic chroma and luma noise filters, scalers, and so on. This processing chain needs to be tuned in such a way that all irrelevant data (like noise) is removed before the video enters the encoder. KmPg2 uses the video processing / encoding tools from the MJPEGTools project to achieve this.

KmPg2 features a 'profiler' that enables the user to interactively create custom pre-processing pipelines that are optimised for a specific type of video material. These preprocessing pipelines (profiles) can be stored and used with the actual encoding wizard. For example, you could create a profile that is designed especially for restoring a single aging VHS tape, or you could create a profile tuned for your digital camcorder and re-use it for every new recording that needs to be encoded.


Features:

* Produces 100% DVD compatible MPEG2 streams from (almost) *any* input video
* Copy full surround AC3 soundtrack from AVI to MPEG2
* Supports adding subtitles
* High output quality by using MJPEGTools filters
* Create and store custom image processing presets
* Will use multiple CPUs when available
* Automatic conversion between NTSC and PAL formats
* Seperate chroma/luma noise filtering
* Low-Pass filtering support
* Contrast/Brightness/Saturation correction
* White balance correction
* Special black-and-white mode
* Crop image to Widescreen (16:9) or Panavision (2.35:1)
* Output conforms to Rec.601 specifications
* Both constant bitrate and variable bitrate encoding
* Unsharp masking
* Correct treatment of both progressive and interlaced input video
* Support for removing overscan areas
* Provides feedback to user about average/peak bitrates
* Show output on screen while encoding
* Generate encoding shell scripts
* Generate quick preview-encodings of parts of source video

Requirements:

* Kommander >= 1.0 (part of kdewebdev >= 3.3.0)
* FFMPEG
* Transcode
* Sox
* MJPEG Tools >= 1.8.0
* y4mscaler

Optional:

* SMIL Utils (for seeking in MiniDV recordings)

How to install:

Simply unpack the archive and run the 'Installer.kmdr' Kommander script. That's all.


If you encounter bugs, or if you have any comments or suggestions, please send me an email!
Last changelog:

VERSION 0.90 ( September 27th 2005 )

* Initial release

VERSION 0.91 ( November 15th 2005 )

* Fixed preview buttons in Profiler

VERSION 1.90 ( Januari 9th 2006 )

* Complete rewrite, supports many video formats now.

VERSION 1.91 ( March 12th 2006 )

* Add second unsharp masking pass
* Some minor fixes

VERSION 1.92 ( April 12th 2006 )

* Fix extreme slowness experienced by some users
* Fix for weird pixel aspect ratios

VERSION 1.93 ( April 16th 2006 )

* Make KmPg2 work with CVS version of FFMPEG
* Add check for broken SMILUtils

VERSION 1.94 ( May 11th 2006 )

* Fix issue of MPEG2 files getting too large
* Massive improvements in subtitle multiplexing
* Warn before conversion when MPEG2 won't fit on a DVD
* Video file format detection fixes
* Reduce disk space requirements for multiplexing

VERSION 1.95 ( May 20th 2006 )

* Fix AC3 codec detection on recent ffmpeg versions


VERSION 1.96 ( June 10th 2006 )

* Add workaround for X.org Composite Extension problems


Ratings & Comments

39 Comments

Malo

I've got Archlinux.. I've installed all dependecies and the program starts. But when i choose the file to convertert, an alert says that my ffmpeg version can not decode Ac3 format who is necessary to DVD.. Why this? I go to the shell and type: ffmpeg -formats And I can find in the output ffmpeg -formats | grep ac3 DE ac3 raw ac3 DEA ac3 My version of ffmpeg is compiled from svn I think (but it's in the arch repository).. Maybe this is the problem?

carlosalmonteiro

Also I compiled ffmpeg with liba52 support but kmpg2 keeps saying that cannot continue because cannot write AC3 sound. What config params. should be used at ffmpeg compilation time ?

hiver2ja

It seems there is a bug that prevent kmpg2 to recognize ac3 in ffmpeg. Got the same with Mandriva 2008. I found a way out. In YUVdecoder.sh, in the TestAudioEncoding, you must change the value -ab 384 in -ab 384000 and reinstall kmpg2 to pass the ac3 test. FFmpeg cant encode ac3 with a value like 384 b/s, only with value like 384 kb/s. But i get an error encoding video (**ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: system error (failed read/write)!). Don't know if this is another bug or a sequel of my change in YUVdecoder.sh

hiver2ja

My error came from a different version of Y4mscaler and mjpegtools. i recompiled Y4mscaler with the new header and all went fine. so, all is working fine now. And good new, the "cheat" -ab 384000 works fine. so enjoy this great tool.

hiver2ja

Forget to tell that you have to change also the Audiobtirate in YUVMultiplexer.sh to 384000 in order encoding to work.

gary007

Getting error "You don't have the utility "y4mscaler" installed!" But it is installed. What do I have to do so that KmPg2 can find it? Yes I read the "read ME =" and the "install" documents, But they are, at best, confusing. Gary gwgrover@windstream.net

gary007

Forgot te mention which distro. I am running opensuse 10.2 with a recent kernel kernel is 2.6.18.8-362-default

meneerdik

The command: y4mscaler -h should give you usage hints for y4mscaler. It this does not happen, the application is not installed correctly. Please ask your distributor.

Phemt

is it possible to encode hd movies without scaling them to 576p? Will this be possible in future? it would be amazing!!!! Please!! :)

bugger

Hi, good work. I'm using your excellent tool since months on a AMD64 Debian Etch system and I'm desperately waiting for a new version which supports mencoder as well as ffmpeg ??? Cheers

saldinger

This is some good stuff for movies! Not so great for a series though. Could you add: File lists projected finished size So those of us who try to sqeeze a whole season of 1/2 hour video could do it with ease? Thanks

tomasito

It would be great being able to choose color for subtitles

meneerdik

As far as I know, DVDAuthor does not support colorful subtitles. You will have to live with plain white for now.

gohanz
meneerdik

The issues with distributions using the CVS version of FFMPEG have been resolved. KmPg2 should now work for everyone, hopefully. :)

google01103

INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $) **ERROR: [mplex] Unable to open file /home/smiley/temp/Pilot.m2v for reading. thanks,

studioz

Hello, how I update a previous install of KmPg2? Thanks!

meneerdik

Just run the installer again. It will replace the previous version.

studioz

On "Create Preview" screen, after press the "Create Preview" button is show this error: Multiplexing failed. MPlex final words were: INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $) **ERROR: [mplex] Unable to open file /home/rodnei/videos/cg/KmPg2_Temporary_Files_12724/Frejat - Segredos-PREVIEW.m2v for reading. And I was unable to convert any video. I tried with more 2 videos and the same error came up.

meneerdik

Could you please contact me by email and send the 'DebugOutput' file created by KmPg2? Thank you.

jayenell

Exact problem with me.

studioz

My mjpegtools version is 1.8.0-0 but there aren't the y4mscaler installed. What I have to do? Thanks!

studioz

Corrected

meneerdik

Well, either you own a machine that is not suitable for video processing, or you have a configuration problem. Personally, I run a 800 MHz Athlon machine, and it never takes more than 10 seconds after pressing 'Play Preview' before it is actually playing. About batch processing: You can have KmPg2 write a script in stead of execute the encoding right away. This is a BASH script that you can submit to any job scheduler. You can even concatenate multiple scripts into one, if you want.

hds

well, its slow on guessing all the data, i think thats what he meant. btw.. same here, 1200er AMD TB. well, just 3x128MB RAM ;(

Pling
0 Affiliates
Details
license
version 1.96
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Video Apps from meneerdik:

KDE DVDAuthor Wizard
meneerdik
last update date: 18 years ago

Score 5.0

DVD Rip-O-Matic
meneerdik
last update date: 19 years ago

Score 5.0

MiniDV Assembler
meneerdik
last update date: 19 years ago

Score 5.0

Other Video Apps:

Themonospot-Gui-Qt
hman
last update date: 15 years ago

Score 5.0

kaffeine-multidec
baertram01
last update date: 18 years ago

Score 5.0

jMovieBase
jslylix
last update date: 18 years ago

Score 5.0

Mplayer Video Browser
TOD
last update date: 20 years ago

Score 5.0

Kaffeine-Multidec
baetrtram-01
last update date: 18 years ago

Score 5.0

Kaffeine-Multidec
baetrtram-01
last update date: 18 years ago

Score 5.0



System Tags