Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > Windows Media Center Solutions > XP Media Center 2005 - Plugins & Addons > Crunchie

Community Information

Reply
 
Thread Tools
Old 1st September 2005, 09:58 PM   #1 (permalink)

 
arkay's Avatar
Status arkay is Online:
Location Melbourne
ActivityPosts: 7,109
Reputation & Thanks Support Rating:
arkay arkay arkay arkay arkay arkay arkay arkay arkay arkay arkay
Points Earned: 1593

arkay has been Thanked 263 times in 206 posts
arkay's
Media Center
Arksofts Crunchie Release (v1.1)

_________Crunchie Version 1.1 Released!_________


Crunchie is designed to be run nightly as a scheduled task. Its' main function in life is to find all your recordings from throughout the day and compress these very large files (3GB per hour) down to something a little more manageable.

The resultant avi file (using xvid compression), can be 1/5th the size of the original file.

NB: Crunchie was designed primarily for Australian DVB-T Standard Definition (720x576) recordings. It has also been shown to work well with NTSC SD (720x480) material. If you are attempting to use Crunchie on HD material your results may vary. A newer version capable of supporting HD (and AC3 Audio) content is being worked on. Any results of such attempts with this version would be welcomed. Please use this thread to provide any feedback regarding the program.

Please feel free to make a donation should you find Crunchie useful!



Additions in this release include:

- Check if output file exists and append a number to the end instead of overwriting the original.
- Implement include/exclude options.
- The ability to only convert to xvid if the file is older than xx days.
- Clean temp directory on startup.
- Allow direct conversion of mpg source to xvid files. (for non MCE users)
- Implement 2 pass 50fps deinterlacing (to remove motion artifacts on progressive displays)
- Implement Pal/NTSC Selection for our US friends.
- Implement single pass Encoding.
- More control over the xvid options used (via gui). i.e. bitrate, number of passes, deinterlace method etc.

Read on for full instruction on installation and usage of the program!! Enjoy!



1.0 Thanks

Before downloading and installing I need to give thanks to the Authors of the following tools:

1. DVRMSToolbox (babgVant from The Green Button - Your Media Center Community).
2. mplayer/mencoder (from those wacky linux guys. See www.mplayerhq.hu)

without whom I couldn't have put this tool together!

Crunchie and its Author can be found at the worlds greatest MCE site:

www.xpmediacentre.com.au


2.0 Installation Guide

To install Crunchie you also need to have DVRMSToolbox and a capable xvid playback codec installed on your machine. DVRMSToolbox is available via the download section on www.xpmediacentre.com.au and can also be found as a download link in this thread.

I use and recommend ffdshow as the playback codec of choice for all xvid content. ffdshow can be downloaded from the internet from the host of your choosing.

1. Download DVRMSToolBox and Crunchie Version 1.1.
2. Extract and install DVRMSToolbox (remove previous version if installed).
3. Extract and install Crunchie.

NB: If you are updating from a previous version of Crunchie you will need to uninstall the old version then go to the installation folder (c:\Program files\Arksoft\Arksofts Crunchie by default), and delete the .ini file from the folder. You can then install the new version to the same folder without problems.

When all packages are installed you can run Crunchie either from the desktop or the Start menu.

On first execution the Crunchie GUI will start allowing you to set your configuration.

The following details the purpose of each configuration item and their recommended settings:

3.0 Configuration



3.1 Folder Configuration

3.1.1 DVRMSToolbox Folder

Browse for the folder location in which you installed DVRMSToolbox.
If you accepted defaults on install it will be in C:\Program Files\DVRMSToolbox.

3.1.2 Mpeg Only Checkbox

Previous version of Crunchie worked only with dvr-ms files. The new version will also convert mpg files directly to xvid. In the event that you only want to convert mpeg files you can check this checkbox. DVRMSToolbox is then not required. This has been included to allow users of other HTPC software to utilise the tool. If your card/software can record directly to mpeg2 then you also can now benefit from the simplicity or Crunchie!

3.1.3 Source Folder

Browse for the location in which your dvr-ms or mpeg recorded TV files are stored.
If you have installed Crunchie on an MCE2005 machine using the defaults, this field should already be correct, if not, adjust as necessary.

3.1.4 Temporary Folder

Browse for a folder on a drive that contains ample space for processing.
The DVRMSToolbox conversion to mpeg will result in an mpeg file roughly the size of your original dvr-ms file.
The resulting mpeg file is then converted to avi in the next automated step. Once the conversion to avi is complete, the intermediate mpeg is then removed (if configured see below) and the next dvr-ms file conversion will commence (again automatically).
Some temporary files that the program creates will also be created in this folder. These files are cleaned up automatically by the program.

Note: Processing speed will be increased by utilizing temporary storage on a separate physical drive (not partition) to your Recorded TV drive.

3.1.5 Avi Output Folder


Browse for the location you would like the final avi files to be stored. This should be the same location as the MyVideos directory in MCE in order to watch your converted files.


3.2 Folder Options



3.2.1 Remove Source file.

When selected, this option will remove the original dvr-ms or mpg file after successful completion of the conversion thus returning a large chunk of your recording TV drive space. This option is off by default. Turn it on when you are comfortable that recordings and conversions on your machine and particular configuration are reliable.

3.2.2 Remove tmp mpeg files

This option when checked will remove the intermediate mpeg files created during the conversion process. This option is enabled by default.

3.2.3 Create Subfolders

When checked this will instruct Crunchie to create subfolders for your converted TV shows. This will work for shows recorded via the guide in MCE. Manual recordings and direct mpeg files cannot be automatically categorized.

e.g. If you record Doctor Who, the dvr-ms file is usually named 'Doctor Who_Channel 2_23_06_2005_18_00_00.dvr-ms'. Crunchie will store the resultant avi to your Avi Output folder in a folder named Doctor Who. In this way all your regular guide recordings will be stored in easy to find folders in date of recording order. It is recommended that this option also be used with the rename option (See below).

3.2.4 Rename dvr-ms files (not applicable to direct mpg files)

The <Show name>_Channel_dd_mm_yyyy_hh_min_sec.dvr-ms file naming convention is very cumbersome when searching for a show to watch in MyVideos as it is too long to be affectively displayed in the MCE interface.

Checking this option will rename the resultant avi file to an abbreviated <Showname>(yyyymmdd).avi format.

Used in conjunction with the Create Subfolders option and using our example above the final avi file would be stored as <Avi output dir>/Doctor Who/Doctor Who (20050623).avi. This forces sorting in date of recording order and is far more readable in the MCE interface.


3.3 Encode Options



3.3.1 2 Pass Encoding

2 Pass encoding can increase the output quality of the created avi file substancially. It will also increase the encoding time. It is recommended to use 2 pass encoding however, if your machine is a little underpowered or you just want a fast conversion uncheck this tickbox and single pass encoding will be used.

3.3.2 Double Rate Deinterlace

Double rate deinterlace can help remove any artefacts seen as a result of the deinterlacing of interlaced video. I would recommend this be used for anyone that has a progressive display device (plasma, projector, lcd) as the resultant avi will be extremely smooth when played back using this method.

In technical terms this switch will convert 25 frames per second interlaced video to progressive 50 frames per second (and 30 fps NTSC to 60 fps) respectively and is the only true way of deinterlacing interlaced material.

3.3.3 Force 4:3 Aspect

This option should only be used if your recording was made on an analog card. Crunchie by default will sample the source video and choose a valid aspect ratio and crop setting suitable for the source material. Analog recordings are always in a 4:3 aspect ratio (even when widescreen material is being shown).

Checking this option will ensure that 4:3 analog material is encoded with the correct aspect ratio for playback.

This option is NOT required for Digital recordings and will result in incorrect aspect output video if used with 16:9 material.

3.3.4 TV System

Self explanatory. Choose PAL or NTSC based on where you live.


3.3.5 Bitrate

Set the bitrate you wish to use for your conversions. The default (2500) will result in very high quality conversions. You can set this value as low as 600 and as high as 5000. The lower you go the lesser quality but the smaller the output file size will be. The higher the figure the better quality (to a point), but the larger the output file size will be. I recommend around 1500 for good quality at a reasonable file size.


3.4 Recording Selection



3.4.1 Include

The include section allows you to tell Crunchie exactly what files you would like included when it scans your source folder for files to be converted. In the above case I have instructed Crunchie only to compress files with the words Doctor and Wimb in their title. You can include as many search strings as you like in this field. Wildcards are permitted.

If you would like Crunchie to process all files in the source folder then use a single asterix ‘*”, without the quotes to tell Crunchie to accept every file in the directory for processing.

3.4.2 Exclude Checkbox

Checking this box will enable a new text field in which you can list exclude search strings for Crunchie to compare against show title names. Any title name matching your search criteria will not be included for conversions. Crunchie will first include files from the include selection, then apply the exclusion list to the names of files included to arrive at a final list of files to be processed.

Coupled with the inclusion list it is now possible to construct strict rules on what to convert and what to ignore in the source folder.

For instance you may find that you have trouble with conversions of programs recorded on Channel 10. Or for some reason you do not wish to compress CSI Miami and Doctor Who as you'd rather watch those in an uncompressed format.
To do this enter an “*” for the include list and then a comma separated list of your exclusion criteria in the exclusions text box.
In this example the exclusions would be:

CSI Miami,Channel 10,Doctor Who

Crunchie will use each comma separated string to exclude any show that has that string in it's title. The search and pattern matching is case sensitive.

3.4.3 Only Compress files that are more than xx days old

Checking this text box and entering a number of days will allow you to use age based criteria to choose what files you want converted. You can instruct Crunchie to compress files that are older than 5 days old. Thereby keeping your disk usage to a minimum by making sure that older recordings (that you haven’t yet had time to watch) are compressed and kept.

The combinations of the above criteria (include/exclude and age) now present a very functional list of ways to instruct Crunchie what to do on a daily basis. Complex rules such as “Compress all CSI shows except CSI Miami if they are more than 7 days old” can now be achieved with ease.

3.5 Defaults/Save and Exit.



3.5.1 Reset to Defaults button

This will reset the Crunchie configuration to default values.

3.5.2 Save

Saves the changes to your configuration when complete.

3.5.3 Exit

Exits the GUI.


4.0 Using Crunchie

Once your configuration is complete you can run Crunchie by double clicking on the Crunchie icon on the desktop or the Start Menu program group.

Crunchie runs in a dos window (I recommend changing the width of the window to 150 characters and saving that size to the shortcut that started the program) so that future invocations start at the correct size. As each file is converted logging information will scroll up the screen until the program completes. A log of all activity can also be found in the program group directory where you installed Crunchie.

Crunchie can also be run from the command line.

4.1 Making Configuration Changes

If you need to adjust the configuration of Crunchie (after the initial execution), you can double click on the Crunchie Configurator icon on the desktop or Start Menu program group. This will start Crunchie in GUI mode and allow you to modify and save your configuration.

4.2 Scheduling Conversions

Crunchies' main purpose is to save you space. It is designed to be run at a time when you are not recording or using the MCE machine.

For me this is from around 1am-midday.

Crunchie can be scheduled to run via the windows task scheduler. To do this use Control Panel -> Scheduled Tasks to create a new task that runs Crunchie nightly to convert all your recorded shows to avi format. Set the task to wake the computer and the machine should resume from standby, convert all your recorded shows for the day, and then return to sleep. Next night you can sit down to enjoy your recorded TV knowing that your shows are 1/5th of their original size! If you'd like to archive those shows, you can fit far far more on a single DVD now!

This is the second full release of the product and has been extensively tested by a team of testers. Myself and the moderator team at www.xpmediacentre.com.au will help in any way we can with your issues should any arise.

Be warned that the program uses the freeware tools DVRMSToolbox and Mencoder and I have no control over bug fixes or revisions within either of those products.

Crunchie was written to automate a complex task and add some extra functionality to MCE.

5.0 Miscellaneous

Additions to the program may occur from time to time, on my POSSIBLE todo list (someday/maybe) are:

1. Automatic advertisement removal (via DVRMSToolbox).
2. Further Advanced encoding options for advanced users.
3. A quality vs size slider control for those not in the advanced category of users who would like further control over the output.
4. More possibilities around scheduling and possibly conversion priority to allow crunchie to run in reduced priority mode whilst you are using your MCE machine.
6. Space management options to allow Crunchie to compress shows automatically if your recorded TV drive space gets low.

At this point in time I'd be happy to hear any feedback however please accept the program for what it is and what it was designed to do.

It will most likely never:

- Have built in cutting features (aka dcut). I would suggest pre-cutting with dcut should you require this functionality.
- Be able to write wmv files (with meta tags and FF capability).
- feed your dog when you're not at home.

I am open to suggestions regarding functional improvements, however, I ask you not to be upset if I tell you it isn't possible or won't be done!

I hope you find the program useful!!

-Arkay.
__________________

The box said 'Requires Windows XP or better' - so I installed Linux . . .
  Reply With Quote
The Following 5 Users Say Thank You to arkay For This Useful Post:
Old 1st September 2005, 10:51 PM   #2 (permalink)
MCE Journeyman
 
natrat's Avatar
Status natrat is Offline:
Location Noosa Heads, Sunshine Coast QLD
ActivityPosts: 125
Reputation & Thanks Support Rating:
natrat
Points Earned: 17

natrat has been Thanked 0 times in 0 posts
Re: Arksofts Crunchie Release (v1.1)

Awesome work mate. Now if only VideoRedo Plus let you edit/cut dvr-ms files, i could do that then run crunchie - as it is i still need to convert dvr-ms to mpeg2 so i can cut out the ads before compressing. I know there are dvr-ms editors out there (like DVREdit) but i like the simplicity of videoredo and its ad removal.
  Reply With Quote
Old 1st September 2005, 11:14 PM   #3 (permalink)

 
arkay's Avatar
Status arkay is Online:
Location Melbourne
ActivityPosts: 7,109
Reputation & Thanks Support Rating:
arkay arkay arkay arkay arkay arkay arkay arkay arkay arkay arkay
Points Earned: 1593

arkay has been Thanked 263 times in 206 posts
arkay's
Media Center
Re: Arksofts Crunchie Release (v1.1)

All your prayers might be answered very shortly

Take a read of this:

www.dragonglobal.org/showanalyzer.htm

The author is currently working on native dvr-ms support

Cheers,
Arkay.

P.S. I'll be away for a few days so apologies in advance if I can't answer anyone queries or posts in the mean time. By all means keep the feedback coming. I'll get to them as soon as I can
__________________

The box said 'Requires Windows XP or better' - so I installed Linux . . .
  Reply With Quote
Old 1st September 2005, 11:54 PM   #4 (permalink)
MCE Apprentice
No Avatar
Status _MoebiuS_ is Offline:
Location Paris, France
ActivityPosts: 11
Reputation & Thanks Support Rating:
_MoebiuS_
Points Earned: 10

_MoebiuS_ has been Thanked 0 times in 0 posts
Re: Arksofts Crunchie Release (v1.1)

Hi,

Do I have to uninstall the beta I downloaded two days ago and reinstall this release ?
Or this is the same build ?

Cheers.
  Reply With Quote
Old 1st September 2005, 11:59 PM   #5 (permalink)
MCE Journeyman
 
natrat's Avatar
Status natrat is Offline:
Location Noosa Heads, Sunshine Coast QLD
ActivityPosts: 125
Reputation & Thanks Support Rating:
natrat
Points Earned: 17

natrat has been Thanked 0 times in 0 posts
Re: Arksofts Crunchie Release (v1.1)

hmmm...it already has dvr-ms support, which is nice. It doesn't remove the ads directly though, it provides a file for many other progs to use to remove them, including video redo, but as long as video redo doesnt load dvr-ms thats no good. Think for the moment I'll just go back to using autoDVRconvert to put all my dvr-ms into mpeg automatically so i can get rid of the ads easier, and still use a scheduled crunchie to convert them.

BTW is there a way to get mencoder to use more than 50% of the CPU it seems to use regardless of whether the system is idle or not? I'll be running crunchie when i'm in bed so i'm happy for it to use as much of the CPU as it can.

Have a nice trip!
  Reply With Quote
Old 2nd September 2005, 12:18 AM   #6 (permalink)
MCE Apprentice
No Avatar
Status _MoebiuS_ is Offline:
Location Paris, France
ActivityPosts: 11
Reputation & Thanks Support Rating:
_MoebiuS_
Points Earned: 10

_MoebiuS_ has been Thanked 0 times in 0 posts
Re: Arksofts Crunchie Release (v1.1)

I installed this new build, and... my god, I don't know if it is the first bug but...
On my computer, the files with .mpg extension are skipped, only dvr-ms files are crunched...

Cheers.

Edit : in fact, my extensions were *.MPG and the program is looking for lowercases *.mpg ....
  Reply With Quote
Old 2nd September 2005, 09:08 AM   #7 (permalink)

 
arkay's Avatar
Status arkay is Online:
Location Melbourne
ActivityPosts: 7,109
Reputation & Thanks Support Rating:
arkay arkay arkay arkay arkay arkay arkay arkay arkay arkay arkay
Points Earned: 1593

arkay has been Thanked 263 times in 206 posts
arkay's
Media Center
Re: Arksofts Crunchie Release (v1.1)

Yep, it's case sensitive... You didn't need to install it anyway, it's exactly the same as 1.09b. Just promoted to 1.1 for release

See you all soon... I'm off!

Cheers,
Arkay.
__________________

The box said 'Requires Windows XP or better' - so I installed Linux . . .
  Reply With Quote
Old 2nd September 2005, 11:35 AM   #8 (permalink)
MC Specialist
 
schleppel's Avatar
Status schleppel is Offline:
Location Melbourne
ActivityPosts: 474
Reputation & Thanks Support Rating:
schleppel schleppel
Points Earned: 137

schleppel has been Thanked 6 times in 5 posts
Re: Arksofts Crunchie Release (v1.1)

Quote:
Originally Posted by natrat
Awesome work mate. Now if only VideoRedo Plus let you edit/cut dvr-ms files, i could do that then run crunchie

Hi Nat,

I actually use the exact scenario you are wishing for. VideoReDo does support dvr-ms files, but when you're browsing for files in the "Open" dialogue, it is not looking for that extension. Try changing the filetype to *.* (all files) and it should list your dvr-ms files. If this doesn't work, make sure you have the latest version, as it definately does work, 'cause I use it

Hope this works...

Schlep.
__________________

"Main": LC16M Case | ABIT AN8 Ultra | True Power 2.0 PSU | Zalman Coolers (CPU, VGA) | Ahtlon 64 3000+ | 512Mb RAM | GeForce 6600GT | 2x AVerTV Hybrid (A16AR) | WIRED 10/100 :D | MCE Remote | Wireless KB & Mouse | MCE 2005 RU2
"Extender": Shuttle SB83G5M | Silent X PSU | ICE CPU Cooling | P4 2.8GHz | 512Mb RAM | GeForce 6600 | AVerTV Hybrid (A16AR) | Wireless G NIC | MCE Remote | Wireless KB & Mouse | MCE 2005 RU2
  Reply With Quote
Old 2nd September 2005, 12:09 PM   #9 (permalink)
MCE Journeyman
 
natrat's Avatar
Status natrat is Offline:
Location Noosa Heads, Sunshine Coast QLD
ActivityPosts: 125
Reputation & Thanks Support Rating:
natrat
Points Earned: 17

natrat has been Thanked 0 times in 0 posts
Re: Arksofts Crunchie Release (v1.1)

Quote:
Originally Posted by schleppel
Hi Nat,

I actually use the exact scenario you are wishing for. VideoReDo does support dvr-ms files, but when you're browsing for files in the "Open" dialogue, it is not looking for that extension. Try changing the filetype to *.* (all files) and it should list your dvr-ms files. If this doesn't work, make sure you have the latest version, as it definately does work, 'cause I use it

Hope this works...

Schlep.
Oh great! I'm sure I tried it last night - i'll give it another shot now...heh yes it does work Thanks Schleppel

nat
  Reply With Quote
Old 4th September 2005, 03:26 PM   #10 (permalink)
MCE Journeyman
 
natrat's Avatar
Status natrat is Offline:
Location Noosa Heads, Sunshine Coast QLD
ActivityPosts: 125
Reputation & Thanks Support Rating:
natrat
Points Earned: 17

natrat has been Thanked 0 times in 0 posts
Re: Arksofts Crunchie Release (v1.1)

Arkay, when you're back...

Is there any way that the Create subfolders and Rename functions can be extended to support mpeg files that have been previously converted from dvr-ms files? Obviously not if it uses the dvr-ms header for the info but all that info is also contained in the filename.

Why I ask is when i use VideoRedo Plus to cut my dvr-ms files (removing ads and tidying up start and end points), even though it opens dvr-ms files it saves them as mpeg files, which i subsequently process with Crunchie to convert them, but i lose the extra functionality of subfolders and rename.

Another problem I've noticed (and i dont think this is with crunchie) is if I edit a dvr-ms file with video redo, then run it through crunchie, the video and audio do lose sync. The only way I can avoid this is running the dvr-ms through AutoDVRConvert first, then using video redo to edit, then crunchie.

Also, is there a big difference between 1 and 2 pass encoding? I find the second pass takes up to double the length of time - sometimes an hour for a less than 30 minute show. Is that normal? (p3 1gb ram but mencode only ever runs at 50% cpu)

nat
  Reply With Quote
Reply

Bookmarks

«