Playing method of multi-track video-audio file
阅读说明:本技术 多轨道影音档的播放方法 (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
S12, when the user plays the multi-track audio/
If not, S13 does not play the
If yes, S14, play the
For example, the multi-track audio/
The setting of the playing authority can be realized by marking the index portion in the multi-track audio-
Preferably, the multi-track audio-
When the user plays the multi-track audio/
Preferably, the multi-track audio-
When the user plays the multi-track audio/
For example, the first number is 2, i.e. the
After the player is started, the user inputs the account number of the user and then inputs the multi-track audio-
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
s21, the playing right of the audio/video content on the
S22, when the user plays the multi-track audio/
S23, when the user account corresponds to the first type of account, the audio/video content on the
S24, when the user account corresponds to the second type of account, the audio/video content on the
The setting of the playing authority may be implemented by marking an index portion in the multi-track audio-
As shown in fig. 5, preferably, the multi-track
For example, the multi-track audio/
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
For example, multi-track audio/
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.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:低延时图像采集方法