|
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 |
#141
|
||||
|
||||
How weird. When I posted that log the destination folder that MediaShrink creates was not there, the one where the newly created MKV ends up... Now both the MKV and the folder are right where I was expecting them to be. Not sure what to say, but it's fine now. Sorry I wasted your time.
|
#142
|
||||
|
||||
Ok, blocked out some time this afternoon to hit some issues.
That should be enough for one afternoon. Feel free to post if you think i'm missing something. Update: OK, should be done. I'll get it packed up and released this week.
__________________
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) Last edited by evilpenguin; 10-17-2010 at 11:50 PM. |
#143
|
|||
|
|||
EP,
When doing Commcut can you check to make sure video redo did not crash.... by checking for completion. for ex: Output complete to.. Right now if i kill videoredo in taskmanager mediashrink will continue to process the partial file. Code:
Output complete to: C:\workfolder\GhostWhisperer-TheCollector-7699528-0.workFolder\GhostWhisperer-TheCollector-7699528-0.scratch.0.18.MAIN.mpg
__________________
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; 10-17-2010 at 04:40 PM. |
#144
|
||||
|
||||
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) |
#145
|
||||
|
||||
Finally finished testing v3.0.3 and I must say, i'm quite happy with it. Note that I fixed a lot of things in Mediashrink.bat so you'll need to manually regenerate it by deleting the old one and double clicking MediaShrink.exe.
In addition, I updated my recommended SJQ client profile in the 2nd post to use MediaShrink.bat file instead of MediaShrink.exe directly since it'll set the priority correctly (at least on my PC's). You can download it from the plugin menu hidden under Library->MediaShrink or grab it directly from here. Remember to make sure MediaShrink isn't running before you try and update otherwise it'll fail!
__________________
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) Last edited by evilpenguin; 10-20-2010 at 02:25 PM. |
#146
|
|||
|
|||
EP
There appears to be an error in the way you call cscript in videoredo PS I know the check for VideoRedo fails and HandBrake fails works :-) Great Job Code:
= Overall: True, using: C:\testfolder\SwiftJusticeWithNancyGrace-7762047-0.VPrj + Processing conditional: EXT:VPrj||EXISTS:<:>#VRD_CUT#//nologo "C:\Program Files\VideoReDoTVSuite\\vp.vbs" "C:\testfolder\SwiftJusticeWithNancyGrace-7762047-0.VPrj" "C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN.mpg" /t1 /q /e - Conditional List: EXT:VPrj||EXISTS: + Checking: EXT:VPrj - Does file exist next to inputFile with a (.VPrj) extention? (C:\testfolder\SwiftJusticeWithNancyGrace-7762047-0.VPrj) + True + Checking: EXISTS: - Does file () exist? + False = Overall: True, using: #VRD_CUT#//nologo "C:\Program Files\VideoReDoTVSuite\\vp.vbs" "C:\testfolder\SwiftJusticeWithNancyGrace-7762047-0.VPrj" "C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN.mpg" /t1 /q /e - Executing command: cscript #VRD_CUT#//nologo "C:\Program Files\VideoReDoTVSuite\\vp.vbs" "C:\testfolder\SwiftJusticeWithNancyGrace-7762047-0.VPrj" "C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN.mpg" /t1 /q /e > "C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18..log" 2>&1 + ------ Last 30 lines of log ------- + Microsoft (R) Windows Script Host Version 5.8 + Copyright (C) Microsoft Corporation. All rights reserved. + + Input Error: There is no file extension in "C:\SJQJOBSProd\MediaShrink\#VRD_CUT#\nologo". + outputfilemain -> inputmain (C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN.mpg)(C:/workfolder/SwiftJusticeWithNancyGrace-7762047-0.workFolder/SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN)(C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN)(!#vrd_cutCommercials##VRD_CUT#//nologo "C:\Program Files\VideoReDoTVSuite\\vp.vbs" "C:\testfolder\SwiftJusticeWithNancyGrace-7762047-0.VPrj" "C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN.mpg" /t1 /q /e) - Getting Video Info: (C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN.mpg)(0) + FFmpeg version SVN-r25, Copyright (c) 2000-2009 Fabrice Bellard, et al. + configuration: --target-os=mingw32 --prefix=/home/daved/Development/SageTV/Projects/buildwin/stage --disable-ffplay --disable-ffserver --enable-gpl --disable-decoder=aac --disable-encoder=aac --disable-demuxer=ea --disable-devices --enable-libxvid --enable-libx264 --enable-libfaac --enable-libfaad --enable-static --disable-shared --enable-pthreads --disable-debug --enable-memalign-hack --extra-cflags=-fno-common -march=i686 -mtune=i686 -DWIN32 -I/home/daved/Development/SageTV/Projects/buildwin/stage/include --extra-ldflags=-L/home/daved/Development/SageTV/Projects/buildwin/stage/lib --enable-cross-compile --cross-prefix=i686-pc-mingw32- + libavutil 50. 2. 0 / 50. 2. 0 + libavcodec 52.22. 3 / 52.22. 3 + libavformat 52.32. 0 / 52.32. 0 + libavdevice 52. 1. 0 / 52. 1. 0 + libswscale 0. 7. 1 / 0. 7. 1 + built on Sep 1 2009 09:13:24, gcc: 4.2.4 + C:\workfolder\SwiftJusticeWithNancyGrace-7762047-0.workFolder\SwiftJusticeWithNancyGrace-7762047-0.scratch.0.18.MAIN.mpg: no such file or directory - Remaining Commands (8): (/setOptions) + Command : /setOptions - Adding to command parameter hash + Key: setOptions + Processing conditional: !(>prevExeLog=~Output complete to<)<:>/ERROR "Commercial Cutting failed" - Conditional List: prevExeLog=~Output complete to + Checking: prevExeLog=~Output complete to - Does {prevExeLog}(microsoft (r) windows script host version 5.8 copyright (c) microsoft corporation. all rights reserved. input error: there is no file extension in "c:\sjqjobsprod\mediashrink\#vrd_cut#\nologo". ) =~ (output complete to)? + False - Conditional List: !0 + Checking: !0 - Previously Resolved Condition: 0 + !False (True) = Overall: True, using: /ERROR "Commercial Cutting failed" + Parsing switches - optionsString: /ERROR "Commercial Cutting failed" - Replacing quote0: Commercial Cutting failed ! Error reported from profile file: Commercial Cutting failed ! Moving onto next file + Total Time : 00:00:36 Code:
= Overall: True, using: #VRD_CUT#//nologo "C:\Program Files\VideoReDoTVSuite\\vp.vbs" "C:\testfolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.VPrj" "C:\workfolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.workFolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.scratch.0.18.MAIN.mpg" /t1 /q /e - Executing command: cscript //nologo "C:\Program Files\VideoReDoTVSuite\\vp.vbs" "C:\testfolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.VPrj" "C:\workfolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.workFolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.scratch.0.18.MAIN.mpg" /t1 /q /e > "C:\workfolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.workFolder\DesperateHousewives-TheThingThatCountsIsWhatsInside-7761818-0.scratch.0.18..log" 2>&1 Code:
I was able to get it working by changing this line un the comm cut profile. From Encode CLI #1 =!#vrd_cutCommercials#?>EXT:VPrj||EXISTS:%%inputVprj%%<:>#VRD_CUT#//nologo "%%VideoRedoPath%%\vp.vbs" "?>EXT:VPrj<:>%%ORIGINAL_FULLFILE%%.VPrj<=>%%inputVPRJ%%<?" "%%OUTPUT_MAIN%%.mpg" /t1 /q /e<? To Encode CLI #1 =!#vrd_cutCommercials#?>EXT:VPrj||EXISTS:%%inputVprj%%<:>//nologo "%%VideoRedoPath%%\vp.vbs" "?>EXT:VPrj<:>%%ORIGINAL_FULLFILE%%.VPrj<=>%%inputVPRJ%%<?" "%%OUTPUT_MAIN%%.mpg" /t1 /q /e<?
__________________
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; 10-21-2010 at 09:43 AM. |
#147
|
||||
|
||||
Quote:
Probably this line: Code:
"C:\Program Files\VideoReDoTVSuite\\vp.vbs" Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#148
|
||||
|
||||
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) |
#149
|
||||
|
||||
Feature Request
I think it would be nice to marry the drag-and-drop capability of your tool with a simple user selectable list of custom profiles. Just a simple numbered menu of choices that pops up when you drop a video onto the executable. Then have one text file like the mediashrink.defaults.txt where the user can cook up their profile and give it some kind of unique name that shows on the simple menu with a number corresponding with the profile one wants to run at that time. If a user doesn't choose one of the profiles in so many seconds it just executes based on the defaults you’ve already set up.
Is this idea worthy of implementation? |
#150
|
||||
|
||||
That's an excellent idea, I can whip up a batch file that does that this weekend
__________________
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) |
#151
|
|||
|
|||
Hey EP, ever since i switched to the new version 3.03 and now 3.04 the commercial cutting is not happening on any of the shows. with the 3.01d i think (last i used) it would miss one every now and then, but now it doesnt cut anything - quite dissapointing when all the comerical data (edl/vprj) is gone too once file is converted
any ideas whats happening. you probably dont remember, but im only using comskip to create vprj files and sjq is set to run only when vprj is available....instead of time delay... |
#152
|
||||
|
||||
Just started using v3.0.4. Started re-creating my own few batch files, and came upon a strange occurance. As soon as I copy the original batch file, and add just a single switch behind %COMMAND%, the encode poops out (forgive my highly technical explanations) right as it finishes.
If I drag and drop on the original unedited batch file, it works fine. I should probably mention that I'm encoding across gigabit network, source files reside on a different computer from the encoding machine, and my mediashrink files reside in a folder called "mediashrink304" ------------------------------ @ECHO OFF set COMMAND= :LOOP IF (%1)==() GOTO NEXT set COMMAND=%COMMAND% %1 shift GOTO LOOP :NEXT cd /D "C:\Utility\MediaShrink304" start "MediaShrink" /B /LOW /WAIT mediaShrink.exe %COMMAND% /tee echo Exit Code = %ERRORLEVEL% exit |
#153
|
||||
|
||||
To the folks asking about DVD settings, I've been using these commands in my drag-n-drop batch file:
%COMMAND% /TEE /vPROFILE HQ /twoPass /xRes 720 /vbitrate 1300 /container mp4 Because the source DVD material is at such a low resolution to begin with, I can't really justify a higher bitrate. Tested on computer/monitor, WDTVLive device/TV, and notebook computer, can't really tell the difference between the encoded file and the original .vob. I was running at a bitrate of 900, but it fell apart once in a while, so I bumped it up to 1300. You wouldn't need to use the mp4 container. |
#154
|
|||
|
|||
Try putting your switches in the "set COMMAND=" line.
__________________
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 |
#155
|
||||
|
||||
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) |
#156
|
||||
|
||||
Here's the mediaEngine.log file, EP. The only change made was to make a copy of the batch file, and add the "/TEE" command. Works fine with the original batch file, but not the slightly modified file.
|
#157
|
||||
|
||||
Okay, was able to confirm it's *only* the /TEE command that's causing this issue.
|
#158
|
||||
|
||||
Yeah, that's what I was thinking. I do some complicated stuff to make the /tee functionality work, so its not surprising that it doesn't work over UNC paths. If you map the network drive it should work though.
__________________
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) |
#159
|
||||
|
||||
Yep, I can go that route. Thanks.
|
#160
|
||||
|
||||
running 3.04 MediaShrink
I'm having lots of crashes lately in HandbrakeCli.exe on my networked PC that handles nightly compression. Anything changed in the last month or so in MS that might be causing this? The files are compressed over the network via the UNC path. Never been a problem until recently. It's always crashing in the same lib file, I'll grab the dump and log files next time it happens.
__________________
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 |
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 |