Support for WTV files? Microsoft Windows Media Center recording format
#16
I don't think you're going to have much luck. WTV is a closed spec container format. FFMPEG doesn't support it because there are no specs and no one has reverse engineered it. All the converters and adapters just create a directshow chain which uses the built-in microsoft plugs as input and something else as the output.

The good news is that what is inside the file can something XBMC can play, like H.264 or MPEG2, but the bad news is it can't demux it.

I'm fairly certain XBMC hasn't been updated to use any DirectShow graphs on win32 builds in the few months that I've been gone, but that would be another option.

Both of these options are lots of work though, so I wouldn't expect to see this casually implemented.
For troubleshooting and bug reporting please make sure you read this first.
#17
CapnBry Wrote:I'm fairly certain XBMC hasn't been updated to use any DirectShow graphs on win32 builds in the few months that I've been gone, but that would be another option.

@CapnBry, lol!

http://forum.xbmc.org/showthread.php?tid=59610

That's what you get for being gone Smile
-Wes
#18
Well shut my mouth. Considering IGraphFilter should automatically select the right WTV provider pin if passed a file with an extension of .wtv this should provide support for those files.

I'm now going to cram a sock in my sockhole until I can get caught up Confused
For troubleshooting and bug reporting please make sure you read this first.
#19
i'm guessing this is still unsupported?
#20
You can still watch them but you just have to convert the recorded shows to .dvr-ms first. XBMC will play dvr-ms just fine. In windows 7 you just have to right click on the .WTV file and click "Convert to .dvr-ms" .

Works for me, I have a Windows 7 box to record TV and as a file server. Then in another room I have another box with XBMC live installed on it and often watch recorded tv once it is converted.

Cheers

bob9
#21
Please have a look at my post here
#22
One way to do this is to have MC-TV Converter to convert WTV to TS (no re-encode required)... details here:

http://forum.xbmc.org/showpost.php?p=660...stcount=11
#23
there is a patch for ffmpeg which handles wtv now:

http://web.archiveorange.com/archive/v/y...uJVykOy7xB

scroll to near the bottom for the latest revision.
#24
danconti Wrote:there is a patch for ffmpeg which handles wtv now:

http://web.archiveorange.com/archive/v/y...uJVykOy7xB

scroll to near the bottom for the latest revision.

How to add this patch?
#25
Any update to enabling WTV in XBMC?
#26
You should take a look at the latest nightly builds.
I use WTV since weeks.
#27
You say you have been using wtv for weeks. Are these standard def wtv files or HD?
#28
subbed. this is a deal killer for me. i'm currently using w7MCE for HD-HTPC, but the UI is sluggish on atom hardware. i'm looking at either springing another box entirely, or moving to xbmc as a solution. the UI in XBMC is fine, but not having DVR and/or ability to play .wtv closes the door.

wife and kids can't handle switching between applications; though slow, livetv, recorded tv, and local/internet prerecorded media (dvd, blu-ray, netflix, hulu, et al) can be handled via MCE entirely via harmony one.
#29
cudaboy_71 Wrote:subbed. this is a deal killer for me. i'm currently using w7MCE for HD-HTPC, but the UI is sluggish on atom hardware. i'm looking at either springing another box entirely, or moving to xbmc as a solution. the UI in XBMC is fine, but not having DVR and/or ability to play .wtv closes the door.

wife and kids can't handle switching between applications; though slow, livetv, recorded tv, and local/internet prerecorded media (dvd, blu-ray, netflix, hulu, et al) can be handled via MCE entirely via harmony one.

I've recently installed XBMC on AppleTV2 and it's been great. Tested WTV files today and they seem to work with nothing extra installed. A de-interlacing filter would be good but other than that they play OK.

You can also use MCEBuddy to convert WTV to mp4 automatically into a good quality, lower size file. XBMC can then easily read those.
#30
I find XBMC will play only part of the .wtv file. I started watching a recorded film and it played the first 15 minutes then stopped. I also noticed that the time bar was incorrect. It did not know how long the .wtv file was so displayed that it was at the end all the time. Here is part of my log file if it helps.
Code:
21:43:53 T:4676  NOTICE: DVDPlayer: Opening: Z:\Wall-E\Wall-E_BBC THREE_2011_01_06_18_55_00.wtv
21:43:53 T:4676 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:43:53 T:2004  NOTICE: Creating InputStream
21:43:53 T:2004  NOTICE: Creating Demuxer
21:44:07 T:2004  NOTICE: Opening Subtitle stream: 0 source: 256
21:44:07 T:2004 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
21:44:07 T:2004 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
21:44:07 T:2004  NOTICE: Opening audio stream: 1 source: 256
21:44:07 T:2004  NOTICE: Finding audio codec for: 86016
21:44:07 T:2004  NOTICE: Creating audio thread
21:44:07 T:2004 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
21:44:07 T:6064  NOTICE: running thread: CDVDPlayerAudio::Process()
21:44:07 T:6064  NOTICE: Creating audio device with codec id: 86016, channels: 2, sample rate: 48000, no pass-through
21:44:07 T:6064 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
21:44:07 T:2004  NOTICE: Opening video stream: 2 source: 256
21:44:07 T:2004  NOTICE: Creating video codec with codec id: 2
21:44:07 T:2004  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
21:44:07 T:2004  NOTICE: Creating video thread
21:44:07 T:2120  NOTICE: running thread: video_thread
21:44:07 T:2120   ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
21:44:07 T:2120   ERROR: Previous line repeats 9 times.
21:44:07 T:2120 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
21:44:07 T:2120   ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
21:44:07 T:2120   ERROR: Previous line repeats 10 times.
21:44:07 T:2120 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
21:44:07 T:2120   ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
21:44:07 T:2004   ERROR: Previous line repeats 1 times.
21:44:07 T:2004  NOTICE: Opening video stream: 2 source: 256
21:44:07 T:2004  NOTICE: Creating video codec with codec id: 2
21:44:07 T:2004  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
21:44:07 T:2120  NOTICE:  fps: 25.000000, pwidth: 720, pheight: 576, dwidth: 720, dheight: 405
21:44:42 T:4676   ERROR: Control 1 in window 10099 has been asked to focus, but it can't
21:44:50 T:4676  NOTICE: CDVDPlayer::CloseFile()

Logout Mark Read Team Forum Stats Members Help
Support for WTV files? Microsoft Windows Media Center recording format1