|
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 |
#421
|
||||
|
||||
Quote:
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) |
#422
|
|||
|
|||
Service
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#423
|
|||
|
|||
Just tried the non-service client and the same result. Thought maybe it was because one of the bins you called couldn't read from UNC path, but that wasn't it either - passing a local recording for it to process results in the same error output.
Also, mediaShrink returns code 0 in this case, really should return non-zero. Returning zero makes SJQ think the command completed successfully. Reverting back to mediaShrink 2.0dev fixed everything (except the procs run at higher priority).
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#424
|
|||
|
|||
If you choose to kill an active mediaShrink task in SJQ, SJQ is not able to kill the mediaShrink process nor are its children killed off. Not sure how you're creating the various child processes, but however it's being done is not compatible with java.lang.Process.destroy(). The destroy() call is made and no exceptions are thrown by the JRE so as far as the JRE is concerned it did kill the process, but they all remain running in task manager afterwards. I did test this with other processes to ensure that SJQ can kill processes and it works as expected.
Not a major issue since I doubt one would want to kill a mediaShrink job too often, but if there were a way to support it, it certainly wouldn't be a bad thing.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#425
|
|||
|
|||
Quote:
__________________
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 |
#426
|
||||
|
||||
Quote:
I'll play around with this a bit and see if we can a way to make it work and let SJQ control the priority. Quote:
Perl doesn't have the most robust process managing options, but I can play around with it a bit to see if I can't get it to play nicer.
__________________
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) |
#427
|
||||
|
||||
Something worth trying: calling mediaEngine directly instead of mediaShrink, try this CLI in SJQ...
Code:
"D:/upnp2podcast/mediaScraper/mediaEngine.exe \"%c%\" /inPlace /mediaShrink /batch /saveLog /defaultProfile autoEncode /findFileRegEx \"avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms\""
__________________
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; 12-05-2009 at 08:25 PM. |
#428
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#429
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#430
|
|||
|
|||
Quote:
My original claims over in the SJQ thread of everything working great were a tad premature. Are there any other logs or debugging I can send your way that I haven't yet?
__________________
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 |
#431
|
|||
|
|||
EP,
With the new SJQ _RELINK.... is there any chance that in the future you can add an option to set the destination of the encoded file besides side by side?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#432
|
|||
|
|||
I'm going to paint my WHS green and call it "The Mystery Machine".
I've been running SJQ with it calling mediaengine directly and I've had 14 successful encodes in a row. The only issue is the one reported of it running at normal. It seems that my install is working fine for me now minus that one small bug. Zoinks!
__________________
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 |
#433
|
|||
|
|||
Quote:
Code:
### Output Options----------------------------------------------------------- /inPlace Replace the original video when complete /outputName <name> Name for output file. Default is same as original with new extention. /outputDirectory <path> Directory to place encoded video. Default is same path as original.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#434
|
||||
|
||||
Quote:
Thanks!
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 |
#435
|
|||
|
|||
Quote:
I run SJQ in service mode with WHS also acting as the client. I'm actually considering repurposing a box out of unused parts to offload all of the video processing to a separate machine. Yes, a fully-functional computer who's only job is to run mediashrink. Who said that Sage was complex to set up? After that it involves a lot of incense and laying of hands. Every so often I have to turn my WHS 36 degrees on it's horizontal axis to allow for declination with the moon.
__________________
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; 12-09-2009 at 09:00 AM. |
#436
|
||||
|
||||
Quote:
Appreciate the help, look forward to seeing your setup. I too was wondering about setting up an additional client, but for now will be happy to just get it work w/ WHS.
__________________
Server: AMD Phenom II X6 1090T 3.2GHz, ASRock 890FX Deluxe4 890FX, PNY Optima 8GB DDR3 1333 Media Storage: Rosewill RSV-S4-X 4 Bay Enclosure w/ 4 x 3TB via unRAID Capture: HDHomerun Prime, HDHomerun x 2 Software: Sage Server 7.1.9 on Windows 7 (Virtualized in ESXi) Clients: i3-2105, ASRock Z68 Pro3-M, 4GB DDR3 1600, 64GB SATA III (OS), 2TB WD Green (Recording), PNY GT 430 // 2 x HD-300 |
#437
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#438
|
||||
|
||||
New Usage
I'm kicking around a much nicer set of CLI options that will allow for cleaner profiles. Let me know if anyone has any thoughts...
The biggest benefit is that I can prevent user supplied options from getting clobbered by the automatic ones (the reason /verticalScale wasn't working before). Code:
Simple Usage: Drag and drop videos on MediaShrink.exe CLI Syntax : mediaShrink.exe [options] <File|Folder> <File|Folder> ### Basic Options----------------------------------------------------------- /saveLog Save log file when complete (default) /saveAll Save all temp files when complete /batch Disable some features intended for running manually that can get in the way of automated execution from Dirmon2 or SJQ (default) ### Output Options----------------------------------------------------------- /inPlace Replace the original video when complete /outputName <name> Name for output file. Default is same as original with new extention. /outputDirectory <path> Directory to place encoded video. Default is same path as original. /centralWorkFolder <path> By default all encoding work will be done in a directory next to the original video. If you can set this option to force mediaShrink to do all its work in a specified directory. Useful if you have recordings stored on a NAS. /container <container> A/V container to use - mkv : Uses mkv container (default) - mp4 : Uses mp4 container ### Video Options ------------------------------------------------------------ /vcodec <encoder> Set the video encoder (Default) - x264 : Uses x264 encoder - ffmpeg : Uses ffmpeg encoder, roughly divx /vbitrate <kbs> Set video bitrate (Default 1500) /vProfile <profile> Set the video encoding parameters - HQ : High Quality, slow encode speed (Default) - Normal : Good Quality, resonable encode speed - Apple : Handbrake's Universal Apple video options - iPhone : Handbrake's iPhone video options - iPod : Handbrake's iPod classic video options /onePass Do a one-pass encode, faster /twoPass Do a two-pass encode, slower/higher quality /xRes <###> Scale video to ????x#### (Y Res is auto-calculated) /yRes <###> Scale video to ####x???? (X Res is auto-calculated) /IVTC Uses Handbrakes variable frame rate encoding /noIVTC Blocks usage of IVTC by autoEncode /denoise Uses Hanbrakes denoise filter /noDenoise Blocks usage of denoise by autoEncode /decomb Uses Hanbrakes decomb filter (Selective Deinterlace) /noDecomb Blocks usage of decomb by autoEncode /deinterlace Uses Hanbrakes deinterlace filter /noDeinterlace Blocks usage of denoise by autoEncode /noAutoCrop Disable Automatic Cropping /noSubtitles MediaShrink will automatically attempt to attach all subtitle/CC tracks it finds since its a pretty harmless operation. Set this if you want to disable /burnSubtitles Burn subtitles straight right onto the video. ### Audio Options -------------------------------------------------------------- /acodec <encoder> Set the audio encoder - faac : AAC codec (Default Stereo/SDTV) - lame : MP3 codec - vorbis : OGG codec - ac3 : AC3 passthough (Default HDTV) - dts : DTS passthough /abitrate <kbs> Set audio bitrate in kbs (Default 160) ### DVD Options ---------------------------------------------------------------- /forceTitle <#,#,...> By default mediaShrink will automatically attempt to detect which titles to encode, however, every once and a while it gets it wrong. For those cases you can specify just the DVD title numbers you want to encode sepeated by commas. ### Commercial Cutting Options ------------------------------------------------- REQUIRES VIDEOREDO TO BE INSTALLED /cutComm Attempt to cut the commercials. If no edl or vprj file exists it will attempt to make one using comskip /onlyWhenVprj Only cut if a vprj file already exists (default) ### Defaults ------------------------------------------------------------------- HDTV (1080i or 720p): /container mkv /vCodec x264 /vBitrate 2500 /vProfile HQ /xRes 720 /aCodec ac3 /onePass SDTV (480p) or SDTV in HDTV (Black Bars on the side: /container mkv /vCodec x264 /vBitrate 1500 /vProfile Normal /xRes 540 /aCodec faac /aBitrate 160 /onePass
__________________
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) |
#439
|
|||
|
|||
Typo
Code:
/noDeinterlace Blocks usage of denoise by autoEncode
__________________
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 |
#440
|
|||
|
|||
Possible Use Case scenario/Feature Request
Bear with me on this one.
Say I have an .mkv encoded with dts audio. In my living room, I have Sage hooked up to my DTS capable receiver and it is no problem. I just bought an LCD and another HD-200 for my bedroom. I obviously can't play the dts track on the TV, so I was wondering if mediashrink had the possibility down the road to be able to take the .mkv, look and see if the only audio is dts, take out the dts, encode to ac3, add the ac3 to the original mkv preserving both the original dts and adding the new ac3. I know this isn't the intended use of mediashrink and goes beyond the brilliance in its simplicity, but it is a very powerful tool with the simple switches that you can put in to change profiles, I didn't know if this could be a possible encoding profile.
__________________
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 |
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 |