4 #define OUTPUT_FREQUENCY 48000
10 // For deinterlacing. See also comments on InputState.
11 #define FRAME_HISTORY_LENGTH 5
13 #define AUDIO_OUTPUT_CODEC AV_CODEC_ID_PCM_S32LE
14 #define AUDIO_OUTPUT_SAMPLE_FMT AV_SAMPLE_FMT_S32
15 #define AUDIO_OUTPUT_BIT_RATE 0
17 #define LOCAL_DUMP_PREFIX "record-"
18 #define LOCAL_DUMP_SUFFIX ".nut"
19 #define STREAM_MUX_NAME "nut"
21 /* Make seekable .mov files. */ \
22 { "movflags", "empty_moov+frag_keyframe+default_base_moof" }, \
24 /* Keep nut muxer from using unlimited amounts of memory. */ \
25 { "write_index", "0" } \
28 // In bytes. Beware, if too small, stream clients will start dropping data.
29 // For mov, you want this at 10MB or so (for the reason mentioned above),
30 // but for nut, there's no flushing, so such a large mux buffer would cause
31 // the output to be very uneven.
32 #define MUX_BUFFER_SIZE 65536
34 #endif // !defined(_DEFS_H)