Windows 7 .WTV file format support

Where all the user feedback and suggestions for improvements go
jason_ruz
Posts: 8
Joined: Fri Dec 22, 2006 3:34 am

Windows 7 .WTV file format support

Post by jason_ruz » Sun Mar 01, 2009 12:09 pm

Hi,

What are your plans in supporting the .WTV file format that will be used in Windows 7's Windows Media Center?
I found this interesting thread on TGB: http://thegreenbutton.com/forums/permal ... spx#335109. There is some documentation about the .WTV format on MSDN: http://msdn.microsoft.com/en-us/library/cc963726.aspx

Thanks,
Jason

erik
Site Admin
Posts: 3298
Joined: Sun Aug 21, 2005 3:49 pm

Re: Windows 7 .WTV file format support

Post by erik » Sun Mar 08, 2009 12:16 pm

The problem with .wtv is that there is no documentation on the internal format so I can not write a demuxer.
Other solution is to create a DShow interface so windows can do the demuxing (or even the decoding)
This will have a huge impact on the internals of Comskip so it requires a lot of time.
A temporary solution is to use dvrmstb to convert to mpg file and then process.

killi
Posts: 2
Joined: Thu Apr 16, 2009 5:32 pm

Re: Windows 7 .WTV file format support

Post by killi » Sun Apr 19, 2009 9:41 am

how about looking into the .wtv files that hdpvrbridge creates. I can successfuly dump into corresponding .ac3/.h264 files that i then have to remux into a ts file to scan, then convert for reinsertion into the recorded tv. perhaps since this file format is h264 in a wtv container it is workable? i used graphstudio with FileDump.ax to seperate, and tsmuxer to make the .ts to start the commercial detection, then todvrms with the -w flag to convert to .wtv. But it is so much to do manually that it not worth it to go through just to skip commercials.

i can send an example file if you wish. Would be an awesome addition. the native conversion utility in win7 wont convert these .wtv's to dvr-ms.

erik
Site Admin
Posts: 3298
Joined: Sun Aug 21, 2005 3:49 pm

Re: Windows 7 .WTV file format support

Post by erik » Mon Apr 20, 2009 8:24 am

Why do you want to convert twice?
Only from .wtv to a format comskip can read.
Best is to use a player that can read the output for comskip (the list of detected commercials) to (auto) skip based on the original recorded file.

killi
Posts: 2
Joined: Thu Apr 16, 2009 5:32 pm

Re: Windows 7 .WTV file format support

Post by killi » Wed Apr 22, 2009 8:47 am

you are totally right about the reconvert, makes sense.

But i still do not know how i can auto get the h264 wtv file to a working .ts file. Ill have to see if i can write a \profile in dtb that cuts a wtv file with graph, then calls tsmuxer, than calls comskip, then deletes the muxed file. leaving the wtv originally recorded.

i guess i just dont know how to automate graphstudio, and also comskip doesnt accept the video only stream/pin from a split wtv file generated by graphstudio. have to use tsmuxer to join them, then comskip does its thing fine.

vander1
Posts: 1
Joined: Sat Apr 26, 2008 9:07 pm

Re: Windows 7 .WTV file format support

Post by vander1 » Thu Oct 29, 2009 5:29 pm

Hey Eric, comskip is working amazing for me. I really enjoy it. But I've been thinking about moving to Windows 7 sometime soon. Any chance comskip will have WTV support any time soon? I read above that there was no documentation for it, but I wonder if that has changed, as Show Analyzer now has WTV support, in beta. I really don't want to switch over, as comskip is working amazing in Vista. Please let me know when you have a chance. Thanks!

erik
Site Admin
Posts: 3298
Joined: Sun Aug 21, 2005 3:49 pm

Re: Windows 7 .WTV file format support

Post by erik » Fri Oct 30, 2009 11:04 am

I'm looking into this, in the mean time you can use this

"C:\Windows\ehome\WTVConverter.exe" infile.wtv outfile.dvr-ms
comskip outfile.dvr-ms


Converts a recorded TV file from .wtv to .dvr-ms format.

Usage:
WTVConvrter path_to_sourcefile [path_to_targetfile] [/ShowUI] [/?]

path_to_sourcefile: Specifies the path to the .wtv file to convert.
path_to_targetfile: Specifies the path to the .dvr-ms file to create.
/ShowUI: Displays a progress bar dialog box during the conversion process.
/?: Displays usage information.

Notes:
– You must specify a path to an existing folder for path_to_targetfile.
– You can use the wildcard '*' when converting multiple source files.
The .dvr-ms files will be created with the same name as the .wtv files.

– If you do not specify path_to_targetfile, the .dvr-ms file is created in the same location as the .wtv file.

Examples:

WTVConverter d:\RecordedTV\Arthur.wtv d:\ConvertedTV\Arthur.dvr-ms /ShowUI

WTVConverter d:\RecordedTV\*.wtv d:\ConvertedTV\

WTVConverter d:\RecordedTV\*.wtv

McGiverGim
Posts: 18
Joined: Mon Nov 23, 2009 4:01 pm

Re: Windows 7 .WTV file format support

Post by McGiverGim » Mon Mar 29, 2010 12:42 pm

Hi erik.

Sorry for my impatience, but have you got something with the new format
WTV?

Regards!

erik
Site Admin
Posts: 3298
Joined: Sun Aug 21, 2005 3:49 pm

Re: Windows 7 .WTV file format support

Post by erik » Mon Mar 29, 2010 1:23 pm

Will do a quick check to see if more information is available on this format.

McGiverGim
Posts: 18
Joined: Mon Nov 23, 2009 4:01 pm

Re: Windows 7 .WTV file format support

Post by McGiverGim » Mon Mar 21, 2011 11:28 am

Here we are one year later!!

I've seen that ffmpeg have some experimental version with WTV support. Can you use this to support WTV in comskip?

Now I'm using ShowAnalyzer, but I prefer comskip if it worked with WTV ;-)

Regards!

McGiverGim
Posts: 18
Joined: Mon Nov 23, 2009 4:01 pm

Re: Windows 7 .WTV file format support

Post by McGiverGim » Thu Mar 31, 2011 3:45 pm

Here you have a link with more info:

http://binaryinspirations.blogspot.com/ ... pport.html

Regards!

erik
Site Admin
Posts: 3298
Joined: Sun Aug 21, 2005 3:49 pm

Re: Windows 7 .WTV file format support

Post by erik » Fri Apr 01, 2011 5:20 am

Will have a look
The version I tried 4 weeks ago still crashed on the h.264 test files I have.

McGiverGim
Posts: 18
Joined: Mon Nov 23, 2009 4:01 pm

Re: Windows 7 .WTV file format support

Post by McGiverGim » Fri Apr 01, 2011 6:55 am

Ah! Ok, I didn't know you were doing tests!!!

Thank you very much!!

erik
Site Admin
Posts: 3298
Joined: Sun Aug 21, 2005 3:49 pm

Re: Windows 7 .WTV file format support

Post by erik » Sat Apr 16, 2011 9:24 pm

I found and solved the bug in ffmpeg that caused it to crash on my .wtv test files.
No I need a lot of time to include it in comskip......

McGiverGim
Posts: 18
Joined: Mon Nov 23, 2009 4:01 pm

Re: Windows 7 .WTV file format support

Post by McGiverGim » Sun Apr 17, 2011 1:02 pm

Ok, we will wait your great work!!

If you need a beta tester, I'm ready ;-)

Thanks!!

Post Reply