A method and device for obtaining the total duration of media files
A media file and total duration technology, applied in the direction of carrier index/addressing/timing/synchronization, etc., can solve the problem of inconsistent file encoding format, the jump function of the playback device cannot be used normally, and the playback device cannot obtain the total duration of the media file And other issues
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] An embodiment of the present invention provides a method for obtaining the total duration of media files, which is used to obtain a relatively accurate total duration of media files when the total duration of media files cannot be obtained through common methods. The common methods include: reading The duration information in the file header in the media file, the last timestamp of the media file minus the first timestamp, etc.; the method proposed in this embodiment is as follows: figure 1 shown, including:
[0057] 101. When playing the media file, the playback device acquires a first playback duration and a first file size.
[0058] Wherein, the first file size is the size of a media file played within the first playing duration.
[0059] Specifically, such as figure 2 The obtained first playback duration shown includes:
[0060] 1011. The playback device determines whether there is a jump in the time stamp of the media file within a preset experience value.
[00...
Embodiment 2
[0103] The embodiment of the present invention provides a device 3 for obtaining the total duration of media files, which is used to obtain a relatively accurate total duration of media files when the total duration of media files cannot be obtained through common methods. The common methods include: reading Get the duration information in the file header in the media file, subtract the first timestamp from the last timestamp of the media file, etc.; the equipment proposed in this embodiment is as follows: image 3 shown, including:
[0104] The acquisition unit 31 is configured to acquire a first playback duration and a first file size when the media file is played, wherein the first file size is the size of the media file played within the first playback duration;
[0105] A code rate determining unit 32, configured to determine the average play code rate of the media file within the first play duration according to the first play duration and the first file size;
[0106] ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com