AVCHD / Blu-ray tools (by dean)
http://multiforum.deanbg.com/

uncropMKV - get your MKV to AVCHD/BD compliant resolutions
http://multiforum.deanbg.com/viewtopic.php?f=3&t=3
Page 1 of 3

Author:  dean [ 02 Jun 2009, 18:01 ]
Post subject:  uncropMKV - get your MKV to AVCHD/BD compliant resolutions

Some time ago I created a small tool to make mkv files compliant with 720x480, 1280x720 and 1920x1080 AVCHD/BD requirements. I also use it when I'm stuck with mkv videos with too high frame reference count (x264 ref) or level higher than 4.1.

Image

I first posted this in multiAVCHD thread, but I'd like to keep it separated. It's major function is to re-crop your input file, allowing you to change it before encoding.

uncropMKV will try to make your VIDEO compliant to AVCHD/BD standards, but not the audio. Please check AVCHD/BluRay standards before complaining about anything.

Download (installer):
----------------------------------------
Full download: uncropMKV_1.55.exe - http://multiAVCHD.deanbg.com/uncropMKV/ (3MB).

----------------------------------------

You'll also have to have:
* AviSynth - http://sourceforge.net/project/downloading.php?group_id=57023&use_mirror=kent&filename=Avisynth_258.exe&6791458 installed and
* DirectShow decoder - ffdshow/direct link - (http://sourceforge.net/project/showfiles.php?group_id=173941 - http://sourceforge.net/project/showfiles.php?group_id=173941&package_id=199421&release_id=469925)
* DirectShow splitter - Haali (http://haali.cs.msu.ru/mkv/MatroskaSplitter.exe).

----------------------------------------

To start processing you need to add at least one file to the queue. (load file/change options/click queue button/click start button).

uncropMKV allows you to do:

* various resizing and uncropping and pre-cropping
* framerate change, frame reference count change, bframes setting
* sharpen/blur, h.264 level change, etc...
* select/deselect streams that will be used/removed in the final -uncropped.mkv.

* Max value for ref. frames is automatically calculated according to output resolution. You can safely use the largest number.
* Uncropped resolution is automatically calculated and selected
* Bitrate is automatically set to the original bitrate from your input file
* The program works in 16:9 aspect ratio mode and uses square pixel (SAR 1:1), but...
* Predefined re-size options allow creating anamorphic videos, for original videos with widths of 1920, 1440 or 1280 pixels.
* Be advised that your final video will have the resolution set in uncrop dropdown box UNLESS resize and uncrop are in conflict.
*** For example if the resize box shows 1920x1088 - uncrop will show 1920x1080 but your video will still be 1920x1088.
*** You need to use CROP T/B to cut 4 pixels from both sides to make it 1088-4-4=1080 (1920x1080) and use the last items in resize box with fixed 1920x1080 sizes. It is a rare case for such thing to happen, but still it is good to be known.

For example:

Input video: 1920x816
Resize option: 720x364
Uncropping to: 720x480 (4:3 AR)

and you'll get anamorphic 16:9 aspect ratio with really nice quality.
I just tested it on my Playstation3 after running the mkv
through multiAVCHD to get it to AVCHD/BD structure.

The program won't demux the streams from the original file, but will only use the video (directshow) and those you decided to keep on the fly.
Your output folder will contain the new movie-uncropped.mkv + movie.264. You can delete the latest if you don't need it for further processing.

You can also use it:
* ...to create overscan or/and
* ...with videos which don't need re-cropping, but only change of Level/Bitrate/RefFrames.
* ...with popBD or multiAVCHD to create AVCHD or Bluray Discs

Image

If you like the application, support the author.

Dean Kasabow

Author:  Hoagie_one [ 20 Oct 2009, 02:13 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

This may be a dumb question, but I'm new to this, but what do I now do with the *.264 file created?

It's 0 bytes. Did I do something wrong?

Author:  dean [ 20 Oct 2009, 11:31 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

Do you see the preview when you load the original mkv file? If .264 is 0 bytes it means that no encoding has taken place with x264.exe.

Author:  highlift [ 21 Oct 2009, 18:44 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

Hey Dean. First off Kudos for such nice programs. I use uncropmkv and your multiAVCHD program to watch blue ray rips on my standalone player.

Uncropmkv worked flawlessly but recently i realzied that it will not convert a single mkv i attempt to convert. I've tried reinstalling but still no go. Might there be a particular reason? I'm contemplating reformatting and trying it on a freshly reinstalled system but have you any ideas ?

The error code is always related to txmuxer "not liking the file"

Author:  dean [ 21 Oct 2009, 19:59 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

Nothing in uncropMKV or multiAVCHD is changed about transcoding process. Should you have problems with both programs it means that you probably broke something on your end.

I changed nothing in my system and both tools work properly - transcoding without any problems.

Author:  highlift [ 21 Oct 2009, 20:09 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

I'll try again

Author:  autolycus [ 26 Oct 2009, 16:42 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

Hi - i've struggled a bitwith handbrake and megui and i thought this looked a nice simple gui to use simply to reencode a large mkv.
However, the original a/r (which i don't want to change or uncrop) is 1920x812 and uncropmkv seems to insist on changing it to 1920x1348.
Am i doing something wrong, or is there no way to do what i want to do?

Thanks.

Author:  dean [ 26 Oct 2009, 17:20 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

You probably have some directshow filter (like resize or subtitles in ffdshow) enabled... Try to use the resize drop-down which shows the original resolution.

Author:  autolycus [ 26 Oct 2009, 17:41 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

Spot on - i had the aspect ratio in ffdshow specified at 16:9 (for using my TV via video out)

However, if i uncheck this ffdshow option, i still get a resize to 1920x1080, even if i have 1920x812(no change) in the resize box.

Author:  dean [ 26 Oct 2009, 20:46 ]
Post subject:  Re: uncropMKV - get your MKV to AVCHD/BD compliant resolutions

Make sure you have ALL filters in ffdshow disabled. (and also in any other filters that may be active besides ffdshow).

Page 1 of 3 All times are UTC + 2 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/