RU2540776C1 - Method, system and device to produce value of set of video code stream parameters in transcoding service - Google Patents

Method, system and device to produce value of set of video code stream parameters in transcoding service Download PDF

Info

Publication number
RU2540776C1
RU2540776C1 RU2013131755/08A RU2013131755A RU2540776C1 RU 2540776 C1 RU2540776 C1 RU 2540776C1 RU 2013131755/08 A RU2013131755/08 A RU 2013131755/08A RU 2013131755 A RU2013131755 A RU 2013131755A RU 2540776 C1 RU2540776 C1 RU 2540776C1
Authority
RU
Russia
Prior art keywords
information
video
codestream
value
parameters
Prior art date
Application number
RU2013131755/08A
Other languages
Russian (ru)
Other versions
RU2013131755A (en
Inventor
Донфэн ХУО
Дань СЯО
Вэй Чэнь
Original Assignee
ЗетТиИ Корпорейшн
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 ЗетТиИ Корпорейшн filed Critical ЗетТиИ Корпорейшн
Publication of RU2013131755A publication Critical patent/RU2013131755A/en
Application granted granted Critical
Publication of RU2540776C1 publication Critical patent/RU2540776C1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Abstract

FIELD: information technologies.
SUBSTANCE: method includes reception of a query of a code stream by a transformation device, analysis of the query of code stream, obtaining information of video parameters and coding format, detection of whether the analysed and received information is same with the appropriate information in information of code stream description, if specified information differs - establishment of a value of a set of parameters, corresponding to analysed and received information of parameters of video and coding format, sending the established value to the receiving end, end of the session of interaction with the receiving end.
EFFECT: elimination of video stream code decoding errors during reproduction of a video stream.
10 cl, 6 dwg

Description

ОБЛАСТЬ ТЕХНИКИFIELD OF TECHNOLOGY

Раскрытие относится к области коммуникационных технологий, а точнее к способу, системе и устройству для получения значения набора параметров потока видеокода в службе транскодирования.The disclosure relates to the field of communication technology, and more specifically to a method, system and device for obtaining the value of a set of video code stream parameters in a transcoding service.

ПРЕДПОСЫЛКИ К СОЗДАНИЮ ИЗОБРЕТЕНИЯBACKGROUND OF THE INVENTION

Концепция наборов параметров используется в стандартах кодирования видеоинформации Н.264, и наборы параметров включают: наборы параметров последовательности (SPS) и наборы параметров изображения (PPS), где информация, включающая размер изображения, применяемый выборочный режим кодирования, и схему группы от макроблока до фрагмента и т.д., включена в SPS и PPS. Активный SPS остается неизменным в кодированной видео последовательности, а активный PPS остается неизменным в кодированном изображении. Значение этих двух наборов параметров отсылается с исходного конца средства связи на приемный конец средства связи как значение атрибута, описанное в средстве связи в протоколе описания сеансов (SDP) информации описания кодового потока на начальной стадии устанавливания сеанса, так чтобы приемный конец средства связи мог нормально анализировать последовательно принимаемые кодовые потоки согласно информации SDP.The concept of parameter sets is used in H.264 video encoding standards, and parameter sets include: sequence parameter sets (SPS) and image parameter sets (PPS), where information including the image size, the applied encoding mode, and the group diagram from the macroblock to the fragment etc., is included in SPS and PPS. The active SPS remains unchanged in the encoded video sequence, and the active PPS remains unchanged in the encoded image. The value of these two sets of parameters is sent from the initial end of the communication medium to the receiving end of the communication medium as the attribute value described in the communication medium in the session description protocol (SDP) of the codestream description information at the initial stage of establishing the session, so that the receiving end of the communication medium can normally analyze sequentially received code streams according to SDP information.

Как правило, значение набора параметров, включенное в информацию SDP, должно быть получено посредством чтения информации кодированного кодового потока исходным концом. Такой способ относительно применим к случаю, когда исходный конец и приемный конец установили сеанс и выполнили обмен информации SDP после предварительного кодирования. Однако когда задействована служба транскодирования кодового потока, кодовый поток, отсылаемый с исходного конца, должен преобразовываться устройством преобразования кодового потока, чтобы получить целевой кодовый поток, запрашиваемый приемным концом, потому что требования исходного конца и приемного конца к параметрам видео, таким как кодовая скорость и разрешение кодового потока, различны. Поэтому значение набора параметров не может быть получено в этом способе.Typically, the parameter set value included in the SDP information should be obtained by reading the encoded codestream information by the source end. This method is relatively applicable to the case where the source end and the receiving end established a session and exchanged SDP information after precoding. However, when the codestream transcoding service is enabled, the codestream sent from the source end must be converted by the codestream conversion device to obtain the target codestream requested by the receiving end, because the source end and the receiving end require video parameters such as code rate and codestream resolution, various. Therefore, the value of the parameter set cannot be obtained in this method.

Например, хотя мобильные сетевые технологии новых поколений, в том числе коммуникационные технологии 3-го поколения (3G) / коммуникационные технологии 4-го поколения (4G) и т.д., реализуются в мобильных сетях в мобильных службах видеомониторинга, пропускные способности мобильных сетей относительно низкие по сравнению с пропускными способностями стационарных сетей. Поток видеокода мощностью 512 кбит/с и поток видеокода в едином промежуточном формате (CIF), которые с легкостью применяются в стационарной сети, не могут приниматься в мобильной сети. Кодовые потоки нужно посылать на мобильную сеть только после транскодирования, чтобы сократить кодовые потоки, разрешение и т.д.For example, although new generation mobile network technologies, including 3rd generation (3G) communication technologies / 4th generation (4G) communication technologies, etc., are implemented in mobile networks in mobile video monitoring services, the bandwidth of mobile networks relatively low compared to the bandwidth of fixed networks. A 512 kbps video stream and a single intermediate format (CIF) video stream, which are easily used on a fixed network, cannot be received on a mobile network. Code streams need to be sent to the mobile network only after transcoding to reduce code streams, resolution, etc.

Фиг.1 показывает способ реализации получения потока видеокода в службе транскодирования из известного уровня техники. Способ включает следующие этапы:Figure 1 shows a method for realizing receiving a video code stream in a transcoding service from the prior art. The method includes the following steps:

этап 101: приемный конец посылает запрос кодового потока на устройство преобразования кодового потока, где запрос кодового потока включает информацию о параметрах видео целевого кодового потока, предназначенного для приема приемным концом;step 101: the receiving end sends a codestream request to the codestream conversion device, where the codestream request includes information about video parameters of the target codestream to be received by the receiving end;

этап 102: после приема запроса кодового потока, устройство преобразования кодового потока запрашивает входной кодовый поток с исходного конца;step 102: after receiving the codestream request, the codestream conversion device requests an input codestream from the source end;

этап 103: согласно принятой информации о параметрах видео, отсылаемой с приемного конца, входной кодовый поток преобразовывается, чтобы получить целевой кодовый поток, удовлетворяющий требованиям приемного конца, и преобразованный целевой кодовый поток посылается на приемный конец;step 103: according to the received video parameter information sent from the receiving end, the input code stream is converted to obtain a target code stream satisfying the requirements of the receiving end, and the converted target code stream is sent to the receiving end;

этап 104: приемный конец запускает свой декодер согласно информации о параметрах принимаемого целевого кодового потока.step 104: the receiving end starts its decoder according to the parameter information of the received target code stream.

Из вышеописанного способа видно, что, когда приемный конец выполняет взаимодействие с устройством преобразования кодового потока, т.е. прежде чем приемный конец получает поток видеокода, отсылаемый с устройства преобразования кодового потока, приемный конец должен получать значение набора параметров потока видеокода, посылаемого на него, чтобы запускать свой декодер. Однако, поскольку устройство преобразования кодового потока выполняет транскодирование для полученного потока видеокода, параметр или формат кодирования кодового потока изменяется фактически, т.е. значение набора параметров кодового потока, предоставляемое исходным концом, меняется. Поэтому устройство преобразования кодового потока не может получить значение набора параметров целевого кодового потока, посылаемого на приемный конец, а значит, приемный конец может давать ошибку при декодировании и воспроизведении принимаемого целевого кодового потока, и приемный конец даже не способен декодировать и воспроизводить принимаемый целевой кодовый поток.It can be seen from the above method that when the receiving end interacts with the codestream conversion device, i.e. before the receiving end receives the video code stream sent from the codestream conversion device, the receiving end must receive the value of the parameter set of the video code stream sent to it in order to start its decoder. However, since the codestream conversion apparatus performs transcoding for the received video code stream, the encoding parameter or format of the codestream actually changes, i.e. the value of the codestream parameter set provided by the source end changes. Therefore, the codestream conversion device cannot obtain the value of the parameter set of the target codestream sent to the receiving end, which means that the receiving end may give an error in decoding and reproducing the received target codestream, and the receiving end is not even able to decode and reproduce the received target codestream .

ИЗЛОЖЕНИЕ СУЩНОСТИ ИЗОБРЕТЕНИЯSUMMARY OF THE INVENTION

В связи с этим варианты осуществления раскрытия предоставляют способ, систему и устройство для получения значения набора параметров потока видеокода в службе транскодирования, чтобы решить проблему известного уровня техники, заключающуюся в том, что неспособный к получению значения набора параметров потока видеокода приемный конец в службе транскодирования дает ошибку при декодировании потока видеокода и не может его воспроизвести.In this regard, embodiments of the disclosure provide a method, system, and apparatus for obtaining a value of a set of video code stream parameters in a transcoding service in order to solve a problem of the prior art in that a receiving end in a transcoding service incapable of receiving a value of a set of video code stream parameters gives error while decoding video stream and cannot play it.

Способ получения значения набора параметров потока видеокода в службе транскодирования в варианте осуществления раскрытия включает:A method of obtaining a video code stream parameter set value in a transcoding service in an embodiment of the disclosure includes:

прием устройством преобразования кодового потока запроса кодового потока, посылаемого с приемного конца, анализ запроса кодового потока и получение информации о параметрах видео и информации о формате кодирования в запросе кодового потока;receiving, by the codestream conversion apparatus, a codestream request sent from the receiving end, analyzing a codestream request and obtaining information about video parameters and information about an encoding format in a codestream request;

согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, определение, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока;according to the received code stream description information about the video code stream intended to be sent from the source end, determining whether the analyzed and received information about the video parameters and the encoding format information are the same with the corresponding information in the code stream description information;

когда установлено, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, устанавливание значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования;when it is established that the analyzed and received information about the video parameters and information about the encoding format differ from the corresponding information in the code stream description information, setting the value of the parameter set corresponding to the analyzed and received information about the video parameters and information about the encoding format;

посылка установленного значения набора параметров на приемный конец и завершение сеанса взаимодействия с приемным концом.sending the set value of the parameter set to the receiving end and the end of the interaction session with the receiving end.

Система для получения значения набора параметров потока видеокода в службе транскодирования включает:A system for obtaining a value of a set of video code stream parameters in a transcoding service includes:

приемный конец, который сконфигурирован для посылки запроса кодового потока и приема значения набора параметров, отсылаемого с устройства преобразования кодового потока, где запрос кодового потока включает информацию о параметрах видео и информацию о формате кодирования;a receiving end that is configured to send a codestream request and receive a parameter set value sent from the codestream conversion device, where the codestream request includes information about video parameters and information about an encoding format;

устройство преобразования кодового потока, которое сконфигурировано для приема запроса кодового потока, отсылаемого с приемного конца, анализа запроса кодового потока и получения информации о параметрах видео и информации о формате кодирования в запросе кодового потока согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, определения, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока; когда установлено, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, уста на вливания значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования; посылки установленного значения набора параметров на приемный конец и завершения сеанса взаимодействия с приемным концом;a codestream conversion device that is configured to receive a codestream request sent from the receiving end, analyze a codestream request and obtain information about video parameters and encoding format information in a codestream request according to the received codestream description information about a video codestream to be sent from the initial end, determining whether the analyzed and received information about the video parameters and information about the encoding format are the same with relevant information in the codestream description information; when it is established that the analyzed and received information about the video parameters and information about the encoding format differ from the corresponding information in the description of the code stream, setting the value of the parameter set corresponding to the analyzed and received information about the video parameters and information about the encoding format; sending the set value of the parameter set to the receiving end and terminating the interaction session with the receiving end;

исходный конец, который сконфигурирован для посылки на устройство преобразования кодового потока информацию описания кодового потока о потоке видеокода, предназначенного для посылки.the source end, which is configured to send code stream description information about the video code stream to be sent to the code stream conversion device.

Устройство для получения значения набора параметров потока видеокода в службе транскодирования содержит:A device for obtaining a value of a set of video code stream parameters in a transcoding service comprises:

модуль приема и анализа, который сконфигурирован для приема запроса кодового потока, посылаемого с приемного конца, анализа запроса кодового потока и получения информации о параметрах видео и информации о формате кодирования в запросе о потоке видеокода;a reception and analysis module that is configured to receive a codestream request sent from the receiving end, analyze a codestream request, and obtain information about video parameters and encoding format information in a video code stream request;

модуль определения, который сконфигурирован, согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, для определения, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока;a determination module that is configured according to the received code stream description information about the video code stream to be sent from the source end to determine whether the analyzed and received video parameter information and encoding format information are the same with the corresponding information in the code stream description information;

модуль генерирования набора параметров, который сконфигурирован, когда модуль определения устанавливает, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, для устанавливания значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования;a parameter set generation module that is configured when the determination module determines that the analyzed and received video parameter information and the encoding format information are different from the corresponding information in the code stream description information, for setting a parameter set value corresponding to the analyzed and received video parameter information and information about the encoding format;

модуль посылки, который сконфигурирован для посылки установленного значения набора параметров на приемный конец и завершать сеанс взаимодействия с приемным концом.a sending module that is configured to send the set value of the parameter set to the receiving end and terminating the interaction session with the receiving end.

Варианты осуществления раскрытия предоставляют способ, систему и устройство для получения значения набора параметров потока видеокода в службе транскодирования. В решении после получения запроса кодового потока, посылаемого с приемного конца, устройство преобразования кодового потока анализирует запрос кодового потока и получает соответствующую информацию о параметрах видео и информацию о формате кодирования в запросе кодового потока, устанавливает значение набора параметров, соответствующее информации о параметрах видео и информации о формате кодирования, когда определяется, что соответствующая информация в информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, отличается от проанализированных и полученных информации о параметрах видео и информации о формате кодирования, и посылает установленное значение набора параметров на приемный конец. В варианте осуществления раскрытия устройство преобразования кодового потока устанавливает соответствующую информацию о наборе параметров потока согласно информации о параметрах видео и информации о формате кодирования целевого кодового потока, запрашиваемой приемным концом, и предоставляет соответствующую информацию о наборе параметров приемному концу, так чтобы приемный конец мог декодировать принимаемый поток видеокода согласно значению набора параметров, тем самым повышая интенсивность успешных попыток декодирования потока видеокода.Embodiments of the disclosure provide a method, system and apparatus for obtaining a value of a set of video code stream parameters in a transcoding service. In the solution, after receiving a codestream request sent from the receiving end, the codestream conversion device analyzes the codestream request and obtains the corresponding information about the video parameters and information about the encoding format in the codestream request, sets the parameter set value corresponding to the video parameter information and information about the encoding format, when it is determined that the corresponding information in the code stream description information about the video code stream intended for ki with the initial end, and differs from the analyzed obtained information about the parameters of the video and information about the encoding format, and sends the set value set of parameters to the receiving end. In an embodiment of the disclosure, the codestream conversion apparatus establishes relevant information about the set of stream parameters according to the video parameter information and encoding format information of the target code stream requested by the receiving end, and provides relevant information about the parameter set to the receiving end so that the receiving end can decode the received video code stream according to the value of the parameter set, thereby increasing the intensity of successful attempts to decode the stream video code.

КРАТКОЕ ОПИСАНИЕ ГРАФИЧЕСКИХ МАТЕРИАЛОВBRIEF DESCRIPTION OF GRAPHIC MATERIALS

Показанные здесь графические материалы обеспечивают более полное понимание раскрытия и составляют часть раскрытия. Примерные варианты осуществления раскрытия и их иллюстрации используются для объяснения раскрытия, но не составляют неуместного ограничения раскрытия. В графических материалах:The graphic materials shown here provide a more complete understanding of the disclosure and form part of the disclosure. Exemplary embodiments of the disclosure and illustrations thereof are used to explain the disclosure, but do not constitute an inappropriate restriction on the disclosure. In graphic materials:

фиг.1 представляет собой принципиальную схему, иллюстрирующую реализацию способа получения потока видеокода в службе транскодирования на известном уровне техники;figure 1 is a schematic diagram illustrating the implementation of a method of obtaining a stream of a video code in a transcoding service in the prior art;

фиг.2 представляет собой принципиальную схему, иллюстрирующую способ получения значения набора параметров потока видеокода в службе транскодирования в варианте осуществления раскрытия;FIG. 2 is a schematic diagram illustrating a method of obtaining a parameter set of a video code stream in a transcoding service in an embodiment of the disclosure;

фиг.3 представляет собой структурную диаграмму системы для получения значения набора параметров потока видеокода в службе транскодирования в варианте осуществления раскрытия;FIG. 3 is a structural diagram of a system for obtaining a value of a set of video code stream parameters in a transcoding service in an embodiment of the disclosure;

фиг.4 представляет собой структурную диаграмму устройства для получения значения набора параметров потока видеокода в службе транскодирования в варианте осуществления раскрытия;4 is a structural diagram of an apparatus for obtaining a value of a set of video code stream parameters in a transcoding service in an embodiment of the disclosure;

фиг.5 представляет собой принципиальную схему, иллюстрирующую способ получения значения набора параметров потока видеокода в службе транскодирования в сочетании с устройством, как показано на фиг.4, и получение потока видеокода в варианте осуществления раскрытия; иFIG. 5 is a schematic diagram illustrating a method of obtaining a parameter set of a video code stream in a transcoding service in combination with a device as shown in FIG. 4, and obtaining a video code stream in an embodiment of the disclosure; and

фиг.6 представляет собой принципиальную схему, иллюстрирующую способ получения значения набора параметров в службе транскодирования и возвращения целевого кодового потока на приемный конец посредством применения протокола поточной передачи реального времени (RTSP), например, в варианте осуществления раскрытия.6 is a schematic diagram illustrating a method of obtaining a parameter set value in a transcoding service and returning a target codestream to a receiving end by applying a real-time streaming protocol (RTSP), for example, in an embodiment of the disclosure.

ПОДРОБНОЕ ОПИСАНИЕDETAILED DESCRIPTION

Варианты осуществления раскрытия предоставляют способ, систему и устройство для получения значения набора параметров потока видеокода в службе транскодирования, чтобы повысить интенсивность успешных попыток декодирования потока видеокода в службе транскодирования. Устройство преобразования кодового потока в варианте осуществления раскрытия устанавливает соответствующую информацию о наборе параметров потока согласно информации о параметрах видео и информации о формате кодирования целевого кодового потока, запрашиваемой приемным концом, и обеспечивает соответствующей информацией о наборе параметров приемный конец, так чтобы приемный конец мог декодировать принимаемый поток видеокода согласно значению набора параметров, тем самым повышая интенсивность успешных попыток декодирования потока видеокода.Embodiments of the disclosure provide a method, system, and apparatus for obtaining a value of a set of video code stream parameters in a transcoding service to increase the rate of successful attempts to decode a video code stream in a transcoding service. The codestream conversion apparatus in an embodiment of the disclosure establishes the corresponding information about the set of stream parameters according to the video parameter information and the encoding format information of the target code stream requested by the receiving end, and provides corresponding information about the parameter set to the receiving end so that the receiving end can decode the received video code stream according to the value of the parameter set, thereby increasing the intensity of successful attempts to decode the stream ideokoda.

Чтобы решить техническую проблему посредством настоящего раскрытия, техническое решение и положительный эффект, раскрытие будет далее подробно описано ниже в сочетании с графическими материалами и вариантами осуществления. Следует понимать, что описанные здесь конкретные варианты осуществления используются только, чтобы объяснить, но не ограничить раскрытие.In order to solve a technical problem through the present disclosure, a technical solution and a beneficial effect, the disclosure will be further described in detail below in conjunction with graphic materials and embodiments. It should be understood that the specific embodiments described herein are used only to explain, but not limit, the disclosure.

Фиг.2 представляет собой способ получения значения набора параметров потока видеокода в службе транскодирования в варианте осуществления раскрытия. Способ включает следующие этапы:FIG. 2 is a method of obtaining a video code stream parameter set value in a transcoding service in an embodiment of the disclosure. The method includes the following steps:

этап 201: устройство преобразования кодового потока принимает запрос кодового потока, посылаемый с приемного конца, анализирует запрос кодового потока и получает информацию о параметрах видео и информацию о формате кодирования, включенную в запрос кодового потока;step 201: the codestream conversion apparatus receives the codestream request sent from the receiving end, analyzes the codestream request and obtains video parameter information and encoding format information included in the codestream request;

в службе транскодирования, которая задействует поток видеокода, когда приемному концу нужно получить поток видеокода, ему нужно послать запрос кодового потока на устройство преобразования кодового потока, где запрос кодового потока включает информацию о параметрах видео и информацию о формате кодирования целевого кодового потока, предназначенного для приема приемным концом,in the transcoding service, which uses the video code stream, when the receiving end needs to receive the video code stream, it needs to send a code stream request to the code stream conversion device, where the code stream request includes information about the video parameters and information about the encoding format of the target code stream to be received receiving end

где информация о параметрах видео включает: информацию о разрешении, информацию о кодовой скорости и информацию о частоте кадров;where information about the video parameters includes: resolution information, code rate information and frame rate information;

этап 202: согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, определение, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми, как соответствующая информация в информации описания кодового потока;step 202: according to the received code stream description information about the video code stream for sending from the source end, determining whether the analyzed and received video parameter information and encoding format information are the same as the corresponding information in the code stream description information;

после приема запроса кодового потока, отсылаемого с приемного конца, устройство преобразования кодового потока запрашивает поток видеокода, отвечающий содержимому от исходного конца. Однако информация о параметрах видео и информация о формате кодирования потока видеокода может отличаться от того, что запросил приемный конец. После приема запроса устройства преобразования кодового потока исходный конец посылает информацию SDP соответствующего потока видеокода на устройство преобразования кодового потока;after receiving a codestream request sent from the receiving end, the codestream conversion device requests a video code stream corresponding to the contents from the source end. However, information about the video parameters and information about the encoding format of the video stream stream may differ from what the receiving end requested. Upon receiving a request from the codestream conversion device, the source end sends SDP information of the corresponding video code stream to the codestream conversion device;

этап 203: когда установлено, что информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, устанавливание значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования;step 203: when it is established that the information about the video parameters and information about the encoding format are different from the corresponding information in the description information of the code stream, setting the value of the set of parameters corresponding to the analyzed and received information about the video parameters and information about the encoding format;

в частности, устанавливание значения набора параметров, соответствующего информации о параметрах видео и информации о формате кодирования, включает: согласно проанализированным и полученным информации о параметрах видео и информации о формате кодирования, поиск по информации о типичном значении значения набора параметров, сохраняемой отдельно, получение значения набора параметров, соответствующего типичному значению, которое ближе всего к информации о параметрах видео и информации о формате кодирования;in particular, setting the value of the parameter set corresponding to the information about the video parameters and information about the encoding format includes: according to the analyzed and received information about the video parameters and information about the encoding format, searching for information on the typical value of the value of the parameter set stored separately, obtaining the value a set of parameters corresponding to a typical value that is closest to the information about the video parameters and information about the encoding format;

далее и в частности, в варианте осуществления раскрытия, когда устройство преобразования кодового потока получает значение набора параметров, соответствующее информации о параметрах видео и информации о формате кодирования согласно проанализированным и полученным информации о параметрах видео и информации о формате кодирования, устройство преобразования кодового потока ищет в информации о типичном значении значения набора параметров, сохраняемой отдельно согласно порядку приоритетов разрешения, кодовой скорости и частоты кадров, типичное значение набора параметров с высокой степенью совпадения с набором параметров и получает значение набора параметров, т.е. значение SPS и значение PPS, соответствующие типичному значению;hereinafter, and in particular, in an embodiment of the disclosure, when the codestream conversion device obtains a parameter set value corresponding to the video parameter information and the encoding format information according to the analyzed and received video parameter information and the encoding format information, the codestream conversion device searches information about a typical value of a parameter set value, stored separately according to the order of priority of resolution, code rate and frame rate, ipichnoe parameter value set with a high degree of coincidence with the set parameters, and will have a value set parameters i.e. SPS value and PPS value corresponding to a typical value;

этап 204: посылка установленного значения набора параметров на приемный конец, так чтобы завершать сеанс взаимодействия с приемным концом.step 204: sending the set value of the parameter set to the receiving end so as to terminate the interaction session with the receiving end.

После того как устройство преобразования кодового потока посылает установленное значение набора параметров на приемный конец, приемный конец, устройство преобразования кодового потока и исходный конец устанавливают связи. После запуска своего декодера согласно принятому значению набора параметров, приемный конец посылает информацию для получения потока видеокода на устройство преобразования кодового потока. Устройство преобразования кодового потока получает соответствующий поток видеокода от исходного конца, выполняет транскодирование для потока видеокода, полученного от исходного конца согласно значению набора параметров, предоставленного приемному концу, и после получения соответствующего целевого кодового потока, посылает целевой кодовый поток на приемный конец.After the codestream conversion device sends the set value of the parameter set to the receiving end, the receiving end, the codestream conversion device and the source end establish communications. After starting its decoder according to the accepted value of the parameter set, the receiving end sends information for receiving the video code stream to the code stream conversion device. The codestream conversion device receives the corresponding video code stream from the source end, transcodes the video code stream received from the source end according to the parameter set value provided to the receiving end, and after receiving the corresponding target code stream, sends the target code stream to the receiving end.

В варианте осуществления раскрытия после приема запроса кодового потока, отсылаемого с приемного конца, устройство преобразования кодового потока анализирует запрос кодового потока и получает информацию о параметрах видео и информацию о формате кодирования в запросе кодового потока, когда определено, что соответствующая информация в информации описания кодового потока о потоке видеокода, предназначенного для отсылки с исходного конца, отличается от проанализированных и полученных информации о параметрах видео и информации о формате кодирования, устанавливает значение набора параметров, соответствующее проанализированным и полученным информации о параметрах видео и информации о формате кодирования, и посылает установленное значение набора параметров на приемный конец, так чтобы правильно декодировать и воспроизводить принимаемый поток видеокода, согласно принимаемому значению набора параметров после приема транскодированного потока видеокода.In an embodiment of the disclosure, upon receipt of a codestream request sent from the receiving end, the codestream conversion apparatus analyzes the codestream request and obtains video parameter information and encoding format information in the codestream request when it is determined that the corresponding information in the codestream description information about the stream of the video code intended for sending from the source end differs from the analyzed and received information about the video parameters and information about the format encoding, sets the value of the parameter set corresponding to the analyzed and received information about the video parameters and information about the encoding format, and sends the set value of the parameter set to the receiving end, so as to correctly decode and reproduce the received stream of the video code, according to the received value of the set of parameters after receiving the transcoded stream video code.

Фиг.3 представляет собой структурную диаграмму системы для получения значения набора параметров потока видеокода в службе транскодирования в варианте осуществления раскрытия. Система включает: приемный конец 31, устройство 32 преобразования кодового потока и исходный конец 33, гдеFIG. 3 is a structural diagram of a system for acquiring a value of a set of video code stream parameters in a transcoding service in an embodiment of the disclosure. The system includes: a receiving end 31, a code stream conversion device 32, and a source end 33, where

приемный конец 31 сконфигурирован для посылки запроса кодового потока и приема значения набора параметров, отсылаемого с устройства преобразования кодового потока, где запрос кодового потока включает информацию о параметрах видео и информацию о формате кодирования;the receiving end 31 is configured to send a codestream request and receive a parameter set value sent from the codestream conversion apparatus, where the codestream request includes video parameter information and encoding format information;

устройство 32 преобразования кодового потока сконфигурировано для приема запроса кодового потока, отсылаемого с приемного конца 31, анализа запроса кодового потока и получения информации о параметрах видео и информации о формате кодирования в запросе кодового потока согласно полученной информации описания кодового потока о потоке видеокода, предназначенного для отсылки с исходного конца, определения, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока; когда установлено, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, устанавливать значение набора параметров, соответствующее проанализированным и полученным информации о параметрах видео и информации о формате кодирования; посылать установленное значение набора параметров на приемный конец и завершать сеанс взаимодействия с приемным концом;the codestream conversion device 32 is configured to receive a codestream request sent from the receiving end 31, analyze the codestream request and obtain information about video parameters and encoding format information in the codestream request according to the received code stream description information about the video code stream to be sent from the initial end, determining whether the analyzed and received information about the video parameters and information about the encoding format are the same with the corresponding relevant information in the codestream description information; when it is established that the analyzed and received information about the video parameters and information about the encoding format differ from the corresponding information in the description of the code stream, set the parameter set value corresponding to the analyzed and received information about the video parameters and information about the encoding format; send the set value of the parameter set to the receiving end and terminate the interaction session with the receiving end;

исходный конец 33 сконфигурирован для посылки на устройство 32 преобразования кодового потока информации описания кодового потока о потоке видеокода, предназначенном для отсылки.the source end 33 is configured to send code stream description information about the video code stream to be sent to the codestream conversion device 32.

В системе,In system,

устройство 32 преобразования кодового потока дополнительно сконфигурирован для приема потока видеокода, отсылаемого с исходного конца 33, преобразования принимаемого потока видеокода в целевой кодовый поток согласно значению набора параметров, посылаемому на приемный конец 31, и посылки преобразованного целевого кодового потока на приемный конец 31;the codestream conversion device 32 is further configured to receive a video codestream sent from the source end 33, convert the received video codestream to a target codestream according to a parameter set value sent to the receiving end 31, and send the converted target codestream to the receiving end 31;

исходный конец 33 дополнительно сконфигурирован для посылки потока видеокода на устройство 32 преобразования потока;the source end 33 is further configured to send the video code stream to the stream conversion device 32;

приемный конец 31 дополнительно сконфигурирован для приема целевого кодового потока, транскодированного устройством 32 преобразования потока.the receiving end 31 is further configured to receive the target codestream transcoded by the stream conversion device 32.

В частности, когда система для получения значения набора параметров потока видеокода в службе транскодирования представляет собой систему мобильного видеомониторинга, приемный конец представляет собой мобильный терминал, устройство преобразования кодового потока представляет собой блок видео доступа (VAU), а исходный конец представляет собой препроцессор видеомониторинга или сервер потокового мультимедиа и т.д.In particular, when the system for obtaining the value of the video stream stream parameter set in the transcoding service is a mobile video monitoring system, the receiving end is a mobile terminal, the code stream conversion device is a video access unit (VAU), and the original end is a video monitoring preprocessor or server streaming media, etc.

Фиг.4 представляет собой структурную диаграмму устройства, т.е. устройства преобразования кодового потока, для получения значения набора параметров потока видеокода в службе транскодирования в варианте осуществления раскрытия. Устройство содержит:Figure 4 is a structural diagram of a device, i.e. codestream conversion apparatuses for acquiring a value of a set of video code stream parameters in a transcoding service in an embodiment of the disclosure. The device contains:

модуль 41 приема и анализа, который сконфигурирован принимать запрос кодового потока, посылаемого с приемного конца, анализировать запрос кодового потока и получать информацию о параметрах видео и информацию о формате кодирования в запросе потока видеокода;a reception and analysis module 41, which is configured to receive a codestream request sent from the receiving end, to analyze the codestream request and obtain information about the video parameters and information about the encoding format in the video code stream request;

модуль 42 определения, который сконфигурирован, согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, для определения, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока;determination module 42, which is configured according to the received code stream description information about the video code stream to be sent from the source end, to determine whether the analyzed and received video parameter information and encoding format information are the same with the corresponding information in the code stream description information ;

модуль 43 генерирования набора параметров, который сконфигурирован, когда модуль 42 определения устанавливает, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, для уста на вливания значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования;a parameter set generating module 43, which is configured when the determining module 42 determines that the analyzed and received video parameter information and the encoding format information are different from the corresponding information in the code stream description information for setting the value of the parameter set corresponding to the analyzed and received information on video parameters and information on the encoding format;

модуль 44 посылки, который сконфигурирован для посылки установленного значения набора параметров на приемный конец и завершения сеанса взаимодействия с приемным концом.a sending module 44, which is configured to send the set value of the parameter set to the receiving end and terminating the interaction session with the receiving end.

Далее, модуль 43 генерирования набора параметров включает блок 431 хранения и блок 432 устанавливания, гдеFurther, the parameter set generating unit 43 includes a storage unit 431 and an setting unit 432, where

блок 431 хранения сконфигурирован для хранения информации о типичном значении значения набора параметров;a storage unit 431 is configured to store information about a typical value of a parameter set value;

блок 432 устанавливания сконфигурирован, согласно проанализированным и полученным информации о параметрах видео и информации о формате кодирования, для поиска в информации о типичном значении значения набора параметров, сохраняемого отдельно, и получения значения набора параметров, соответствующего типичному значению, которое ближе всего к информации о параметрах видео и информации о формате кодирования;the setting unit 432 is configured, according to the analyzed and received information about the video parameters and the information about the encoding format, to search the information on the typical value of the parameter set value stored separately and obtain the parameter set value corresponding to the typical value that is closest to the parameter information video and encoding format information;

модуль 43 генерирования набора параметров генерирует набор, включающий множественные значения набора параметров согласно информации о параметрах видео и информации о формате кодирования некоторых типичных потоков видеокода и информации о параметрах кодировщика устройства, где модуль генерирования набора параметров локализует, где каждый набор параметров включает значение SPS и значение PPS кодового потока. Поэтому после получения информации о параметрах видео и информации о формате кодирования целевого кодового потока, предназначенного для приема приемным концом, модуль приема и анализа согласно набору значений набора параметров, сохраняемому отдельно, выбирает в нем ближайшее значение набора параметров, т.е. группа, состоящая из ближайшего значения SPS и ближайшего значения PPS, выбирается для последующей операции транскодирования, и устанавливает сеанс взаимодействия с приемным концом.module 43 generating a parameter set generates a set including multiple values of the parameter set according to information about the video parameters and information about the encoding format of some typical video code streams and information about the parameters of the encoder of the device, where the module generating the parameter set is localized, where each parameter set includes an SPS value and a value PPS code stream. Therefore, after receiving information about the video parameters and information about the encoding format of the target code stream intended for receiving by the receiving end, the receiving and analyzing module according to the set of values of the set of parameters stored separately selects the closest value of the set of parameters in it, i.e. a group consisting of the nearest SPS value and the nearest PPS value is selected for the subsequent transcoding operation, and establishes a session with the receiving end.

В устройстве,In the device

модуль 41 приема и анализа дополнительно сконфигурирован для приема потока видеокода, отсылаемого с исходного конца;the reception and analysis module 41 is further configured to receive a video code stream sent from the source end;

устройство дополнительно содержит:the device further comprises:

модуль 45 транскодирования, который сконфигурирован согласно значению набора параметров, посылаемому на приемный конец, для преобразования принимаемого потока видеокода в целевой кодовый поток;transcoding unit 45, which is configured according to a parameter set value sent to the receiving end to convert the received video code stream to the target code stream;

модуль 44 посылки, который дополнительно сконфигурирован для посылки преобразованного целевого кодового потока на приемный конец.a sending module 44, which is further configured to send the converted target codestream to the receiving end.

Фиг.5 описывает способ получения значения набора параметров потока видеокода в службе транскодирования в сочетании с устройством, как показано на фиг.4, и подробно получение потока видеокода в варианте осуществления раскрытия. Способ включает:FIG. 5 describes a method of obtaining a video code stream parameter set value in a transcoding service in combination with a device as shown in FIG. 4, and in detail obtaining a video code stream in an embodiment of the disclosure. The method includes:

этап 501: приемный конец посылает запрос кодового потока на устройство преобразования кодового потока, где запрос кодового потока включает информацию о параметрах видео и информацию о формате кодирования;step 501: the receiving end sends a codestream request to the codestream conversion device, where the codestream request includes information on video parameters and information on an encoding format;

этап 502: устройство преобразования кодового потока принимает запрос кодового потока, анализирует запрос кодового потока и получает информацию о параметрах видео и информацию о формате кодирования целевого кодового потока, предназначенного для приема приемным концом в запросе кодового потока;step 502: the codestream conversion device receives the codestream request, analyzes the codestream request and obtains video parameter information and encoding format information of the target codestream to be received by the receiving end in the codestream request;

этап 503: устройство преобразования кодового потока запрашивает информацию о потоке видеокода от исходного конца и принимает SDP-информацию потока видеокода, возвращаемую исходным концом;step 503: the codestream conversion device requests video stream information from the source end and receives SDP video stream information returned by the source end;

этап 504: определяет, является ли соответствующая информация в информации SDP потока видеокода, возвращаемая исходным концом, одинаковой с информацией о параметрах видео и информацией о формате кодирования целевого кодового потока, предназначенного для приема приемным концом, где информация о параметрах видео и информация о формате кодирования проанализированы отдельно; когда определено, что соответствующая информация одинакова с информацией о параметрах видео и информацией о формате кодирования, выполняют этап 506; в противном случае, выполняют этап 505;step 504: determines whether the corresponding information in the SDP stream information of the video code returned by the source end is the same as the video parameter information and the encoding format information of the target code stream to be received by the receiving end, where the video parameter information and the encoding format information analyzed separately; when it is determined that the relevant information is the same with the video parameter information and the encoding format information, step 506 is performed; otherwise, step 505 is performed;

этап 505: устанавливание значения набора параметров, соответствующего проанализированной информации о параметрах видео и информации о формате кодирования целевого кодового потока, предназначенного для приема приемным концом;step 505: setting the value of the parameter set corresponding to the analyzed information about the video parameters and information about the encoding format of the target code stream intended for reception by the receiving end;

т.е. устанавливание значения SPS и значения PPS, соответствующих информации о параметрах видео и информации о формате кодирования целевого кодового потока, предназначенного для приема приемным концом;those. setting the SPS value and the PPS value corresponding to the video parameter information and the encoding format information of the target code stream to be received by the receiving end;

этап 506: получение значения набора параметров потока видеокода, отсылаемого с исходного конца;step 506: obtaining a value of a set of video stream stream parameters sent from the source end;

этап 507: устройство преобразования кодового потока посылает значение набора параметров на приемный конец и завершает сеанс взаимодействия с приемным концом;step 507: the codestream conversion device sends the value of the parameter set to the receiving end and ends the interaction session with the receiving end;

этап 508: устройство преобразования кодового потока принимает поток видеокода, отсылаемый с исходного конца, и преобразовывает принимаемый поток видеокода в целевой кодовый поток согласно значению набора параметров, отсылаемому на приемный конец;step 508: the codestream conversion apparatus receives a video codestream sent from the source end, and converts the received video codestream to a target codestream according to a parameter set value sent to the receiving end;

этап 509: посылка преобразованного целевого кодового потока на приемный конец.step 509: sending the converted target codestream to the receiving end.

В вышеупомянутом варианте осуществления перед завершением сеанса взаимодействия с приемным концом, устройство преобразования кодового потока получает соответствующее значение набора параметров согласно информации о параметрах видео и информации о формате кодирования целевого кодового потока, предназначенного для приема приемным концом, где информация о параметрах видео и информация о формате кодирования отсылаются с устройства преобразования кодового потока. Поэтому значение набора параметров целевого кодового потока, предназначенного для приема приемным концом, будет отсылаться на приемный конец во время сеанса взаимодействия, так чтобы приемный конец мог декодировать и воспроизводить целевой кодовый поток согласно значению набора параметров после приема целевого кодового потока, отсылаемого с устройства преобразования кодового потока. Решение, предоставляемое вариантом осуществления раскрытия, может эффективно обеспечивать, чтобы приемный конец декодировал принимаемый целевой кодовый поток правильно, так чтобы обеспечить, что услуга кодового потока выполняется нормально. Кроме того, осуществление решения реализует цель, чтобы приемный конец больше не ограничивался конкретным декодером при применении и был способен посылать запрашиваемую им информацию о параметрах видео и информацию о формате кодирования на устройство преобразования кодового потока. Устройство преобразования кодового потока будет гибко получать запрашиваемый им поток видеокода согласно различным требованиям приемного конца, так чтобы расширить применение услуг потока видеокода.In the aforementioned embodiment, before the end of the interaction session with the receiving end, the codestream conversion device obtains the corresponding parameter set value according to the video parameter information and encoding format information of the target code stream to be received by the receiving end, where the video parameter information and format information encodings are sent from the codestream conversion device. Therefore, the value of the parameter set of the target code stream to be received by the receiving end will be sent to the receiving end during the interaction session, so that the receiving end can decode and reproduce the target code stream according to the value of the parameter set after receiving the target code stream sent from the code conversion device flow. The solution provided by the embodiment of the disclosure can effectively ensure that the receiving end decodes the received target code stream correctly, so as to ensure that the code stream service is performed normally. In addition, the implementation of the solution realizes the goal so that the receiving end is no longer limited to a specific decoder during use and is able to send the requested information about the video parameters and information about the encoding format to the codestream conversion device. The codestream conversion device will flexibly receive the video code stream requested by it according to various requirements of the receiving end, so as to expand the application of the video code stream services.

Когда устройство преобразования кодового потока может поддерживать поток видеокода с любым значением набора параметров, устройство преобразования кодового потока определяет соответствующую информацию из SDP-информации потока видеокода, предназначенного для отсылки с исходного конца, и когда соответствующая информация отличается от информации о параметрах видео и информации о формате кодирования целевого кодового потока, предназначенного для приема приемным концом, устройство преобразования кодового потока может устанавливать его значение набора параметров согласно информации о параметрах видео и информации о формате кодирования целевого кодового потока, предназначенного для приема приемным концом, где информация о параметрах видео и информация о формате кодирования проанализированы и получены, и посылать установленное значение набора параметров на приемный конец в процессе сеанса взаимодействия.When the codestream conversion device can support the video code stream with any parameter set value, the codestream conversion device determines the corresponding information from the SDP information of the video code stream to be sent from the source end, and when the corresponding information is different from the video parameter information and the format information encoding the target code stream intended to be received by the receiving end, the code stream conversion device may set it the value of the parameter set according to the information about the video parameters and information about the encoding format of the target code stream intended to be received by the receiving end, where the information about the video parameters and information about the encoding format are analyzed and received, and send the set value of the parameter set to the receiving end during the interaction session .

Фиг.6 описывает способ получения значения набора параметров в службе транскодирования и возвращения целевого кодового потока на приемный конец посредством применения RTSP, например, в варианте осуществления раскрытия. Способ включает следующие этапы:6 describes a method of obtaining a parameter set value in a transcoding service and returning the target codestream to the receiving end by applying RTSP, for example, in an embodiment of the disclosure. The method includes the following steps:

этап 601: приемный конец посылает запрос кодового потока на устройство преобразования кодового потока через запрос на описание (запрос описания), где запрос описания включает информацию о параметрах видео и информацию о формате кодирования целевого кодового потока, предназначенного для приема приемным концом;step 601: the receiving end sends a codestream request to the codestream conversion device through a description request (description request), where the description request includes video parameter information and encoding format information of the target codestream to be received by the receiving end;

этап 602: устройство преобразования кодового потока принимает запрос описания, отсылаемый с приемного конца, и согласно содержимому запроса кодового потока, запрашиваемому приемным концом, посылает запрос описания на исходный конец, чтобы запросить поток видеокода с таким же содержимым, но соответствующая информация о параметрах видео и информация о формате кодирования может отличаться;step 602: the codestream conversion device receives a description request sent from the receiving end, and according to the contents of the codestream request requested by the receiving end, sends a description request to the original end to request a video code stream with the same content but the corresponding video parameter information and coding format information may vary;

этап 603: после приема запроса описания, отсылаемого с устройства преобразования кодового потока, исходный конец получает информацию SDP соответствующего потока видеокода и посылает информацию ответа об описании (ответ описания), включающую информацию SDP, на устройство преобразования кодового потока;step 603: after receiving a description request sent from the codestream conversion device, the source end receives SDP information of the corresponding video code stream and sends description description information (description response) including SDP information to the codestream conversion device;

этап 604: устройство преобразования кодового потока определяет, является ли информация о параметрах видео и информация о формате кодирования целевого кодового потока, предназначенного для приема приемным концом, где информация о параметрах видео и информация о формате кодирования проанализированы и получены, одинаковые с соответствующей информацией в информации SDP, включенной в информацию ответа описания; если нет, выполняют этап 605; в противном случае, выполняют этап 607;step 604: the codestream conversion apparatus determines whether the video parameter information and the encoding format information of the target code stream to be received by the receiving end, where the video parameter information and encoding format information are analyzed and obtained, are the same with the corresponding information in the information SDP included in description response information; if not, perform step 605; otherwise, step 607 is performed;

этап 605: согласно проанализированной информации о параметрах видео и информации о формате кодирования целевого кодового потока, принимаемого приемным концом, и информации о типичном значении значения набора параметров, сохраняемой отдельно, получение значения SPS и значения PPS, соответствующих типичному значению, которое ближе всего к информации о параметрах видео;step 605: according to the analyzed video parameter information and information about the encoding format of the target code stream received by the receiving end and information about a typical value of the parameter set value stored separately, obtaining the SPS value and the PPS value corresponding to the typical value that is closest to the information about the parameters of the video;

этап 606: согласно полученному значению SPS и значению PPS и информации SDP, включенной в информацию ответа описания, генерирование информации SDP, соответствующей полученному значению SPS и значению PPS;step 606: according to the obtained SPS value and the PPS value and the SDP information included in the description response information, generating SDP information corresponding to the obtained SPS value and the PPS value;

этап 607: добавление информации SDP в информацию ответа описания и посылка информации ответа описания на приемный конец;step 607: adding SDP information to the description response information and sending the description response information to the receiving end;

этап 608: устройство преобразования кодового потока соответственно взаимодействует с приемным концом и исходным концом через заданный набор сигналов и завершает операцию установления RTSP-связи;step 608: the codestream conversion apparatus respectively interacts with the receiving end and the original end through a predetermined set of signals and completes the RTSP communication establishment operation;

этап 609: приемный конец согласно принимаемой информации SDP посылает запрос воспроизведения на устройство преобразования кодового потока после запуска его декодера, и устройство преобразования кодового потока направляет запрос воспроизведения на исходный конец;step 609: the receiving end according to the received information, the SDP sends a playback request to the codestream conversion device after starting its decoder, and the codestream conversion device sends a playback request to the source end;

этап 610: исходный конец выводит исходный кодовый поток на устройство преобразования кодового потока; устройство преобразования кодового потока преобразовывает исходный кодовый поток в соответствующий целевой кодовый поток согласно установленной информации SDP и посылает целевой кодовый поток на приемный конец;step 610: the source end outputs the source code stream to the codestream conversion device; the codestream conversion device converts the source codestream to the corresponding target codestream according to the set SDP information and sends the target codestream to the receiving end;

этап 611: приемный конец декодирует и воспроизводит принятый целевой кодовый поток согласно принятой информации SDP.step 611: the receiving end decodes and reproduces the received target code stream according to the received SDP information.

Варианты осуществления раскрытия предоставляют способ, систему и устройство для получения значения набора параметров потока видеокода в службе транскодирования. В решении, после получения запроса кодового потока, посылаемого с приемного конца, устройство преобразования кодового потока анализирует запрос кодового потока и получает соответствующую информацию о параметрах видео и информацию о формате кодирования в запросе кодового потока, устанавливает значение набора параметров, соответствующее информации о параметрах видео и информации о формате кодирования, когда определено, что соответствующая информация в информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, отличается от проанализированных и полученных информации о параметрах видео и информации о формате кодирования, и посылает установленное значение набора параметров на приемный конец. В варианте осуществления раскрытия устройство преобразования кодового потока устанавливает соответствующую информацию о наборе его параметров согласно информации о параметрах видео и информации о формате кодирования целевого кодового потока, запрашиваемой приемным концом, и предоставляет соответствующую информацию о наборе параметров на приемный конец, так чтобы приемный конец мог декодировать принимаемый поток видеокода согласно значению набора параметров, тем самым повышая интенсивность успешных попыток декодирования потока видеокода.Embodiments of the disclosure provide a method, system and apparatus for obtaining a value of a set of video code stream parameters in a transcoding service. In the solution, after receiving the codestream request sent from the receiving end, the codestream conversion device analyzes the codestream request and obtains the corresponding information about the video parameters and information about the encoding format in the codestream request, sets the parameter set value corresponding to the information about the video parameters and coding format information, when it is determined that the corresponding information in the code stream description information about the video code stream for sending and from the source end, it differs from the analyzed and received information about the video parameters and information about the encoding format, and sends the set value of the parameter set to the receiving end. In an embodiment of the disclosure, the codestream conversion apparatus sets the corresponding information about the set of its parameters according to the video parameter information and the encoding format information of the target codestream requested by the receiving end, and provides relevant information about the parameter set to the receiving end so that the receiving end can decode the received video code stream according to the value of the parameter set, thereby increasing the intensity of successful attempts to decode the stream in ideocode.

Вышеизложенное описание иллюстрирует и описывает предпочтительные варианты осуществления раскрытия. Однако, как было указано выше, раскрытие не ограничивается раскрываемой здесь формой, не должно рассматриваться как исключающее другие варианты осуществления, и может использоваться в различных других сочетаниях, модификациях, и окружениях и допускает модификации в пределах объема изобретательского замысла, выраженного в данной заявке, посредством вышеизложенных доктрин и/или навыков или знаний релевантной области техники. Тем не менее, модификации и изменения, выполненные специалистами в данной области без выхода за рамки сущности и объема раскрытия, должны включаться в объем правовой охраны прилагаемой формулы раскрытия.The foregoing description illustrates and describes preferred embodiments of the disclosure. However, as indicated above, the disclosure is not limited to the form disclosed herein, should not be construed as excluding other embodiments, and may be used in various other combinations, modifications, and environments and may be modified within the scope of the inventive concept expressed in this application by the above doctrines and / or skills or knowledge of the relevant field of technology. Nevertheless, modifications and changes made by specialists in this field without going beyond the essence and scope of disclosure should be included in the scope of legal protection of the attached disclosure formula.

Claims (10)

1. Способ получения значения набора параметров потока видеокода в службе транскодирования, включающий:
прием устройством преобразования кодового потока запроса кодового потока, посылаемого с приемного конца, анализ запроса кодового потока и получение информации о параметрах видео и информации о формате кодирования в запросе кодового потока;
согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, - определение того, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока;
когда установлено, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, - устанавливание значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования;
посылка установленного значения набора параметров на приемный конец и завершение сеанса взаимодействия с приемным концом.
1. A method of obtaining a value of a set of video stream stream parameters in a transcoding service, including:
receiving, by the codestream conversion apparatus, a codestream request sent from the receiving end, analyzing a codestream request and obtaining information about video parameters and information about an encoding format in a codestream request;
according to the received code stream description information about the video code stream intended to be sent from the source end, determining whether the analyzed and received information about the video parameters and information about the encoding format are the same with the corresponding information in the code stream description information;
when it is established that the analyzed and received information about the video parameters and information about the encoding format differ from the corresponding information in the code stream description information, setting the value of the parameter set corresponding to the analyzed and received information about the video parameters and information about the encoding format;
sending the set value of the parameter set to the receiving end and the end of the interaction session with the receiving end.
2. Способ по п.1, отличающийся тем, что устанавливание значения набора параметров, соответствующего проанализированной и полученной информации о параметрах видео, включает:
согласно проанализированным и полученным информации о параметрах видео и информации о формате кодирования - поиск по информации о типичном значении значения набора параметров, сохраняемой отдельно, получение значения набора параметров, соответствующего типичному значению, которое ближе всего к информации о параметрах видео и информации о формате кодирования.
2. The method according to claim 1, characterized in that setting the value of the set of parameters corresponding to the analyzed and received information about the video parameters includes:
according to the analyzed and received information about the video parameters and information about the encoding format - searching for information about the typical value of the parameter set value, stored separately, obtaining the value of the parameter set corresponding to the typical value, which is closest to the information about the video parameters and information about the encoding format.
3. Способ по п.1, отличающийся тем, что информация о параметрах видео включает:
информацию о разрешении, информацию о кодовой скорости и информацию о частоте кадров.
3. The method according to claim 1, characterized in that the information about the parameters of the video includes:
resolution information, code rate information, and frame rate information.
4. Способ по п.1, отличающийся тем, что значение набора параметров включает:
значение набора параметров последовательности (SPS) и значение набора параметров изображения (PPS).
4. The method according to claim 1, characterized in that the value of the set of parameters includes:
Sequence Parameter Set (SPS) value and Image Parameter Set (PPS) value.
5. Способ по п.1 или 2, отличающийся тем, что дополнительно включает:
прием потока видеокода, отсылаемого с исходного конца;
согласно значению набора параметров, отсылаемому на приемный конец - преобразование принимаемого потока видеокода в целевой кодовый поток;
посылка преобразованного целевого кодового потока на приемный конец.
5. The method according to claim 1 or 2, characterized in that it further includes:
receiving a stream of video code sent from the source end;
according to the value of the set of parameters sent to the receiving end, the conversion of the received stream of the video code into the target code stream;
sending the converted target codestream to the receiving end.
6. Система для получения значения набора параметров потока видеокода в службе транскодирования, содержащая:
приемный конец, который сконфигурирован для отсылки запроса кодового потока и приема значения набора параметров, отсылаемого с устройства преобразования кодового потока, где запрос кодового потока включает информацию о параметрах видео и информацию о формате кодирования;
устройство преобразования кодового потока, которое сконфигурировано для приема запроса кодового потока, отсылаемого с приемного конца, анализа запроса кодового потока и получения информации о параметрах видео и информации о формате кодирования в запросе кодового потока согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, определения того, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока; когда установлено, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, устанавливания значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования; посылки установленного значения набора параметров на приемный конец и завершения сеанса взаимодействия с приемным концом;
исходный конец, который сконфигурирован для отсылки на устройство преобразования кодового потока информации описания кодового потока о потоке видеокода, предназначенного для посылки.
6. A system for obtaining a value of a set of video code stream parameters in a transcoding service, comprising:
a receiving end that is configured to send a codestream request and receive a parameter set value sent from the codestream conversion device, where the codestream request includes information about video parameters and information about an encoding format;
a codestream conversion device that is configured to receive a codestream request sent from the receiving end, analyze a codestream request and obtain information about video parameters and encoding format information in a codestream request according to the received codestream description information about a video codestream to be sent from the initial end, determining whether the analyzed and received information about the video parameters and information about the encoding format are the same with tvetstvuyuschey information in the description information codestream; when it is established that the analyzed and received information about the video parameters and information about the encoding format differ from the corresponding information in the code stream description information, setting the value of the parameter set corresponding to the analyzed and received information about the video parameters and information about the encoding format; sending the set value of the parameter set to the receiving end and terminating the interaction session with the receiving end;
the source end, which is configured to send to the codestream conversion device information about the codestream about the stream of the video code to be sent.
7. Система по п.6, отличающаяся тем, что в системе
устройство преобразования кодового потока дополнительно сконфигурировано для приема потока видеокода, отсылаемого с исходного конца, преобразования принимаемого потока видеокода в целевой кодовый поток согласно значению набора параметров, отсылаемому на приемный конец, и отсылки преобразованного целевого кодового потока на приемный конец;
исходный конец дополнительно сконфигурирован для отсылки потока видеокода на устройство преобразования потока; и
приемный конец дополнительно сконфигурирован для приема целевого кодового потока, транскодированного устройством преобразования потока.
7. The system according to claim 6, characterized in that in the system
the codestream conversion device is further configured to receive a video codestream sent from the source end, convert the received video codestream to a target codestream according to a parameter set value sent to the receiving end, and send the converted target codestream to the receiving end;
the source end is further configured to send the video code stream to the stream conversion device; and
the receiving end is further configured to receive the target codestream transcoded by the stream conversion device.
8. Устройство для получения значения набора параметров потока видеокода в службе транскодирования, содержащее:
модуль приема и анализа, который сконфигурирован для приема запроса кодового потока, посылаемого с приемного конца, анализа запроса кодового потока и получения информации о параметрах видео и информации о формате кодирования в запросе потока видеокода;
модуль определения, который сконфигурирован согласно полученной информации описания кодового потока о потоке видеокода, предназначенном для отсылки с исходного конца, для определения того, являются ли проанализированные и полученные информация о параметрах видео и информация о формате кодирования одинаковыми с соответствующей информацией в информации описания кодового потока;
модуль генерирования набора параметров, который сконфигурирован таким образом, что когда модуль определения устанавливает, что проанализированные и полученные информация о параметрах видео и информация о формате кодирования отличаются от соответствующей информации в информации описания кодового потока, то он устанавливает значения набора параметров, соответствующего проанализированным и полученным информации о параметрах видео и информации о формате кодирования;
модуль посылки, который сконфигурирован для отсылки установленного значения набора параметров на приемный конец и завершения сеанса взаимодействия с приемным концом.
8. A device for obtaining the value of a set of video stream stream parameters in a transcoding service, comprising:
a reception and analysis module that is configured to receive a codestream request sent from the receiving end, analyze a codestream request and obtain information about video parameters and information about an encoding format in a video code stream request;
a determination module that is configured according to the received code stream description information about the video code stream for sending from the source end to determine whether the analyzed and received video parameter information and encoding format information are the same with the corresponding information in the code stream description information;
a parameter set generating module that is configured so that when the determination module determines that the analyzed and received video parameter information and the encoding format information are different from the corresponding information in the codestream description information, it sets the parameter set value corresponding to the analyzed and received information on video parameters and information on the encoding format;
a sending module that is configured to send the set value of the parameter set to the receiving end and terminating the interaction session with the receiving end.
9. Устройство по п.8, отличающееся тем, что модуль генерирования набора параметров содержит:
блок хранения, который сконфигурирован для сохранения информации о типичном значении значения набора параметров;
блок устанавливания, который сконфигурирован согласно проанализированным и полученным информации о параметрах видео и информации о формате кодирования, для поиска в информации о типичном значении значения набора параметров, сохраняемого отдельно, и получения значения набора параметров, соответствующего типичному значению, которое ближе всего к информации о параметрах видео и информации о формате кодирования.
9. The device according to claim 8, characterized in that the module generating a set of parameters contains:
a storage unit that is configured to store information about a typical value of a parameter set value;
the setting unit, which is configured according to the analyzed and received information about the video parameters and information about the encoding format, to search the information about the typical value of the parameter set value, stored separately, and obtain the parameter set value corresponding to the typical value, which is closest to the parameter information video and encoding format information.
10. Устройство по п.8 или 9, отличающееся тем, что в устройстве
модуль приема и анализа дополнительно сконфигурирован для приема потока видеокода, отсылаемого с исходного конца;
дополнительно содержащее:
модуль транскодирования, который сконфигурирован согласно значению набора параметров, отсылаемому на приемный конец, для преобразования принимаемого потока видеокода в целевой кодовый поток;
модуль посылки, который дополнительно сконфигурирован для отсылки преобразованного целевого кодового потока на приемный конец.
10. The device according to claim 8 or 9, characterized in that in the device
the reception and analysis module is further configured to receive a video code stream sent from the source end;
optionally containing:
a transcoding module that is configured according to a parameter set value sent to the receiving end to convert the received video code stream to the target code stream;
a sending module, which is further configured to send the converted target codestream to the receiving end.
RU2013131755/08A 2010-12-10 2011-12-12 Method, system and device to produce value of set of video code stream parameters in transcoding service RU2540776C1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010582833.5A CN102014284B (en) 2010-12-10 2010-12-10 Method, system and device for acquiring parameter set value of video code stream in transcoding business
CN201010582833.5 2010-12-10
PCT/CN2011/083825 WO2012075968A1 (en) 2010-12-10 2011-12-12 Method, system and device for acquiring parameter set value of video code stream in transcoding service

Publications (2)

Publication Number Publication Date
RU2013131755A RU2013131755A (en) 2015-01-20
RU2540776C1 true RU2540776C1 (en) 2015-02-10

Family

ID=43844271

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2013131755/08A RU2540776C1 (en) 2010-12-10 2011-12-12 Method, system and device to produce value of set of video code stream parameters in transcoding service

Country Status (3)

Country Link
CN (1) CN102014284B (en)
RU (1) RU2540776C1 (en)
WO (1) WO2012075968A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014284B (en) * 2010-12-10 2014-09-10 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business
US20140037005A1 (en) * 2012-08-02 2014-02-06 Penne Y. LEE Transcoding video data
CN102833508B (en) * 2012-08-09 2015-08-12 中兴通讯股份有限公司 A kind of with self-adaption of decoding video recording method and system
CN103037341B (en) * 2012-12-06 2017-12-12 惠州Tcl移动通信有限公司 Play, the method and mobile terminal, server of conversion streaming video
CN103686205B (en) * 2013-12-30 2017-04-19 浙江宇视科技有限公司 Method and device for code stream transfer on basis of open network video interface forum (ONVIF) protocol
CN105632507A (en) * 2014-11-05 2016-06-01 上海贝尔股份有限公司 Method, device and system for transcoding bearing data packet
CN107332830B (en) * 2017-06-19 2019-02-12 腾讯科技(深圳)有限公司 Video code conversion, video broadcasting method and device, computer equipment, storage medium
CN110198474B (en) * 2018-02-27 2022-03-15 中兴通讯股份有限公司 Code stream processing method and device
CN111314378B (en) * 2020-03-18 2022-07-29 浩云科技股份有限公司 Code stream data processing method
CN113873002A (en) * 2021-08-04 2021-12-31 山东商务职业学院 Internet of things communication system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030000310A (en) * 2001-06-23 2003-01-06 엘지전자 주식회사 Apparatus for transcoding video
US20050232497A1 (en) * 2004-04-15 2005-10-20 Microsoft Corporation High-fidelity transcoding
RU2308172C2 (en) * 2001-02-16 2007-10-10 Конинклейке Филипс Электроникс Н.В. System for transmission and processing of video signal, meant for creation of user mosaics
US20070297507A1 (en) * 2001-01-05 2007-12-27 Lg Electronics Inc. Video transcoding apparatus
RU2008112789A (en) * 2007-04-02 2009-10-10 Вестел Электроник Санайи Ве Тикарет А.С. (Tr) METHOD AND DEVICE FOR TRANSCODING VIDEO SIGNAL
US7656948B2 (en) * 2004-02-14 2010-02-02 Samsung Electronics Co., Ltd. Transcoding system and method for maintaining timing parameters before and after performing transcoding process

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1529503A (en) * 2003-10-17 2004-09-15 清华大学 Method for selecting video flow code in video gate-link
CN101453653B (en) * 2007-12-07 2011-01-05 中兴通讯股份有限公司 Method for spreading digital audio and video parameter set
CN101500048A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Method and system for image processing display
CN101742294B (en) * 2008-11-14 2012-09-05 北京中星微电子有限公司 Method and device for enhancing monitoring video compression ratio
CN101695129B (en) * 2009-10-09 2012-05-16 中兴通讯股份有限公司 Method and system for realizing video monitoring by mobile terminal supporting multimodes
CN101710974A (en) * 2009-11-27 2010-05-19 广东亿迅科技有限公司 Method for monitoring fused video
CN102014284B (en) * 2010-12-10 2014-09-10 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070297507A1 (en) * 2001-01-05 2007-12-27 Lg Electronics Inc. Video transcoding apparatus
RU2308172C2 (en) * 2001-02-16 2007-10-10 Конинклейке Филипс Электроникс Н.В. System for transmission and processing of video signal, meant for creation of user mosaics
KR20030000310A (en) * 2001-06-23 2003-01-06 엘지전자 주식회사 Apparatus for transcoding video
US7656948B2 (en) * 2004-02-14 2010-02-02 Samsung Electronics Co., Ltd. Transcoding system and method for maintaining timing parameters before and after performing transcoding process
US20050232497A1 (en) * 2004-04-15 2005-10-20 Microsoft Corporation High-fidelity transcoding
RU2008112789A (en) * 2007-04-02 2009-10-10 Вестел Электроник Санайи Ве Тикарет А.С. (Tr) METHOD AND DEVICE FOR TRANSCODING VIDEO SIGNAL

Also Published As

Publication number Publication date
CN102014284B (en) 2014-09-10
CN102014284A (en) 2011-04-13
WO2012075968A1 (en) 2012-06-14
RU2013131755A (en) 2015-01-20

Similar Documents

Publication Publication Date Title
RU2540776C1 (en) Method, system and device to produce value of set of video code stream parameters in transcoding service
WO2009128515A1 (en) Gateway device, method, and program
US20140334381A1 (en) Video streaming in a wireless communication system
US20110138018A1 (en) Mobile media server
WO2017138387A1 (en) Information processing device and information processing method
US9369508B2 (en) Method for transmitting a scalable HTTP stream for natural reproduction upon the occurrence of expression-switching during HTTP streaming
KR101128165B1 (en) Dynamic image distribution system, conversion device, and dynamic image distribution method
US10003626B2 (en) Adaptive real-time transcoding method and streaming server therefor
US7974313B2 (en) System for intermediating A/V stream between data network and IEEE 1394 network and method thereof
JP5781550B2 (en) Media content data reproducing apparatus and method
CN112752115B (en) Live broadcast data transmission method, device, equipment and medium
WO2021057697A1 (en) Video encoding and decoding methods and apparatuses, storage medium, and electronic device
US20140226711A1 (en) System and method for self-adaptive streaming of multimedia content
WO2010114092A1 (en) Distribution system and method, conversion device, and program
CN103873948A (en) Streaming media self-adaption matching transmission method, system and server
Shen et al. Dynamic video transcoding in mobile environments
CN104581234A (en) Set-top box and method and system for realizing data transcoding of media based on set-top box
CN102160393A (en) Gateway device, method, system, and program
Belda et al. A DASH server-side delay-based representation switching solution to improve the quality of experience for low-latency live video streaming
WO2012041039A1 (en) Method, correlative equipment and system for digital tv terminal accessing internet video
KR101621530B1 (en) Method and System for Providing Flash Contents via Mobile Network and Method and Apparatus for Converting Flash Contents
US11265357B2 (en) AV1 codec for real-time video communication
KR101251312B1 (en) Method for handling video seek request in video transcoding server
CN113973230A (en) Call processing method, device and system
KR102654716B1 (en) Method and Apparatus for playing back video in accordance with requested video playback time