|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include "VideoDecodeSession.h"#include "DVDCodecs/DVDFactoryCodec.h"#include "DVDCodecs/Video/DVDVideoCodec.h"#include "DVDDemuxers/DVDDemux.h"#include "DVDDemuxers/DVDDemuxUtils.h"#include "DVDDemuxers/DVDFactoryDemuxer.h"#include "DVDInputStreams/DVDFactoryInputStream.h"#include "DVDInputStreams/DVDInputStream.h"#include "FileItem.h"#include "Process/ProcessInfo.h"#include "utils/log.h"#include <vector>Functions | |
| std::optional< VideoDecodeSession > | OpenVideoDecodeSession (const CFileItem &fileItem, int codecOptions, const std::string &redactPath) |
Open fileItem for decoding: input stream, demuxer with every stream but the first real video one disabled, and a codec for it opened with codecOptions. | |
| bool | SeekAndDecodePictureAt (CDVDDemux &demuxer, CDVDVideoCodec &codec, int videoStream, int64_t seekToMs, const std::string &redactPath, VideoPicture &picture, int &packetsTried) |
| Seek to a position in milliseconds and decode the first usable picture there. | |
| std::optional< VideoDecodeSession > OpenVideoDecodeSession | ( | const CFileItem & | fileItem, |
| int | codecOptions, | ||
| const std::string & | redactPath ) |
Open fileItem for decoding: input stream, demuxer with every stream but the first real video one disabled, and a codec for it opened with codecOptions.
| bool SeekAndDecodePictureAt | ( | CDVDDemux & | demuxer, |
| CDVDVideoCodec & | codec, | ||
| int | videoStream, | ||
| int64_t | seekToMs, | ||
| const std::string & | redactPath, | ||
| VideoPicture & | picture, | ||
| int & | packetsTried ) |
Seek to a position in milliseconds and decode the first usable picture there.