Support for the WTV file container
A unified display of relevant technical and tag data for A/V files
Brought to you by:
guillaumeroques,
zenitram
I am blocked on WTV because I find no specifications about the format.
Tools created only for Windows are not enough, because they use the Windows API for demuxing, without details about the container format, and this is not the philosophy of MediaInfo (all is internal and cross-platform).
So no implementation until someone provide WTV format specifications.
@Jérôme : http://git.ffmpeg.org/?p=ffmpeg;a=blob;f=libavformat/wtv.c;h=046a6bd7ac9d75514188b6905fc9d544a9a520ad;hb=b12249a04279276bc2e5491dd1b414ff568bd81a
Should be done almost like File_Wm_Element.cpp ?
I've several samples if you're interested...
Ah, excellent!
I will add it in the next few weeks, when I have a bit time.
I take your samples.
I have tested recently an implementation of ffmpeg for wtv's, probably this same one, and there was no support for h.264 wtv's, only mpeg2. Looking through this code, it seems like this implimentation also does not support h.264 wtv files.
Exact, no H264 in this code.
But I think I can succeed to detect and support h264 now with a start to understand how is the container. So wait and see :)
this is wrong...h264 is supported as well.
static const AVCodecGuid video_guids[] = {
141 {CODEC_ID_MPEG2VIDEO, {0x26,0x80,0x6D,0xE0,0x46,0xDB,0xCF,0x11,0xB4,0xD1,0x00,0x80,0x5F,0x6C,0xBB,0xEA}},
142 {CODEC_ID_NONE}
143 };
static const AVCodecGuid audio_guids[] = {
146 {CODEC_ID_AC3, {0x2C,0x80,0x6D,0xE0,0x46,0xDB,0xCF,0x11,0xB4,0xD1,0x00,0x80,0x5F,0x6C,0xBB,0xEA}},
147 {CODEC_ID_EAC3, {0xAF,0x87,0xFB,0xA7,0x02,0x2D,0xFB,0x42,0xA4,0xD4,0x05,0xCD,0x93,0x84,0x3B,0xDD}},
148 {CODEC_ID_MP2, {0x2B,0x80,0x6D,0xE0,0x46,0xDB,0xCF,0x11,0xB4,0xD1,0x00,0x80,0x5F,0x6C,0xBB,0xEA}},
149 {CODEC_ID_NONE}
150 };
No H264, only MPEG-2 Video.
I'll see when I implement.
trust me...this is supported. ;-)
where can I get my hands on a binary of ffmpeg with this wtv support built in? I got some h.264 wtv's I made a while ago with dvrmstoolbox and want to change them to something else.
@tramble : you can find some build here : http://ffmpeg.arrozcru.org/autobuilds/
otherwise I can provide you my own build...
@Jérôme : a 1st sample here : http://kurtnoise.free.fr/samples/
(h264 + eac3 + sub)
forgot to say that the dvrmstoolbox is broken for HD contents...so don't use it within h264 streams.
I have found that for .wtv recordings containing mpeg 2 video and audio do not show any information at all.
Recordings containing h264 video and LATM AAC Audio only contain video information.
WTV is still not supported, so I catch only one ot the raw streams if I succeed to find one
I am interested in samples. I can provide a private FTP server access if needed.
I can provide some samples, the difficulty I think with .wtv files is since they are recordings from windows media center, the resolution , aspect ratio, scan type and audio type change often. Mostly between commercial breaks and different programs.
For mediainfo to detect the correct info I guess it would have to look at the whole of the file to determine the longest used specifics rather than just at the beginning. Not sure if this is already achieved with other containers or not.
Please drop me an email (info@mediaarea.net), I'll provide a private FTP server access if you need one.
MPEG-TS already does (same: capture from TV). It is currently not supported (I provide the last configuration), and it is part of another feature request in the ToDo*list as a whole (for any container).
SD Mpeg2 video/audio
http://www.mediafire.com/?6662krmkn6jle95
HD H264 video/ AAC LATM Audio
http://www.mediafire.com/?muizawcvs0mk3mv
Its very hard to edit where the audio or video changes on the HD channels, perhaps you will need a bigger sample from me, in which case it may need to be an overnight job. But I am happy to provide!
Its only the HD channels that change btw, apart from the Aspect ratio/resolution that may change in the SD channels.
HD switches between 25i and 25p but is always 1080 lines as far as I am aware and the audio just switches between 2 channel and 5.1. There may be some broadcasts in 50i or p now but I am not sure.
Last edit: Tim 2013-01-25
Any findings with the samples? I can provide more if needed.
I downloaded the files, thank you.
But now, it is on the ToDo-list, without any Estimated Time of Arrival (due to low usage of such format and lack of sponsor)
any news on this?
another sample: http://www.mediafire.com/download/64nz7khhl2c5bru/bbc_news.wtv
contains two video and one audio stream, MediaInfo only reports the first video stream
regarding specification, I only found:
http://wiki.multimedia.cx/index.php?title=WTV
This is the main issue, this text is really poor so the development duration would not be low :(
Currently no ETA on my (the main developer) side, I have more urgent things to do.
But any patch from anyone else is welcome.
0.7.67+ actually WORKS!
Instructions: Download MediaTab 1.4+. (Uses MediaInfo as backbone.)
Install it. In your file's properties menu go to "MediaTab". Click "About". Click "Edit file associations." Type ".wtv" and click "Add."
Method 2: You might be able to use Open with... and choose Mediainfo.exe (I think????)
It's a little slow so wait a second for the info
Tip: If you want the latest 0.7.70, extract mediainfo.dll from the Mediainfo install folder (or you could extract it from the downloaded installation file.) Rename it to MediainfoMT64.dll and drop into MediaTabs install folder (replace the old one.) (If you're on 32bit, it's MediainfoMT32.dll.)
Last edit: gggirlgeek 2014-09-27
It still does not.
You only get some random detection of the content inside the WTV (because it is a known format inside the WTV), but the WTV itself is still not detected.
All of my .wtv files work with MediaTab. It's probably my recording format. Worth a try for most TV adapters since mine is pretty standard (Pinnacle HDTV usb adapter.)
Last edit: gggirlgeek 2014-09-27