Okay. Did some investigating. The problem is that xbmc for windows is compiled using the copy of ffmpeg which is embedded in the xbmc git repository. This version is old (
https://github.com/xbmc/xbmc/blob/master...rmat/wtv.c), and exhibts the problems I mentioned earlier. The latest WTV demuxer looks like this.
http://git.videolan.org/?p=ffmpeg.git;a=...25;hb=HEAD Notice the dates.
Put simply, the version of ffmpeg bundled with xbmc needs to be updated. You might be able to achieve the same thing by downloading the 'shared' version of win32 ffmpeg binaries (
http://ffmpeg.zeranoe.com/builds/), and cpying them over the existing avformat, avcodec, avutils, avblah dlls found in the xbmc folder.
smee204 Wrote:Looks like the dlls are taken from a xbmc folder. Can anyone verify that version 52 is the correct version of avformat? I have tried playing back lots of .wtv files and seeking works for smallish files but the duration is never correct. The only file I can correctly play is the sample .wtv that ships with media center but it is only 10 seconds long!
17:58:05 T:3832 DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info starting
17:58:05 T:3832 DEBUG: ffmpeg[EF8]: [dvbsub] Invalid extradata, subtitle streams may be combined!
17:58:05 T:3832 DEBUG: ffmpeg[EF8]: [wtv] Estimating duration from bitrate, this may be inaccurate