Playing method of multi-track video-audio file

文档序号:1524363 发布日期:2020-02-11 浏览:22次 中文

阅读说明:本技术 多轨道影音档的播放方法 (Playing method of multi-track video-audio file ) 是由 王智民 黄柏钧 于 2019-10-15 设计创作,主要内容包括:本发明提供一种多轨道影音档的播放方法。首先,给该多轨道影音档中至少一个轨道上的影音内容播放设定第一播放权限;其次,在使用者播放该多轨道影音档时,检查该使用者的帐号是否具备该第一播放权限;若否,不播放该至少一个轨道上的影音内容;若是,正常播放该多轨道影音档。本发明的多轨道影音档的播放方法是将多轨影音数据对应的权限信息预先存于影音档,并利用使用者的账号权限播出对应的影音数据,可用在不需要网络的场合;同时,对于需要提供权限或喜好的影音档,还能够做成同样版本的音像制品出货,不需在生产制造时考虑不同地区或是电影分级的要求。(The invention provides a playing method of a multi-track video-audio file. Firstly, setting a first playing authority for playing the audio-video content on at least one track in the multi-track audio-video file; secondly, when the user plays the multi-track audio-video file, checking whether the account of the user has the first playing authority; if not, not playing the video and audio content on the at least one track; if yes, the multi-track audio-video file is played normally. The playing method of the multi-track audio-video file of the invention is characterized in that the authority information corresponding to the multi-track audio-video data is pre-stored in the audio-video file, and the corresponding audio-video data is played by using the account authority of the user, so that the playing method can be used in occasions without networks; meanwhile, for the video and audio files needing to provide the authority or the preference, the same version of video and audio products can be delivered without considering the requirements of different regions or movie grades during production and manufacturing.)

1. A playing method of multi-track audio-video files is characterized by comprising the following steps:

setting a first playing authority for playing the audio-video content on at least one track in the multi-track audio-video file;

when the user plays the multi-track audio-video file, checking whether the user's account has the first playing authority;

if not, not playing the video and audio content on the at least one track;

if yes, the multi-track audio-video file is played normally.

2. The method of claim 1, wherein the multi-track video file comprises a first number of video tracks, and a second playing right is preset for playing the content on at least one of the first number of video tracks; when the user plays the multi-track audio-video file, if the user's account does not have the second playing authority, the image content on the at least one video track is not played.

3. The method as claimed in claim 2, wherein when the user plays the multi-track audio/video file, if the user's account has the second playing permission, the image content on the at least one video track is normally played.

4. The method as claimed in claim 1, wherein the multi-track AV file comprises a second number of audio tracks, and a third playback right is preset for playing the content on at least one of the second number of audio tracks; when the user plays the multi-track audio/video file, if the user's account does not have the third playing authority, the audio content on the at least one audio track is not played.

5. The method as claimed in claim 4, wherein when the user plays the multi-track audio/video file, if the user's account has the third playing right, the audio content on the at least one audio track is normally played.

6. A playing method of multi-track audio-video file includes a first track and a second track; the method is characterized by comprising the following steps:

the playing authority of the audio and video content on the first track corresponds to a first type of use account, and the playing authority of the audio and video content on the second track corresponds to a second type of use account;

when the user plays the multi-track audio-video file, comparing the user's account number;

when the user account corresponds to the first type of account, normally playing the video content on the first track and not playing the video content on the second track;

when the user account number corresponds to the second type of account number, the audio and video content on the second track is played normally, and the audio and video content on the first track is not played.

7. The method as claimed in claim 6, wherein the multi-track audio-video file further comprises a predetermined track; when the user account does not correspond to the first type of account or the second type of account, the audio and video content on the preset track is normally played, and the audio and video content on the first track and the second track is not played.

8. The method for playing the multi-track audio-video file according to claim 6, wherein the multi-track audio-video file further comprises a third track; when the user account corresponds to the first type of account, normally playing the video and audio contents on the first track and the third track; and when the user account corresponds to the second type of use account, normally playing the video and audio contents on the second track and the third track.

9. The method as claimed in claim 8, wherein when the user's account does not correspond to the first type of account or the second type of account, the video/audio file on the third track is played normally.

10. The method for playing multi-track video/audio file according to claim 6, wherein the first track comprises a video track and/or an audio track; the second track includes a video track and/or an audio track.

Technical Field

The invention relates to the field of audio and video playing, in particular to a playing method of a multi-track audio and video file.

Background

At present, when playing video and audio files, the video is a fixed one, the audio can be set to multiple languages, and the user can select the setting by himself. However, when the audio-video files have different identities or different playing content levels, for example, for violent, naked, dirty speech and other episode contents, any adjustment cannot be made to avoid the limitation.

In addition, video files such as common movies are generally divided into two parts, namely video (video) and audio (audio), and the two parts are processed by professional software, so that the video can be seen on a video track, the audio can be seen on an audio track, and the tracks can be separately operated and edited. The audio/video file also typically includes an index (index) section to specify which video tracks and audio tracks are provided in the multi-tracks of the audio/video file. After the edited video file is released in the market, the tracks can be played synchronously when the user plays, and the user can not make any adjustment.

Disclosure of Invention

In view of the above technical problems, the present invention provides a method for playing a multi-track audio/video file, which can determine the playing content according to the user's rights.

The invention discloses a playing method of a multi-track video-audio file, which comprises the following steps: setting a first playing authority for playing the audio-video content on at least one track in the multi-track audio-video file; when the user plays the multi-track audio-video file, checking whether the user's account has the first playing authority; if not, not playing the video and audio content on the at least one track; if yes, the multi-track audio-video file is played normally.

Preferably, the multi-track video file comprises a first number of video tracks, and a second play permission is preset for the content play on at least one video track in the first number of video tracks; when the user plays the multi-track audio-video file, if the user's account does not have the second playing authority, the image content on the at least one video track is not played. Furthermore, when the user plays the multi-track audio/video file, if the user's account has the second playing permission, the image content on the at least one video track is normally played.

Preferably, the multi-track audio-video file comprises a second number of audio tracks, and a third playing permission is preset for the content playing on at least one audio track in the second number of audio tracks; when the user plays the multi-track audio/video file, if the user's account does not have the third playing authority, the audio content on the at least one audio track is not played. Furthermore, when the user plays the multi-track audio/video file, if the user's account has the third playing permission, the audio content on the at least one audio track is normally played.

The invention also provides a playing method of the multi-track audio-video file, wherein the multi-track audio-video file comprises a first track and a second track; the playing method comprises the following steps: the playing authority of the audio and video content on the first track corresponds to a first type of use account, and the playing authority of the audio and video content on the second track corresponds to a second type of use account; when the user plays the multi-track audio-video file, comparing the user's account number; when the user account corresponds to the first type of account, normally playing the video content on the first track and not playing the video content on the second track; when the user account number corresponds to the second type of account number, the audio and video content on the second track is played normally, and the audio and video content on the first track is not played.

Preferably, the multi-track audio-video file further comprises a preset track; when the user account does not correspond to the first type of account or the second type of account, the audio and video content on the preset track is normally played, and the audio and video content on the first track and the second track is not played.

Preferably, the multi-track audio-video file further comprises a third track; when the user account corresponds to the first type of account, normally playing the video and audio contents on the first track and the third track; and when the user account corresponds to the second type of use account, normally playing the video and audio contents on the second track and the third track.

Preferably, when the user's account does not correspond to the first type of usage account or the second type of usage account, the video content on the third track is played normally.

Preferably, the first track comprises a video track and/or an audio track; the second track includes a video track and/or an audio track.

Compared with the prior art, the playing method of the multi-track audio-video file pre-stores the authority information corresponding to the multi-track audio-video data in the audio-video file, plays the corresponding audio-video data by using the account authority of the user, and can be used in occasions without networks, such as audio-video players, disc players and the like. For the video and audio files needing to provide the authority or the preference, the same version of video and audio products can be shipped without considering the requirements of different regions or movie grades during production and manufacture.

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

Drawings

Fig. 1 is a flowchart illustrating a method for playing a multi-track audio/video file according to an embodiment of the present invention.

FIG. 2 is a flowchart illustrating a method for playing a multi-track audio/video file according to another embodiment of the present invention.

Fig. 3 is a schematic diagram of a multi-track audio/video file during normal play according to an embodiment of the invention.

FIG. 4 is a diagram illustrating a multi-track AV file in a limited play mode according to an embodiment of the present invention.

FIG. 5 is a schematic track diagram of a multi-track AV file according to an embodiment of the present invention.

FIG. 6 is a schematic track diagram of a multi-track AV file according to another embodiment of the present invention.

Detailed Description

In order to further understand the objects, structures, features and functions of the present invention, the following embodiments are described in detail.

Referring to fig. 1, fig. 3 and fig. 4 in combination, fig. 1 is a flowchart of a playing method of a multi-track audio-video file according to an embodiment of the present invention, fig. 3 is a schematic diagram of a multi-track audio-video file during normal playing according to an embodiment of the present invention, and fig. 4 is a schematic diagram of a multi-track audio-video file during play restriction according to an embodiment of the present invention. The playing method of the multi-track audio-video file of the embodiment of the invention comprises the following steps:

s11, setting a first playing right for the video content 11 on at least one track in the multi-track video-audio file 1. Preferably, the at least one track is a video track, an audio track, or a combination of both.

S12, when the user plays the multi-track audio/video file 1, it is checked whether the user' S account has the first playing authority.

If not, S13 does not play the av content 11 on the at least one track, as shown in fig. 4.

If yes, S14, play the multi-track AV file 1 normally, as shown in FIG. 3. Normal play at this time means that the multi-track audio and video file 1 can be played completely.

For example, the multi-track audio/video file 1 provides 2 video tracks and 2 audio tracks, the 2 video tracks being defined as a first video track V1 and a second video track V2, respectively, and the 2 audio tracks being defined as a first audio track a1 and a second audio track a2, respectively. The content on the first video track V1 contains violent episodes, for example, and the content on the first audio track a1 contains dirty words, for example, and when set, the playback of the content on the first video track V1 and the first audio track a1 can be set to a first playback right. In the above embodiment, when the user's account does not have the first playing right, the av content on the second video track V2 and the second audio track a2 is played, and the av content on the first video track V1 and the first audio track a2 is not played. When the user's account has the first playing right, the multi-track video-audio file 1 is completely played, for example, a first video track V1, a second video track V2, a first audio track a1 and a second audio track a2 are simultaneously played; or if the multi-track audio/video file 1 can be played by simultaneously playing the first video track V1 and the first audio track a2, the first video track V1 and the first audio track a2 can be played simultaneously.

The setting of the playing authority can be realized by marking the index portion in the multi-track audio-video file 1, for example, the account information of the user is associated with the index information corresponding to at least one track, but the invention is not limited thereto.

Preferably, the multi-track audio-video file 1 comprises a first number of video tracks, and a second playing right is preset for the content playing on at least one video track in the first number of video tracks. When the user plays the multi-track audio/video file 1, if the user's account does not have the second playing right, the image content on the at least one video track is not played.

When the user plays the multi-track audio/video file 1, if the user's account has the second playing authority, the image content on the at least one video track is normally played. The normal playing means that the video content on the at least one video track can be played, and the playing of the video content on other tracks in the multi-track video-audio file 1 is not excluded.

Preferably, the multi-track audio-video file 1 comprises a second number of audio tracks, and a third playing right is preset for the content playing on at least one audio track in the second number of audio tracks; when the user plays the multi-track audio/video file 1, if the user's account does not have the third playing right, the audio content on the at least one audio track is not played.

When the user plays the multi-track audio/video file 1, if the user's account has the third playing authority, the sound content on the at least one audio track is normally played. The normal playing means that the audio content on the at least one audio track can be played, and the playing of the audio and video content on other tracks in the multi-track audio and video file 1 is not excluded.

For example, the first number is 2, i.e. the multi-track audio file 1 comprises 2 video tracks (the first video track V1 and the second video track V2), the content on the first video track V1 contains violent episodes, for example, and when setting, the playing of the content on the first video track V1 can be set to the second playing right. The second number is 2, that is, the multi-track audio/video file 1 includes 2 audio tracks (the first audio track a1 and the second audio track a2), and the content on the first audio track a1 contains, for example, a dirty word, and when set, the content on the first audio track a1 can be set to have a third playback right.

After the player is started, the user inputs the account number of the user and then inputs the multi-track audio-video file 1 to be played. Whether the account number of the user has the second playing authority is judged, if yes, the content on the first video track V1 is determined to be played, whether the account number of the user has the third playing authority is judged, and if not, the content on the second video track V2 is determined to be played, and whether the account number of the user has the third playing authority is judged. If the third playing right is provided, determining to play the content on the first audio track a 1; if not, then it is determined to play the content on the second audio track A2. That is, it is determined whether the account of the user has the second playing right to determine which video track to play the content, and then it is determined whether the account of the user has the third playing right to determine which audio track to play the content. In actual operation, the judgment sequence of the second playing authority and the third playing authority can be exchanged.

The playing method of the invention sets account numbers with different playing authorities aiming at the image data and the sound data of each track; receiving an account number of a user when the user performs playing operation; and playing the image data and/or the sound data with corresponding authority according to the account number of the user and the authority setting of the account number.

Referring to fig. 2 and fig. 5 in combination, fig. 2 is a flowchart of a playing method of a multi-track audio-video file according to another embodiment of the present invention, and fig. 5 is a track schematic diagram of a multi-track audio-video file according to an embodiment of the present invention. The multi-track audiovisual file 2 comprises a first track 21 and a second track 22. In embodiments of the present invention, the first track 21 comprises a video track and/or an audio track and the second track 22 comprises a video track and/or an audio track. The playing method of the multi-track audio-video file of the embodiment comprises the following steps:

s21, the playing right of the audio/video content on the first track 21 is corresponding to the first type of usage account, and the playing right of the audio/video content on the second track 22 is corresponding to the second type of usage account.

S22, when the user plays the multi-track audio/video file 2, the user' S account is compared.

S23, when the user account corresponds to the first type of account, the audio/video content on the first track 21 is played normally and the audio/video content on the second track 22 is not played.

S24, when the user account corresponds to the second type of account, the audio/video content on the second track 22 is played normally and the audio/video content on the first track 21 is not played.

The setting of the playing authority may be implemented by marking an index portion in the multi-track audio-video file 2, for example, the authority association is established between the account information of the first type of usage account and the second type of usage account and the index information corresponding to each track, but the invention is not limited thereto.

As shown in fig. 5, preferably, the multi-track audiovisual file 2 further comprises a preset track 20; when the user's account does not correspond to the first type of account or the second type of account, the audio/video content on the predetermined track 20 can be played normally, and the audio/video content on the first track 21 and the second track 22 is not played. The preset track 20 may be a video track, an audio track, or a combination thereof.

For example, the multi-track audio/video profile 1 provides 3 video tracks (a first video track, a second video track, and a third video track) on which content, for example, contains violent episodes, and 3 audio tracks (a first audio track, a second audio track, and a third audio track) on which content, for example, contains dirty words. The first track 21 includes a first video track and a first audio track, the second track 22 includes a second video track and a second audio track, and the preset track 20 includes a third video track and a third audio track. The playing authority of the audio and video content on the first track 21 corresponds to the first type of use account, and the playing authority of the audio and video content on the second track 22 corresponds to the second type of use account.

When the account number of the user corresponds to the first type of use account number, normally playing the contents on the first video track and the first audio track, and not playing the contents on the second video track and the second audio track; when the account number of the user corresponds to the second type of use account number, normally playing the contents on the second video track and the second audio track, and not playing the contents on the first video track and the first audio track; and when the account number of the user does not correspond to the first-type use account number or the second-type use account number, normally playing the contents on the third video track and the third audio track, and not playing the contents on the first video track, the second video track, the first audio track and the second audio track.

Referring to fig. 6, fig. 6 is a schematic track diagram of a multi-track audio-video file according to another embodiment of the present invention. Preferably, the multi-track audiovisual file 2 further comprises a third track 23; when the user account corresponds to the first type of account, normally playing the video content on the first track 21 and the third track 23; when the user's account number corresponds to the second type of account number, the audio/video content on the second track 22 and the third track 23 is played normally. When the user's account does not correspond to the first type of account or the second type of account, the audio/video content on the third track 23 can be played normally. The third track may be a video track, an audio track, or a combination of both.

For example, multi-track audio/video file 1 provides 3 video tracks (a first video track, a second video track, and a third video track) and 3 audio tracks (a first audio track, a second audio track, and a third audio track), the first track including the first video track and the first audio track, the second track 22 including the second video track and the second audio track, and the third track 23 including the third video track and the third audio track.

When the account number of the user corresponds to the first type of use account number, playing the contents on the first video track, the first audio track, the third video track and the third audio track; when the account number of the user corresponds to the second type of use account number, playing the contents on the second video track, the second audio track, the third video track and the third audio track; and when the account number of the user does not correspond to the first type of use account number or the second type of use account number, playing the contents on the third video track and the third audio track.

The application scenarios of the present invention are exemplified as follows. In some classical films, some contents which are unfavorable for children, such as nudity and language violence, occasionally exist; if the film is not cut, the film audience or the film level is limited; if relevant segments are cut out directly, the integrity of the film content is affected, and the viewing experience of common audiences is greatly affected. The playing method of the invention can determine which video tracks and the corresponding contents of the sound tracks are played through the user account, so that the user can play the audio and video contents suitable for the user from the same source, and the influence of partial improper contents on all audiences watching the audio and video file is avoided. In addition, the playing method of the invention can also utilize a plurality of video and audio tracks to play the recorded films at the same time and different angles, thereby increasing the interest of multimedia playing.

The playing method of the multi-track video and audio file of the invention is to pre-store the authority information corresponding to the multi-track video and audio data in the video and audio file, and play the corresponding video and audio data by using the account authority of the user, and can be used in occasions without network, such as video and audio players, disk players and the like. For the video and audio files needing to provide the authority or the preference, the same version of video and audio products can be shipped without considering the requirements of different regions or movie grades during production and manufacture.

The present invention has been described in relation to the above embodiments, which are only exemplary of the implementation of the present invention. Furthermore, the technical features mentioned in the different embodiments of the present invention described above may be combined with each other as long as they do not conflict with each other. It should be noted that the disclosed embodiments do not limit the scope of the invention. Rather, it is intended that all such modifications and variations be included within the spirit and scope of this invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:低延时图像采集方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类