Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > Windows Media Center Solutions > Windows TV Files - Conversion & Archiving

Community Information

Reply
 
Thread Tools
Old 5th August 2008, 04:48 PM   #1 (permalink)
MC Apprentice
No Avatar
Status goulin is Offline:
ActivityPosts: 43
Reputation & Thanks Support Rating:
goulin
Points Earned: 14

goulin has been Thanked 2 times in 2 posts
VideoReDo Conversion Script

Hi All,

I spent some time (well, a couple of hours) writing a script that runs as a scheduled task to use VideoReDo to convert all MPG files in a specific folder to DVR-MS, and then delete the original MPG file. This can easily be adjusted to convert any file to any file, as long as VideoReDo supports the conversion. All you need to do is have the appropriate cscript VideoReDo script run under the videoredo subroutine (I used Batch Manager to create a script to do what I wanted to do once off and then copied it into my .cmd file). It's pretty crude, but I use it because I have another external program recording content in MPG and I convert it to DVR-MS and move it to my Recorded TV folder for viewing through Media Center. The snippet is attached (rename to .bat or .cmd file).

All you need to do is adjust "C:\Recorded" to the location where your MPGs are stored, "C:\Program Files\VideoReDoTVSuite\vp.vbs" to the location of your VideoReDo install/vp.vbs file, and "d:\Recorded TV" to the location where you would like yout DVR-MS files to end up.

Hopefully this helps someone. You might need to use the 'runas' command in Vista (I have tested it on XP and it works without the runas command but will test with Vista tonight).

Thanks,
goulin
Attached Files
File Type: txt code.txt (526 Bytes, 14 views)
  Reply With Quote
The following Member(s) said "Thank You!" to goulin for this information:
Old 5th August 2008, 05:02 PM   #2 (permalink)
MC Apprentice
No Avatar
Status goulin is Offline:
ActivityPosts: 43
Reputation & Thanks Support Rating:
goulin
Points Earned: 14

goulin has been Thanked 2 times in 2 posts
Re: VideoReDo Conversion Script

One thing I forgot to mention - the script will not work/VideoReDo will hang, if a file with the same name exists in the destination folder. Also, I haven't bothered to figured out how to edit the metadata on the fly, if someone knew how to do that, that would be awesome (saves me having to do it :P).
  Reply With Quote
Old 5th August 2008, 07:42 PM   #3 (permalink)
MC Apprentice
No Avatar
Status goulin is Offline:
ActivityPosts: 43
Reputation & Thanks Support Rating:
goulin
Points Earned: 14

goulin has been Thanked 2 times in 2 posts
Re: VideoReDo Conversion Script

I couldn't get it working in Vista without disabling UAC. I couldn't be bothered spending too much time trying to fix it otherwise.
  Reply With Quote
Old 6th August 2008, 12:46 PM   #4 (permalink)
MC Journeyman
 
jsbbs's Avatar
Status jsbbs is Offline:
Location Sydney, Australia
ActivityPosts: 131
Reputation & Thanks Support Rating:
jsbbs
Points Earned: 34

jsbbs has been Thanked 12 times in 12 posts
jsbbs's
Media Center
Re: VideoReDo Conversion Script

Quote:
Originally Posted by goulin View Post
Hi All,

I spent some time (well, a couple of hours) writing a script that runs as a scheduled task to use VideoReDo to convert all MPG files in a specific folder to DVR-MS, and then delete the original MPG file. This can easily be adjusted to convert any file to any file, as long as VideoReDo supports the conversion. All you need to do is have the appropriate cscript VideoReDo script run under the videoredo subroutine (I used Batch Manager to create a script to do what I wanted to do once off and then copied it into my .cmd file). It's pretty crude, but I use it because I have another external program recording content in MPG and I convert it to DVR-MS and move it to my Recorded TV folder for viewing through Media Center. The snippet is attached (rename to .bat or .cmd file).

All you need to do is adjust "C:\Recorded" to the location where your MPGs are stored, "C:\Program Files\VideoReDoTVSuite\vp.vbs" to the location of your VideoReDo install/vp.vbs file, and "d:\Recorded TV" to the location where you would like yout DVR-MS files to end up.

Hopefully this helps someone. You might need to use the 'runas' command in Vista (I have tested it on XP and it works without the runas command but will test with Vista tonight).

Thanks,
goulin
goulin,

Top stuff!

VideoReDo also has a programming API, for those programmers out there (like me). So, I wrote a vbscript file to do the same. The only difference I have is that the dvr-ms files are written to the same directory as the source mpeg file. I've also programmed it to delete the original mpeg source file when conversion has completed (just to save disk space).

UAC is a b1tch when using VideoReDo on Vista. I've stopped trying to figure out a work-around on Vista.
__________________
John JSBBS (MCP, MCAD, MCSD, MCTS)
HTPC:AMD AM2 6000+, Asus M3N78-VN in Antec Fusion Black Remote case, Hauppauge Nova T 500 MCE Dual Tuner Storage: 750 GB + 3TB Raid5 NAS Other:Clipsal StarServe multi-room video distribution with IR Engine + 4 channel video modulator

  Reply With Quote
Old 6th August 2008, 12:52 PM   #5 (permalink)
MC Apprentice
No Avatar
Status goulin is Offline:
ActivityPosts: 43
Reputation & Thanks Support Rating:
goulin
Points Earned: 14

goulin has been Thanked 2 times in 2 posts
Re: VideoReDo Conversion Script

jsbbs,

Do you mind posting the VBScript? I tried to do it in VBScript too but couldn't get it working, which is why I went the batch option.

Cheers,
goulin
  Reply With Quote
Old 6th August 2008, 05:49 PM   #6 (permalink)
MC Journeyman
 
jsbbs's Avatar
Status jsbbs is Offline:
Location Sydney, Australia
ActivityPosts: 131
Reputation & Thanks Support Rating:
jsbbs
Points Earned: 34

jsbbs has been Thanked 12 times in 12 posts
jsbbs's
Media Center
Re: VideoReDo Conversion Script

The vbscript is attached as a txt file. Remember to change the extension to .vbs

Good luck!
Attached Files
File Type: txt videoredo.txt (1.4 KB, 14 views)
__________________
John JSBBS (MCP, MCAD, MCSD, MCTS)
HTPC:AMD AM2 6000+, Asus M3N78-VN in Antec Fusion Black Remote case, Hauppauge Nova T 500 MCE Dual Tuner Storage: 750 GB + 3TB Raid5 NAS Other:Clipsal StarServe multi-room video distribution with IR Engine + 4 channel video modulator

  Reply With Quote
Old 6th August 2008, 09:05 PM   #7 (permalink)
MC Specialist
 
KingHilary's Avatar
Status KingHilary is Offline:
Location Victoria
ActivityPosts: 316
Reputation & Thanks Support Rating:
KingHilary
Points Earned: 46

KingHilary has been Thanked 18 times in 18 posts
KingHilary's
Media Center
Re: VideoReDo Conversion Script

Quote:
Originally Posted by goulin View Post
Hi All,

I use it because I have another external program recording content in MPG and I convert it to DVR-MS and move it to my Recorded TV folder for viewing through Media Center.

goulin
Hello goulin,

Maybe I am a bit thick. why don't you just put the mpg files into your Videos folder and watch them through Media Centre that way? I use video redo all the time to change ms-dvr files to mpgs, but essentially I don't really see the need to go the other way.

King Hilary.
  Reply With Quote
Old 7th August 2008, 10:43 AM   #8 (permalink)
MC Apprentice
No Avatar
Status goulin is Offline:
ActivityPosts: 43
Reputation & Thanks Support Rating:
goulin
Points Earned: 14

goulin has been Thanked 2 times in 2 posts
Re: VideoReDo Conversion Script

Hi KingHillary,

Yes, you are right - I can view the MPG in the Videos section, but the annoying thing is that it doesn't allow you to forward MPGs, only skip forward/back 30 seconds, whereas with DVR-MS, you can fast forward through the video.
  Reply With Quote
Old 8th August 2008, 01:44 AM   #9 (permalink)
MC Specialist
 
KingHilary's Avatar
Status KingHilary is Offline:
Location Victoria
ActivityPosts: 316
Reputation & Thanks Support Rating:
KingHilary
Points Earned: 46

KingHilary has been Thanked 18 times in 18 posts
KingHilary's
Media Center
Re: VideoReDo Conversion Script

I see (said the blind man),

thanks for that

KH
  Reply With Quote
Reply

Bookmarks

Content Tags
conversion , script , videoredo

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arksofts Crunchie Release (v1.1) arkay Crunchie 584 19th November 2008 10:37 AM
Vista: Daylight Saving Script Ubethatway Windows Media Center - EPG Discussion & Support 0 10th March 2007 07:16 PM
My Movies Malicious Script Detected DTB XP Media Center 2005 - Plugins & Addons 1 26th November 2006 08:53 PM
Dvrmstoolbox - Conversion to mpeg doesn't stop... laser Windows TV Files - Conversion & Archiving 0 11th July 2006 04:16 AM
VideoReDo Plus 2.2 for MCE Mike Media Center News 17 21st January 2006 01:22 PM


Advertisers
Terms Of Service - Contact Us - Advertise With Us - Archive - Privacy Statement - FAQ
Microsoft©, Windows XP©, Windows XP Media Center© & Windows Vista© are registered trademarks of Microsoft Corporation.
www.xpmediacentre.com.au has no relationship with, nor is affiliated in any way with Microsoft Corporation.
All original content on this website © 2004 - 2008 xpmediacentre.com.au, All rights reserved
Forum by vBulletin Version 3.7.3 - Copyright Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
Local time now is 03:08 AM AEDT.