CN108831510B - Method, device, terminal and storage medium for dotting audio and video files - Google Patents

Method, device, terminal and storage medium for dotting audio and video files Download PDF

Info

Publication number
CN108831510B
CN108831510B CN201810698540.XA CN201810698540A CN108831510B CN 108831510 B CN108831510 B CN 108831510B CN 201810698540 A CN201810698540 A CN 201810698540A CN 108831510 B CN108831510 B CN 108831510B
Authority
CN
China
Prior art keywords
file
audio
dotting
data
video file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810698540.XA
Other languages
Chinese (zh)
Other versions
CN108831510A (en
Inventor
任超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810698540.XA priority Critical patent/CN108831510B/en
Publication of CN108831510A publication Critical patent/CN108831510A/en
Application granted granted Critical
Publication of CN108831510B publication Critical patent/CN108831510B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/022Electronic editing of analogue information signals, e.g. audio or video signals
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/22Means responsive to presence or absence of recorded information signals
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B2020/10833Copying or moving data from one record carrier to another

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The embodiment of the application discloses a method, a device, a terminal and a storage medium for dotting an audio and video file, and belongs to the technical field of computers. Therefore, the terminal can write the standard dotting data into the audio file, so that the standard dotting data is fused into the audio file, the accessibility of the standard dotting data when the audio file is read is improved, and the dotting effect of the audio and video file is improved.

Description

Method, device, terminal and storage medium for dotting audio and video files
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method, a device, a terminal and a storage medium for dotting audio and video files.
Background
In daily life, a user can record sound using a terminal, so that audio information is saved.
In the related art, a technician may perform dotting on an audio file during recording, and save the dotting data as a dotting data file. And storing the dotting data file and the audio file in a folder indicated by the same file path in the terminal.
Since the player playing the audio file needs to read the dotting data file and analyze the dotting data file at the same time, the dotting data file cannot be easily read after the audio file is copied and copied.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for dotting an audio and video file, which can solve the problem that a dotting data file cannot be easily read after the audio file is copied and copied because a player playing the audio file needs to read and analyze the dotting data file at the same time. The technical scheme is as follows:
according to a first aspect of the present application, there is provided a method for dotting an audio-video file, the method comprising:
the method comprises the steps of obtaining standard dotting data, wherein the standard dotting data are used for indicating the dotting time on the playing time axis of an audio and video file, the audio and video file comprises an audio file and/or a video file, and the playing time axis is the time axis with the starting time being zero and the playing time being the playing time of the audio and video file;
determining a target field in the audio and video file according to the file format of the audio and video file;
and writing the standard dotting data in the target field.
According to a second aspect of the present application, there is provided an apparatus for dotting an audio-video file, the apparatus comprising:
the data acquisition module is used for acquiring standard dotting data, the standard dotting data are used for indicating the dotting time on the playing time axis of the audio and video file, the audio and video file comprises an audio file and/or a video file, and the playing time axis is the time axis with the starting time being zero and the playing time length being the playing time length of the audio and video file;
the field determining module is used for determining a target field in the audio and video file according to the file format of the audio and video file;
and the data writing module is used for writing the standard dotting data in the target field.
According to a third aspect of the present application, there is provided a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method for dotting an audio/video file according to the first aspect.
According to a fourth aspect of the present application, there is provided a computer-readable storage medium having at least one instruction stored therein, where the instruction is loaded and executed by a processor to implement the method for dotting an audio/video file according to the first aspect.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the method for dotting the audio and video file in the embodiment of the application can enable the terminal to obtain the standard dotting data, determine the target field in the audio and video file according to the file format of the audio and video file, and write the standard dotting data into the target field, wherein the standard dotting data is used for indicating the dotting time on the playing time axis of the audio and video file, the playing time axis is the time axis with the starting time being zero and the duration being the playing duration of the audio and video file. Therefore, the terminal can write the standard dotting data into the audio file, so that the standard dotting data is fused into the audio file, the accessibility of the standard dotting data when the audio file is read is improved, and the dotting effect of the audio and video file is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of dotting an audio-video file according to an exemplary embodiment of the present application;
fig. 2 is a flowchart of a method for dotting an audio-video file according to another exemplary embodiment of the present application;
fig. 3 is a schematic composition diagram of an audio-video file provided based on the embodiment shown in fig. 2;
FIG. 4 is a schematic diagram showing a dotted time provided based on the embodiment shown in FIG. 2;
fig. 5 is a block diagram illustrating a structure of an apparatus for dotting an audio/video file according to an exemplary embodiment of the present application;
fig. 6 is a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In order to make the solution shown in the embodiments of the present application easy to understand, several terms appearing in the embodiments of the present application will be described below.
Audio and video files: in one possible implementation, the audio-video file may comprise an audio file. In another possible implementation, the audio-video file may comprise a video file. In yet another possible implementation, the audio-video files include audio files and video files. Optionally, the audio-video file may include a file header, a file body, and a file trailer.
Standard dotting data: the time point is used for indicating the dotting time on the playing time axis of the audio and video file. The audio and video files comprise audio files and/or video files, and the playing time axis is the time axis with the starting time being zero and the playing time length being the playing time length of the audio and video files. It should be noted that the standard dotting data may be data having a predetermined format.
Alternatively, the standard dotting data may include a data start marker, a data volume, and a data end marker. The data body comprises at least one dotting moment, a dotting text is recorded in the annotation of each dotting moment, and the dotting text is a character mark of the corresponding dotting moment. For example, in one possible implementation, the data start marker may be "timemark/", the data volume may be "time 1, time 2, time 3, …, time N", and the data end marker may be "/timemark". In this example, the complete standard dotting data is "time email/time 1, time 2, time 3, …, time N/time email". It should be noted that the data start identifier and the data end identifier are fixed identifiers, and each item in the data volume is a time data. In one possible application scenario, each item in the data volume may be annotated with dotted text that may be recorded in the annotation. For example, an item in the data volume "time 1" may be implemented as "(time 1, business)" and the dotting text is "business". When the audio and video file is played, extracting standard dotting data, displaying the time 1 which is the doted moment in a playing interface according to the standard dotting data, and displaying the point marked as 'business trip'.
A target field: the position of writing standard dotting data in the audio and video file.
In one possible implementation, when the audio-video file includes a file header, a file body, and a file trailer, the target field may be a first field located inside the file header, the file body, and/or the file trailer. In this case, the target field may be a designated frame in the header of the file, a designated frame in the body of the file, or a designated frame in the end of the file.
In another possible implementation, when the audio-video file includes a file header, a file body, and a file trailer, the target field may be a second field located between the file header and the file body, or the target field may be a third field located between the file body and the file trailer.
Optionally, when the target field is a second field located between the file header and the file body, after the player for playing the audio/video completes parsing the file header, the player will parse the second field, and then will parse the file body. The player for playing the audio and video can realize setting, for example, setting through downloading a plug-in so as to be capable of correctly reading the second field.
Optionally, when the target field is a third field located between the file body and the file tail, the player for playing the audio and video will normally analyze the file body after the file header is analyzed, and after the file body is analyzed, the third field between the file body and the file tail will be obtained, so as to analyze the third field.
It should be noted that, when the target field is the second field or the third field, the target field is not embedded in the file header, the file body, or the file end. Therefore, the target field is easy to extract, the normal reading process of the audio and video file is not influenced, and the compatibility of the audio and video file is improved.
It should be noted that the present application can be applied to a terminal having a speaker, an earphone or an audio output interface. In an application scenario, the terminal may be at least one of a mobile phone, a voice pen, a tablet computer, a laptop computer, a desktop computer, a personal computer, a server, a workstation, a television, a set-top box, smart glasses, a smart watch, a digital camera, an MP3 player terminal, an MP4 player terminal, an MP5 player terminal, a learning machine, a point-to-read machine, an electronic book, an electronic dictionary, and a vehicle-mounted terminal. The present application does not limit a specific implementation of the terminal.
Please refer to fig. 1, which is a flowchart illustrating dotting for an audio/video file according to an exemplary embodiment of the present application. The method for dotting the audio and video files can be applied to the terminal. In fig. 1, a method for dotting an audio/video file includes:
step 110, obtaining standard dotting data, where the standard dotting data is used to indicate a dotting time on a playing time axis of an audio/video file, the audio/video file includes an audio file and/or a video file, and the playing time axis is a time axis with a starting time of zero and a playing time of the audio/video file.
In the embodiment of the application, the terminal acquires standard dotting data, the standard dotting data are used for indicating the dotting time on the playing time axis of the audio and video file, and the playing time axis is the time axis with zero time and the playing time length of the audio and video file. The audio and video files comprise audio files and/or video files.
Optionally, the terminal acquires the standard dotting data from the audio/video file. Optionally, the terminal may use a specific plug-in to read the audio/video file to obtain the standard dotting data. The terminal can also acquire standard dotting data from the audio and video file by using a default analysis mode.
And step 120, determining a target field in the audio and video file according to the file format of the audio and video file.
In the embodiment of the application, the terminal can acquire the file format of the audio and video file and determine the target field in the audio and video file according to the file format of the audio and video file.
Alternatively, when the audio file is included in the audio-video file, the file format may be at least one of CD, WAVE, AIFF, MPEG, MP3, MPEG-4, MIDI, WMA, RealAudio, VQF, ogvorbis, AMR, APE, F L AC, and ACC.
Alternatively, when the VIDEO file is included in the audio-VIDEO file, the file format may be at least one of MPEG, MPG, DAT, AVI, MOV, ASF, WMV, NAVI, 3GP, REA L VIDEO, MKV, F L V, F4V, RMVB, WebM, HDDVD, Blu-ray, qsv, and the like.
In the embodiment of the application, the terminal can determine the target field in the audio and video file after determining the file format of the audio and video file.
And step 130, writing standard dotting data in the target field.
In the embodiment of the application, after the terminal determines the target field in the audio/video file, the standard dotting data is written in the target field. After being written into the target field, the standard dotting data becomes a part of the audio and video file and can be copied and moved along with the whole copying and moving of the audio and video file.
In summary, the method for dotting the audio/video file provided in this embodiment can enable the terminal to obtain the standard dotting data, determine the target field in the audio/video file according to the file format of the audio/video file, and write the standard dotting data in the target field, where the standard dotting data is used to indicate a dotted time on a play time axis of the audio/video file, and the play time axis is a time axis in which the start time is zero and the duration is the play duration of the audio/video file. Therefore, the terminal can write the standard dotting data into the audio file, so that the standard dotting data is fused into the audio file, the accessibility of the standard dotting data when the audio file is read is improved, and the dotting effect of the audio and video file is improved.
With reference to the foregoing embodiment, the terminal can also provide a method for dotting an audio/video file, please refer to the following embodiment.
Please refer to fig. 2, which is a flowchart illustrating a method for dotting an audio/video file according to another exemplary embodiment of the present application. The method for dotting the audio and video files can be applied to the terminal. In fig. 2, the method for dotting an audio/video file includes:
step 201, receiving a dotting instruction acting on an audio/video file.
In the embodiment of the application, the terminal can receive the dotting instruction acting on the audio and video file. Optionally, the terminal may receive an operation of a user through a virtual key in the screen or an entity key set on the terminal, and when the virtual key or the entity key is operated, the terminal receives a dotting instruction acting on the audio/video file.
Step 202, generating intermediate data according to the dotting instruction, wherein the intermediate data is used for recording at least one time indicated by the dotting instruction.
In this embodiment of the application, the terminal may generate the intermediate data according to the dotting instruction, and it should be noted that the intermediate data is at least used for recording at least one time indicated by the dotting instruction.
Optionally, the intermediate data can also be used to record a dotting text corresponding to the time indicated by the dotting instruction.
In one possible implementation, the intermediate data may be implemented as arrayTime data.
Step 203, converting the intermediate data into standard dotting data with a preset format.
In the embodiment of the application, the terminal can convert the intermediate data into standard dotting data in a predetermined format. The predetermined format may be a format of a data start flag, a data body, and a data end flag sequentially from front to back.
Optionally, the data volume includes at least one dotted moment, and a dotted text is recorded in the annotation of each dotted moment, where the dotted text is a text mark of the corresponding dotted moment.
And step 204, acquiring the file format of the audio and video file.
In the embodiment of the application, the terminal can acquire the file format of the audio and video file.
In a possible implementation manner, the terminal may determine the file format of the video file through the extension name of the audio/video file.
In another possible implementation, the terminal may further determine a file format of the video file through the attribute information of the audio-video file.
Step 205, matching the file format of the audio/video file with a preset file format in a preset file format library.
In the embodiment of the application, the terminal can match the file format of the audio/video file with the preset file format in the preset file format library. The terminal can preset a preset file format library, wherein the preset file format library comprises at least one preset file format.
And step 206, if the file format of the audio/video file is matched with the preset file format, determining a preset field corresponding to the preset file format as a target field.
In the embodiment of the application, if the file format of the audio/video file is matched with the preset file format, the terminal can determine the preset field corresponding to the preset file format as the target field.
It should be noted that the preset file formats are all corresponding to preset fields, and the preset fields may be a first field, a second field, and/or a third field.
Please refer to fig. 3, which is a schematic composition diagram of an audio/video file provided based on the embodiment shown in fig. 2. In fig. 3, an audio file "a.mp 3" 31 includes a header 311, a body 312, and a footer 313. The file header 311, the file body 312 and the file trailer 313 may each include a first field 3A inside, a second field 3B between the file header 311 and the file body 312, and a third field 3C between the file body 312 and the file trailer 313.
Step 207, writing standard dotting data in the target field.
In the embodiment of the application, the terminal can write standard dotting data into the target field. After the audio and video file is written with the standard dotting data, the audio and video file is still a complete file to the outside.
And step 208, extracting standard dotting data when the audio/video file is played.
In the embodiment of the application, the terminal can extract the standard dotting data when playing the audio and video file.
In one possible implementation, the terminal is able to extract the standard dotting data by means of a player. One extraction mode of the player is to determine a target position according to the format of an audio/video file and directly extract standard dotting data at the target position.
In another possible extraction mode, the player traverses the audio/video file, extracts standard dotting data according to the data start marker and the data end marker, and determines a field between the data start marker and the data end marker and including the data start marker and the data end marker as the standard dotting data.
And step 209, displaying the information of the dotting time in the playing interface according to the standard dotting data.
In the embodiment of the application, the terminal can play the audio and video file by using a player and display the standard dotting data in the screen. It should be noted that the terminal may display the information of the clicked time in the playing interface of the player.
Please refer to fig. 4, which is a schematic diagram for displaying a dotted moment according to the embodiment shown in fig. 2. In fig. 4, a user interface 41 is displayed in the terminal, and the user interface 41 is a playback interface of a music player. On the play time axis 42, the dotted time 421 is 1:00, the dotted text is "conference", the dotted time 422 is 2:00, and the dotted text is "turnover".
To sum up, the method for dotting the audio/video file provided by the embodiment of the application can record at least one time dotting time input by a user through the intermediate data, and then enable the standard dotting data in the predetermined format to be successfully written into a target position in the audio/video file by converting the intermediate data into the standard dotting data in the predetermined format, so that efficiency of receiving the dotting time input by the user by a terminal is improved, standardization of the data written into the audio/video file can be ensured, and compatibility of the standard dotting data in the audio/video file is improved.
In an implementation manner, the preset file format library can be further arranged in the terminal, and when the file format of the audio/video file is matched with the preset file format in the preset file format library, the preset field corresponding to the preset file format is determined as the target field, so that the efficiency of determining the target field is improved, and the success rate of writing the standard dotting data into the correct target field is ensured.
In another mode that can realize, this application embodiment can also be when the broadcast during the audio video file, draws standard dotting data, according to standard dotting data shows in the broadcast interface the information at the moment of being dotted, because the player only need read audio video file can acquire the information at the moment of being dotted, has reduced the degree of difficulty of the information at the moment of being dotted that acquires the audio video file, has reduced the possibility that the information at the moment of being dotted that produces when the audio video file is removed loses.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 5, which is a block diagram illustrating a structure of an apparatus for dotting an audio/video file according to an exemplary embodiment of the present application. The device for dotting the audio and video files can be realized by software, hardware or a combination of the software and the hardware to form all or part of the terminal. The device includes:
the data acquisition module 510 is configured to acquire standard dotting data, where the standard dotting data is used to indicate a time at which a point is doted on a play time axis of the audio/video file, where the audio/video file includes an audio file and/or a video file, and the play time axis is a time axis in which an initial time is zero and a time length is a play time length of the audio/video file.
A field determining module 520, configured to determine a target field in the audio/video file according to the file format of the audio/video file.
A data writing module 530, configured to write the standard dotting data in the target field.
In an optional embodiment, the data obtaining module 510 is configured to receive a dotting instruction acting on the audio/video file; generating intermediate data according to the dotting instruction, wherein the intermediate data is used for recording at least one moment indicated by the dotting instruction; and converting the intermediate data into the standard dotting data in a preset format.
In an optional embodiment, the field determining module 520 is configured to obtain a file format of the audio/video file; matching the file format of the audio/video file with a preset file format in a preset file format library; and if the file format of the audio and video file is matched with the preset file format, determining a preset field corresponding to the preset file format as the target field.
In an optional embodiment, the audio/video file includes a file header, a file body, and a file trailer, and the target field is a first field located inside the file header, inside the file body, and/or inside the file trailer.
In an optional embodiment, the audio/video file includes a file header, a file body, and a file trailer, and the target field is a second field located between the file header and the file body, or a third field located between the file body and the file trailer.
In an optional embodiment, the apparatus further includes an execution module, configured to extract the standard dotting data when the audio/video file is played; and displaying the information of the dotting time in a playing interface according to the standard dotting data.
In an optional embodiment, the standard dotting data includes a data start marker, a data body, and a data end marker, where the data body includes at least one dotted time, and a dotting text is recorded in an annotation of each dotted time, where the dotting text is a text marker of the corresponding dotted time.
Please refer to fig. 6, which is a block diagram of a terminal according to an exemplary embodiment of the present application. As shown in fig. 6, the terminal includes a processor 610 and a memory 620, where the memory 620 stores at least one instruction, and the instruction is loaded and executed by the processor 610 to implement the method for dotting an audio/video file according to the above embodiments.
Optionally, the terminal may further include a screen assembly 630 and a speaker 640.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the method for dotting the audio and video file according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored in the computer program product, and the at least one instruction is loaded and executed by the processor to implement the method for dotting the audio and video file according to the above embodiments.
It should be noted that: when the device for dotting an audio/video file provided in the above embodiment executes the method for dotting an audio/video file, only the division of the above functional modules is used for illustration, and in practical applications, the function distribution may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the device for dotting the audio/video file and the method for dotting the audio/video file provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. A method for dotting an audio/video file, the method comprising:
the method comprises the steps of obtaining standard dotting data, wherein the standard dotting data are used for indicating the dotting time on the playing time axis of an audio and video file, the audio and video file comprises an audio file and/or a video file, the playing time axis is the time axis with the starting time being zero and the playing time being the playing time of the audio and video file, and the audio and video file comprises a file head, a file body and a file tail;
determining a target field in the audio/video file according to the file format of the audio/video file, wherein the target field is a designated frame positioned in the file header, the file body and/or the file tail;
and writing the standard dotting data in the target field.
2. The method of claim 1, wherein obtaining standard dotting data comprises:
receiving a dotting instruction acting on the audio and video file;
generating intermediate data according to the dotting instruction, wherein the intermediate data is used for recording at least one moment indicated by the dotting instruction;
and converting the intermediate data into the standard dotting data in a preset format.
3. The method according to claim 2, wherein the determining a target field in the audio-video file according to the file format of the audio-video file comprises:
acquiring a file format of the audio and video file;
matching the file format of the audio/video file with a preset file format in a preset file format library;
and if the file format of the audio and video file is matched with the preset file format, determining a preset field corresponding to the preset file format as the target field.
4. The method according to any one of claims 1 to 3, wherein the audio-video file comprises a file header, a file body and a file trailer, and the target field is a second field located between the file header and the file body, or a third field located between the file body and the file trailer.
5. The method of claim 1, further comprising:
when the audio/video file is played, extracting the standard dotting data;
and displaying the information of the dotting time in a playing interface according to the standard dotting data.
6. The method according to claim 5, wherein the standard dotting data comprises a data start marker, a data body and a data end marker, the data body comprises at least one dotted time, a dotting text is recorded in the annotation of each dotted time, and the dotting text is a text marker of the corresponding dotted time.
7. An apparatus for dotting an audio-video file, the apparatus comprising:
the data acquisition module is used for acquiring standard dotting data, the standard dotting data are used for indicating the dotting time on the playing time axis of the audio and video file, the audio and video file comprises an audio file and/or a video file, the playing time axis is the time axis with the starting time being zero and the playing time length being the playing time length of the audio and video file, and the audio and video file comprises a file head, a file body and a file tail;
the field determining module is used for determining a target field in the audio and video file according to the file format of the audio and video file, wherein the target field is a specified frame positioned in the file header, the file body and/or the file tail;
and the data writing module is used for writing the standard dotting data in the target field.
8. A terminal, characterized in that it comprises a processor and a memory, in which at least one instruction is stored, said instruction being loaded and executed by said processor to implement the method of dotting an audio-video file according to any one of claims 1 to 6.
9. A computer readable storage medium having stored thereon at least one instruction which is loaded and executed by a processor to implement a method of dotting an audio-visual file as claimed in any one of claims 1 to 6.
CN201810698540.XA 2018-06-29 2018-06-29 Method, device, terminal and storage medium for dotting audio and video files Expired - Fee Related CN108831510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810698540.XA CN108831510B (en) 2018-06-29 2018-06-29 Method, device, terminal and storage medium for dotting audio and video files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810698540.XA CN108831510B (en) 2018-06-29 2018-06-29 Method, device, terminal and storage medium for dotting audio and video files

Publications (2)

Publication Number Publication Date
CN108831510A CN108831510A (en) 2018-11-16
CN108831510B true CN108831510B (en) 2020-08-04

Family

ID=64134074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810698540.XA Expired - Fee Related CN108831510B (en) 2018-06-29 2018-06-29 Method, device, terminal and storage medium for dotting audio and video files

Country Status (1)

Country Link
CN (1) CN108831510B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111326182B (en) * 2018-12-14 2021-06-18 比亚迪股份有限公司 Aging test method and device for vehicle-mounted multimedia equipment
CN111429871A (en) * 2020-03-20 2020-07-17 腾讯音乐娱乐科技(深圳)有限公司 Media file acquisition method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240741A (en) * 2013-06-07 2014-12-24 杭州海康威视数字技术股份有限公司 Method for performing video dotting and searching in video recording, and video recording equipment thereof
CN104270676A (en) * 2014-09-28 2015-01-07 联想(北京)有限公司 Information processing method and electronic equipment
CN104581351A (en) * 2015-01-28 2015-04-29 上海与德通讯技术有限公司 Audio/video recording method, audio/video playing method and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011075740A2 (en) * 2009-12-18 2011-06-23 Blipsnips, Inc. Method and system for associating an object to a moment in time in a digital video
CN104735552A (en) * 2013-12-23 2015-06-24 北京中传数广技术有限公司 Live video label inserting method and system
CN104053066B (en) * 2014-06-13 2017-08-08 无锡天脉聚源传媒科技有限公司 The method and device that a kind of video is got ready
US9905271B2 (en) * 2015-06-15 2018-02-27 Sling Media Pvt Ltd Real-time positioning of current-playing-position marker on progress bar and index file generation for real-time content
CN106571137A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Terminal voice dotting control device and method
CN107911735A (en) * 2017-11-13 2018-04-13 维沃移动通信有限公司 A kind of audio and video playing processing method, device and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240741A (en) * 2013-06-07 2014-12-24 杭州海康威视数字技术股份有限公司 Method for performing video dotting and searching in video recording, and video recording equipment thereof
CN104270676A (en) * 2014-09-28 2015-01-07 联想(北京)有限公司 Information processing method and electronic equipment
CN104581351A (en) * 2015-01-28 2015-04-29 上海与德通讯技术有限公司 Audio/video recording method, audio/video playing method and electronic device

Also Published As

Publication number Publication date
CN108831510A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
TWI246853B (en) Storage medium storing text-based subtitle data including style information, and apparatus and method of playing back the storage medium
US10014029B2 (en) Video processing apparatus and method
CN1993755B (en) Storage medium including metadata and reproduction apparatus and method therefor
US8503862B2 (en) Systems and methods for identifying scenes in a video to be edited and for performing playback
EP2083363A1 (en) Content display apparatus for displaying media according to media categories
TW200821862A (en) RSS content administration for rendering RSS content on a digital audio player
CN108831510B (en) Method, device, terminal and storage medium for dotting audio and video files
US20170180445A1 (en) Advertisement data acquisition method and electronic equipment
CN112866776B (en) Video generation method and device
KR101567449B1 (en) E-Book Apparatus Capable of Playing Animation on the Basis of Voice Recognition and Method thereof
CN104349173A (en) Video repeating method and device
TW200509089A (en) Information storage medium storing scenario, apparatus and method of recording the scenario on the information storage medium, apparatus for reproducing data from the information storage medium, and method of searching for the scenario
CN111913641A (en) Method and system for realizing picture phonetization
CN104768083B (en) A kind of video broadcasting method and device of chapters and sections content displaying
JP2007506387A5 (en)
EP3547698A1 (en) Method and device for determining inter-cut time bucket in audio/video
JP5910222B2 (en) Information processing apparatus and information processing program
CN101650963B (en) Method of searching for a meta data
KR101477492B1 (en) Apparatus for editing and playing video contents and the method thereof
JP2022541698A (en) Video material creation method and device, electronic device, computer-readable storage medium, and computer program
US20190034893A1 (en) Unified Content Representation
KR102523746B1 (en) Electronic apparatus that allows the insertion of audio data into the slides that make up the presentation document and the operating method thereof
JP2007506388A5 (en)
CN118317138A (en) Method for generating playback file, related device and computer program product
KR20180062005A (en) System and method selecting and managing moving image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200804

CF01 Termination of patent right due to non-payment of annual fee