View Single Post
Old 4th May 2009, 02:26 AM   #8 (permalink)
jrwalte
Newbie
 
jrwalte's Avatar
Status jrwalte is Offline:
ActivityPosts: 1
Reputation & Thanks Support Rating:
jrwalte
Points Earned: 10

jrwalte has been thanked 0 times in 0 posts
Re: Help to write a batch file to convert recorded TV to DVR-MS

Thanks for that script, RandiR.

I was able to use it to convert my 50+ WTV files because I want to go back to non- TV Pack (stopped using QAM).

Suggestions to others:

1) ccd "recorded tv folder"

If your recorded tv folder is on another hard drive, use this syntax:
ccd "f:/recorded tv"

the ccd function requires a "/" instead of the usual "\".

Also be sure the todvrms.exe is in your recorded tv folder.

2) I would suggest removing the line that deletes the original .WTV file. todvrms is not a 'solid' program and it will fail often on a conversion and then you'll have lost the original WTV file. You're better off manually deleting the .WTV files.

or if you create a while statement that will only delete the WTV file if the file size of the dvr-ms is greater than 1MB, that would work. If the conversion fails, the dvr-ms file has always been under 1 MB for me.

3) To add meta data and make the conversion more stable, change the todvrms syntax line:

system "todvrms.exe" ("\""+$file+"\"") ("\""+$converted_file+"\"") "-m -v"
  Reply With Quote