LiVES  3.2.0
transcode.h
Go to the documentation of this file.
1 // transcode.c
3 // LiVES
4 // (c) G. Finch 2008 - 2019 <salsaman_lives@gmail.com>
5 // released under the GNU GPL 3 or later
6 // see file ../COPYING or www.gnu.org for licensing details
7 
8 // fast transcoding via a plugin
9 
10 #ifdef LIBAV_TRANSCODE
11 
12 #ifndef HAS_LIVES_TRANSCODE_H
13 #define HAS_LIVES_TRANSCODE_H
14 
15 #define TRANSCODE_PLUGIN_NAME "libav_stream"
16 #define DEF_TRANSCODE_FILENAME "lives-video"
17 
18 #define TRANSCODE_PARAM_FILENAME "fname"
19 
20 // stages for internal transcoding
21 boolean transcode_prep(void);
22 
23 // if this returns FALSE, transcode_cleanup(mainw->vpp) must be called
24 boolean transcode_get_params(char **fnameptr);
25 void transcode_cleanup(_vid_playback_plugin *vpp);
26 
27 boolean transcode_clip(int start, int end, boolean internal, char *def_pname);
28 
29 #endif // HAS_LIVES_TRANSCODE_H
30 
31 #endif
_vid_playback_plugin
Definition: plugins.h:123