2 #define _SHARED_DEFS_H 1
5 /* Make seekable .mov files, and keep MP4 muxer from using unlimited amounts of memory. */ \
6 { "movflags", "empty_moov+frag_keyframe+default_base_moof+skip_trailer" }, \
8 /* Make for somewhat less bursty stream output when using .mov. */ \
9 { "frag_duration", "125000" }, \
11 /* Keep nut muxer from using unlimited amounts of memory. */ \
12 { "write_index", "0" } \
15 // In bytes. Beware, if too small, stream clients will start dropping data.
16 // For mov, you want this at 10MB or so (for the reason mentioned above),
17 // but for nut, there's no flushing, so such a large mux buffer would cause
18 // the output to be very uneven.
19 #define MUX_BUFFER_SIZE 10485760
21 #endif // !defined(_SHARED_DEFS_H)