|
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 |
#461
|
|||
|
|||
Handbrake not faster - for me
After hearing of the speed improvements in Handbrake 0.9.4, I figured I'd upgrade, so I figured I'd just upgrade to the newest mediashrink. My first file took way LONGER to encode than normal, so I thought I'd check in to see if anyone else has had similar results.
FWIW, I upgraded the mediashrink and dropped my old defaults file into the folder. I'll attach my defaults below in case I'm doing something that makes my setup slower than standard. I'm going to restart the computer and shrink a couple more files to see if this first run was anamolous. my mediashrink.defaults.txt: Code:
/defaultProfile autoEncode /findFileRegEx "avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms" /saveLog /cutComm /onlyWhenVprj see next post
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) Last edited by rmac321; 01-01-2010 at 11:02 AM. |
#462
|
|||
|
|||
After shrinking a couple more files, the results are consistent. What used to be a 3.5 hour 2-pass shrink has now turned into a 5 hour shrink. The output file used to be around 500MB (std OTA 42 minute show) and is now around 900MB.
The difference must be in the auto encode profile. I don't understand the context of most of the file, but there is a new line that looks to test for HDTV content and set a higher quality. Code:
Encode CLI #6 =?>%%SNIP:HDTVCheck%%<:>/cliBitrate 2500 /twopass /highProfile<=>/onePass<? Just as an additional question to EP. IIRC, you've mentioned many times in the thread that you use one-pass encoding, yet the default setup for me has always run 2-pass. Should I be disabling 2-pass? The info on the HB site seems to indicate that 2-pass isn't necessary anymore. Any thoughts? Thanks
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#463
|
||||
|
||||
I'm glad somebody else had the same speed issues. I noticed it being significantly slower and started altering my autoencode profile to simplify everything. In the end I decided to just buy more HDD space for Christmas.
|
#464
|
|||
|
|||
What I don't know yet, is whether the bigger files are worth it. I'll do some comparing. Frankly, the 1/2 GB mkv's are so much better than the avi's that I was happy with the old output. Maybe there will be some specific shows I might want to make a higher quality, but for most stuff, I'm just archiving.
FWIW, I dropped the HB 0.9.4 files into the old version of MediaShrink on my other server to do a comparison and it is running now. Also, for those that have asked about the progress reporting. It appears to be the new version of MediaShrink that is no longer reporting, not the new version of HandBrake since I am getting status on this test. It looks like EP has changed the command calling the handbrake program. Here is the way it is being called in the currently running MediaShrink ver 1: Code:
- Executing command: start /D "C:\Program Files\mediashrink\mediaEngineBins\Handbrake 9.3" /BELOWNORMAL /WAIT /B HandBrakeCLI.exe -v -i "//server1/videos/Video_Work_Folders/4_Ready_To_Shrink/10x04 CSICrimeSceneInvestigation-CoupdeGrace.mpg" -o "//server1/videos/Video_Work_Folders/4_Ready_To_Shrink/10x04 CSICrimeSceneInvestigation-CoupdeGrace.workFolder/10x04 CSICrimeSceneInvestigation-CoupdeGrace.scratch.36.MAIN.mkv" -e x264 -T -x ref=2:bframes=2:me=umh -b 1500 -B 160 -E ac3 -2 --detelecine --decomb --crop 12:12:15:17 -l 720 Code:
- Executing command: "C:\Program Files\MediaShrink\mediaEngineBins\HandBrake 9.4\HandBrakeCLI.exe" -v -i "//server1/videos/Video_Work_Folders/4_Ready_To_Shrink/103 Trauma-BadDayatWork.mpg" -o "//server1/videos/Video_Work_Folders/4_Ready_To_Shrink/103 Trauma-BadDayatWork.workFolder/103 Trauma-BadDayatWork.scratch.40.MAIN.mkv" -e x264 -T -x b-pyramid:b-adapt=2:me=umh:subme=9:analyse=all:trellis=0 -b 2500 -B 160 -E ac3 -2 --detelecine --decomb --crop 12:12:15:17 -l 720 > "\\server1\videos\Video_Work_Folders\4_Ready_To_Shrink\103 Trauma-BadDayatWork.workFolder\103 Trauma-BadDayatWork.scratch.40.HandBrakeCLI.log" 2>&1
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#465
|
|||
|
|||
setting size vs quality
Here is what the HandBrake site says:
----------------------- begin quote ---------------------- Constant quality encoding No more looking for the perfect bitrate for a source--HandBrake is migrating to quality-based encoding. This means that instead of telling encoders to use a specific size and vary quality to meet it, we tell the encoder to vary size to meet a given quality level. Overall quality improves, since bits are spent only when they are needed, and are saved when they are not. While this means output size is somewhat unpredictable, the results in picture quality speak for themselves. As part of this change, the quality slider has been made more prominent, and now works off the quality values used by the video encoders, instead of a confusing, custom, percentage scale. Another result is that 2-pass encoding is not needed. A single pass at a constant quality provides just as much compression efficiency as two passes at an average bitrate. -------------------- end quote --------------------------------- They haven't updated the online documentation for the CLI version, so I don't know how the "slider bar" translates to a corresponding cli switch. Maybe EP can tell us more.
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) |
#466
|
|||
|
|||
EP,
Is this change to quality-measuring vs bitrate-measuring what you were contemplating when you proposed the vProfile and or /IVTC switches? Is this just a contemplation looking for input, or has this been implemented? I interpreted that post as a request for input. My preference would be to have a way to specify quality. Maybe a few more levels of quality in the vProfiles would be useful. A step or two between Normal and HQ perhaps. Thanks Quote:
__________________
SageTV v9.1.10.479 on Ubuntu (testing v9.1.10.479 on Debian and Win10) Last edited by rmac321; 01-01-2010 at 02:26 PM. |
#467
|
|||
|
|||
cropping too much on the sides? (configurable max crop?)
Hello EP ...
Thanks very much for this great encoding tool ... I was up to about 7 of 9 GB before starting to use this ;-) (unRaid 4.5) I was curious if there was a way to set the horizontal cropping more conservatively it seems to be cropping the same amount on the top and the sides for some of my videos. (I seem to get one zealously over cropped video a day) The vertical cropping most times seems to be just about perfect ... Possibly a configurable max vertical and max horizontal crop width ... most of 'my' content seems to fall into the same range, either 4:3 broadcast or 16:9 fit into 4:3 (letterboxed?) ... (and of course now I'm looking to go to HD content ... so that might be changing soon as I can figure out the options in Vancouver, BC ... either HD-PVR or r5000 ... for OTA I'm on the downside of the slope from most local channels) Thanks for your time, Bobby
__________________
SageTV Server: Windows 7 64Bit, Phenom II X6 1090T, Asus M4A89GTD-PRO/USB3 (AM3), ATI Radeon HD 4290, 2 x KHX1600C9D3/4GX, 4 x HD-PVR2 Gaming, , 4 x 320GB recording drives, 2 x USB-UIRT, SageTV Server Beta SageTV Client & 2 x HD-300 Extender. 40.8TB unRaid 6.6.5 media server |
#468
|
|||
|
|||
I was discussing this over in the SJQ thread, but you were telling me about the 'No audio/video" issue being a problem with the source material. I used Mediainfo to look at one of the .mpg files that Mediashrink wouldn't convert and it showed that there wasn't an audio stream in the file, yet when I play the file it obviously has audio.
Why would it report no audio stream?
__________________
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 |
#469
|
|||
|
|||
probably because the .mpg header is messed up either from the broadcast or from when sage wrote it. I have had instances where the recording info shows 2 audio streams but only one stream is present in the stream. This only happens on the local fox OTA affliate. The stream that actually contains audio is usually not the default stream... this causes mediashrink to use the stream with no audio when it processes the file.
__________________
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 |
#470
|
|||
|
|||
Quote:
Is there any way to resurrect the header?
__________________
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 |
#471
|
||||
|
||||
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) |
#472
|
|||
|
|||
EP,
This is a sample of a bad audio. Code:
U:\testfolder>s:\SJQSAGE\tools\mediainfo\mediainfo.exe U:\testfolder\TheEllenDeG eneresShow-5515388-0.mpg General Complete name : U:\testfolder\TheEllenDeGeneresShow-5515388-0 .mpg Format : MPEG-PS File size : 337 MiB Duration : 13mn 22s Overall bit rate : 3 523 Kbps Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings, Matrix : Default Duration : 13mn 22s Bit rate mode : Variable Nominal bit rate : 15.0 Mbps Width : 528 pixels Height : 480 pixels Display aspect ratio : 4/3 Frame rate : 29.970 fps Colorimetry : 4:2:0 Scan type : Interlaced Scan order : Top Field First Bits/(Pixel*Frame) : 1.975 Audio #1 ID : 0 (0x0) Format : AC-3 Format/Info : Audio Coding 3 Format profile : TrueHD Duration : 13mn 22s Bit rate mode : Variable Channel(s) : 2 channels Channel positions : L R Sampling rate : 48.0 KHz Video delay : 13mn 21s Audio #2 ID : 129 (0x81) Format : AC-3 Format/Info : Audio Coding 3 Duration : 13mn 21s Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Channel positions : L R Sampling rate : 48.0 KHz Video delay : -578ms Stream size : 18.4 MiB (5%) Audio #3 ID : 130 (0x82) Format : AC-3 Format/Info : Audio Coding 3 Duration : 13mn 21s Bit rate mode : Constant Bit rate : 128 Kbps Channel(s) : 2 channels Channel positions : L R Sampling rate : 48.0 KHz Video delay : -623ms Stream size : 12.2 MiB (4%) The latest Comskip gives you the right PID in the VPRJ. Code:
<Version>2 <Filename>TheEllenDeGeneresShow-5515388-0.mpg <InputPIDList> <VideoStreamPID>224</VideoStreamPID> <AudioStreamPID>129</AudioStreamPID> </InputPIDList> EX. partial script below. ' Note: Use FileOpenBatch is you might be QSFing this file. Otherwise use, FileOpen ' 'openFlag = VideoReDo.FileOpen( sourceFile ) 'openFlag = VideoReDo.FileOpenBatch( sourceFile ) openFlag = VideoReDo.FileOpenBatchPIDS( sourceFile, 224, 129 ) Is there a way you can do this. on the fly executing a quickfix? PS I ran this file through mediashrink without a QFIX and it picked up SAP information audio. You are using Comskip 0.79.144 can I just replace it with the current version?
__________________
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; 01-12-2010 at 08:17 PM. |
#473
|
||||
|
||||
EP,
I'm using the MediaEngine call you suggest for SJQ3, to alleviate the problem when nothing runs. Now I'm getting the attached. The job just fails out. Any ideas what i'm doing wrong? My client ruleset is: MEDIASHRINKHQ { :CPU "LOW" :OFFHOUR "0-1, 16-23" :MAX 1 :RESOURCES 51 #"C:/sjqc/MediaShrink/mediaShrink.exe \"%c%\" /inPlace /batch /highProfile /cliBitrate 2500" "C:/sjqc/MediaShrink/mediaEngine.exe \"%c%\" /inPlace /mediaShrink /batch /saveLog /defaultProfile autoEncode /findFileRegEx \"avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms\"" }
__________________
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 |
#474
|
|||
|
|||
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 |
#475
|
||||
|
||||
Quote:
EDIT: would it be this: "C:/sjqc/MediaShrink/mediaEngine.exe \"\\\\REBEL-HQ\\Recorded TV\\%f%\" /inPlace /mediaShrink /batch /saveLog /defaultProfile autoEncode /findFileRegEx \"avi|mpg|mkv|mp4|mpeg|VIDEO_TS|ts|ogm|divx|mpts|dvr-ms\"" When I put the above in, it now says "! couldn't understand (\\REBEL-HQ\Recorded TV\SidtheScienceKid-SpecialMomDayMeal-695310-0.mpg), throwing it away" but if I copy the exact path list into my run box, it loads the MPG fine. I'm really getting confused. Does MediaShrink not like UNC paths?
__________________
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 Last edited by ChaOConnor; 01-22-2010 at 04:18 PM. |
#476
|
||||
|
||||
It doesn't show it in the failed log, but if I look at the log while it's running, it says it can't find the profile. It finds everything else, why not the profile? I've check, it's there.
__________________
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 |
#477
|
|||
|
|||
Hi guys. I'm new to this process so be gentle ;-)
I have run SageTV for a few years now after getting annoyed with the default app that came with my tuner, occasionly I would record but left as original. This year I have recorded a large ammount of video from different sources and looked into converting content for archiving. I found mediaShrink and it worked well with the defaults for my first video but then the next I tried handbrake appears to get stuck at a certain percentage (log just keeps outputting the same line after 5 hours or so). I thought I read a post about using VideoRedo to quickfix if handbrake fails so I investigated and got that program but quick fix did not correct it. Is there some special settings I need to review or can I get a better idea of why handbrake is getting stuck? Thanks for any help. btw. I appreciate all the effort everyone goes to set these plugins etc up, they make life for everyone like me easy. |
#478
|
|||
|
|||
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 |
#479
|
|||
|
|||
No Audio on Camcorder/Local production DVD's
I have been using MediaShrink successfully but now I have an issue where certain DVD's do not include audio. The major movie's provided by Netflix or Disney I have no problem, I get audio. When I process DVD's from my Camcorder or low budget production from my daughters dance company I get No audio, just video. Does anyone have any thoughts or ideas?
|
#480
|
||||
|
||||
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) |
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 |