|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
(Old) MediaShrink - An HTPC focused encoder
This thread is closed, for the latest release/instructions see this new thread...
Older/Outdated info is below... Release History:
What it is: There are a lot of great encoding tools out there (ffmpeg, mencoder, handbrake, etc.) but none of them are really focused on the specific needs of HTPC users. So I decided to create mediaShrink as a CLI front end that automatically mixes and matches the best encoding tools to use depending on the type of content you're trying to encode. Is your video telecined?MediaShrink will automatically scan the video and determine those answers for you so you end up with a great looking encode no matter what. And if you aren't' satisfied with the defaults, you can easily modify the settings until you're happy with the results. Working on backing up your DVD's? MediaShrink can help you there too. It'll scan the DVD and automagically encode the main movie, include the main audio as well as any commentary tracks, and attach the closed captioning as a subtitle track. Working with TV show DVD's? No problem there either. It'll automatically pick out all of the episodes on the DVD and encode each of them individually. Usage Instructions: See 2nd post Submitting Issues: If you have any issue i'll need you to post the mediaEngine.log file that gets created next to the .exe. Otherwise I'll have no idea what the problem is. Tools Used: I can't take credit for much in this tool. 99% of of the work gets done by great tools written by other talented developers, I just wrote some perl code to get them all to play nice together.
Known Issues: Last edited by evilpenguin; 04-26-2010 at 08:05 PM. |
#2
|
||||
|
||||
For the latest release/instructions see this post...
Older/Outdated info is below... Basic Usage: For general usage all you need to do is drag and drop videos, VIDEO_TS folders, and/or folders containing videos onto mediaShrink.exe and, by default it'll encode them using the AutoEncode profile. AutoEncode Profile: The AutoEncode profile will go inspect the video and automatically pick the encoding options for you. SDTV: Code:
Video: 1500 kbs h.264 Audio: 128 kbs AAC Container: MKV Extra Settings: Decomb, AutoCrop Encoder: Handbrake Code:
Video: 1500 kbs h.264 Audio: copy original 5.1 AC3 or 2 Channel 128 kbs AAC Container: MKV Extra Settings: Decomb, AutoCrop Encoder: Handbrake 1080i HDTV: Code:
Video: 1500 kbs h.264 Audio: copy original 5.1 AC3 or 2 Channel 128 kbs AAC Container: MKV Extra Settings: Scale to 720x???, Decomb, VFR if telecined, AutoCrop Encoder: Handbrake Advanced Usage: MediaShrink reads all of its default options out of mediaShrink.defaults.txt which is right next to MediaShrink.exe and it is just a list of command line switches that will always be used. These are the default options: Code:
/defaultProfile autoEncode /scanDVDs Available Switches:
Commercial Cutting: Yes, this tool will cut commercials, but there are a few catches.
I've tried many other tools and they are either un-scriptable and/or unreliable. If you've think you've got another tool that'll do the job, see if you can get it working 100% from the command line and if so let me know. My advice: Buy VideoRedo and make your .vprj files by hand before you try and encode. Why does this seem very similar to mediaScraper?: Because it's 100% the same code, just different profiles Last edited by evilpenguin; 03-16-2010 at 07:24 PM. |
#3
|
|||
|
|||
I like the idea but I'll wait for the instructions before I start asking questions...
|
#4
|
|||
|
|||
Quote:
However, i don't trust my self to play with this and not brake something. I'll wait on some instructions and give this a whirl. Thanks EP. |
#5
|
|||
|
|||
VT3.5 *not* cropping if I dragged and dropped is why I stopped using it and moved to handbrake+gui...
|
#6
|
||||
|
||||
EP, NICE. I'm waiting IMpatiently!!
__________________
Server: HP AMD64 dual core running Win7 64bit (MCE disabled) with 4G memory Tuners: 2 PVR-500(disabled), 3 HDHR and 1 HDPVR Clients: 2 HD200 and 1 HD100 TV: 70" and 52" and 42" Media Storage: ReadyNas 8TB Recording media: 300GB + 200GB+ 250 GB Network: Gigabit backbone' Thanks to all the developers who work on SageMC, code, utilities and plug-ins to make SageTV better!!! |
#7
|
|||
|
|||
If I read the other thread correctly, mediaShrink is not ment to be integrated into Sage like SVT was. If I just want to compress recordings, is there any benefit to switching over to this?
__________________
C2D e6320 P4M800Pro, 1gb DDR, 1100GB HDs Hauppauge HVR-1600, HDHomerun, Geforce 6200 |
#8
|
||||
|
||||
To be completely honest, this tool did a lot more heavy lifting before Handbrake became so damn awesome that I just started using it for everything
But there's still a lot of benefits of using this as a wrapper for handbrake: Commercial Cutting, Closed Caption support, automatically encoding all episodes on a TV DVD, more accurate auto crop, and drag and drop operation. Basically, for me atleast, it just fills in the blanks that Handbrake hasn't filled in (yet ). And if you're still using Sage's built in encoding, you should give this (or just handbrake a shot). The difference in the quality of the encodes is *staggering*. Last edited by evilpenguin; 03-04-2009 at 01:34 AM. |
#9
|
|||
|
|||
Why isn't /autocrop a default, is there a reason not to crop?
What other options are recommended that aren't default? |
#10
|
|||
|
|||
EP,
I notice handbrake runs at normal priority is there a way to force it to run belownormal?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#11
|
||||
|
||||
Quote:
Edit: Oh, I see why you were confused. I went ahead and added AutoCrop to the list extra settings for all of the Auto Encode descriptions. Last edited by evilpenguin; 03-04-2009 at 02:52 AM. |
#12
|
||||
|
||||
Ahh, I knew I forgot something. I've actually got that working in another branch, I just need to port it over.
Last edited by evilpenguin; 03-04-2009 at 02:50 AM. |
#13
|
|||
|
|||
This looks awesome can't wait to try it out
One question: Does it handle multiple audio tracks for TV shows (.mpgs)? I just want to direct stream copy all the audio tracks. The reason I care is there is a bug in my recording of the local FOX feed (don't know if its on my end or on FOX's). Sometimes (occasionally and rarely but often enough to be REALLY annoying) my HDHR records 2 audio tracks. One of them is empty; the other contains the normal english soundtrack. Inevitably the empty one is the default. So in this case all I want to do is just copy both soundtracks. Second question: I know .ts files (from the hd-pvr) crashed 3.5. Is that still the case? Anyway it looks great and I can't wait to start using it.
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#14
|
||||
|
||||
EP -
IIRC, your prior video tools project provided for a Sage Recording -> DVD profile. That is, you could create a DVD from recorded TV shows. I don't think I ever tried it, so this is just from memory. Does this tool, now or perhaps in the future, allow for this use? (I'm not sure that I'd ever use it, but just curious). Thanks for all the effort on these projects lately. Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#15
|
|||
|
|||
Quote:
__________________
Server: AMD 64 X2 5000+, ATI 3450 256MB,2GB of PC6400, ~300GB SATA (recordings), HD-Homerun, PVR-350, On-board Coax SPDIF, Unraid Media Server (all other media). Other: Mitsubishi 65" DLP 5.1 Speakers on a Kenwood Receiver - Digital SPDIF Harmony 1000 |
#16
|
|||
|
|||
EP,
I noticed you always use Decomb. Is there a way to not use Decomb if you choose not to?.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#17
|
|||
|
|||
Can we drag and drop multiple files at once?
If so, does it join them or work like a batch of separate files? |
#18
|
||||
|
||||
The media scraper will process multiple-dragged files independently, I'm sure this does the same.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#19
|
|||
|
|||
Every time I try to D&D a VIDEO_TS folder it runs for a second and quits with no conversion. Perhaps it's a Vista64 thing or, more likely, it's a UAC problem...or a bug.
|
#20
|
||||
|
||||
Quote:
Code:
Encode CLI #8 =?>ORIGINAL:videoCodec=~mpeg2video&&!ORIGINAL:videoResolution=~(1280x|x720)&&!reverseTelecine<:>/deinterlace<? Encoder #8 =/setOptions Last edited by evilpenguin; 03-04-2009 at 01:41 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utility: MediaShrink v3.0 - An HTPC focused encoder | evilpenguin | SageTV Customizations | 228 | 10-05-2016 07:05 PM |
Bring focused item to front and call fanart | PLUCKYHD | SageTV Studio | 0 | 04-08-2009 07:38 AM |
Encoder number graphic shows wrong encoder being used | jpaddock3000 | SageMC Custom Interface | 11 | 02-05-2009 02:29 PM |
Get currently focused widget? | cncb | SageTV Studio | 3 | 05-01-2008 12:22 PM |
God does not want me to have HTPC, more problems - network encoder | stryker | SageTV Software | 2 | 02-03-2008 08:54 AM |