
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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!
14 years ago
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
14 years ago
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
Malo
13 years ago
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?
Report
carlosalmonteiro
13 years ago
but kmpg2 keeps saying that cannot continue because cannot write AC3 sound.
What config params. should be used at ffmpeg compilation time ?
Report
hiver2ja
13 years ago
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
Report
hiver2ja
13 years ago
Report
hiver2ja
13 years ago
And good new, the "cheat" -ab 384000 works fine. so enjoy this great tool.
Report
gary007
13 years ago
Yes I read the "read ME =" and the "install" documents, But they are, at best, confusing.
Gary
[email protected]
Report
meneerdik
13 years ago
y4mscaler -h
should give you usage hints for y4mscaler. It this does not happen, the application is not installed correctly. Please ask your distributor.
Report
gary007
13 years ago
kernel is 2.6.18.8-362-default
Report
Phemt
13 years ago
Will this be possible in future? it would be amazing!!!!
Please!! :)
Report
bugger
14 years ago
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
Report
saldinger
14 years ago
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
Report
tomasito
14 years ago
Report
meneerdik
14 years ago
Report
gohanz
14 years ago
http://www.slacky.it/
http://www.slacky.it/index.php?option=com_remository&Itemid=1&func=fileinfo&filecatid=1061&parent=category
Report
meneerdik
14 years ago
KmPg2 should now work for everyone, hopefully. :)
Report
google01103
14 years ago
**ERROR: [mplex] Unable to open file /home/smiley/temp/Pilot.m2v for reading.
thanks,
Report
studioz
14 years ago
Report
meneerdik
14 years ago
Report
studioz
14 years ago
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.
Report
meneerdik
14 years ago
Thank you.
Report
jayenell
14 years ago
Report
studioz
14 years ago
Thanks!
Report
studioz
14 years ago
Report
meneerdik
14 years ago
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.
Report
hds
14 years ago
btw.. same here, 1200er AMD TB. well, just 3x128MB RAM ;(
Report