FFmpegKit Linux API
5.1
MediaInformationJsonParser.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Taner Sener
3
*
4
* This file is part of FFmpegKit.
5
*
6
* FFmpegKit is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU Lesser General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* FFmpegKit is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public License
17
* along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef FFMPEG_KIT_MEDIA_INFORMATION_PARSER_H
21
#define FFMPEG_KIT_MEDIA_INFORMATION_PARSER_H
22
23
#include "
MediaInformation.h
"
24
#include <memory>
25
26
namespace
ffmpegkit
{
27
31
class
MediaInformationJsonParser
{
32
public
:
33
40
static
std::shared_ptr<ffmpegkit::MediaInformation>
from
(
const
std::string& ffprobeJsonOutput);
41
49
static
std::shared_ptr<ffmpegkit::MediaInformation>
fromWithError
(
const
std::string& ffprobeJsonOutput);
50
51
};
52
53
}
54
55
#endif
// FFMPEG_KIT_MEDIA_INFORMATION_PARSER_H
MediaInformation.h
ffmpegkit::MediaInformationJsonParser
Definition:
MediaInformationJsonParser.h:31
ffmpegkit::MediaInformationJsonParser::from
static std::shared_ptr< ffmpegkit::MediaInformation > from(const std::string &ffprobeJsonOutput)
Definition:
MediaInformationJsonParser.cpp:31
ffmpegkit::MediaInformationJsonParser::fromWithError
static std::shared_ptr< ffmpegkit::MediaInformation > fromWithError(const std::string &ffprobeJsonOutput)
Definition:
MediaInformationJsonParser.cpp:40
ffmpegkit
Definition:
AbstractSession.h:25
Generated on Sat Sep 17 2022 18:38:15 for FFmpegKit Linux API by
1.9.4