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.

Reply
 
Thread Tools Search this Thread Display Modes
  #61  
Old 02-17-2010, 08:31 PM
spacecadet spacecadet is offline
Sage Aficionado
 
Join Date: May 2005
Location: Lexington, MA
Posts: 388
Quote:
Originally Posted by mikep View Post
Hi,

New version will have an option to set the AC-3 stream as default. It will be available before the end of 2009.

Mikep
Hey Mikep, great tool! Just curious if the "default AC-3" feature had been added yet. Can't tell if it exist in the current version 0.1.13.

Cheers!
Reply With Quote
  #62  
Old 02-19-2010, 05:03 PM
mikep mikep is offline
Sage User
 
Join Date: Nov 2009
Location: Canada, QC
Posts: 65
Quote:
Originally Posted by spacecadet View Post
Hey Mikep, great tool! Just curious if the "default AC-3" feature had been added yet. Can't tell if it exist in the current version 0.1.13.

Cheers!
Hi,

I did not added that feature in the last release... too busy right now . I will try to look at it with the NEXT release.

Mike
__________________
Server: Sage 7 on WinXP with 1TB of storage
NAS: Unraid with 6TB of storage
Clients: 4 HD-200 and 3 Sage Clients PC
Capture: 2 HD-PVRs + SA4250HDs
Reply With Quote
  #63  
Old 02-19-2010, 06:00 PM
spacecadet spacecadet is offline
Sage Aficionado
 
Join Date: May 2005
Location: Lexington, MA
Posts: 388
Quote:
Originally Posted by mikep View Post
Hi,

I did not added that feature in the last release... too busy right now . I will try to look at it with the NEXT release.

Mike
Thanks. Definitely looking forward to this feature add. Appreciate all your hard work!
Reply With Quote
  #64  
Old 03-01-2010, 01:24 PM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
Mike,

Just tried to run the latest beta but I get a msg

"This beta as expired! Please download a new version"

Any ideas?
__________________
Windows 10 64bit - Server: C2D, 6Gb RAM, 1xSamsung 840 Pro 128Gb, Seagate Archive HD 8TB - 2 x WD Green 1TB HDs for Recordings, PVR-USB2,Cinergy 2400i DVB-T, 2xTT DVB-S2 tuners, FireDTV S2
3 x HD300s
Reply With Quote
  #65  
Old 03-01-2010, 01:41 PM
dertb dertb is offline
Sage User
 
Join Date: Dec 2004
Posts: 39
Quote:
Originally Posted by Lucas View Post
Mike,

Just tried to run the latest beta but I get a msg

"This beta as expired! Please download a new version"

Any ideas?
I am also getting the same error message with the older version.

Thoughts?
__________________
Sage 6.2.10
AMD Athlon FX-60, A8N32-SLI Deluxe, 2 GB DDR400, GeoForce 7800 GT 91.47, Recording Drive SATA II (5 Maxtor @300 gig raid 5), LiteOn DVDRW 16X Dual Layer, 2 Hauppauge PVR 500 Cards, VBOX Cat's Eye USB-A-3560, FW-> SA 3150HD, DirMon2, ShowAnalyzer v.0.8.2
Reply With Quote
  #66  
Old 03-01-2010, 02:03 PM
mikep mikep is offline
Sage User
 
Join Date: Nov 2009
Location: Canada, QC
Posts: 65
Quote:
Originally Posted by dertb View Post
I am also getting the same error message with the older version.

Thoughts?
Hi,

In about 2 hours I will post a new build, I am not at home right now... The new build will not have an expiration date.

Mike
__________________
Server: Sage 7 on WinXP with 1TB of storage
NAS: Unraid with 6TB of storage
Clients: 4 HD-200 and 3 Sage Clients PC
Capture: 2 HD-PVRs + SA4250HDs
Reply With Quote
  #67  
Old 03-01-2010, 03:02 PM
mikep mikep is offline
Sage User
 
Join Date: Nov 2009
Location: Canada, QC
Posts: 65
New release availlable to remove the expiration date.

Mike
__________________
Server: Sage 7 on WinXP with 1TB of storage
NAS: Unraid with 6TB of storage
Clients: 4 HD-200 and 3 Sage Clients PC
Capture: 2 HD-PVRs + SA4250HDs
Reply With Quote
  #68  
Old 03-02-2010, 10:16 AM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
Mike,

Thanks!

Works now.
__________________
Windows 10 64bit - Server: C2D, 6Gb RAM, 1xSamsung 840 Pro 128Gb, Seagate Archive HD 8TB - 2 x WD Green 1TB HDs for Recordings, PVR-USB2,Cinergy 2400i DVB-T, 2xTT DVB-S2 tuners, FireDTV S2
3 x HD300s
Reply With Quote
  #69  
Old 03-08-2010, 07:59 PM
nebulink nebulink is offline
Sage Aficionado
 
Join Date: Dec 2007
Posts: 295
Anyway to make the new AC3 the default audio after it has been created?
Reply With Quote
  #70  
Old 03-09-2010, 10:46 AM
mikep mikep is offline
Sage User
 
Join Date: Nov 2009
Location: Canada, QC
Posts: 65
Quote:
Originally Posted by nebulink View Post
Anyway to make the new AC3 the default audio after it has been created?
I just added this feature in 0.1.15 version, It is available for download now.

New switch -defAc3Lang=<value>

Example:
-defAc3Lang=en
will set the new english generated track as the default one. Any good mkv player should prefer the track that has his 'default' flag set.


Mike
__________________
Server: Sage 7 on WinXP with 1TB of storage
NAS: Unraid with 6TB of storage
Clients: 4 HD-200 and 3 Sage Clients PC
Capture: 2 HD-PVRs + SA4250HDs
Reply With Quote
  #71  
Old 03-09-2010, 08:10 PM
nebulink nebulink is offline
Sage Aficionado
 
Join Date: Dec 2007
Posts: 295
WOW! Now this is the best.

Thanks mikep!!!.
Reply With Quote
  #72  
Old 03-09-2010, 10:40 PM
spacecadet spacecadet is offline
Sage Aficionado
 
Join Date: May 2005
Location: Lexington, MA
Posts: 388
Quote:
Originally Posted by mikep View Post
I just added this feature in 0.1.15 version, It is available for download now.

New switch -defAc3Lang=<value>

Example:
-defAc3Lang=en
will set the new english generated track as the default one. Any good mkv player should prefer the track that has his 'default' flag set.


Mike
Anyone have luck with this? I just ran a test and it doesn't seem like Sage is respecting the default flag. Sage still plays the DTS track (track #1) by default. However, if I play the new file in VLC, I can see that it does play the AC-3 track by default. So, it seems like the file is correctly generated, just that Sage doesn't play it correctly.

I used this command:

SAGEAudioConvert -force -language=en -defAc3Lang=en Z:\myfiles

Any thoughts?
Reply With Quote
  #73  
Old 03-10-2010, 07:25 AM
hugenbdd hugenbdd is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Cincinnati, KY
Posts: 81
Quote:
Originally Posted by spacecadet View Post
Anyone have luck with this? I just ran a test and it doesn't seem like Sage is respecting the default flag. Sage still plays the DTS track (track #1) by default. However, if I play the new file in VLC, I can see that it does play the AC-3 track by default. So, it seems like the file is correctly generated, just that Sage doesn't play it correctly.

I used this command:

SAGEAudioConvert -force -language=en -defAc3Lang=en Z:\myfiles

Any thoughts?
I tried it last night with a file that had "und" as the language. My HD200 used the first track for the audio. I will confirm what VLC plays tonight.

I think we may need to request a change from Sage to respect the default flag. I am using SageMC so not sure if maybe the change could be made there instead.

Dave
Reply With Quote
  #74  
Old 03-10-2010, 05:47 PM
nebulink nebulink is offline
Sage Aficionado
 
Join Date: Dec 2007
Posts: 295
Quote:
Originally Posted by mikep View Post
Any good mkv player should prefer the track that has his 'default' flag set.
Ooops! Where does this leave Sage since they apparently don't look at the default tag? lol
Reply With Quote
  #75  
Old 03-23-2010, 10:11 PM
jchong jchong is offline
Sage User
 
Join Date: Dec 2007
Location: Toronto, Ontario, Canada
Posts: 45
SJQ v3

Thanks for this great tool - I can get it working from the command line but when I use it with SJQ v3 it fails. Here's a sample of my failed task log:

Code:
Tue Mar 23 23:55:12 EDT 2010: Starting task with priority 1/1/10
Executing command line: c:/sagetv/SAGEAudioConvert/SAGEAudioConvert.exe -workdir=v:/temp -language=en -inplace -kbps=640 -markdone -priority=low "T:\videos\Gladiator\Gladiator.mkv"

Unhandled Exception: System.IO.IOException: The handle is invalid.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.Console.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
   at System.Console.get_CursorTop()
   at DESIKE.SAGEAudioConvert.Program.MakeAC3AudioTrack(String movie, AudioTrack dtsTrack, String& newFilename)
   at DESIKE.SAGEAudioConvert.Program.ConvertMovie(String movie, String language)
   at DESIKE.SAGEAudioConvert.Program.Main(String[] args)

SAGEAudioConvert 0.1.15
 
 using madshi eac3to http://forum.doom9.org/showthread.php?t=125966
       mediainfo dll http://mediainfo.sourceforge.net
       mkvtooolnix   http://www.bunkus.org/videotools/mkvtoolnix/index.html
 Thread priority set to: Idle
 Language Filter: [en, eng] English
  Analyzing Gladiator.mkv.
   Audio track: [en] DTS 5.1.
   No corresponding AC-3 track found.
     Creating AC-3 track.
Here are my SJQ server and client setup (which I copied and modified from an earlier post)

Code:
if [IsObjMediaFile == true && $.IsVideoFile{} == true && Filename =$ ".mkv" && FileExists != "%d%/%p%.dtsDone" ] {
   :PRIORITY 200 # Optional, default priority is zero
   DTSAUDIOCONVERT
}
Code:
DTSAUDIOCONVERT
{
   :CPU "LOW"
   :OFFHOUR "0, 14-23" #Run 12 AM - 2 PM
   :OFFDAY "1, 7" #Run Monday-Friday
   :MAX 1
  "c:/sagetv/SAGEAudioConvert/SAGEAudioConvert.exe -workdir=v:/temp -language=en -inplace -kbps=640 -markdone -priority=low \"%c%\""
}
Any idea's what might be causing this? I can't tell if this is a SJQ configuration error or something with SAGEAudioConvert.exe.
__________________
Server: Intel P4 2.8GHz, 2GB RAM, 5TB Storage, 1gb NIC, SageTV Beta v7.0.23 (Windows XP - 32bit)
Tuners: 2 x Hauppauge WinTV-HVR-1600 / 1 x Hauppauge WinTV-HVR-1250
Extenders: 1 x HD300, 2 x HD100
Reply With Quote
  #76  
Old 05-02-2010, 04:26 PM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
This is a great tool.

Tried it with one of my movies, it created the AC3 track as track 2, as expected. When I tried playing the movie I could not select the AC3 track to playback (I tried the Audio button on the remote and nothing was in the options menu to change audio streams either.) I checked the file using media info and the track was there.

I ended up using MKVtoolnix to change the order of the audio tracks. and once the AC3 track was number 1 it all played fine.

Is there anyway that this tool could modify the order of the tracks or strip out the DTS if possible?
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #77  
Old 05-02-2010, 04:28 PM
starfire starfire is offline
Sage Expert
 
Join Date: Mar 2008
Location: England, UK
Posts: 505
Did you get Sage to rescan the import folders after adding the AC3? - that may have been needed.
__________________
2 X HD300, 2 X HD100 & KVM unRAID Host with SageTV Docker using TBS 6285 Quad DVB-T2 & TBS 6984 Quad DVB-S2 Tuners
Reply With Quote
  #78  
Old 05-02-2010, 09:55 PM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
I'll let it sit for a while. I have both tracks in just have put the AC3 as track 1. I also tried changing the DTS track to be an English track as well (instead of und). That didn't help right off the bat.
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #79  
Old 05-03-2010, 09:43 PM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
After the file was scanned again by Sage it picked up the audio, but I'm not sure if that was because I also changed the language type to eng from und. We'll see what happens. Of course the file that won't work will be the one the wife is going to watch.
__________________

Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64
Client 1: HD-200, Panasonic 42PX75
Client 2: HD-300, Samsung LCD
Client 3: HD-300, Samsung PN50C550
Client 4: MS Surface Pro
Reply With Quote
  #80  
Old 06-19-2010, 10:51 AM
jdamore jdamore is offline
Sage Aficionado
 
Join Date: Nov 2006
Location: Hillsborough, NJ
Posts: 292
Mike, Thanks for the utility! Just what I needed!

I got it working just how I want it but, I'm having trouble, I think from not knowing MS cmd to well..

When I ran a few tests I copied a few mkvs to directory "F:\test" and it worked.

Now that I'm confident on what I'm doing, I want to run it on all my movies. I pointed audioconvert to "F:\HD MOVIES\HD Movies" but it tells me its an invalid directory.

Is it the spaces between "HD Movies" that makes it an invalid directory?
Reply With Quote
Reply


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: SageMCEDisplay Jere_Jones SageTV Customizations 37 04-13-2009 03:53 PM
Srt2Smi utility alon24 SageTV Customizations 4 12-08-2008 02:31 PM
Burn in utility mattdcknsn The SageTV Community 2 07-20-2007 01:38 PM
Which compression utility is the best? davephan General Discussion 7 01-03-2007 06:57 AM


All times are GMT -6. The time now is 04:29 AM.


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