Menu

#931 Cannot Read Duration of WebM Video

Incorrect_result
open-accepted
None
5
2015-07-02
2015-06-20
Etienne
No

When reading WebM files downloaded from YouTube, MediaInfo.dll doesn't read the video duration. The "Duration" field is empty. The "Width" and "Height" fields, however, are read fine.

Discussion

  • Jerome Martinez

    Jerome Martinez - 2015-06-20
    • status: open --> pending-works-for-me
    • assigned_to: Jerome Martinez
     
  • Jerome Martinez

    Jerome Martinez - 2015-06-20

    Mine are OK.
    Please provide a sample file.

     
  • Etienne

    Etienne - 2015-06-20

    OK I tried with another video and it worked.

    This video, however, is strange.
    https://www.youtube.com/watch?v=UuFlNIU2TeE

    YouTube says there is a 360p version available, and when you download it, you get a 240p video. It is in WebM format, but MediaInfo.dll can't extract its duration.

     
  • Jerome Martinez

    Jerome Martinez - 2015-06-20

    I downloaded the 240p version, and it is OK:
    General
    Complete name : alaska ocean - DASH.webm
    Format : WebM
    Format version : Version 2
    File size : 1.18 MiB
    Duration : 1mn 51s
    Overall bit rate : 88.9 Kbps
    Writing application : google
    Writing library : google

    Video
    ID : 1
    Format : VP9
    Codec ID : V_VP9
    Duration : 1mn 51s
    Bit rate : 78.5 Kbps
    Width : 320 pixels
    Height : 240 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Constant
    Frame rate : 30.000 fps
    Bits/(Pixel*Frame) : 0.034
    Stream size : 1.04 MiB (88%)
    Language : English
    Default : Yes
    Forced : No


    If you want me to deal with you bug report, provide the exact file, not a link to a web page, especially if I can not download easily exactly the same file as you.

     
  • Etienne

    Etienne - 2015-06-20

    Here's the file I have.
    https://mega.co.nz/#!bZwEDBDK!4Y8R-vnnFFCxXZWRyaB2m0zKosPpxLdPiKsXkjDbya0

    Ah, since the audio and video have to be muxed after downloading, that won't exactly be the same as what you downloaded.

     

    Last edit: Etienne 2015-06-20
  • Jerome Martinez

    Jerome Martinez - 2015-06-21

    muxed

    so not the video from the link, and it depends of your muxer.

    I see the duration in the general part and in the audio part. video duration is missing.

     
  • Jerome Martinez

    Jerome Martinez - 2015-06-21

    Accepted.

    Warning: non-paid feature request are set to low priority, I don't know when I have time to handle it.
    If you desire to accelerate the development, don't hesitate to contact me for a quotation.

     
  • Jerome Martinez

    Jerome Martinez - 2015-06-21
    • status: pending-works-for-me --> open-accepted
     
  • Etienne

    Etienne - 2015-06-27

    I'm working on an Open Source project as well
    https://github.com/mysteryx93/NaturalGroundingPlayer

     
  • Etienne

    Etienne - 2015-07-02

    I found a workaround. Reading the Duration of the audio stream, instead of the video, works.

     

Log in to post a comment.