Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Incorrect program duration

  1. #11
    Join Date
    Sep 2009
    Posts
    2,680

    Default

    Hi,
    we recently encountered a similar problem using using merged vob files, sometimes the timestamps are restarted in one of the vob files and this results in the incorrect duration being detected. So for vob 1 and 2 the duration is correct but in vob 3 the timestamps restart and when ffmpeg tries to get the duration it reads the last packet from the stream to get the timestamp and subtracts the timestamp in the first packet to get the duration. This can result in a rollover if the last timestamp is very large and result in a value like 10 hours or if the value is very small it can show 5 minutes, either way it is wrong. I suspect that when recording the stream the timestamps may be reset at some point and this is causing the problem, re-encoding the file will correct the timestamps. We made a change in Mezzmo 5.1 for multi-file DVDs to fix the timestamps on the fly when streaming, if you can send us one of the files with the bad timestamps we can possibly do the same procedure when streaming the file. Please upload a sample file to a sharing site like dropbox or google drive and send us a download link to support [at] conceiva [dot] com

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

  2. #12
    Join Date
    Aug 2010
    Posts
    34

    Default

    Hi Peter,

    Thanks for the response. I suspected a timestamp issue which was perhaps a result of the occasionally poor signal quality of the channel in question. I haven't been using MediaPortal to record TV for very long - perhaps it disturbs/resets the timestamps when a significant loss of signal occurs. Previously I was using WMC but, since I always ran every recording through VideoRedo before it was offered to Mezzmo, I have no idea if the issue occurred in that environment as well.

    The only curious thing is that ffmpeg is reporting slightly more than 10 hours for all the corrupt files. I might have expected a more random spread of (incorrectly calculated) durations.

    As I said, it's no more than a curiosity. If it becomes an annoyance, I'll just write some code to fix it.

  3. #13
    Join Date
    Sep 2009
    Posts
    2,680

    Default

    I expect the 10 hour issue would be due to a rollover of the value where the end value minus the start value results in a negative number.

    Mezzmo Android: Install it on your tablet, smartphone, Android TV or Amazon Fire to browse and stream files from your Mezzmo library to all your devices. Full details at http://www.conceiva.com/products/mez...mo_android.asp
    Mezzmo for Kodi Add-on: Install it into Kodi to stream files from your Mezzmo library directly in Kodi. Full details at http://www.mezzmo.com/wiki/doku.php?...odi_user_guide
    Mezzmo for Roku App: Install it onto your Roku to stream files from your Mezzmo library. Full details at http://www.mezzmo.com/wiki/doku.php?...oku_user_guide
    Wiki: User Guides & Reference Manual at http://www.mezzmo.com/wiki
    Facebook: http://www.facebook.com/Mezzmo.DLNA.Server
    Twitter: https://twitter.com/conceiva_mezzmo
    Web: http://www.mezzmo.com

Similar Threads

  1. Aspect ratios incorrect on TV
    By dehalley in forum Mezzmo Questions and Support
    Replies: 31
    Last Post: 03-29-2016, 09:51 AM
  2. Forcing DTS to AC3/DD5.1 breaks ffwd/rewind and gives incorrect duration
    By cjstepinraazor in forum Mezzmo Questions and Support
    Replies: 4
    Last Post: 01-02-2015, 08:07 PM
  3. Howto repair an invalid video duration
    By Hogi in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 05-31-2013, 07:42 AM
  4. Some .mkvs show no duration and stop playing after 10 minutes.
    By mcutugno in forum Mezzmo Questions and Support
    Replies: 3
    Last Post: 06-27-2011, 10:11 AM
  5. Random incorrect resolution
    By saear in forum Mezzmo Questions and Support
    Replies: 1
    Last Post: 11-03-2010, 09:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •