![]() |
|
|||
|
[addon] BTV Command Line Tools
Author: psionic
Short Description: A couple of command line tools to interact with BTV Long Description: This is a collection of command line tools that expose some of the functionality of the web interface for scripting purposes. Version Number: n/a Status: n/a Last Updated: 3/1/2008 Homepage: n/a Installation Instructions: Unzip into any folder Release Notes: License: Public Domain Requirements: BTV 4.8.1 Download BTVTools.rar |
|
||||
|
TODO and Changelog
TODO:
20080404a - (installer only)
Last edited by psionic; 04-04-2008 at 08:33 PM. |
|
|||
|
Re: [addon] BTV Command Line Tools
Does metadataextractor work with 4.8.1 only? I have 4.7.1 and get an error:
The underlying connection was closed: An unexpected error occurred on a send. I do not have authentication enabled and I am running it on the localhost. I do notice that the seesion name comes up with http://un:localhost. Don't know if that is the way it should be, of course. |
|
||||
|
Re: [addon] BTV Command Line Tools
Yes. All of the utilities require BTV 4.8.1 or higher. Running them on a lesser version has unknown results (most likely a nasty error).
__________________
BTV Server: Dell Vostro 420 Tower, Intel Core2 Quad Q6600, 4GB RAM, AMD Radeon HD 3450, 1TB WD (Recording), 750MB LaCie (Storage) Tuners: 2 x Hauppauge HVR-2250 Hybrid, 1 x V-Box Cat's Eye USB HDTV, 1 x Silicon Dust HDHomeRun Hybrid Television: 60" Sony Grand Wega SXRD HDTV [1080i/1920x1080/DVI-HDMI] BTV Link: Dell Optiplex 745 USFF, Dell UltraSharp 2007FPW [16x9] To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: [addon] BTV Command Line Tools
I have been using BTVMetaData on new recordings with Beyond TV 4.8. Everything gets filled in when importing except the Episode Description.
I checked the XML file created and noticed that the EpisodeDescription field is blank. However, the Description field has what appears to be the Episode Description. Is anyone else having this problem? |
|
||||
|
Re: [addon] BTV Command Line Tools
Quote:
If you find any instance of this happening again, please let me know.
__________________
BTV Server: Dell Vostro 420 Tower, Intel Core2 Quad Q6600, 4GB RAM, AMD Radeon HD 3450, 1TB WD (Recording), 750MB LaCie (Storage) Tuners: 2 x Hauppauge HVR-2250 Hybrid, 1 x V-Box Cat's Eye USB HDTV, 1 x Silicon Dust HDHomeRun Hybrid Television: 60" Sony Grand Wega SXRD HDTV [1080i/1920x1080/DVI-HDMI] BTV Link: Dell Optiplex 745 USFF, Dell UltraSharp 2007FPW [16x9] To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: [addon] BTV Command Line Tools
I think BTVMetaData.exe is a great tool, and exactly what I was looking for. It saved me having to create something similar myself to resolve my problem of using an outside media compression tool. Great job!
I've always been disappointed with the quality of the BTV built in ShowSqueeze, and the often out-of-sync audio it creates. And the H.264 ShowSqueeze is very slow compared to other media conversion tools out there. My solution is using MediaCoder to H.264/MP4 (or DivX Pro Compressor) for archiving shows I want to keep long term. I created a VBscript that makes use of psionic's BTVMetaData.exe tool to transfer the show's description/details to the new compressed recordings I've made using MediaCoder. It then re-uses the chapters file for commercial skip if it's available, sets the lock on the recording to keep BTV from erasing the show when space is needed, and then deletes the original recording. I've attached my vbscript for anyone that might find it helpful that is doing something similar. The script requires only 4 constants edited for your own use. The script design assumes that the new recording has a different file type extension, as I'm converting from MPEG (.mpg) to H.264 (.mp4). The script is well commented. I currently use the script from the SendTo context menu. After copying the new compressed recording to my BTV server folder, I right click the original recording in Windows Explorer, select the script from the SendTo menu and it does the rest. Saving several manual steps and having to use the commandline. P.S. Updated script attachment 2008-05-17 to fix errors in script.
__________________
BeyondTV 4.8.1, BeyondMedia 1.1.1, InterVideo Decoder v.7.x, Windows XP Pro SP3. ASUS A8N-E, AMD Athlon64 3800+, 1GB RAM, 300 GB HD, 500GB HD, ATI 2600 HD PCI-E, DVD RAM GSA-4040B. Tri Tuner: Diamond PVR550 PCI, Diamond PVR600 USB, HVR-1600. Firefly Remote. Beyond TV Link as bedroom TV. Last edited by Carey; 05-17-2008 at 10:16 AM. |
|
||||
|
Re: [addon] BTV Command Line Tools
Originally Posted by kandlg View Post
Hi Lee, I upgraded to 4.8.2 and am having problems with the episode data. I installed the command line tools, but am getting the following error with every conversion and there is no episode data in the converted file: 2008-07-07 15:08:59 : EpisodeData.exe Posted with D:\Beyond TV\Shows\The Shield-(On Tilt)-2008-07-07-0.avi 2008-07-07 15:08:59 : EpisodeData.exe - Version:3.3.1.29 2008-07-07 15:08:59 : EpisodeData.exe Beyond TV Recording 2008-07-07 15:08:59 : EpisodeData.exe MetaData program: C:\Program Files\BTVTools\BTVMetaData.exe 2008-07-07 15:08:59 : EpisodeData.exe - ReTryCount=1 Delay=60 2008-07-07 15:09:09 : MetaDataExtractor 07/07/2008 03:08:59 PM Description: General error: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: An incorrect password was entered. at SnapStream.BeyondTV.WebServices.BTVLicenseManager. LogonHelper(String networkLicense, String username, String password, Boolean allowLocal, Boolean useAuthTicket) at SnapStream.BeyondTV.WebServices.BTVLicenseManager. Logon(String networkLicense, String username, String password) --- End of inner exception stack trace --- 2008-07-07 15:09:09 : EpisodeData.exe exiting with RC=Failed Any ideas? Thanks, Kelly EpisodeData calls BTVMetaDataExtractor without a password. I assume BTVMetaData uses a TCP/IP session to logon using the BTV license key as a password?????? Any idea?
__________________
Lee L. Cole Sometimes I sits and thinks and sometimes, I just sits |
|
||||
|
Re: [addon] BTV Command Line Tools
All of the command line utilities that I put out can take a username, a password, and the btv license key. If any of them are missing, it uses "dummy" values. The dummy values work fine on the local machine with security turned off.
Code:
Usage:
MetaDataExtractor --mode=[extract|import] <options> "c:\the\target\recording.mpg"
Options:
--mode=[extract|import]
--server=dnsname_or_ip:port
--license=btv_license_string
--user=username
--password=password
btvmetadata --mode=extract --user=autoxvid --password=mysecret "C:\tv\Law and Order - blahblah.mpg" Lee, you might want to expose these options in AutoXvid.ini. "BTVServer=", "BTVUser=", "BTVPassword", "BTVLicense", etc. You can either specify the defaults (shown below) on the command line or omit them to let BTVMetaData automatically use them. The defaults are: --server=localhost:8129 --user= --password= --license=
__________________
BTV Server: Dell Vostro 420 Tower, Intel Core2 Quad Q6600, 4GB RAM, AMD Radeon HD 3450, 1TB WD (Recording), 750MB LaCie (Storage) Tuners: 2 x Hauppauge HVR-2250 Hybrid, 1 x V-Box Cat's Eye USB HDTV, 1 x Silicon Dust HDHomeRun Hybrid Television: 60" Sony Grand Wega SXRD HDTV [1080i/1920x1080/DVI-HDMI] BTV Link: Dell Optiplex 745 USFF, Dell UltraSharp 2007FPW [16x9] To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Last edited by psionic; 07-07-2008 at 04:28 PM. |
|
||||
|
Re: [addon] BTV Command Line Tools
Quote:
__________________
Lee L. Cole Sometimes I sits and thinks and sometimes, I just sits |
|
|||
|
Re: [addon] BTV Command Line Tools
Quote:
I use these command line tools quite often. I'm on version 4.8.2 and they are still working fine for me. I use the following to import: btvmetadata --mode=import --server=machinename:8129 "x:\filename.mp4" And this to export: btvmetadata --mode=extract --server=machinename:8129 "x:\filename.mpg" I don't use a password on BTV though.
__________________
BeyondTV 4.8.1, BeyondMedia 1.1.1, InterVideo Decoder v.7.x, Windows XP Pro SP3. ASUS A8N-E, AMD Athlon64 3800+, 1GB RAM, 300 GB HD, 500GB HD, ATI 2600 HD PCI-E, DVD RAM GSA-4040B. Tri Tuner: Diamond PVR550 PCI, Diamond PVR600 USB, HVR-1600. Firefly Remote. Beyond TV Link as bedroom TV. |
|
||||
|
Re: [addon] BTV Command Line Tools
Quote:
__________________
Lee L. Cole Sometimes I sits and thinks and sometimes, I just sits |
|
|||
|
Re: [addon] BTV Command Line Tools
The installer posted here still requires .net 3.5. At least for Vista x64.
__________________
Apevia X-QPack 2, Gigabyte GA-G33M-DS2R, Intel Quad Core 6600 2.4 Ghz, 2 GIG DDR2-1066, 750 GB Seagate HDD, 4 500 GB Seagate HDD, 2 250 GB Seagate HDD, 2 Belkin Tetra USB Hubs, nVidia 8800 GT 512M, Hauppauge PVR-500, HP AVC-3610, FusionHDTV 5 USB, HDHomeRun Windows Vista Ultimate SP1 x64, BeyondTV v4.9.1, AutoXvid |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command Line | DRH | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 2 | 09-05-2003 02:11 AM |
| command line options? | cadet | Beyond TV and Beyond TV Link User-to-User Troubleshooting & Support Forum | 3 | 06-22-2003 12:08 PM |