4 #include <libavformat/version.h>
7 #define FAKE_FPS 25 // Must be an integer.
8 // #define MAX_VIDEO_CARDS 16 // defined in shared_defs.h.
9 #define MAX_ALSA_CARDS 16
10 #define MAX_BUSES 256 // Audio buses.
12 // For deinterlacing. See also comments on InputState.
13 #define FRAME_HISTORY_LENGTH 5
15 #define AUDIO_OUTPUT_CODEC_NAME "pcm_s32le"
16 #define DEFAULT_AUDIO_OUTPUT_BIT_RATE 0
17 #define DEFAULT_X264_OUTPUT_BIT_RATE 4500 // 5 Mbit after making room for some audio and TCP overhead.
19 #define LOCAL_DUMP_PREFIX "record-"
20 #define LOCAL_DUMP_SUFFIX ".nut"
21 #define DEFAULT_STREAM_MUX_NAME "nut" // Only for HTTP. Local dump guesses from LOCAL_DUMP_SUFFIX.
22 #define DEFAULT_HTTPD_PORT 9095
24 #include "shared/shared_defs.h"
26 // In number of frames. Comes in addition to any internal queues in x264
27 // (frame threading, lookahead, etc.).
28 #define X264_QUEUE_LENGTH 50
30 #define X264_DEFAULT_PRESET "ultrafast"
31 #define X264_DEFAULT_TUNE "film"
33 #endif // !defined(_DEFS_H)