[wp-trac] [WordPress Trac] #29176: Wrong video length in wp_read_video_metadata()

WordPress Trac noreply at wordpress.org
Mon Aug 11 13:18:07 UTC 2014

#29176: Wrong video length in wp_read_video_metadata()
 Reporter:  jrf           |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
 Ran into this when running some tests on uploaded video files.

 The `length_formatted` value was correct, while the `length` was x 1000.
 Turned out to be correct in the original meta data, but wrongly
 overwritten by the tag data. This might be caused by a bug in getID3.

 Issues can easily be reproduced using the attached example file.

 Patch attached as well.

Ticket URL: <https://core.trac.wordpress.org/ticket/29176>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list