andy vt's tools & blog

automating lazy

This Blog


andy vt's blog

ToDvrms -
- added subtitle persistance option (vob); requires Haali Video Sink

bin | source

Published Jan 24 2009, 06:37 AM by babgvant
Filed under: ,



Icetech said:

Typo in the download URL, the link points to todvrms,.zip just wanted to let people know to take the , out:)

January 25, 2009 5:38 PM

babgvant said:


January 25, 2009 6:06 PM

Martin Maat said:


I've been trying to convert WTV-files using todvrms for some time now without much success. It only worked once for me, with one file. Trying the same thing with other files has failed so far.

I am a C# coder myself so I ran todvrms in the debugger to see if I could find anything. I didn't find much but it may help a little. Here's what I found.

The conversion starts and writes what's probably just header data to the dvr-ms file and then just halts. Your monitoring thread watches the file size, finds the file is not growing any more and then signals the main thread which assumes all is done and the application runs to an end.

During the time when nothing seems to be happening anymore the output file size is about 9K. After the application ends and the interfaces are released it becomes about 73K. My input file would be over a gigabyte and it doesn't seem to matter how large it is, the 73K is a constant.

Just a little thing: one exception handler assumes there was something wrong with an argument. If the arguments are fine and something blows up later, the app will still report "invalid argument". The convert call should be outside the try-except block that protects the argument validation for better diagnostics.

I have no experience with video manipulation and I have no idea what could be wrong since whatever goes wrong goes wrong behind the DirectShow interfaces. I noticed other people on forums describing the same issue, also getting 73K output files. Some reported it started to work after they checked "verbode" which makes no sense but may indicate the issue is rather environment-related then input file related. "Sometimes it works" seems the best problem description. Don't you love it?

I have Vista Media Center with TV Pack 2008 and updates installed and was hoping todvrms would enable me to watch recorded TV on other machines in the house that don't have TV Pack 2008 or Windows 7. Running the conversion on an XP-machine yields the same results by the way.

I pimped up your GUI a little. If you can fix this issue I will extend it with a scheduler that converts wtv to dvr-ms automatically at a predefined time, effectively making a TV Pack 2008 configuration output dvr-ms files instead of WTV-files. That would be so convenient to many. I'd be happy to supply sample files or any additional information.

February 9, 2009 7:10 AM
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems