motion  4.3.0
About: Motion monitors the video signal from one or more cameras and is able to detect motion.
  Fossies Dox: motion-Release-4.3.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

ffmpeg.c File Reference
#include "translate.h"
#include "motion.h"
Include dependency graph for ffmpeg.c:

Go to the source code of this file.

Functions

void ffmpeg_global_init (void)
 
void ffmpeg_global_deinit (void)
 
int ffmpeg_open (struct ffmpeg *ffmpeg)
 
void ffmpeg_close (struct ffmpeg *ffmpeg)
 
int ffmpeg_put_image (struct ffmpeg *ffmpeg, struct image_data *img_data, const struct timeval *tv1)
 
void ffmpeg_reset_movie_start_time (struct ffmpeg *ffmpeg, const struct timeval *tv1)
 

Function Documentation

◆ ffmpeg_close()

void ffmpeg_close ( struct ffmpeg ffmpeg)

◆ ffmpeg_global_deinit()

void ffmpeg_global_deinit ( void  )

Definition at line 1483 of file ffmpeg.c.

References _, EMG, MOTION_LOG, NO_ERRNO, NTC, SHOW_ERRNO, TYPE_ALL, and TYPE_ENCODER.

Referenced by main().

◆ ffmpeg_global_init()

void ffmpeg_global_init ( void  )

Definition at line 1444 of file ffmpeg.c.

References _, EMG, ffmpeg_avcodec_log(), MOTION_LOG, NO_ERRNO, NTC, SHOW_ERRNO, TYPE_ALL, and TYPE_ENCODER.

Referenced by main().

◆ ffmpeg_open()

int ffmpeg_open ( struct ffmpeg ffmpeg)

Definition at line 1505 of file ffmpeg.c.

References _, ERR, MOTION_LOG, NO_ERRNO, NTC, ffmpeg::passthrough, and TYPE_ENCODER.

Referenced by event_ffmpeg_newfile(), and event_ffmpeg_timelapse().

◆ ffmpeg_put_image()

int ffmpeg_put_image ( struct ffmpeg ffmpeg,
struct image_data img_data,
const struct timeval *  tv1 
)

◆ ffmpeg_reset_movie_start_time()

void ffmpeg_reset_movie_start_time ( struct ffmpeg ffmpeg,
const struct timeval *  tv1 
)

Definition at line 1665 of file ffmpeg.c.

References _, ffmpeg::base_pts, DBG, ffmpeg::fps, ffmpeg::last_pts, MOTION_LOG, NO_ERRNO, ffmpeg::start_time, and TYPE_ENCODER.

Referenced by mlp_actions().