基于qt,msvc2017-64bits,ffmpeg.opengl的播放器
zhangmeng
2021-03-03 4a6d9312cc1c9d62d66c4def71246d9faae29edb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*!
 * COPYRIGHT (C) 2020 Emeric Grange - All Rights Reserved
 *
 * This file is part of MiniVideo.
 *
 * MiniVideo is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * MiniVideo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with MiniVideo.  If not, see <http://www.gnu.org/licenses/>.
 *
 * \file      ts.h
 * \author    Emeric Grange <emeric.grange@gmail.com>
 * \date      2016
 */
 
#ifndef PARSER_MPEG_TS_H
#define PARSER_MPEG_TS_H
 
struct MediaFile_t;
 
/* ************************************************************************** */
 
/*!
 * \brief Parse a MPEG "Transport Stream" file.
 * \param *media[in,out]: A pointer to a MediaFile_t structure.
 * \return 1 if succeed, 0 otherwise.
 *
 * This parser implements the 'MPEG Transport Stream', from section 2.4
 * of MPEG-1/2 Part 1 specification 'Transmission multiplexing and synchronization'.
 *
 * You can find this specification under different names:
 * - ISO/IEC 11172-1 (MPEG-1 Part 1).
 * - ISO/IEC 13818-1 (MPEG-1 Part 2).
 * - ITU-T H.222.0.
 */
int ts_fileParse(MediaFile_t *media);
 
/* ************************************************************************** */
#endif // PARSER_MPEG_TS_H