mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-03 05:34:23 -04:00
17 lines
661 B
C
17 lines
661 B
C
#pragma once
|
|
#include "export.h"
|
|
#include "stream.h"
|
|
|
|
|
|
API int init();
|
|
|
|
API int transmux(const char *path, const char *out_path, float *playable_duration);
|
|
|
|
API int transcode(const char *path, const char *out_path, float *playable_duration);
|
|
|
|
API stream *get_track_info(const char *path, int *stream_count, int *track_count);
|
|
|
|
//Take the path of the file and the path of the output directory. It will return the list of subtitle streams in the streams variable. The int returned is the number of subtitles extracted.
|
|
API stream* extract_subtitles(char *path, const char *outPath, int *streamCount, int *subtitleCount);
|
|
|
|
API void free_memory(stream *streamsPtr); |