CN106331824A - Method of playing streaming media video file with variable rate - Google Patents

Method of playing streaming media video file with variable rate Download PDF

Info

Publication number
CN106331824A
CN106331824A CN201610813242.1A CN201610813242A CN106331824A CN 106331824 A CN106331824 A CN 106331824A CN 201610813242 A CN201610813242 A CN 201610813242A CN 106331824 A CN106331824 A CN 106331824A
Authority
CN
China
Prior art keywords
video file
streaming media
media video
label
speed
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.)
Granted
Application number
CN201610813242.1A
Other languages
Chinese (zh)
Other versions
CN106331824B (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.)
Hangzhou Arcvideo Technology Co ltd
Original Assignee
Hangzhou Arcvideo 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 Hangzhou Arcvideo Technology Co ltd filed Critical Hangzhou Arcvideo Technology Co ltd
Priority to CN201610813242.1A priority Critical patent/CN106331824B/en
Publication of CN106331824A publication Critical patent/CN106331824A/en
Application granted granted Critical
Publication of CN106331824B publication Critical patent/CN106331824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/85406Content authoring involving a specific file format, e.g. MP4 format

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method of playing a streaming media video file with a variable rate, which comprises two parts of video information editing and video playing. In a manual editing method, a speed multiplication label of the video is generated in advance and the speed multiplication label is provided in a certain format; and according to the speed multiplication label information, video data in a label description range are played according to a speed multiplication value set by the label, needed fast and slow video file playing is realized, and the user still can watch the video with a normal rate. Thus, according to the method of the invention, while variable-speed playing of the video is realized, the right of selection of audience is still kept.

Description

A kind of method with variable bit rate playing stream media video file
Technical field
The present invention relates to a kind of method with variable bit rate playing stream media video file.
Background technology
For the streaming media video file of http program request class, general player does not provide F.F./slow play iso-variable velocity rate to broadcast The function put.
Even and player support, it is also desirable to user viewing during click on player corresponding button from main separation Select, some specific scenes, such as content production/publisher are wished to guide user according to oneself understanding to video content Watching, embody oneself by F.F. slow play and pay close attention to the interest of file content or significance level, existing player is not Support.
Can also be reached by early stage editing, the artificial method changing video content, and this method although having at present The similar effect stated, but from another point of view, spectators lose right to choose.
Summary of the invention
It is an object of the invention to overcome deficiency of the prior art to provide a kind of and regard with variable bit rate playing stream media The method of frequency file.
For achieving the above object, on the one hand, it is a kind of with variable bit rate playing stream media video file that the present invention provides Method, including video information editor and two parts of video playback,
Video information edit segment comprises the steps:
Required streaming media video file is added self-defined speed label;
Video playback part comprises the steps:
Resolve self-defined speed label information, construct speed value, time started stamp, ending time stamp ternary one group List structure;
Content according to three metamessage playing stream media video files in list structure.
Preferably, in the step of video playback part, before resolving self-defined speed label information, streaming media is needed to regard Frequency file is analyzed judging, comprises the steps:
Judge whether current streaming media video file selects to open director's editing pattern;
When selecting to open director's editing pattern, initialize a resolver example, current streaming media video file is made pre- Process, it is judged that whether streaming media video file exists self-defined speed label;
When streaming media video file exists self-defined speed label, resolve self-defined speed label information.
Preferably, self-defined speed label include playing play start time stamp corresponding to speed value, current speed value and The information such as the broadcasting ending time stamp that current speed value is corresponding.
Preferably, in the step according to the content of three metamessage playing stream media video files in list structure, also wrap Include and judge step as follows:
When the speed value in three metamessages is equal to 1, then regarding according to normal speed forward streaming media video file present segment Frequently content, until ending time stamp or video file terminate;
When the speed value in three metamessages is more than or less than 1, then according to specifying speed value playing stream media video file to work as The video content of leading portion, until ending time stamp or video file terminate.
Preferably, required streaming media video file is added in the step of self-defined speed label, self-defined speed mark The generating mode signed is,
Content synchronization according to self-defined speed labeling requirement generates the independent label information file that obtains, or,
Content according to self-defined speed labeling requirement writes streaming media video file internal with custom field,
One in two kinds of generating modes.
A kind of method with variable bit rate playing stream media video file provided according to the present invention, by artificial editing Method previously generates the speed label of video and provides with certain form, then according to speed label information, label is described model Enclose the speed value broadcasting that interior video data sets according to label, it is achieved the on-demand F.F. slow play of video file, user depends on simultaneously So can select to watch this video with normal speed, therefore this method also retains sight while realizing the broadcasting of video variable-ratio Many rights to choose.
Detailed description of the invention
Embodiments of the invention are described below in detail.
One embodiment of the invention provides a kind of method with variable bit rate playing stream media video file, believes including video Breath editor and two parts of video playback.
Specifically, video information edit segment is mainly and adds the label letter that speed is relevant in streaming media video file Breath, comprises the steps:
Step 1.1, label information require:
Take an overall view of streaming media video file, according to point of interest or significance level, corresponding document is got ready, add self-defined Speed label, can be any user-defined format, comprises following key message:
Play speed value;
The play start time stamp that current speed value is corresponding;
The broadcasting ending time stamp that current speed value is corresponding.
Step 1.2, two kinds of presentation modes of label information:
The first, generate extra label information file with streaming media video file synchronization, comprise and meet step 1.1 requirement All label substances, file format does not limits;Or
The second, label information writes streaming media video file internal as custom field, for the stream of different-format Media video file, customized label should meet the specification of this video file itself, and such as MP4 file is that box, FLV file is Tag etc., define according to the container of file format self, and presentation mode is had nothing in common with each other.
Specifically, the handling process of video playback part comprises the steps:
Step 2.1, judge user for current streaming media video file whether have selected unlatching director editing pattern, as with Family does not select, then ignore speed label and describe, and plays files in stream media to be broadcast by normal logic of playing, otherwise jumps Forward step 2.2 to process.
Step 2.2, the resolver example of one streaming media video file to be broadcast of initialization, resolver is to currently treating Broadcast file and make pretreatment, it is judged that whether file exists self-defined speed label, work as if it did not, play by normal broadcasting logic Before files in stream media to be broadcast, otherwise jump to step 2.3 and process.
Step 2.3, the speed label information that parsing media file is corresponding, construct a speed value, time started stamp, terminate It is stand-by that the list structure that timestamp ternary is a group is supplied to player.Player Scan Architecture list, according to the ternary in list Group information judges, playing video file content:
Wherein, player currently playing timestamp speed value in the ternary structural of speed list is 1, then player According to the video content of normal speed forward present segment, until the timestamp terminated in speed ternary structural or video file knot Bundle;
Wherein, player currently playing timestamp speed value in the ternary structural of speed list more than 1, is then play Device is according to specifying speed value quickly to play the video content of present segment, until the timestamp terminated in speed ternary structural or regard Frequency file terminates;
Wherein, player currently playing timestamp speed value in the ternary structural of speed list less than 1, is then play Device according to specify speed value slow play present segment video content, until speed ternary structural in terminate timestamp or regard Frequency file terminates.
Especially, it should be noted that, when user closes director's editing pattern in playing process, after player should be ignored The process of continuous speed label, by normal speed forward remaining video file content part, unless at ensuing normal mode In the process play, user opens the play mode of director's editing again.
The another aspect needing explanation especially is that the F.F. of streaming media video file is to bandwidth and the handling capacity of server Requiring the highest, if scarce capacity, the most single video stream data cannot be play according to the high speed value specified, therefore for regarding In Pin, some fragment defines the feelings that high speed (more than such as 10 speeds) is play or currently playing device for flow amount is sensitive Condition, can additionally construct one and meet special streaming media video file claimed below:
Video file is all made up of key frame video data;
The timestamp of each key frame video data, frame data length information is comprised inside video file;
Frame video data extracts from original video stream former state, i.e. timestamp, frame data content to keep and original video stream In completely the same,
So, when player runs into the video-frequency band content needing quickly to play, so that it may select this key frame data to constitute Special video file, the key frame data jumping to the stamp of speed ternary label construction time started in video file corresponding is entered Row is play, until being played in speed ternary label construction the timestamp terminated, further according to next ternary label construction, selects Speed information described in this structure, continues quickly to play current special video file with different speed values, or switchback is original Video file play.
In addition, it is also noted that two streams are when mutually switch, it is ensured that timestamp continuous, if after Qie Huan Timestamp, less than the timestamp being played to before switching, easily causes player card and pauses, and contrary video pictures can be discontinuous, occurs jumping Jump sense.
A kind of method with variable bit rate playing stream media video file provided according to the present invention, by artificial editing Method previously generates the speed label of video and provides with certain form, then according to speed label information, label is described model Enclose the speed value broadcasting that interior video data sets according to label, it is achieved the on-demand F.F. slow play of video file, user depends on simultaneously So can select to watch this video with normal speed, therefore this method also retains sight while realizing the broadcasting of video variable-ratio Many rights to choose.
The present invention be applicable to various live class include or play, athletic competition, streaming media video that movie and television play etc. is relevant File, marks according to the important or excellent degree of content and plays speed label, it is achieved corresponding F.F. and slow play.
The present invention describes the streaming media video file related to, unrestricted to file format, can be applicable to MP4, FLV, HLS etc. Common File Format and stream media protocol.
Although above it has been shown and described that the concrete implementation section of the part of the present invention, it is to be understood that above-mentioned Concrete citing real-time partial is exemplary, it is impossible to be interpreted as that limitation of the present invention, those of ordinary skill in the art exist Without departing from above-described embodiment being changed within the scope of the invention in the case of the principle of the present invention and objective, repair Change, replace and modification.

Claims (5)

1. one kind with the method for variable bit rate playing stream media video file, it is characterised in that includes video information editor and regards Frequency plays two parts,
Described video information edit segment comprises the steps:
Required streaming media video file is added self-defined speed label;
Described video playback part comprises the steps:
Resolve described self-defined speed label information, construct speed value, time started stamp, ending time stamp ternary one group List structure;
The content of described streaming media video file is play according to described three metamessages in described list structure.
A kind of method with variable bit rate playing stream media video file the most according to claim 1, it is characterised in that institute State in the step of video playback part, before resolving described self-defined speed label information, need to be to described streaming media video literary composition Part is analyzed judging, comprises the steps:
Judge whether presently described streaming media video file selects to open director's editing pattern;
When selecting to open director's editing pattern, initialize a resolver example, presently described streaming media video file is made pre- Process, it is judged that whether described streaming media video file exists described self-defined speed label;
When described streaming media video file exists described self-defined speed label, resolve described self-defined speed label information.
A kind of method with variable bit rate playing stream media video file the most according to claim 1, it is characterised in that institute State self-defined speed label and include that the play start time stamp playing speed value, current speed value corresponding is corresponding with current speed value The information such as broadcasting ending time stamp.
A kind of method with variable bit rate playing stream media video file the most according to claim 1, it is characterised in that root In step according to the content of the three metamessages described streaming media video files of broadcasting in described list structure, also include judging as follows Step:
When the described speed value in described three metamessages is equal to 1, then work as according to streaming media video file described in normal speed forward The video content of leading portion, until described ending time stamp or video file terminate;
When the described speed value in described three metamessages is more than or less than 1, then according to specifying the speed value described Streaming Media of broadcasting to regard The video content of frequency file present segment, until ending time stamp or video file terminate.
A kind of method with variable bit rate playing stream media video file the most according to claim 1, it is characterised in that institute State in the step that required streaming media video file is added self-defined speed label, the generation side of described self-defined speed label Formula is,
Content synchronization according to described self-defined speed labeling requirement generates the independent label information file that obtains, or,
Content according to described self-defined speed labeling requirement writes streaming media video file internal with custom field,
One in two kinds of generating modes.
CN201610813242.1A 2016-08-31 2016-08-31 Method for playing streaming media video file at variable rate Active CN106331824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610813242.1A CN106331824B (en) 2016-08-31 2016-08-31 Method for playing streaming media video file at variable rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610813242.1A CN106331824B (en) 2016-08-31 2016-08-31 Method for playing streaming media video file at variable rate

Publications (2)

Publication Number Publication Date
CN106331824A true CN106331824A (en) 2017-01-11
CN106331824B CN106331824B (en) 2020-02-14

Family

ID=57786950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610813242.1A Active CN106331824B (en) 2016-08-31 2016-08-31 Method for playing streaming media video file at variable rate

Country Status (1)

Country Link
CN (1) CN106331824B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109565565A (en) * 2017-05-30 2019-04-02 索尼株式会社 Information processing unit, information processing method and message handling program
CN113329238A (en) * 2021-08-03 2021-08-31 武汉中科通达高新技术股份有限公司 Video file management method and device and server
CN113382287A (en) * 2020-03-09 2021-09-10 阿里巴巴集团控股有限公司 Media file playing method, device and system
CN113473167A (en) * 2021-06-30 2021-10-01 烽火通信科技股份有限公司 Real-time audio and video playing and controlling method, system and equipment and readable storage medium
CN113676771A (en) * 2021-08-03 2021-11-19 维沃移动通信(杭州)有限公司 Video generation method, device, equipment and storage medium
CN114339446A (en) * 2021-12-28 2022-04-12 北京百度网讯科技有限公司 Audio and video editing method, device, equipment, storage medium and program product
CN115914747A (en) * 2022-09-30 2023-04-04 广州维梦科技有限公司 Method and system for adjusting playing speed of multimedia clip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027909A (en) * 2004-09-23 2007-08-29 汤姆森许可公司 Inserting metadata for trick play in video transport stream
US20100077435A1 (en) * 2008-09-24 2010-03-25 Concert Technology System and method for smart trick mode display
CN102143384A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method, device and system for generating media file
CN103222261A (en) * 2010-09-17 2013-07-24 汤姆逊许可公司 Method for semantics based trick mode play in video system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027909A (en) * 2004-09-23 2007-08-29 汤姆森许可公司 Inserting metadata for trick play in video transport stream
US20100077435A1 (en) * 2008-09-24 2010-03-25 Concert Technology System and method for smart trick mode display
CN103222261A (en) * 2010-09-17 2013-07-24 汤姆逊许可公司 Method for semantics based trick mode play in video system
CN102143384A (en) * 2010-12-31 2011-08-03 华为技术有限公司 Method, device and system for generating media file

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109565565A (en) * 2017-05-30 2019-04-02 索尼株式会社 Information processing unit, information processing method and message handling program
CN109565565B (en) * 2017-05-30 2022-06-07 索尼株式会社 Information processing apparatus, information processing method, and non-transitory computer readable medium
US11694725B2 (en) 2017-05-30 2023-07-04 Sony Group Corporation Information processing apparatus and information processing method
CN113382287A (en) * 2020-03-09 2021-09-10 阿里巴巴集团控股有限公司 Media file playing method, device and system
CN113473167A (en) * 2021-06-30 2021-10-01 烽火通信科技股份有限公司 Real-time audio and video playing and controlling method, system and equipment and readable storage medium
CN113329238A (en) * 2021-08-03 2021-08-31 武汉中科通达高新技术股份有限公司 Video file management method and device and server
CN113676771A (en) * 2021-08-03 2021-11-19 维沃移动通信(杭州)有限公司 Video generation method, device, equipment and storage medium
CN114339446A (en) * 2021-12-28 2022-04-12 北京百度网讯科技有限公司 Audio and video editing method, device, equipment, storage medium and program product
CN114339446B (en) * 2021-12-28 2024-04-05 北京百度网讯科技有限公司 Audio/video editing method, device, equipment, storage medium and program product
CN115914747A (en) * 2022-09-30 2023-04-04 广州维梦科技有限公司 Method and system for adjusting playing speed of multimedia clip

Also Published As

Publication number Publication date
CN106331824B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN106331824A (en) Method of playing streaming media video file with variable rate
US11564014B2 (en) Content structure aware multimedia streaming service for movies, TV shows and multimedia contents
US8521009B2 (en) Systems and methods to modify playout or playback
US10045080B2 (en) Systems and methods for managing media content based on segment-based assignment of content ratings
KR101786050B1 (en) Method and apparatus for transmitting and receiving of data
US8452801B2 (en) Encoding method and apparatus and decoding method and apparatus
US9430115B1 (en) Storyline presentation of content
CA2773924C (en) Methods and systems for network based video clip generation and management
JP5737728B2 (en) How to play and output content during trick mode operation
US11031045B2 (en) Systems and methods for media production and editing
US10542058B2 (en) Methods and systems for network based video clip processing and management
JP6948934B2 (en) Content processing systems, terminals, and programs
Kaiser et al. Enabling distributed theatre performances through multi-camera telepresence: capturing system behaviour in a script-based approach
KR101980721B1 (en) Multimedia streaming service presentation method, related apparatus and related system
JP2015115873A (en) Electronic apparatus, scene list processing method and information recording medium
WO2014002728A1 (en) Recording device, television receiver, and recording method
Lugmayr et al. E= MC2+ 1: a fully digital, collaborative, high-definition (HD) production from scene to screen
KR20100020743A (en) Method and system for opening images jump service of streaming moving picture
Pandiyan et al. INFLUENCE OF TECHNOLOGY ON OTT SERIAL STORYTELLING: A STUDY ON THE PILOT OF SACRED GAMES
Chen et al. Storyteller-Marrying Real-Time Metadata with Live Events to Automate Production for Multi-Screen
JP2010092575A (en) Method for displaying multiple moving images on single screen using set data
Figueirado Development and Evaluation of Guidelines for Producing an Interactive Movie
US20070116307A1 (en) Method of providing alternative audio/visual experiences based on user selections
Wickes Sequencer Effects

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310000 A Block, 16th Floor, E Building, Paradise Software Park, No. 3 Xidoumen Road, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Dang Hong Polytron Technologies Inc

Address before: 310000 B2010, two floor, North (two), six and 368 Road, Binjiang District, Hangzhou, Zhejiang.

Applicant before: HANGZHOU DANGHONG TECHNOLOGY CO., LTD.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant