SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #121  
Old 03-25-2009, 06:37 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by toricred View Post
I've just started using the HD-PVR and I tried this on one of those recordings. It worked, but it took 2-3 hours for a 1 hour recording. Should this work any better than that in your opinion?
I just tried this and it crashed the first .ts file I sent through it. However mediashrink didn't throw an exception and just kept plugging along for about 24 hrs before I noticed it. I had to manually kill the process via taskmanager. What settings did you use (vanilla autoencode profile? or something different? Is your HD-PVR set up for SPDIF or Analog Audio?)? I first tested it out on a test clip and it worked fine but not when I did the full episode.
__________________
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
  #122  
Old 03-25-2009, 08:22 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I had to modify the autoencode profile and remove the reference to quickstream fix and a couple of other things I don't remember off the top of my head.
  #123  
Old 03-26-2009, 01:36 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Maybe I missed it.. but is there a way to save the transcoded file to a different place? I don't want to put it in my TV folder until I get a chance to check it out and replace a bunch at once. I'm using the /centralWorkFolder which is nice since I'm on a network drive. But I'd like to save the file locally.

Jim
  #124  
Old 03-26-2009, 02:30 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by jbuszkie View Post
Maybe I missed it.. but is there a way to save the transcoded file to a different place?
not sure if it has made it into the new mediashrink code or not but in the old version (video tools 3.0/3.5) you could specify the following option in either your .profile or in your call to media shrink.
Code:
/outputMode "Path<:>C:\Path\To\Dir"
__________________
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
  #125  
Old 03-26-2009, 03:20 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
After a little digging and experimentation.. It seems like:

Code:
/outputDirectory c:\Path\To\dir
Works...

Oh.. and great job on this.. I've always wanted a *painless* way to extract the movie from all my kid's DVDs!

  #126  
Old 03-30-2009, 06:34 AM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
EP, first off thank you for an awesome program! I was doing all this by hand w/ HandBrake and you are making my life too easy. Thank you!

Had an unusual issue last night. I was converting all of Thundercats vol 2 DVDs (all were ripped to my HD), and for disks 1-3, each episode was detected and ripped correctly. For disk 4, it only pulled in the first track (which is a combination of all the episodes) vs the individual episodes. Each DVD has the same structure, but for disk 4 it looks like it encoded it like a movie.

My question is this, is there a way to force MediaShrink to pull certain tracks? For instance if I know on the Thundercats DVD set, tracks 2-5 are always the episodes, is there a way to hard encode that?

Thanks again, AMAZING product!!!
  #127  
Old 03-30-2009, 02:28 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
I'm trying to decode a DVD and the audio doesn't show up.

Attached is the log. I quickly tried to see if I could determine anything, but I couldn't.

Other DVDs that I drag and drop seem to work fine. I'm using the defaults for audio in the setup file.

Am I missing something?
Attached Files
File Type: zip VIDEO_TS.autoEncode.(1).log.zip (21.8 KB, 202 views)
  #128  
Old 03-30-2009, 08:35 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Wrong Audio Selected

EP,

Videoredo has a bad habit of choosing the wrong audio when doing a quickfix or cutting commercials. I have attched a log.

The mpg has 2 audio tracks the regular and the SAP.. videoredo keeps selecting the SAP. It has really gotten bad since I have gone mostly to clear qam. If I eliminate videoredo then handbrake selects the proper audio. So cutting commercials even with videoredo is not reliable.
Attached Files
File Type: txt Charmed-Rewitched-1575287-0.QuickStream Fix.txt (101.4 KB, 295 views)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
  #129  
Old 03-31-2009, 06:54 AM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
Question about the auto profile... when I drag a folder w/ a ripped TV show series onto MediaShrink, what profile does it use? The SDTV one from the first post? It's an old 80's TV show (ThunderCats to be precise...). Thanks!
  #130  
Old 03-31-2009, 11:57 AM
troycheek's Avatar
troycheek troycheek is offline
Sage Advanced User
 
Join Date: Feb 2008
Posts: 148
Quote:
Originally Posted by zzmystique View Post
The files do not transcode using the hand brake GUI. The error message reads as follows.

No Title found. Please make sure you have selected a valid, non-copy protected source......
I have the same problem with files recorded from my Plextor ConvertX TV-402U. The best solution I've found so far is to run them through ffmpeg like so:

ffmpeg -i input.mpg -vcodec copy -acodec copy output.mpg

In my case, the resulting output file can be processed by MediaShrink quite nicely. I use the ffmpeg.exe included in the MediaShrink package. If it doesn't work for you, you might try the SageTVtranscoder with the same command line.
  #131  
Old 04-02-2009, 07:39 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Hey EP - for some reason I've run into a disc that MediaShrink doesn't like - any clue from this output?

Code:
    - Found File: (V:\Videos\TV Shows\Stargate SG1\Season 10\SG1105\VIDEO_TS)
  + Getting DVD info: "C:\Users\bialio\Desktop\Shrink2\mediaEngineBins\Handbrake 9.3\HandBrakeCLI.exe" -i "V:/Videos/TV Shows/Stargate SG1/Season 10/SG1105/VIDEO_TS" -t 0 2>&1
    - Scanning DVD for titles
      + Found Title 1 (43)
      + Found Title 2 (43)
      + Found Title 3 (43)
      + Found Title 4 (43)
      + Found Title 7 (15)
      + Found Title 8 (23)
      + Found Title 9 (23)
    - Number of titles found = 10
      + 43 (4): Longest = 43 (4)
      + 23 (2): Longest = sum of durs: (43 ~= 23 * 2(46)
      + 15 (1)
      + 0 (3)
    +  Checking Title: 11
    +  Checking Title: 3
    +  Checking Title: 7
    +  Checking Title: 9
    +  Checking Title: 2
    +  Checking Title: 8
    +  Checking Title: 1
    +  Checking Title: 4
    +  Checking Title: 10
    +  Checking Title: 5
  ! No input file found
    - Making Log File: C:\Users\bialio\Desktop\Shrink2\mediaEngine.log
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
  #132  
Old 04-02-2009, 10:42 AM
ChaOConnor's Avatar
ChaOConnor ChaOConnor is offline
Sage Aficionado
 
Join Date: Nov 2008
Location: Bel Air, MD
Posts: 355
Wink

Quote:
Originally Posted by bialio View Post
Hey EP - for some reason I've run into a disc that MediaShrink doesn't like - any clue from this output?

Code:
    - Found File: (V:\Videos\TV Shows\Stargate SG1\Season 10\SG1105\VIDEO_TS)
  + Getting DVD info: "C:\Users\bialio\Desktop\Shrink2\mediaEngineBins\Handbrake 9.3\HandBrakeCLI.exe" -i "V:/Videos/TV Shows/Stargate SG1/Season 10/SG1105/VIDEO_TS" -t 0 2>&1
    - Scanning DVD for titles
      + Found Title 1 (43)
      + Found Title 2 (43)
      + Found Title 3 (43)
      + Found Title 4 (43)
      + Found Title 7 (15)
      + Found Title 8 (23)
      + Found Title 9 (23)
    - Number of titles found = 10
      + 43 (4): Longest = 43 (4)
      + 23 (2): Longest = sum of durs: (43 ~= 23 * 2(46)
      + 15 (1)
      + 0 (3)
    +  Checking Title: 11
    +  Checking Title: 3
    +  Checking Title: 7
    +  Checking Title: 9
    +  Checking Title: 2
    +  Checking Title: 8
    +  Checking Title: 1
    +  Checking Title: 4
    +  Checking Title: 10
    +  Checking Title: 5
  ! No input file found
    - Making Log File: C:\Users\bialio\Desktop\Shrink2\mediaEngine.log
I think it's just MediaShrink being aware enough to not compress a disk it feels is inferior. SG-1 jumped the shark so long ago it's not even funny. But that's okay, I still watch it too. Can't... stop... watching...
  #133  
Old 04-02-2009, 10:53 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Sometimes TV show DVD's have one long title that's all the episodes and then a few smaller titles that's all the episodes individually. So to detect that I add up the sum of the smaller episodes and compare it to the length of the longest title. Most of the time it works flawlessly, but sometimes it has trouble with disks with special features like this one. This one looks pretty obvious so I can prolly get it fixed.
  #134  
Old 04-02-2009, 11:00 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
So in the mean time if I rip each episode individually (ie "Main Movie" option typical to most DVD ripping SW) then point it at mediaShrink I can avoid this issue (for this particular disc)?
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient

Last edited by bialio; 04-02-2009 at 11:06 AM.
  #135  
Old 04-06-2009, 12:56 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by nyplayer View Post
EP,

Videoredo has a bad habit of choosing the wrong audio when doing a quickfix or cutting commercials. I have attched a log.

The mpg has 2 audio tracks the regular and the SAP.. videoredo keeps selecting the SAP. It has really gotten bad since I have gone mostly to clear qam. If I eliminate videoredo then handbrake selects the proper audio. So cutting commercials even with videoredo is not reliable.
Hey, there's nothing I can do about that, but I posted something on the VRD forums to see if they can fix it.
  #136  
Old 04-07-2009, 03:09 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
Quote:
Originally Posted by razrsharpe View Post
I just tried this and it crashed the first .ts file I sent through it. However mediashrink didn't throw an exception and just kept plugging along for about 24 hrs before I noticed it. I had to manually kill the process via taskmanager. What settings did you use (vanilla autoencode profile? or something different? Is your HD-PVR set up for SPDIF or Analog Audio?)? I first tested it out on a test clip and it worked fine but not when I did the full episode.
Is anyone getting good conversions of HD-PVR transport streams recorded through Sage? I'm always getting the "no audio or video" error:

+ Getting Video Info: (F:\SageTV\BigMedia1-Recordings\Damages-LookWhatHeDugUpThisTime-5301131-0.workFolder\Damages-LookWhatHeDugUpThisTime-5...

...

- Remaining Commands (6): (/setOptions)
+ Command : /setOptions
+ Parsing switches
- optionsString: /ERROR "No Audio or Video"
! Error reported from profile file: No Audio or Video
! Moving onto next file...
__________________
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
  #137  
Old 04-07-2009, 08:45 PM
hammondr hammondr is offline
Sage User
 
Join Date: Sep 2006
Posts: 43
Two questions. One on logging, and another on compression into an avi container.

#1. This must be a stupid question, but I couldn't find the answer anywhere here. Please excuse a newbie question. I'm using beta2, but it doesn't seem to be generating any logs at all. The first post in this thread hinted a log file should be found alongside the mediaShrink.exe file. No joy.

#2. I noticed this when I started trying to compress recorded SDTV files from the default MPG. Compression using the default mkv container seemed to work. However, something started failing once I added "/avi" to mediaScraper.defaults.txt. Since I ran mediaShrink from the command line, I can see the last lines of on-screen logging:
Quote:
- Remaining Commands (6): (/setOptions)
+ Command : /setOptions
+ Parsing switches
- optionsString: /finalOutputName "f:\pvr02\TheSongofBernadette-2097052-0.autoEncode.avi"
- Adding to to options Hash
+ Key: finalOutputName
+ Value: f:\pvr02\TheSongofBernadette-2097052-0.autoEncode.avi

- Remaining Commands (5): (/exe mkdir)
+ Command : /exe mkdir
+ Command Empty, Skipping: ""

- Remaining Commands (4): (/exe copy)
+ Command : /exe copy
- Executing command: copy "f:\pvr02\TheSongofBernadette-2097052-0.workFolder\TheSongofBernadette-2097052-0.scratch.41.MAIN.avi" "f:\pvr02\TheS...

- Remaining Commands (3): (/exe move)
+ Command : /exe move
+ Command Empty, Skipping: ""

- Remaining Commands (2): (/exe move)
+ Command : /exe move
+ Command Empty, Skipping: ""

- Remaining Commands (1): (/exe move)
+ Command : /exe move
+ Command Empty, Skipping: ""

- Remaining Commands (0): (/setOptions)
+ Command : /setOptions
+ Parsing switches
- optionsString: /outputFailure
- Adding to to options Hash
+ Key: outputFailure

+ Deleting temp files (f:\pvr02\TheSongofBernadette-2097052-0.workFolder)
- Deleting File: f:\pvr02\TheSongofBernadette-2097052-0.workFolder
+ Deleting Folder: rmdir /S /Q "f:\pvr02\TheSongofBernadette-2097052-0.workFolder"

+ Deleting temp files (f:\pvr02\TheSongofBernadette-2097052-0.autoEncode.(1).log)
- Deleting File: f:\pvr02\TheSongofBernadette-2097052-0.autoEncode.(1).log
+ Deleting File: del /Q "f:\pvr02\TheSongofBernadette-2097052-0.autoEncode.(1).log"
I saw the working folder in use, and that folder isn't there anymore of course. But the final .avi is nowhere to be found.

Any thoughts?
  #138  
Old 04-08-2009, 07:01 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by hammondr View Post
#1. This must be a stupid question, but I couldn't find the answer anywhere here. Please excuse a newbie question. I'm using beta2, but it doesn't seem to be generating any logs at all. The first post in this thread hinted a log file should be found alongside the mediaShrink.exe file. No joy.
To your command line add /saveLog switch... (its buried somewhere in this thread). You can also add /centralWorkFolder "%WORKFOLDER%" to do all your processing in a central folder...

So your command line should be:
mediaShrink.exe %VIDEOFILE% /saveLog %OTHER SWITCHES

Prepend start /belownormal /b /w to start mediashrink at below normal priority so the computer is still responsive.
__________________
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
  #139  
Old 04-09-2009, 08:23 PM
hammondr hammondr is offline
Sage User
 
Join Date: Sep 2006
Posts: 43
Thx, razrsharpe. I'm trying that now.
  #140  
Old 04-10-2009, 09:10 AM
hammondr hammondr is offline
Sage User
 
Join Date: Sep 2006
Posts: 43
Question on /inplace and /cutComm /onlyWhenVprj

I think I know the answer, but maybe someone here has already done the work. Note: I use ShowAnalyzer to create both .edl and .vprj for all my Sage recordings. Sage uses .edl files for commercial skipping, and I use the .vprj files for "manual" commercial cutting on occasion.

If I want to use EP's experimental /cutComm AND /inplace switches, do I need to handle the deletion of .edl (commercial cut) files on my own? In other words, do I need to check for successful medaiShrink.exe completion and remove or rename my existing .edl files? If not, I assume Sage would try to play the new .avi file -- which is shorter and ostensibly has no commercials -- but would still try to skip commercials in the lingering .edl file.

If I got this right, does anyone have a handy batch file for doing this already?
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 02:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.