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
  #41  
Old 03-04-2009, 11:41 PM
bnh's Avatar
bnh bnh is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 120
i really like the ability to observe the transcoding status from any client using the SageMC menus..so my thought is would it be simple enough to rename mediashrink.exe to SageTVTranscoder.exe and have the stock setup use this program instead? my guess is no without some tweaks or major parameter changes, but thought i'd ask anyway.
__________________

Server: Sage 9.0.13.536, Windows10-64bit, AMD Phenom II X4 905e 2.5GHz , 16GB Ram, 2.6TB recording
Tuners: OpenDCT 0.5.2 Ceton InfiniTV4
NAS: 16TB, unRaid Plus, Asus H87I-Plus mini-ITX, Intel Core i3-4130, 16GB Ram, Fractal Node 304 case
10 Clients: HD-300, HD-200, SageWin10, Plex, AndroidMiniClient
  #42  
Old 03-05-2009, 01:03 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by razrsharpe View Post
Is there an option to save the log file for each encode (like /saveLog for the previous tool)? I tried that switch but it didn't work.
I need to rework the logging for this, i'll make it more like the last version.

Quote:
Originally Posted by S_M_E View Post
OK, I finished the manual encode and dropped the parent directory, instead of just the VIDEO_TS, and it seems to be working so there's the bug.
Excellent, i'll look into fixing that.

Quote:
Originally Posted by bnh View Post
i really like the ability to observe the transcoding status from any client using the SageMC menus..so my thought is would it be simple enough to rename mediashrink.exe to SageTVTranscoder.exe and have the stock setup use this program instead? my guess is no without some tweaks or major parameter changes, but thought i'd ask anyway.
I wish it were that easy

I need to ask Sage for a little help getting that working.

Last edited by evilpenguin; 03-05-2009 at 01:08 AM.
  #43  
Old 03-05-2009, 01:59 AM
S_M_E S_M_E is offline
Sage Fanatic
 
Join Date: Dec 2007
Posts: 908
Are you going to be adding support for UNC paths too?
  #44  
Old 03-05-2009, 02:49 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by S_M_E View Post
Are you going to be adding support for UNC paths too?
Yeah, I'll fix that too, I just have to reverse the slashes and the UNC paths will work.

There were a lot of little bug fixes hiding in my old code, you'll have to bear with me while I dig them all out.

Last edited by evilpenguin; 03-05-2009 at 03:07 AM.
  #45  
Old 03-05-2009, 05:56 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
I haven't spent much time transcoding my archived shows. However, I know that if I do it through the Sage transcoder, Sage will "know" that my new AVI file, for example, is to take the place of the previous MPEG file, and will update the wiz.bin accordingly.

If I use the /inplace switch, will it accomplish the same thing?
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
  #46  
Old 03-05-2009, 07:52 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by matt91 View Post
I haven't spent much time transcoding my archived shows. However, I know that if I do it through the Sage transcoder, Sage will "know" that my new AVI file, for example, is to take the place of the previous MPEG file, and will update the wiz.bin accordingly.

If I use the /inplace switch, will it accomplish the same thing?
Yes it will. EP's tool does the reencode in a workfolder and then when the /inplace switch is active it copies over the file to the original directory, renames the file appropiately, and deletes the original. Sagetv is smart enough to match to the filename (independent of video extension, .mpg, .avi, .mkv, .m4v). I am not sure what sage does if both the original (.mpg) and new (.mkv) file are there. My assumption would be it plays the original.
__________________
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

Last edited by razrsharpe; 03-05-2009 at 08:06 AM.
  #47  
Old 03-05-2009, 08:04 AM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by evilpenguin View Post
There were a lot of little bug fixes hiding in my old code, you'll have to bear with me while I dig them all out.
No worries, thanks for all your hard work I really like this tool

One more question. I modified the Auto Encode profile with the following line (replaced the 3 seperate CLI#3 statements)

Quote:
Encode CLI #3 =/twoPass<&>/x264<&>/clibitrate<&>3000<&>/mkv<&>/copyAudio
Encoder #3 =setOptions
I could be wrong but it looks like the bitrate wasn't being set. My resulting video wasn't the size I expected it to be and the quality wasn't great. Can you see anything wrong in the above statement. I just copied and pasted the above from my old (previous) autoEncode profile file. I also attached my customized AutoEncode.profile if you want to look at that instead. Thanks
Attached Files
File Type: txt Auto Encode.profile.txt (3.8 KB, 408 views)
__________________
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
  #48  
Old 03-05-2009, 11:39 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by razrsharpe View Post
I could be wrong but it looks like the bitrate wasn't being set. My resulting video wasn't the size I expected it to be and the quality wasn't great. Can you see anything wrong in the above statement.
I changed some syntax in this version, all you need to do is uses /setOptions and the <&> no longer work, I fixed it so you can just use spaces...
Code:
    Encode CLI #3     =/twoPass /x264 /clibitrate 3000 /mkv /copyAudio
    Encoder #3        =/setOptions
    Encode CLI #6     =?>ORIGINAL:percentFilm>25&&%%SNIP:HDTVCheck%%<:>/reverseTelecine<?
    Encoder #6        =/setOptions
    Encode CLI #8     =?>ORIGINAL:videoCodec=~mpeg2video&&!ORIGINAL:videoResolution=~(1280x|x720)&&!reverseTelecine<:>/deinterlace<?
    Encoder #8        =/setOptions
    Encode CLI #9     =?>%%SNIP:HDTVCheck%%&&ORIGINAL:cropY>1080<:>/verticalScale 720<=>/verticalScale 720<?
    Encoder #9        =/setOptions
  #49  
Old 03-05-2009, 12:02 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by evilpenguin View Post
I changed some syntax in this version, all you need to do is uses /setOptions and the <&> no longer work, I fixed it so you can just use spaces...
Awesome, Thanks. Spaces should make it easier to read so that's a good thing
__________________
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
  #50  
Old 03-05-2009, 05:59 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,151
FYI. I've been having some of the same conversion problems of HD-PVR TS files with mediaShrink that I've been having with SageTVTranscoder. that is, the audio and video are out of sync about two seconds. this is with H264 720P/59.94/AC3 recordings from DirecTV. Sage is looking into the ffmpeg issues on their end.

Are you using the latest ffmpeg build?
__________________
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
  #51  
Old 03-05-2009, 06:02 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by phelme View Post
FYI. I've been having some of the same conversion problems of HD-PVR TS files with mediaShrink that I've been having with SageTVTranscoder. that is, the audio and video are out of sync about two seconds. this is with H264 720P/59.94/AC3 recordings from DirecTV. Sage is looking into the ffmpeg issues on their end.

Are you using the latest ffmpeg build?
Kinda, Handbrake uses ffmpeg code for reading in the videos so it would make sense that they'd both fail.
  #52  
Old 03-05-2009, 10:11 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Is it possible to have a central work folder as before? I've found it really useful when encoding something that lives on a network share.
__________________
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
  #53  
Old 03-05-2009, 10:14 PM
razrsharpe razrsharpe is offline
Sage Icon
 
Join Date: Sep 2008
Location: Boston, MA
Posts: 2,111
Quote:
Originally Posted by razrsharpe View Post
So I finally got around to watching one of the encodes (recent episode of Numb3rs). The video was encoded with a customized autoencode profile (attached) using the mencoder from your download (from nov 08). I did not notice any significant AV sync issues. Occasionally I thought I saw something very minor, but I it wasn't any worse/different than any other video. I am usually *VERY* anal about sync and the show was not distracting/annoying to watch at all.
BTW, I have watched more shows that I've encoded using mencoder and I definitely see a fairly consistent minor AV sync issue. And you're right it's REALLY annoying. I've gone back to using handbrake now
__________________
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
  #54  
Old 03-05-2009, 11:03 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by razrsharpe View Post
BTW, I have watched more shows that I've encoded using mencoder and I definitely see a fairly consistent minor AV sync issue. And you're right it's REALLY annoying. I've gone back to using handbrake now
Yeah, I'm right there with you 720p IVTC isn't worth losing sync over.

Quote:
Originally Posted by razrsharpe View Post
Is it possible to have a central work folder as before? I've found it really useful when encoding something that lives on a network share.
Yep, its on my todo list.
  #55  
Old 03-06-2009, 06:46 AM
mikesm mikesm is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,293
Any chance we can see the capability to queue programs for compression and burning from SageMC the way that videotools in SageMC used to do? Even if Sage could use your tool instead of their own transcoder, the dvd burning function doesn't exist in it...

It would also be cool if when you inserted a DVD on a client or the server that you got a SageMC popup asking if you want to play rip or rip/shrink? I am trying to find a simple way for my wife to do this sort of stuff instead of me having to manually do everything with nero, etc...

thx
mike
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2
Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV
Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV
Client 3: Media MVP to 15" Toshiba LCD
Client 4: HD100 connected to Samsung 23" 720P LCD
Client 5: HD100 connected to Vizio VX37L
  #56  
Old 03-06-2009, 09:04 AM
Arioch5 Arioch5 is offline
Sage Advanced User
 
Join Date: Jan 2006
Posts: 118
If anyone else is curious it's not meant for .vc1 files from BlueRay discs. I tried one since I can't get sage to play them right now and can't launch an external player with the MovieInfo Screen mod.

I'll try some HD-Homerun files and DVD's this weekend and let ya know what I find.

Is there currently a flag to run MediaScraper on the file as well? Currently Video_TS folders make weirdly named files. Seems like such a shame with MeidaScraper sitting right there just begging to properly name the output files
__________________
Server:
AMD 64 X2 5000+, ATI 3450 256MB,2GB of PC6400, ~300GB SATA (recordings), HD-Homerun, PVR-350, On-board Coax SPDIF, Unraid Media Server (all other media).

Other:
Mitsubishi 65" DLP
5.1 Speakers on a Kenwood Receiver - Digital SPDIF
Harmony 1000
  #57  
Old 03-06-2009, 09:09 AM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
Hey EP - Tried this out last night on a TV Series DVD. The output seems to be just one of the episodes from the disc - here's the log. I don't know if it shows anything useful.

The quality of the rip is amazing though - so much better than what I'm used to from Sage's built in encoder.

btl.
Attached Files
File Type: zip mediaEngine.zip (22.9 KB, 331 views)
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
  #58  
Old 03-06-2009, 09:18 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
EP-

This is a neat little tool. I saw you posting on the Handbrake forums a bit. Haven't you noticed that these forums are a *much* friendlier place?

Based on your SDTV profile, it doesn't look like you ever do variable frame rate encoding for DVDs. I have TV show DVDs that are sometimes telecined (Star Trek DS9, for example), so VFR is important for these DVDs.

Which brings me to the next question. How do you decide if something is telecined? Only some scenes on the DS9 DVDs are telecined. So, when I rip and encode those DVDs I have to make sure I have VFR turned on and Handbrake will detect which scenes are telecined. It seems like the more foolproof method, at the expense of speed, it just to turn VFR on all the time (except, perhaps, for 720p material, since you have problems detelecining that).
  #59  
Old 03-07-2009, 04:21 AM
deanm deanm is offline
Sage Aficionado
 
Join Date: Apr 2005
Location: North East, UK
Posts: 309
Quote:
Originally Posted by evilpenguin View Post

What it is:
Working on backing up your DVD's? MediaShrink can help you there too. It'll scan the DVD and automagically encode the main movie, include the main audio as well as any commentary tracks, and attach the closed captioning as a subtitle track. Working with TV show DVD's? No problem there either. It'll automatically pick out all of the episodes on the DVD and encode each of them individually.

Hi Evilpenguin.

Great tool and thanks for all your hard work.

When using MediaShrink is there anything I need to do to get MediaShrink to pick out all of the episodes from a DVD and encode each of them individually? Every TV Show DVD I have tried will only pull out the biggest/longest episode and nothing else.

I would also like to be able to D&D files direct from the DVD Drive (With AnyDVD) is there a switch you set up to copy files into a default folder?

Dean.

Look like biabio beat me to it. Looks like same problem.

Last edited by deanm; 03-07-2009 at 05:52 AM.
  #60  
Old 03-07-2009, 09:22 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by evilpenguin View Post
Good catch, I just need to add a call to outputModes at the end of the profile. I'll get that fixed, but until then I think this should work...
Scott - I just emailed you my .profile and log file because I'm still having the same issue - the file doesn't get copied back to the original folder. I updated the profile per your instruction.

thanks for any hints.
Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
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:44 AM.


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