|
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 |
#101
|
||||
|
||||
I had never noticed before until just recently that by using MediaShrink (via SJQ) I'm losing the "Encoded by: (tuner)" information on the media file. Metadata, that when using Sage's built-in transcoder, is not lost.
As Slugger pointed out on another thread, this is most likely do to the core's replacement process of discovering the new media file and dropping some metadata. I'll look into this myself and see if any easy scripting can be done to copy the info from the old file to the new MKV. Anyone ever looked into this before as far as retaining the original encoder info?
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders Backup: Synology SageTV version: FINAL |
#102
|
|||
|
|||
anything here??
Quote:
|
#103
|
|||
|
|||
Script Assistance
This tool is excellent - thanks for putting this together. I am currently using the drag-and-drop method for transcoding, but there has to be a better way for what I'm trying to accomplish.
I do not have much experience putting scripts together and maybe someone can help me out. I would like to transcode my DVD movies automatically using MediaShrink and move the finished product to another folder. Currently, I have a DVD folder with individual folders for full-disc DVD files. Can someone please help me in developing a batch to cue the transcoding of DVD's? It would also be great to have a way to establish a time to start and stop /pause the process or listen to CPU usage so that the process does not slow down the machine to a crawl while trying to watch shows in the evening. Also, I'm not sure if there is a way to watch for newly added titles and have these automatically added to the cue.
__________________
Server: SageTV 7 (latest), Windows 7 (32-bit); Core2 Q8200, Asus P5N-D, ATI Sapphire HD5670 with Bitstreaming; DVD/BD Drive, 4GB Ram, 8TB Storage Internal Tuners: Clear QAM Dual Tuner; HD-PVR -- Time Warner Cable / Control STB via Firewire; use USB-UIRT with LM Gestion Remote KeyMap |
#104
|
|||
|
|||
Okay, so I'm making my 4th attempt at making this work for me. I'm using SJQ and the exact ruleset that you use in the first post in this thread. SJQ works fine for comskip with the client I have set up.
I'm using my office computer to run MS on recordings on the sage server. I've used :MAPDIR to map the drive from localhost to the server. It still is giving me an error that syntax is correct. Here is the log. Code:
Fri Sep 24 17:46:19 EDT 2010: Starting task with priority 1/1/10 Executing command line: C:/progs/shrink/mediaShrink.exe "\\TASK\recordings\FetchWithRuffRuffman-SaturdayNightWithaSlightFever-3162790-0.mpg" /inPlace /batch /vprofile HQ /vbitrate 2500 /onepass The filename, directory name, or volume label syntax is incorrect. Executing command: "C:\progs\shrink\mediaEngine.exe" /batch /saveLog /inplace /defaultProfile autoEncode /findFileRegEx "avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms" /onePass /centralWorkFolder "C:\\Temp" /mediaShrink fixBug "\\TASK\recordings\FetchWithRuffRuffman-SaturdayNightWithaSlightFever-3162790-0.mpg" "/inPlace" "/batch" "/vprofile" "HQ" "/vbitrate" "2500" "/onepass" Welcome to mediaEngine v3.0d (Built on 15:04:48.97 07-23-2010 ) Staring Proccesing at + Executable : C:\progs\shrink\mediaEngine.exe + EXE path : C:\progs\shrink Welcome to mediaEngine v3.0d (Built on 15:04:48.97 07-23-2010 ) Staring Proccesing at + Executable : C:\progs\shrink\mediaEngine.exe + EXE path : C:\progs\shrink + Parsing switches - optionsString: "/batch" "/saveLog" "/inplace" "/defaultProfile" "autoEncode" "/findFileRegEx" "avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms" "/onePass" "/centralWorkFolder" "C:\\Temp" "/mediaShrink" "fixBug" "\\TASK\recordings\FetchWithRuffRuffman-SaturdayNightWithaSlightFever-3162790-0.mpg" "/inPlace" "/batch" "/vprofile" "HQ" "/vbitrate" "2500" "/onepass" - Replacing quote0: /batch - Replacing quote1: /saveLog - Replacing quote2: /inplace - Replacing quote3: /defaultProfile - Replacing quote4: autoEncode - Replacing quote5: /findFileRegEx - Replacing quote6: avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms - Replacing quote7: /onePass - Replacing quote8: /centralWorkFolder - Replacing quote9: C:\\Temp - Replacing quote10: /mediaShrink - Replacing quote11: fixBug - Replacing quote12: \\TASK\recordings\FetchWithRuffRuffman-SaturdayNightWithaSlightFever-3162790-0.mpg - Replacing quote13: /inPlace - Replacing quote14: /batch - Replacing quote15: /vprofile - Replacing quote16: HQ - Replacing quote17: /vbitrate - Replacing quote18: 2500 - Replacing quote19: /onepass - Adding to to options Hash + Key: batch () - Adding to to options Hash + Key: saveLog () - Adding to to options Hash + Key: inplace () - Adding to to options Hash + Key: defaultProfile () + Value: autoEncode - Adding to to options Hash + Key: findFileRegEx () + Value: avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms - Adding to to options Hash + Key: onePass () - Adding to to options Hash + Key: centralWorkFolder () + Value: C:\\Temp - Adding to to options Hash + Key: mediaShrink () + Value: fixBug ! couldn't understand (\\TASK\recordings\FetchWithRuffRuffman-SaturdayNightWithaSlightFever-3162790-0.mpg), throwing it away - Adding to to options Hash + Key: inPlace () - Adding to to options Hash + Key: batch () - Adding to to options Hash + Key: vprofile () + Value: HQ - Adding to to options Hash + Key: vbitrate () + Value: 2500 - Adding to to options Hash + Key: onepass () - Scanning Directory: C:\progs\shrink\mediaEngineProfiles (profile|func|snip|output|scrape) - Scanning Directory: C:\progs\shrink\mediaEngineProfiles\encodingProfiles (profile|func|snip|output|scrape) - Scanning Directory: C:\progs\shrink\mediaEngineProfiles\scrapingProfiles (profile|func|snip|output|scrape) + Seraching for avaialble binaries - Scanning Directory: C:\progs\shrink\mediaEngineProfiles (exe) - Scanning Directory: C:\progs\shrink\mediaEngineProfiles\encodingProfiles (exe) - Scanning Directory: C:\progs\shrink\mediaEngineProfiles\scrapingProfiles (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\Comskip (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\Curl (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\ffmpeg (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\ffmpeg\compiling (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\libAften (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\libFlac (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\libMatrix (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\libSsrc (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\libSsrc\Sources (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\legal stuff\r8brain (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\eac3to\plugins (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\ffmpeg (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\ffmpeg\FFmpeg-svn-16596 (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\ffmpeg\FFmpeg-svn-16596\docs (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\HandBrake 9.4 (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\HandBrake 9.4\doc (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\data (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\doc (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\doc\images (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\examples (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\de (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\de\LC_MESSAGES (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\ja (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\ja\LC_MESSAGES (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\zh_CN (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\zh_CN\LC_MESSAGES (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\zh_TW (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mkvtoolnix\locale\zh_TW\LC_MESSAGES (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\mp4box (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311 (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\codecs (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\docs (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\fonts (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\fonts\conf.avail (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\fonts\conf.d (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\mplayer (exe) - Scanning Directory: C:\progs\shrink\mediaEngineBins\tsMuxeR (exe) + ccextractorwin.exe : C:\progs\shrink\mediaEngineBins\ccextractorwin.exe + edl2vprj.exe : C:\progs\shrink\mediaEngineBins\edl2vprj.exe + mp4creator.exe : C:\progs\shrink\mediaEngineBins\mp4creator.exe + mtee.exe : C:\progs\shrink\mediaEngineBins\mtee.exe + touch.exe : C:\progs\shrink\mediaEngineBins\touch.exe + wget.exe : C:\progs\shrink\mediaEngineBins\wget.exe + comskip.exe : C:\progs\shrink\mediaEngineBins\Comskip\comskip.exe + curl.exe : C:\progs\shrink\mediaEngineBins\Curl\curl.exe + eac3to.exe : C:\progs\shrink\mediaEngineBins\eac3to\eac3to.exe + ffmpeg.exe : C:\progs\shrink\mediaEngineBins\ffmpeg\ffmpeg.exe + ffmpeg_SVN.exe : C:\progs\shrink\mediaEngineBins\ffmpeg\FFmpeg-svn-16596\ffmpeg_SVN.exe + HandBrakeCLI.exe : C:\progs\shrink\mediaEngineBins\HandBrake 9.4\HandBrakeCLI.exe + mkvextract.exe : C:\progs\shrink\mediaEngineBins\mkvtoolnix\mkvextract.exe + mkvinfo.exe : C:\progs\shrink\mediaEngineBins\mkvtoolnix\mkvinfo.exe + mkvmerge.exe : C:\progs\shrink\mediaEngineBins\mkvtoolnix\mkvmerge.exe + mkvpropedit.exe : C:\progs\shrink\mediaEngineBins\mkvtoolnix\mkvpropedit.exe + mmg.exe : C:\progs\shrink\mediaEngineBins\mkvtoolnix\mmg.exe + MP4Box.exe : C:\progs\shrink\mediaEngineBins\mp4box\MP4Box.exe + mencoder.exe : C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\mencoder.exe + mplayer.exe : C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\mplayer.exe + vfw2menc.exe : C:\progs\shrink\mediaEngineBins\MPlayer-rtm-svn-28311\vfw2menc.exe + tsMuxeR.exe : C:\progs\shrink\mediaEngineBins\tsMuxeR\tsMuxeR.exe + Seraching for input files (avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms) ------------ Processing ---------------- + Adding per run options: ()() + Parsing switches - optionsString: + Processing: ! No input file found - Making Log File: C:\progs\shrink\mediaEngine.log + Looking for profile: Couldn't find encode profile: Exiting Code: (1) Exiting in 5 seconds...
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#105
|
|||
|
|||
Why would it do this?
Code:
- Adding to to options Hash + Key: mediaShrink () + Value: fixBug ! couldn't understand (\\TASK\recordings\FetchWithRuffRuffman-SaturdayNightWithaSlightFever-3162790-0.mpg), throwing it away
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#106
|
|||
|
|||
ohpleaseno,
Post your client rule it could be as simple as a misplaced quote or a not escaped quote.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#107
|
|||
|
|||
Code:
:MAPDIR "D:/recordings" "\\\\TASK\\RECORDINGS" MEDIASHRINK { :CPU "LOW" :MAX 1 :RESOURCES 51 "C:/progs/shrink/mediaShrink.exe \"%c%\"" }
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno Last edited by ohpleaseno; 09-26-2010 at 08:48 AM. Reason: whoops, wrong client |
#108
|
|||
|
|||
I gather your server PC name is "TASK" because that is what your file shows? if not then something is wrong in your mapping. (:MAPDIR)
1. You are recording to d:/recordings are you sharing that if yes then what is the share name 2. Your mapping should be \\\\SERVERNAME\\SHARENAME
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 09-26-2010 at 09:00 AM. |
#109
|
|||
|
|||
after running mediashrink shows show up in videos
This probably isn't an issue with MediaShrink but I figure some of you may have run into the problem.
I'm in SageTV 7 and all of the HD-PVR files I've run through MediaShrink (both through SJQ and by drag and drop) are no longer showing up in the list of recordings. I couldn't really figure out what the issue was and I was guessing it was a corrupt db. However I've now noticed that they are showing up in the video section of Sage. In the past when I converted to MKV the shows would eventually show up in the normal recordings section all with the correct info. Could this be an issue with the fact that 7 now stores some info in files themselves? Anyone else seen this issue? |
#110
|
|||
|
|||
Quote:
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#111
|
||||
|
||||
Sorry i'm not very helpful with MediaShrink right now, I just rebuilt my server and still haven't had a chance to get it up and running again.
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#112
|
|||
|
|||
No worries. This is that same problem I've had for ages. Thought I would have another go at it.
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#113
|
||||
|
||||
Hmm, since I've upgrade to 7.0b17, MediaShrink run under SJQ is often saying it can't delete the original recording after the compression is done as the file is being used by another process. So I end up with two files, the original transport stream and an MKV (and SJQ marks this as a completed task)
Any one else seeing this? It seems to be happening on about half my recordings.
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders Backup: Synology SageTV version: FINAL |
#114
|
||||
|
||||
Hey EP - I have been experimenting with Handbrake to get it to trim down the size of HD-PVR recordings, and I found a setting there that works pretty good for me - I'd like to get this into a profile for MediaShrink, but I'm not sure what all is involved.
Here is the command line form of what I'm using in Handbrake : Code:
### CLI Query: -i "D:\SageTV\NCIS-Iced-10424439-0.ts" -t 1 -c 1 -o "NCIS-Iced.mkv" -f mkv -w 1280 --loose-anamorphic --deinterlace="slow" -e x264 -b 2500 -2 -T -a 1 -E faac -6 dpl2 -R 48 -B 160 -D 0.0 -x ref=2:bframes=2:subq=6:mixed-refs=0:weightb=0:8x8dct=0:trellis=0 -v 1 btl.
__________________
PHOENIX 3 is here! Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient |
#115
|
|||
|
|||
Problem with Commercial Cutting
I seem to have a problem with commercial cutting.
In a batch file This works: Code:
m:\MediaShrink.exe %1 /batch /onlyWhenVprj /saveLog Code:
m:\MediaShrink.exe %1 /batch /cutComm /onlyWhenVprj /saveLog There are only 2 things that come to mind: 1. Current MediaShrink does not work with v4 build 600 of VRD. 2. Current MediaShrink does not work with vprj files created by the latest H.264 version of comskip. Any thoughts? I will get you the log file of each once the former is complete. Attached is the later (attempted commercial cutting) log. |
#116
|
|||
|
|||
Here is the log file without cutting, which seems to produce a fine MKV.
|
#117
|
|||
|
|||
Well, after over 9 months of struggling with MS to work with SJQ, I've finally got it working right. While I'm not 100% sure about what finally changed to get the thing going, I'm definitely happy that it works.
So, instead of my normal type of post, I'll just say thanks for this awesome utility.
__________________
Server: WHS with 11TB of storage Clients:1) HD-200 to a Samsung 32" Slimfit CRT HDTV 2) HD-200 to a Pioneer 26" X1 LCD Tuners: 1) HD-Homerun 2) Avermedia USB ATSC Twitter: ohpleaseno |
#118
|
||||
|
||||
Quote:
__________________
Clients: 1xHD200 Connected to 50" TH-50PZ750U Plasma Server : Shuttle SFF SSH55J2 w/ Win7 Home, SageTV v7, Core i3 540, 2GB RAM, 30GB SSD for OS, 1.5TB+2x1TB WDGP for Recordings, BluRay, 2xHDHR, 1xFirewire SageTV : PlayOn, SJQ, MediaShrink, Comskip, Jetty, Web Client, BMT Having a problem? Don't forget to include a log! (Instructions for: PlayOn For SageTV v1.5, MediaShrink) |
#119
|
||||
|
||||
I'm going to have to go with just a simple "Thank you" for now, too. This little piece of software is just sheer pleasure to have in the library.
|
#120
|
|||
|
|||
DTS Soundtrack not included
Hi,
I'm new to this tool. I tried shrinking both Jurrasic Park 3 and LOTR: Fellowship of the Ring and in both cases, the DTS track did not get included. I've tried creating an MKV file with that as the only track. I also tried using DVD Shrink to only get the DTS track and then using mediashrink. Nothing seemed to work. Any suggestions? Last edited by kshurts; 10-04-2010 at 09:57 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Utility: Web Radio and TV Encoder | michaeldjcox | SageTV Customizations | 858 | 02-27-2021 10:26 PM |
(Old) MediaShrink - An HTPC focused encoder | evilpenguin | SageTV Customizations | 603 | 04-26-2010 08:05 PM |
Bring focused item to front and call fanart | PLUCKYHD | SageTV Studio | 0 | 04-08-2009 07:38 AM |
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 |