#include "filexml.inc"
#include "indexable.h"
#include "indexfile.inc"
+#include "indexstate.inc"
#include "linklist.h"
#include "pluginserver.inc"
// Executed during index building only
- void update_index(Asset *asset);
int equivalent(Asset &asset,
int test_audio,
int test_video);
int read_index(FileXML *xml);
void reset_audio();
void reset_video();
- void reset_index(); // When the index file is wrong, reset the asset values
int reset_timecode();
// Output path is the path of the output file if name truncation is desired.
// It is a "" if; complete names should be used.
- int write(FileXML *file,
- int include_index,
- const char *output_path);
-// Write the index data and asset info. Used by IndexThread.
- int write_index(const char *path, int data_bytes);
-
+ int write(FileXML *file, int include_index, const char *output_path);
// For Indexable
int get_audio_channels();
int write_audio(FileXML *xml);
int write_video(FileXML *xml);
int write_index(FileXML *xml);
- int update_path(char *new_path);
-
// Format of file. An enumeration from file.inc.
int64_t audio_length;
-// Timecode information. User setable, in case of errors in source
- char reel_name[BCTEXTLEN];
- int reel_number;
- int64_t tcstart;
- int64_t tcend;
- int tcformat;
-
// contains video data
int video_data;
int layers, program;
+// mp3 compression
+ int mp3_bitrate;
+
// mpeg audio information
int ampeg_bitrate;
// 2 - 3
int theora_keyframe_force_frequency;
-// mp3 compression
- int mp3_bitrate;
-
-// mp4a compression
- int mp4a_bitrate;
- int mp4a_quantqual;
-
-
// Set by package render during file creation. -1 means square pixels.
double aspect_ratio;
int vmpeg_field_order;
int vmpeg_pframe_distance;
-
-
-
-
-
-
-
-// Divx video compression
- int divx_bitrate;
- int divx_rc_period;
- int divx_rc_reaction_ratio;
- int divx_rc_reaction_period;
- int divx_max_key_interval;
- int divx_max_quantizer;
- int divx_min_quantizer;
- int divx_quantizer;
- int divx_quality;
- int divx_fix_bitrate;
-
-// h264 video compression
- int h264_bitrate;
- int h264_quantizer;
- int h264_fix_bitrate;
-
-// Divx video decompression
- int divx_use_deblocking;
+// ffmpeg muxer file extension
+ char fformat[BCSTRLEN];
+ char ff_audio_options[BCTEXTLEN];
+ char ff_video_options[BCTEXTLEN];
+ int ff_audio_bitrate;
+ int ff_video_bitrate;
+ int ff_video_quality;
// PNG video compression
int png_use_alpha;
int tiff_cmodel;
int tiff_compression;
-// Microsoft MPEG-4
- int ms_bitrate;
- int ms_bitrate_tolerance;
- int ms_interlaced;
- int ms_quantization;
- int ms_gop_size;
- int ms_fix_bitrate;
-
-
int ac3_bitrate;
- char pipe[BCTEXTLEN];
- int use_pipe;
-
// Image file sequences. Background rendering doesn't want to write a
// sequence header but instead wants to start the sequence numbering at a certain
// number. This ensures deletion of all the frames which aren't being used.
// We still want sequence headers sometimes because loading a directory full of images
// for editing would create new assets for every image.
int use_header;
-
-
};