CN116781951A - Definition adjusting method, device and server - Google Patents

Definition adjusting method, device and server Download PDF

Info

Publication number
CN116781951A
CN116781951A CN202311072343.4A CN202311072343A CN116781951A CN 116781951 A CN116781951 A CN 116781951A CN 202311072343 A CN202311072343 A CN 202311072343A CN 116781951 A CN116781951 A CN 116781951A
Authority
CN
China
Prior art keywords
definition
video
playing
level
optimal
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
CN202311072343.4A
Other languages
Chinese (zh)
Other versions
CN116781951B (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.)
Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Original Assignee
Hunan Happly Sunshine Interactive Entertainment Media 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 Hunan Happly Sunshine Interactive Entertainment Media Co Ltd filed Critical Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Priority to CN202311072343.4A priority Critical patent/CN116781951B/en
Publication of CN116781951A publication Critical patent/CN116781951A/en
Application granted granted Critical
Publication of CN116781951B publication Critical patent/CN116781951B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application provides a definition adjusting method, a device and a server, when user equipment plays a video file, firstly, based on equipment parameters, network speed information of a network environment where playing equipment is located and video fluency data of the playing equipment, determining an optimal definition level under each definition, after a video playing request uploaded by the playing equipment is obtained, obtaining definition in the video playing request, determining a playing address based on the definition and the optimal definition level corresponding to the definition, and calling a video code stream file based on the video playing address, so as to play the video, thereby providing the playing equipment with the optimal video file under the current definition, and reducing the situation of playing jamming of the playing equipment when playing the video.

Description

Definition adjusting method, device and server
Technical Field
The application relates to the technical field of video processing, in particular to a definition adjusting method, a definition adjusting device and a server.
Background
In the existing video field, a fixed video definition code stream is generally adopted to play the video, and the playing mode cannot be correspondingly adjusted according to the capability of a user side playing device and the network environment, so that the problem of playing card and the like can occur when the user side plays the video.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, an apparatus, and a server for adjusting sharpness, so as to provide smooth playing content for users.
In order to achieve the above object, the embodiment of the present application provides the following technical solutions:
a sharpness adjustment method, comprising:
acquiring equipment parameters of the playing equipment, network speed information of a network environment where the playing equipment is located and video fluency data of the playing equipment;
determining the optimal definition level under each definition based on the equipment parameters, the network speed information and the video fluency data, wherein each definition comprises at least two definition levels, and code rates corresponding to different definition levels are different;
acquiring a video playing request uploaded by playing equipment;
acquiring definition in the video playing request;
and determining a play address based on the definition and the best definition level corresponding to the definition.
Optionally, in the above definition adjustment method, after determining the play address based on the definition and the best definition level corresponding to the definition, the method further includes:
controlling the playing equipment to play the video based on the playing address;
judging whether the optimal definition level needs to be adjusted or not based on video fluency data at the current moment;
when the optimal definition level is judged to be required to be adjusted, determining the optimal definition level under the current definition based on the equipment parameters, the network speed information at the current moment and the video fluency data, and marking the optimal definition level as an optimal definition correction level;
and re-determining the playing address based on the definition and the optimal definition correction level.
Optionally, in the above definition adjustment method, determining whether the best definition level needs to be adjusted based on video fluency data at the current moment includes:
acquiring video fluency data at the current moment;
judging whether the video fluency data at the current moment is smaller than preset fluency or not, and indicating that the optimal definition level needs to be adjusted when the video fluency data at the current moment is smaller than the preset fluency.
Optionally, in the above method for adjusting sharpness, when the video smoothness data at the current moment is not less than a preset smoothness, the method further includes:
judging whether the difference between the current network speed information and the first network speed information is larger than a preset value, wherein the first network speed information is the network speed information corresponding to the optimal definition level;
and when the difference between the current moment network speed information and the first network speed information is larger than a preset value, judging that the optimal definition level needs to be adjusted.
Optionally, in the above method for adjusting sharpness, after determining the play address based on the sharpness and the best sharpness correction level, the method further includes:
and taking the end time corresponding to the video data cached by the playing device as the starting time, and continuously acquiring the video data by the playing address corresponding to the optimal definition correction level.
Optionally, in the above method for adjusting definition, determining a play address based on the definition and an optimal definition level corresponding to the definition includes:
judging whether the definition level in the video playing request is empty or not;
when the definition level is empty, determining a play address based on the definition and an optimal definition level corresponding to the definition;
and when the definition level is not empty, determining a playing address based on the definition and the definition level in the video playing request.
Optionally, in the above method for adjusting definition, after obtaining a video playing request uploaded by a playing device, before determining a playing address based on the definition and the best definition level corresponding to the definition, the method further includes:
acquiring a code stream file list of a video to be played, and judging whether a definition level corresponding to the definition exists or not;
when there is no definition level corresponding to the definition, determining a play address based on the definition and an optimal definition level corresponding to the definition, including: and determining a play address based on the definition.
Optionally, in the above definition adjusting method, obtaining network speed information of a network environment where the playing device is located and video fluency data of the playing device includes:
acquiring the average network speed of the network environment where the playing device is located in a preset time before the current time, and taking the average network speed as the network speed information of the network environment where the playing device is located;
acquiring average video fluency data of the playing device in a preset time before the current moment, and taking the average video fluency data as the video fluency data of the playing device.
A sharpness adjustment arrangement, comprising:
the data acquisition unit is used for acquiring equipment parameters of the playing equipment, network speed information of a network environment where the playing equipment is located and video fluency data of the playing equipment;
the definition recommending unit is used for determining the optimal definition level under each definition based on the equipment parameters, the network speed information and the video fluency data, wherein each definition comprises at least two definition levels, and code rates corresponding to different definition levels are different;
the playing address determining unit is used for obtaining a video playing request uploaded by the playing equipment; acquiring definition in the video playing request; and determining a play address based on the definition and the best definition level corresponding to the definition.
A server, comprising: a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement each step of the sharpness adjustment method according to any of the above.
Based on the above technical solution, when the user equipment plays the video file, the above solution provided by the embodiment of the present application determines the best definition level under each definition based on the equipment parameter, the network speed information of the network environment where the playing equipment is located, and the video smoothness data of the playing equipment, after the video playing request uploaded by the playing equipment is obtained, obtains the definition in the video playing request, determines the playing address based on the definition and the best definition level corresponding to the definition, and invokes the video code stream file based on the video playing address, so as to play the video, thereby providing the playing equipment with the best video file under the current definition, and reducing the play jam condition of the playing equipment when playing the video.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a sharpness adjustment method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an overall flow of sharpness adjustment according to an embodiment of the present application;
FIG. 3 is a flow chart of a sharpness adjustment method according to another embodiment of the present application;
FIG. 4 is a schematic diagram of a definition adjusting apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The application relates to an Internet video playing method, which is used for improving the defects of the existing fixed definition code stream, matching the best definition code stream level according to the condition of playing equipment and further improving the user experience.
Specifically, the application discloses a sharpness adjustment method, referring to fig. 1, the method may include:
step S101: and acquiring equipment parameters of the playing equipment, network speed information of a network environment where the playing equipment is located and video fluency data of the playing equipment.
In this scheme, when a user plays a certain video file, a server side needs to obtain device parameters of the playing device, network speed information of a network environment where the playing device is located, and video fluency data of the playing device, where the device parameters refer to parameters related to a data processing speed of the playing device, for example, a processor, a CPU model, etc., the network speed information refers to a data transmission speed of a wireless network where the playing device is located, and the video fluency data may refer to a click-on ratio of the playing device when playing a video and/or a play time of a code rate of a file that is played historically.
When the network speed information is acquired, the average network speed of the network environment where the playing device is located in a preset time before the current moment can be acquired, and the average network speed is used as the network speed information of the network environment where the playing device is located; when the video fluency data is obtained, average video fluency data of the playing device in a preset time before the current moment can be obtained, and the average video fluency data is used as the video fluency data of the playing device.
Step S102: and determining the optimal definition level under each definition based on the equipment parameters, the network speed information and the video fluency data, wherein each definition comprises at least two definition levels, and code rates corresponding to different definition levels are different.
In the scheme, the server side needs to transcode the video production in advance, at this time, the media asset needs to transcode the files of each definition level under each definition according to the definition production of the video, the code rates of the files corresponding to a plurality of definition levels under the same definition resolution are different, and the larger the code rate is, the larger the file is, the higher the video quality is.
A mapping table may be pre-established, where a mapping relation between device parameters, network speed information, and video smoothness data and definition levels under each definition is stored, and when the device parameters, network speed information, and video smoothness data are determined, an optimal definition level corresponding to each definition may be determined according to the mapping table. High definition-level 1, high definition-level 2, high definition-level 3; the individual sharpness levels under blue light sharpness include: the level configuration mode of blue light-level 1, blue light-level 2 and blue light-level 3 can be used for transcoding by using a more efficient compression algorithm according to an equipment user experience model under the condition that the image quality experience of playing equipment is not reduced, and provides high-quality and smooth playing video for users.
Step S103: and acquiring a video playing request uploaded by the playing equipment.
When playing video, the server side is used for completing the deployment of detail service, string taking service, media resource service, recommendation service and CDN dispatcher service and providing online service;
when a user needs to play a certain video file, the playing device is plugged with a power supply and started up, the Internet video application is started, certain video content is selected in the playing device, a video content detail page is entered, a video detail interface of detail service is requested, the detail service receives a request of the playing device, the detail service requests media resource service to acquire video details and a definition list, and the recommendation service requests to acquire definition levels recommended by a current terminal, wherein the current terminal refers to the playing device, the recommended definition levels are the optimal definition levels under the definition corresponding to the playing device, and specifically, in actual application, the recommendation service can be matched with the type, support resolution, network speed information, video fluency data and the like according to the uplink device parameters of the playing device of the terminal device, and is matched with the level corresponding to the optimal definition of the current terminal device to be recorded as the optimal definition level; the detail service assembles a complete video detail data return terminal according to the return results of the media resource service and the recommendation service; and the playing equipment receives the returned result of the detail service and displays the video details. Meanwhile, obtaining a video play string according to a certain definition and definition level request string service returned by the detail service; the string taking service receives a string taking request of the playing device, and requests the media resource service to obtain all definition code stream file lists of the current string taking video; and judging whether the classification intelligent definition is contained or not by the string taking service according to the code stream file list returned by the media resource service, namely, whether the classification intelligent definition is contained or not under each definition, and when the classification intelligent definition is contained, detecting that the uplink parameters of the playing equipment contain video playing requests, and continuously executing the step S104.
Step S104: and acquiring the definition in the video playing request.
When a video playing request uploaded by the playing equipment is obtained, extracting definition in the video playing request, wherein the definition can be standard definition, high definition and blue light definition.
Step S105: and determining a play address based on the definition and the best definition level corresponding to the definition.
In this step, referring to fig. 2, when video needs to be played based on the definition and the best definition level corresponding to the definition, the string service request recommendation service obtains the best definition level corresponding to the definition in the play request of the current terminal. Screening the playing file (code stream file) according to the definition and the best definition level; requesting the CDN dispatcher to acquire a CDN play address according to the play file; the CDN dispatcher returns the CDN playing address of the video code stream file to the string fetching service, and the string fetching service returns the CDN playing address of the video code stream file to the playing device; and after receiving the play address returned by the string taking service, the playing device starts playing the video.
After determining the definition in the video playing request, determining the corresponding optimal definition level under the video definition according to the analysis result of step 102, and when the definition and the optimal definition level are determined, determining the playing address of the video file to be played.
According to the technical scheme disclosed by the embodiment of the application, when the user equipment plays the video file, firstly, the optimal definition level under each definition is determined based on the equipment parameters, the network speed information of the network environment where the playing equipment is located and the video fluency data of the playing equipment, after the video playing request uploaded by the playing equipment is acquired, the definition in the video playing request is acquired, the playing address is determined based on the definition and the optimal definition level corresponding to the definition, the video code stream file is called based on the video playing address, and then video playing is carried out, so that the optimal video file under the current definition is provided for the playing equipment, and the situation of playing blocking of the playing equipment when playing the video is reduced.
The working condition of the playing device and the network environment where the playing device is located are not unchanged, if the playing device has multiple applications and the network speed information is reduced, the data processing speed of the playing device is too slow, or the acquisition speed of the video file is too slow, if the playing device continues to play the video file at the current best definition level, the situation that the played video file is blocked occurs is shown, for this case, in this scheme, after determining the playing address based on the definition and the best definition level corresponding to the definition, the method further includes:
step S201: controlling the playing equipment to play the video based on the playing address;
step S202: and acquiring video fluency data at the current moment.
In this scheme, when the playing device plays the video, the video smoothness data of the playing device is obtained in real time, where the video smoothness data may refer to an average value of the video smoothness data in the current unit duration.
Step S203: judging whether the optimal definition level needs to be adjusted or not based on video fluency data at the current moment;
after the video fluency data corresponding to the current moment is obtained, whether the optimal definition level needs to be adjusted or not can be judged based on a preset judgment strategy.
For example, a preset smoothness is preset, when the video smoothness data is greater than the smoothness, it indicates that the playing video is free of jamming, otherwise, it indicates that the playing video is jammed, and the best definition level needs to be reduced, and at this time, the video smoothness data of the playing device needs to be based on the device parameters of the playing device, the network speed information of the network environment where the playing device is located, and the video smoothness data of the playing device.
Step S204: when the optimal definition level needs to be adjusted, determining the optimal definition level under the current definition based on the equipment parameters, the network speed information at the current moment and the video fluency data, and marking the optimal definition level as an optimal definition correction level;
step S205: and re-determining the playing address based on the definition and the optimal definition correction level.
In the technical solution disclosed in this embodiment, when the current network speed is higher than the corresponding network speed when determining the optimal definition level, it indicates that the playing device may rapidly implement downloading of the playing video, and at this time, the definition level may be further improved on the basis of the optimal definition, and at this time, when the previous moment video fluency data is not less than the preset fluency, the method may further include: judging whether the difference between the current network speed information and the first network speed information is larger than a preset value or not; the first network speed information is network speed information corresponding to the optimal definition level, and the preset value is a value calibrated in advance and used for representing the difference value between the two network speeds. And when the difference between the current moment network speed information and the first network speed information is larger than a preset value, judging that the optimal definition level needs to be adjusted.
In this scheme, when the difference between the current time and the first network speed information is greater than a preset value, the situation may occur that the current network speed information is greater than the first network speed information, or the current network speed information is smaller than the first network speed information, when the current network speed information is greater than the first network speed information, it is indicated that a user can watch a video picture with higher quality, at this time, it is determined that the best definition level needs to be adjusted, when the current network speed information is less than the first network speed information, at this time, since the video smoothness data is not less than the preset smoothness, it is indicated that the video can be smoothly played, at this time, the played data may be the video data cached by the playing device, if the cached data is played, a clip may appear on, at this time, it may be determined that the best definition level needs to be adjusted, and of course, it may also be determined that the best definition level needs not to be adjusted, and when the video smoothness data such as the video smoothness level is less than the preset smoothness level is displayed.
After determining the optimal definition correction level, taking the optimal definition correction level as the optimal definition level, repeatedly executing the flow, and thus, realizing the self-adaptive adjustment of the definition level of the played video.
In this embodiment, after determining the play address based on the definition and the best definition modification level, the end time corresponding to the video data buffered by the play device may be taken as the start time, where the end time is the time corresponding to the last video frame corresponding to the buffered video data, and based on the video time corresponding to the frame, the video data is continuously acquired by the play address corresponding to the best definition modification level, so as to ensure continuity of playing video.
In the technical solution disclosed in this embodiment, the video playing request may include, in addition to the definition, a definition level selected by the user under the definition, and when the definition level is not empty, the playing address is determined directly based on the definition and the definition level, and at this time, the playing address does not need to be determined based on the optimal definition level, and when the definition level in the video playing request is empty, the playing address may be determined based on the definition and the optimal definition level corresponding to the definition;
in the technical solution disclosed in this embodiment, if video playing is desired based on different definition levels, before this, a code stream file corresponding to the definition level needs to be created, in this solution, a definition level service may be configured only for some specific videos, and those videos with no definition level are not distinguished, so that the services described in the foregoing embodiments of the present application cannot be enjoyed, and therefore, in the foregoing solution, after obtaining a video playing request uploaded by a playing device, before determining a playing address based on the definition and an optimal definition level corresponding to the definition, the method may further include: acquiring a code stream file list of a video to be played, and judging whether a definition level corresponding to the definition exists in the code stream file list; when the definition level corresponding to the definition does not exist, indicating that the video is not subjected to further definition level division on the basis of the definition, and determining a play address based on the definition and the optimal definition level corresponding to the definition, wherein the method comprises the following steps: and determining a play address based on the definition. That is, referring to fig. 2, the scheme can be summarized as: requesting a string service to acquire a video playing address, then acquiring a video code stream file list corresponding to the video playing address, and judging whether the string service contains classified intelligent definition according to the code stream file list returned by the media resource service, wherein the classified intelligent definition is the definition level under each definition in the application, and if the classified intelligent definition is contained: and when the play request does not carry the definition level parameter (the definition level is null), in order to be compatible with the definition level not transmitted by the old version, the string-taking service request recommending service acquires the recommended definition level (the best definition level above) corresponding to the definition of the current terminal request string. Screening the corresponding playing files according to the definition and the best definition level; if the classification intelligent definition is not contained: and screening the corresponding playing files according to the definition. And if the definition level parameter is carried in the playing request (the definition level is not null), screening the playing file directly based on the definition and the carried definition level.
As can be seen from the above solutions, the sharpness adjustment method disclosed in the above embodiments of the present application can intelligently recommend an optimal video sharpness level according to factors such as a network condition and device performance of a playback device, so as to improve a user's viewing experience and avoid problems of video jamming and slow loading; the optimal video definition level can be intelligently recommended according to the network conditions of the user equipment, the equipment performance and other factors, so that unnecessary traffic is avoided from being wasted when a user watches video, the bandwidth consumption of a video platform is reduced, and the traffic cost is reduced; meanwhile, the scheme can be applied to a plurality of platforms, such as televisions, mobile phones and flat plates, to share the code stream file, so that the production cost and the storage space are reduced. In summary, the technical scheme can intelligently recommend, save flow and reduce content production cost, can bring better user experience and service quality, and provides support for sustainable development of a video platform.
In this embodiment, a definition adjusting apparatus is disclosed, and specific working contents of each unit in the apparatus are referred to the contents of the foregoing method embodiment.
The definition adjusting apparatus provided in the embodiments of the present application will be described below, and the definition adjusting apparatus described below and the definition adjusting method described above may be referred to correspondingly.
Referring to fig. 4, the sharpness adjustment apparatus disclosed in the embodiment of the present application may include:
the data acquisition unit A is used for acquiring equipment parameters of the playing equipment, network speed information of a network environment where the playing equipment is located and video fluency data of the playing equipment;
the definition recommendation unit B is used for determining the optimal definition level under each definition based on the equipment parameters, the network speed information and the video fluency data, wherein each definition comprises at least two definition levels, and code rates corresponding to different definition levels are different;
a play address determining unit C, configured to obtain a video play request uploaded by a playing device; acquiring definition in the video playing request; and determining a play address based on the definition and the best definition level corresponding to the definition.
Fig. 5 is a hardware structure diagram of a server according to an embodiment of the present application, and as shown in fig. 5, may include: at least one processor 100, at least one communication interface 200, at least one memory 300, and at least one communication bus 400;
in the embodiment of the present application, the number of the processor 100, the communication interface 200, the memory 300 and the communication bus 400 is at least one, and the processor 100, the communication interface 200 and the memory 300 complete the communication with each other through the communication bus 400; it will be apparent that the communication connection schematic shown in the processor 100, the communication interface 200, the memory 300 and the communication bus 400 shown in fig. 5 is only optional;
alternatively, the communication interface 200 may be an interface of a communication module, such as an interface of a GSM module;
the processor 100 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present application.
Memory 300 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
Wherein the processor 100 is specifically configured to implement the steps of the sharpness adjustment method according to any of the above.
For convenience of description, the above system is described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A sharpness adjustment method, comprising:
acquiring equipment parameters of the playing equipment, network speed information of a network environment where the playing equipment is located and video fluency data of the playing equipment;
determining the optimal definition level under each definition based on the equipment parameters, the network speed information and the video fluency data, wherein each definition comprises at least two definition levels, and code rates corresponding to different definition levels are different;
acquiring a video playing request uploaded by playing equipment;
acquiring definition in the video playing request;
and determining a play address based on the definition and the best definition level corresponding to the definition.
2. The sharpness adjustment method according to claim 1, further comprising, after determining the play address based on the sharpness and the best sharpness level corresponding to the sharpness:
controlling the playing equipment to play the video based on the playing address;
judging whether the optimal definition level needs to be adjusted or not based on video fluency data at the current moment;
when the optimal definition level is judged to be required to be adjusted, determining the optimal definition level under the current definition based on the equipment parameters, the current moment network speed information and the video fluency data, and marking the optimal definition level as an optimal definition correction level;
and re-determining the playing address based on the definition and the optimal definition correction level.
3. The sharpness adjustment method according to claim 2, wherein determining whether the adjustment of the best sharpness level is required based on the video smoothness data at the current time, comprises:
acquiring video fluency data at the current moment;
judging whether the video fluency data at the current moment is smaller than preset fluency or not, and indicating that the optimal definition level needs to be adjusted when the video fluency data at the current moment is smaller than the preset fluency.
4. The sharpness adjustment method according to claim 3, wherein when the current-time video smoothness data is not less than a preset smoothness, the method further comprises:
judging whether the difference between the current network speed information and the first network speed information is larger than a preset value, wherein the first network speed information is the network speed information corresponding to the optimal definition level;
and when the difference between the current moment network speed information and the first network speed information is larger than a preset value, judging that the optimal definition level needs to be adjusted.
5. The sharpness adjustment method according to claim 2, further comprising, after determining the play address based on the sharpness and the optimal sharpness modification level:
and taking the end time corresponding to the video data cached by the playing device as the starting time, and continuously acquiring the video data by the playing address corresponding to the optimal definition correction level.
6. The sharpness adjustment method according to any of claims 1-5, wherein determining a play address based on the sharpness and the best sharpness level corresponding to the sharpness, comprises:
judging whether the definition level in the video playing request is empty or not;
when the definition level is empty, determining a play address based on the definition and an optimal definition level corresponding to the definition;
and when the definition level is not empty, determining a playing address based on the definition and the definition level in the video playing request.
7. The method for adjusting definition according to any one of claims 1 to 5, wherein after obtaining a video playing request uploaded by a playing device, before determining a playing address based on the definition and the best definition level corresponding to the definition, the method further comprises:
acquiring a code stream file list of a video to be played, and judging whether a definition level corresponding to the definition exists or not;
when there is no definition level corresponding to the definition, determining a play address based on the definition and an optimal definition level corresponding to the definition includes: and determining a play address based on the definition.
8. The method for adjusting sharpness according to any of claims 1 to 5, wherein the step of obtaining network speed information of a network environment in which the playback device is located and video smoothness data of the playback device includes:
acquiring the average network speed of the network environment where the playing device is located in a preset time before the current time, and taking the average network speed as the network speed information of the network environment where the playing device is located;
acquiring average video fluency data of the playing device in a preset time before the current moment, and taking the average video fluency data as the video fluency data of the playing device.
9. A sharpness adjustment arrangement, comprising:
the data acquisition unit is used for acquiring equipment parameters of the playing equipment, network speed information of a network environment where the playing equipment is located and video fluency data of the playing equipment;
the definition recommending unit is used for determining the optimal definition level under each definition based on the equipment parameters, the network speed information and the video fluency data, wherein each definition comprises at least two definition levels, and code rates corresponding to different definition levels are different;
the playing address determining unit is used for obtaining a video playing request uploaded by the playing equipment; acquiring definition in the video playing request; and determining a play address based on the definition and the best definition level corresponding to the definition.
10. A server, comprising: a memory and a processor;
the memory is used for storing programs;
the processor being configured to execute the program to implement the steps of the sharpness adjustment method according to any of claims 1 to 8.
CN202311072343.4A 2023-08-24 2023-08-24 Definition adjusting method, device and server Active CN116781951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311072343.4A CN116781951B (en) 2023-08-24 2023-08-24 Definition adjusting method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311072343.4A CN116781951B (en) 2023-08-24 2023-08-24 Definition adjusting method, device and server

Publications (2)

Publication Number Publication Date
CN116781951A true CN116781951A (en) 2023-09-19
CN116781951B CN116781951B (en) 2023-12-05

Family

ID=88008510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311072343.4A Active CN116781951B (en) 2023-08-24 2023-08-24 Definition adjusting method, device and server

Country Status (1)

Country Link
CN (1) CN116781951B (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118357A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Method, device and system for processing streaming media
CN103051937A (en) * 2011-10-12 2013-04-17 腾讯科技(深圳)有限公司 Video frequency broadcast and control method as well as device
US20140082661A1 (en) * 2012-03-06 2014-03-20 Google Inc. Low latency video storyboard delivery with selectable resolution levels
US20140139735A1 (en) * 2012-04-10 2014-05-22 Huawei Technologies Co., Ltd. Online Media Data Conversion Method, Online Video Playing Method and Corresponding Device
WO2014193996A2 (en) * 2013-05-30 2014-12-04 Sonic Ip, Inc. Network video streaming with trick play based on separate trick play files
WO2015035957A1 (en) * 2013-09-16 2015-03-19 腾讯科技(深圳)有限公司 Video resource obtaining method, backend server, video client, and system
US20160191997A1 (en) * 2014-12-30 2016-06-30 Spotify Ab Method and an electronic device for browsing video content
CN105847864A (en) * 2016-05-13 2016-08-10 合网络技术(北京)有限公司 Video definition recommending method and device
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device
CN106330879A (en) * 2016-08-18 2017-01-11 乐视控股(北京)有限公司 Video playing method and video playing device
CN106856570A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of code-transferring method and device
WO2017157191A1 (en) * 2016-03-15 2017-09-21 广州市动景计算机科技有限公司 Method and apparatus for switching video definitions
US20190069006A1 (en) * 2017-08-29 2019-02-28 Western Digital Technologies, Inc. Seeking in live-transcoded videos
CN110753266A (en) * 2019-10-23 2020-02-04 深圳市酷开网络科技有限公司 Video definition adjusting method and device and storage medium
US20200099973A1 (en) * 2018-09-25 2020-03-26 Fuji Xerox Co., Ltd. Information processing system, terminal apparatus, and non-transitory computer readable medium
CN111510770A (en) * 2019-01-30 2020-08-07 上海哔哩哔哩科技有限公司 Method and device for switching definition, computer equipment and readable storage medium
US20210044639A1 (en) * 2018-01-23 2021-02-11 Theo Technologies Video streaming
CN113542795A (en) * 2020-04-21 2021-10-22 腾讯科技(深圳)有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN116193170A (en) * 2022-12-30 2023-05-30 福建野小兽健康科技有限公司 Video cartoon scheduling method, device, medium and equipment
CN116366916A (en) * 2023-02-13 2023-06-30 咪咕视讯科技有限公司 Video code rate selection method, device, equipment and storage medium

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118357A (en) * 2009-12-31 2011-07-06 华为技术有限公司 Method, device and system for processing streaming media
CN103051937A (en) * 2011-10-12 2013-04-17 腾讯科技(深圳)有限公司 Video frequency broadcast and control method as well as device
US20140082661A1 (en) * 2012-03-06 2014-03-20 Google Inc. Low latency video storyboard delivery with selectable resolution levels
US20140139735A1 (en) * 2012-04-10 2014-05-22 Huawei Technologies Co., Ltd. Online Media Data Conversion Method, Online Video Playing Method and Corresponding Device
WO2014193996A2 (en) * 2013-05-30 2014-12-04 Sonic Ip, Inc. Network video streaming with trick play based on separate trick play files
WO2015035957A1 (en) * 2013-09-16 2015-03-19 腾讯科技(深圳)有限公司 Video resource obtaining method, backend server, video client, and system
US20160191997A1 (en) * 2014-12-30 2016-06-30 Spotify Ab Method and an electronic device for browsing video content
CN106856570A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of code-transferring method and device
WO2017157191A1 (en) * 2016-03-15 2017-09-21 广州市动景计算机科技有限公司 Method and apparatus for switching video definitions
CN105847864A (en) * 2016-05-13 2016-08-10 合网络技术(北京)有限公司 Video definition recommending method and device
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device
CN106330879A (en) * 2016-08-18 2017-01-11 乐视控股(北京)有限公司 Video playing method and video playing device
US20190069006A1 (en) * 2017-08-29 2019-02-28 Western Digital Technologies, Inc. Seeking in live-transcoded videos
US20210044639A1 (en) * 2018-01-23 2021-02-11 Theo Technologies Video streaming
US20200099973A1 (en) * 2018-09-25 2020-03-26 Fuji Xerox Co., Ltd. Information processing system, terminal apparatus, and non-transitory computer readable medium
CN111510770A (en) * 2019-01-30 2020-08-07 上海哔哩哔哩科技有限公司 Method and device for switching definition, computer equipment and readable storage medium
CN110753266A (en) * 2019-10-23 2020-02-04 深圳市酷开网络科技有限公司 Video definition adjusting method and device and storage medium
CN113542795A (en) * 2020-04-21 2021-10-22 腾讯科技(深圳)有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN116193170A (en) * 2022-12-30 2023-05-30 福建野小兽健康科技有限公司 Video cartoon scheduling method, device, medium and equipment
CN116366916A (en) * 2023-02-13 2023-06-30 咪咕视讯科技有限公司 Video code rate selection method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN116781951B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
US20230283653A1 (en) Methods and apparatus to reduce latency for 360-degree viewport adaptive streaming
US8166154B2 (en) Method for streaming multimedia content
CN108063769B (en) Method and device for realizing content service and content distribution network node
US10104143B1 (en) Manifest segmentation
JP2004343701A (en) Data receiving reproduction apparatus, data receiving reproduction method, and data receiving reproduction processing program
EP3047627B1 (en) Dash representations adaptations in network
US10116719B1 (en) Customized dash manifest
EP2493191A1 (en) Method, device and system for realizing hierarchically requesting content in http streaming system
US20110202596A1 (en) Cache server control device, content distribution system, method of distributing content, and program
EP2993911A1 (en) Method and client terminal for receiving a multimedia content split into at least two successive segments, and corresponding computer program product and computer-readable medium
WO2015035957A1 (en) Video resource obtaining method, backend server, video client, and system
CN108282668B (en) Video acquisition method and system
US10700915B2 (en) Method for streaming an audio video content
EP2408205A1 (en) A video server, video client and method of scalable encoding video files
US10708667B1 (en) Combining fragments with different encodings
FR3021489A1 (en) METHOD FOR ADAPTIVE DOWNLOAD OF DIGITAL CONTENT FOR MULTIPLE SCREENS
CN101803379A (en) Video on demand service method, video on demand receiver, and video on demand server
CN116781951B (en) Definition adjusting method, device and server
KR101125099B1 (en) Moving-picture processing device, moving-picture processing method, and program
US20150026711A1 (en) Method and apparatus for video content distribution
CN103916693B (en) The method and its device of a kind of reserved storage space
KR101879439B1 (en) Method for video service using adaptive bitrate
EP3211912B1 (en) Information processing apparatus
CN107484040A (en) A kind of method for realizing network acceleration
WO2011128574A1 (en) Reception of a digital content in trick mode

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