Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2017-12-08
LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Currently, when a playback device is playing a media file, due to reasons such as inconsistent file encoding format or incomplete file attribute information, the playback device cannot obtain the total duration of the media file, and the fast forward and rewind of the media file, etc. The operation needs to be accurately positioned according to the total duration of the media file, so if the total duration of the media file cannot be obtained, the jump function of the playback device cannot be used normally

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for obtaining the total duration of media files
  • A method and device for obtaining the total duration of media files
  • A method and device for obtaining the total duration of media files

Examples

Experimental program
Comparison scheme
Effect test

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

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method and device for obtaining the total duration of media files, which relates to the field of consumer electronics. The total duration of media files can be quickly obtained at the initial stage of playing the media files, so that the playback device can The function of jumping by duration can be used normally. Specifically, the average playback bit rate of the media file in the first time is determined through the obtained first playback duration and the file size played within the first duration, that is, the first file size. According to the determined average playback bit rate combined with pre-stored The total size of the media files determines the total duration of the media files. The present invention is used to obtain the total duration of media files.

Description

technical field [0001] The invention relates to the field of consumer electronics, in particular to a method and device for acquiring the total duration of media files. Background technique [0002] Currently, when a playback device is playing a media file, due to reasons such as inconsistent file encoding format or incomplete file attribute information, the playback device cannot obtain the total duration of the media file, and the fast forward and rewind of the media file, etc. The operation needs to be accurately positioned according to the total duration of the media file. Therefore, if the total duration of the media file cannot be obtained, the jump function of the playback device cannot be used normally. Contents of the invention [0003] Embodiments of the present invention provide a method and device for obtaining the total duration of a media file, which can enable a playback device to obtain the total duration of any media file being played, so that the jump fun...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G11B27/10
Inventor 平凯
Owner LE SHI ZHI ZIN ELECTRONIC TECHNOLOGY (TIANJIN) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products