Menu

#283 Support for the WTV file container

More_attribute
open-accepted
1
2014-09-27
2010-09-12
Troy
No

I convert all of my movies to the .wtv file container. Some are SD, some are HD, some have h.264 video and some have mpeg2 video. Support for this container would be much appreciated. dburckh at thegreenbutton.com has created essentially a .wtv demuxer that can reveal the inner streams so .wtv support whould be right around the corner I hope. Thanks

Discussion

  • Jerome Martinez

    Jerome Martinez - 2010-09-12

    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.

     
  • Jerome Martinez

    Jerome Martinez - 2010-09-12
    • priority: 5 --> 1
    • milestone: --> More_attribute
    • status: open --> open-accepted
     
  • Jerome Martinez

    Jerome Martinez - 2011-01-07

    Ah, excellent!

    I will add it in the next few weeks, when I have a bit time.
    I take your samples.

     
  • Troy

    Troy - 2011-01-07

    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.

     
  • Jerome Martinez

    Jerome Martinez - 2011-01-07

    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 :)

     
  • Kurtnoise

    Kurtnoise - 2011-01-07

    this is wrong...h264 is supported as well.

     
  • Jerome Martinez

    Jerome Martinez - 2011-01-07

    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.

     
  • Kurtnoise

    Kurtnoise - 2011-01-07

    trust me...this is supported. ;-)

     
  • Troy

    Troy - 2011-01-07

    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.

     
  • Kurtnoise

    Kurtnoise - 2011-01-07

    @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)

     
  • Kurtnoise

    Kurtnoise - 2011-01-07

    forgot to say that the dvrmstoolbox is broken for HD contents...so don't use it within h264 streams.

     
  •  Tim

    Tim - 2013-01-23

    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.

     
  • Jerome Martinez

    Jerome Martinez - 2013-01-24

    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.

     
  •  Tim

    Tim - 2013-01-24

    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.

     
  • Jerome Martinez

    Jerome Martinez - 2013-01-24

    I can provide some samples,

    Please drop me an email (info@mediaarea.net), I'll provide a private FTP server access if you need one.

    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.

    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).

     
  •  Tim

    Tim - 2013-01-25

    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
  •  Tim

    Tim - 2013-01-28

    Any findings with the samples? I can provide more if needed.

     
  • Jerome Martinez

    Jerome Martinez - 2013-01-30

    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)

     
  • Jerome Martinez

    Jerome Martinez - 2013-05-28

    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 :(

    any news on this?

    Currently no ETA on my (the main developer) side, I have more urgent things to do.
    But any patch from anyone else is welcome.

     
  • gggirlgeek

    gggirlgeek - 2014-09-27

    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
  • Jerome Martinez

    Jerome Martinez - 2014-09-27

    0.7.67+ actually WORKS!

    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.

     
    • gggirlgeek

      gggirlgeek - 2014-09-27

      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

Log in to post a comment.

MongoDB Logo MongoDB