Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
45a523c
packaging fixes from infinity0
infinity0 Sep 26, 2014
6c5dacb
Additional packaging fixes
Mr-Dave Sep 26, 2014
c37ac34
Add support to ffmpeg.c for libav10
Mr-Dave Sep 26, 2014
f880807
Clean up ffmpeg.c and plug memory leak
Mr-Dave Sep 26, 2014
0961ece
Add copyright file for added features since version 3.2.12
Mr-Dave Sep 26, 2014
bb8f34a
Release 3.4.0
tosiara Oct 2, 2014
80c2759
Added 3.4 to CHANGELOG
tosiara Oct 2, 2014
d35a11e
Merge pull request #37 from tosiara/mrdave-unstable
Mr-Dave Oct 3, 2014
6894861
Add copyright to the 3.4 branch
Mr-Dave Oct 3, 2014
90c2adc
Merge pull request #38 from tosiara/mrdave-motion-3.4
Mr-Dave Oct 3, 2014
b6f73ff
Timelapse fixes and bump version
Mr-Dave Oct 5, 2014
95c6a9f
Bugfix: calculate proper size for memset()
aklomp May 2, 2014
d0cc56c
bugfix: motion.c: calculate proper allocation size
aklomp May 2, 2014
bee2189
Merge pull request #41 from aklomp/mrdave-sizeof
Mr-Dave Oct 7, 2014
8619b48
support -b to force running in background
sthen Oct 11, 2014
ccdeee0
mymalloc(): don't cast return value; void* is always promoted
aklomp Oct 15, 2014
f7e0830
mymalloc sets allocated memory to zero; no need for extra memset
aklomp Oct 15, 2014
8f5bf18
netcam.c: tfile_context(): simplify function
aklomp Oct 15, 2014
a36801e
free(): remove unnecessary NULL pointer checks
aklomp Oct 15, 2014
37a5562
Merge pull request #48 from sthen/master
Mr-Dave Oct 18, 2014
54a70f0
Merge pull request #50 from aklomp/mymalloc
Mr-Dave Oct 18, 2014
f38c5a8
Update CHANGELOG
Mr-Dave Oct 18, 2014
f3d36d4
Fix compile without ffmpeg and older versions
Mr-Dave Oct 18, 2014
78ba2da
Merge unstable with master
Mr-Dave Oct 18, 2014
9479d91
Updated configure script
Mr-Dave Oct 18, 2014
8d99f28
Optimization of function mjpegtoyuv420p
tosiara Oct 14, 2014
bfbfeba
Allow netcams with modulo 8 dimensions
Mr-Dave Oct 22, 2014
54518cf
Merge pull request #51 from tosiara/unstable
Mr-Dave Oct 22, 2014
dcbd514
forward definition for setup_signals(), needed on OpenBSD
sthen Oct 23, 2014
80633f2
include rotate.h (for pthread.h) before netcam_rtsp.h
sthen Oct 23, 2014
eef23f0
check for V4L2 header in sys/videoio.h as well as linux/videodev.h
sthen Oct 23, 2014
570faea
ioctl(2) "request" is an unsigned long on OpenBSD
sthen Oct 23, 2014
ec58099
don't detect any *BSD as FreeBSD
sthen Oct 23, 2014
43f9e56
add comment to config file, need to use input 0 on OpenBSD
sthen Oct 23, 2014
375e5f0
Merge branch 'sthen-openbsd_v4l' into unstable
Mr-Dave Oct 24, 2014
120cc4b
Update changelog
Mr-Dave Oct 24, 2014
fb9befa
Revise version script
Mr-Dave Oct 24, 2014
c943a67
Bump configure script
Mr-Dave Oct 24, 2014
93ca6f8
Lock thread for ffmpeg/libav init
Mr-Dave Oct 28, 2014
c3b21b1
bump configure
Mr-Dave Oct 28, 2014
c0757d4
Fix typo. EMR is not a valid log level. Should be EMG
tosiara Jan 25, 2015
a5b5f13
Merge branch 'tosiara-mrdave-fix-typo' into unstable
Mr-Dave Jan 26, 2015
5c6f4be
Bump Configure
Mr-Dave Jan 26, 2015
cb6a300
Fix for ftp_send_type - was missing type param
tosiara Feb 4, 2015
003a666
Moved #define events to an enum and added a to string option
mterzo Oct 28, 2014
e81e3e7
Typo fix, was build break
tosiara Feb 4, 2015
e433706
Typo fix. ERR was mentioned twice, while it should have been INF
tosiara Mar 16, 2015
d71cebf
Fix FTP option
Mr-Dave Mar 20, 2015
c5d39b1
Bump configure
Mr-Dave Mar 20, 2015
ae4cdb7
Merge pull request #61 from tosiara/logging-typo
Mr-Dave Apr 5, 2015
cc49c75
Sqlite3 changes - use local sqlite3.c if found. new option to set bus…
jdodgen May 11, 2015
2f43f94
V4L2 missing a #include
jdodgen May 12, 2015
ea0d11e
lastsnap allow path information when doing a singelton lastsnap picture
jdodgen May 12, 2015
5a31c0b
moved declarations up
jdodgen May 16, 2015
06e4f3b
replacing spaces with tabs
jdodgen May 16, 2015
0cb7a04
more spaces to tabs
jdodgen May 16, 2015
899ce50
whoops did one wrong now tab to space conversion :)
jdodgen May 16, 2015
cc3cafd
Another tab to space change
jdodgen May 16, 2015
2c31626
found another tab that needed spaces
jdodgen May 16, 2015
4996c31
still trying to figure out how may spaces it had
jdodgen May 16, 2015
9496889
this is a tab in the original spaces to tabs
jdodgen May 16, 2015
ba7044e
Whew found it a trailing tab
jdodgen May 16, 2015
3e99410
Tab to space conversion
jdodgen May 17, 2015
c045c42
Remove tabs
jdodgen May 18, 2015
152be1e
Seemed to have lost a few of my changes during my breakapart of patches
jdodgen May 19, 2015
2441720
More sqlite changes, now using threaded serial option if sqlite is co…
jdodgen May 20, 2015
761b2f2
Fixed problem not finding local sqlite3.h file wne local files are used
jdodgen May 21, 2015
848eff3
Fixed quites in include
jdodgen May 21, 2015
ad3344e
reverting tab to spaces changes
jdodgen Jun 10, 2015
6177885
another tab reversion
jdodgen Jun 10, 2015
7273cae
reverting motion.h tab to spaces fix
jdodgen Jun 10, 2015
2ab6ef6
reverting tab to space
jdodgen Jun 10, 2015
ef60ae4
reverting tab to space
jdodgen Jun 10, 2015
310cac7
Reverting tab to spaces fix
jdodgen Jun 10, 2015
72aef1f
Added ifdef around shared sqlite handle assignment
jdodgen Jun 10, 2015
5eb3da4
Fixed mull pointer causing segfault
jdodgen Aug 21, 2015
cf88e02
typo fix, unused variable cleanup, etc
dfries Nov 3, 2012
23d6354
ftp_send_type send type like the function comment says
dfries Aug 23, 2015
0629d9d
set motion capture thread running in the main thread
dfries Nov 9, 2012
bab15ab
count webcontrol as a thread to avoid a crash
dfries Nov 9, 2012
bbd2f3f
redo watchdog termination logic, wait for the thread to cleanup
dfries Aug 15, 2014
ea7e948
get the thread out of the xioctl loop
dfries Aug 16, 2014
37360d8
fix dangling pointer cnt->current_image after resize
dfries Aug 23, 2014
740f3cc
alg_labeling give diffs feedback even when not over the threshold
dfries Jul 29, 2014
a3104af
accept a width specifier to mystrftime
dfries Nov 9, 2012
63e585d
add power_line_frequency configuration item
dfries Nov 10, 2012
12433ed
add ffmpeg_duplicate_frames option
dfries Jan 5, 2013
4750579
ffmpeg.c fix GOP size
Mr-Dave Aug 27, 2015
1ce8299
Merge branch 'mterzo-master' of https://github.com/tosiara/motion int…
Mr-Dave Aug 27, 2015
03f54cc
Merge branch 'unstable' of https://github.com/dfries/motion into dfri…
Mr-Dave Aug 27, 2015
8d116c3
Merge branch 'dfries-unstable' into unstable
Mr-Dave Aug 27, 2015
a970954
event.c cleanup
Mr-Dave Aug 27, 2015
e991c53
Revision for clean build
Mr-Dave Aug 27, 2015
f9a5d1c
Add the new options to motion-dist.conf
Mr-Dave Aug 27, 2015
c7fced7
Revise install instructions
Mr-Dave Aug 27, 2015
3c98e1d
Merge branch 'sqlite-patch' of https://github.com/jdodgen/motion into…
Mr-Dave Aug 27, 2015
f973541
Merge branch 'jdodgen-sqlite-patch' into unstable
Mr-Dave Aug 27, 2015
56cff51
Merge branch 'v4l2-patch' of https://github.com/jdodgen/motion into j…
Mr-Dave Aug 27, 2015
e683b57
Merge branch 'jdodgen-v4l2-patch' into unstable
Mr-Dave Aug 27, 2015
ab7d7e7
Add revisions to CHANGELOG
Mr-Dave Aug 29, 2015
124e8e3
Logitech MJPEG patch
Mr-Dave Aug 31, 2015
9f963c4
Merge branch 'lastsnap' of https://github.com/jdodgen/motion into jdo…
Mr-Dave Sep 1, 2015
4745d63
Merge branch 'jdodgen-lastsnap' into unstable
Mr-Dave Sep 1, 2015
cc8e451
Update CHANGELOG
Mr-Dave Sep 1, 2015
ccfc142
Update netcam.c
rgaufman Feb 22, 2013
e7f4b96
Update netcam.h
rgaufman Feb 22, 2013
6861a82
Handle junk data at beginning of JPEG images
rgaufman Feb 22, 2013
a7ec135
Changelog for hackeron fix for SOI on Netcams
Mr-Dave Sep 4, 2015
cc19f88
Updated gitignore
Mr-Dave Sep 4, 2015
a02eb47
Add additional container options
Mr-Dave Sep 4, 2015
d09bdd1
To include a linux-specific header like linux/types.h, one should tes…
infinity0 Jul 30, 2015
5ad825e
Fix build for Debian GNU/kFreeBSD which defines __FreeBSD_kernel__ bu…
infinity0 Jul 30, 2015
6a1b258
Remove depreciated deinterlace option
Mr-Dave Sep 4, 2015
90a97c0
Ffmpeg container fixes
Mr-Dave Sep 4, 2015
cb7dcc3
Add preview to webcontrol
Mr-Dave Sep 5, 2015
0f45a71
Remote preview fixes
Mr-Dave Sep 5, 2015
33b7d4f
Clean tabs for issue 071831 patch
Mr-Dave Sep 5, 2015
320732d
Update manual
Mr-Dave Sep 6, 2015
383321d
Fix send raw error introduced with Chrome preview fix
Mr-Dave Sep 9, 2015
2aed0a4
Revised motion guide
Mr-Dave Sep 13, 2015
bc7298a
Revise Sqlite3 into code standard
Mr-Dave Sep 13, 2015
01769db
Update to motion guide
Mr-Dave Sep 14, 2015
74fbda2
compile against ffmpeg from github@58fe57d5a05ad8d15c320b2bd163debbc4…
laeos Sep 18, 2015
0c77371
Patch for bad image handling
Mr-Dave Sep 15, 2015
b8f657d
Patch netcam url with proxy
Mr-Dave Sep 15, 2015
392f826
Fix PIX format
Mr-Dave Sep 21, 2015
21994e4
PIX change for older ffmpeg
Mr-Dave Sep 21, 2015
8e62b19
compile against ffmpeg from github@58fe57d5a05ad8d15c320b2bd163debbc4…
laeos Sep 18, 2015
2fdf34a
Slight Packaging Changes
Mr-Dave Sep 21, 2015
e6aba9b
Change default in configure for ffmpeg
Mr-Dave Sep 23, 2015
b1940b0
Revised description in configuration file
Mr-Dave Sep 23, 2015
e6bc27c
HEVC testing
momo-i Sep 25, 2015
2bd79c7
Make/configure changes
Mr-Dave Sep 27, 2015
0417977
Merge remote-tracking branch 'upstream/master'
momo-i Sep 28, 2015
fa569b1
HEVC Revision for old ffmpeg
Mr-Dave Oct 1, 2015
0badf12
Remove ffmpeg coded_frame
Mr-Dave Oct 1, 2015
2f0fd7d
Add : in netcam_url path spec
Mr-Dave Oct 1, 2015
58e065e
Swap PKG_CONFIG_PATH and user spec
Mr-Dave Oct 1, 2015
2caced3
Revised instructions
Mr-Dave Oct 3, 2015
7509ae8
Merge master into 3.4
Mr-Dave Oct 17, 2015
9b4c16c
revise version number to 3.4.1
Mr-Dave Oct 19, 2015
e65ea24
h264 codec: set crf option based on configured vbr
ccrisan Jul 3, 2016
b4138ee
h264 codec: fixed crf from vbr: the vbr range is actually 1 to 32767
ccrisan Jul 6, 2016
675b4be
ffmpeg/h264: actually pass the crf value to the options
ccrisan Jul 17, 2016
ad5013b
Fix stack corruption in event_ffmpeg_timelapse
jogu Jun 18, 2016
d071753
Revise version number
Mr-Dave Aug 18, 2016
c2770c4
Merge branch 'stack-corruption' of https://github.com/jogu/motion int…
Mr-Dave Aug 18, 2016
718f1a8
Merge branch 'jogu-stack-corruption'
Mr-Dave Aug 18, 2016
e44a5a9
Change log update
Mr-Dave Aug 18, 2016
7fdd210
Produce more helpful error if pkg-config not installed
jogu May 29, 2016
55945b6
Updated configure.ac for pkg-config
Mr-DaveDev Aug 19, 2016
9fdc126
Merge pull request #138 from Mr-DaveDev/pkg-config
Mr-Dave Aug 20, 2016
3c4ab02
Merge branch 'master' of https://github.com/ccrisan/motion into ffmpe…
Mr-DaveDev Aug 20, 2016
e109855
FPS Fix. Issue 132
Mr-DaveDev Aug 21, 2016
1ffcbe2
ffmpeg 3.0 fixes
Mr-DaveDev Aug 21, 2016
4042a40
Eliminate developer-flags warnings
Mr-DaveDev Aug 21, 2016
8e20d18
Fix truncate images. Issue 131
Mr-DaveDev Aug 21, 2016
d40a4f4
#104 Fix compile failing on raspberry pi 3
jogu Aug 13, 2016
c7ca2af
Fix #104 Use optimal compilation options on Raspberry Pi 3
jogu Aug 13, 2016
fd5e9eb
Merge pull request #140 from jogu/rasppi3-fix
Mr-Dave Aug 21, 2016
ec83f0f
Scale movie quality/crf values based upon ffmpeg_variable_bitrate val…
Mr-DaveDev Aug 22, 2016
8b2dd73
Report versions used and revise log levels
Mr-DaveDev Aug 22, 2016
1cf2c2e
Merge remote-tracking branch 'upstream/master' into ffmpeg-fixes
Mr-DaveDev Aug 22, 2016
454f031
Fix bad html in server home page
jogu Jul 17, 2016
9af23e8
ffmpeg log messages and init
Mr-DaveDev Aug 23, 2016
1f6cc87
Merge pull request #141 from jogu/html-fix
Mr-Dave Aug 23, 2016
8044d3c
Timelapse Container Fix
Mr-DaveDev Aug 25, 2016
fbba7b8
Timelapse revision of swf to mpg
Mr-DaveDev Aug 26, 2016
c431ecb
Documentation Update
Mr-DaveDev Aug 26, 2016
9e4245a
PTS fixes
Mr-DaveDev Aug 28, 2016
96b8fe9
Updated extpipe examples with ultrafast H264 (ffmpeg, mencoder and x264)
tosiara Aug 31, 2016
1453746
PTS refinements, add test and remove ogg options
Mr-DaveDev Sep 1, 2016
22b2461
Better implementation of the test codec
Mr-DaveDev Sep 2, 2016
5697db1
Change old containers to defaults
Mr-DaveDev Sep 2, 2016
67cc2cc
Merge pull request #150 from Mr-DaveDev/ffmpeg-fixes
Mr-Dave Sep 2, 2016
e953b5d
Timelapse fps and regression fixes
Mr-DaveDev Sep 3, 2016
e4b5627
Revert to standard os file buffering
Mr-DaveDev Sep 3, 2016
802c228
Merge pull request #153 from Mr-DaveDev/image-corruption
Mr-Dave Sep 3, 2016
eb92db9
Motion guide update to reference release page and fix some wording
Mr-DaveDev Sep 4, 2016
793080e
Merge pull request #152 from Mr-DaveDev/ffmpeg-fixes
Mr-Dave Sep 4, 2016
8f9786f
Merge pull request #151 from Mr-DaveDev/doc-updates
Mr-Dave Sep 8, 2016
fa1820a
Adding travis-ci to test build code
mterzo Sep 5, 2016
71a16f9
Make some internal functions "static"
jogu Sep 10, 2016
068a799
Fix build for libavutil prior to 51.42.0
jogu Sep 10, 2016
c895b66
Initial support for MMAL camera on raspberry pi
jogu Sep 4, 2016
315ef09
Merge pull request #156 from jogu/travis
jogu Sep 10, 2016
d59ea13
Merge pull request #157 from jogu/compile-warnings-fix
Mr-Dave Sep 10, 2016
31ddc67
Add camera_name setting to allow each camera to be given a name
jogu Sep 10, 2016
1a38a37
Merge pull request #148 from jogu/mmal-initial
Mr-Dave Sep 11, 2016
6e10c84
Stop "make clean" deleting documentation jpgs
jogu Sep 11, 2016
6b7fd95
Fix for whitespace lines in config file
jogu Sep 11, 2016
4595d83
Possible fix for failure to connect to mysql on startup
jogu Sep 11, 2016
a2b7327
Fix cases where gethostname() returns a name that doesn't work for cl…
jogu Sep 11, 2016
7ce5187
Merge pull request #160 from jogu/make-clean-fix
Mr-Dave Sep 11, 2016
70eae08
Merge pull request #161 from jogu/whitespace-only-conf-lines
Mr-Dave Sep 11, 2016
2ee68d4
Merge pull request #163 from jogu/workaround-for-gethostname
Mr-Dave Sep 11, 2016
7611f6e
Merge pull request #158 from jogu/camera_name
Mr-Dave Sep 12, 2016
8da1ec0
Merge pull request #162 from jogu/mysql-thread-safe-init
Mr-Dave Sep 12, 2016
b9f4ca8
Revise the condition for the MYPixelFormat to use the AVFORMAT versio…
Mr-DaveDev Sep 12, 2016
6d384fd
Suppress excessive and unfixable avcodec messages
Mr-DaveDev Sep 12, 2016
12f5cdd
Remove unused variables of ostatus and loop
Mr-DaveDev Sep 12, 2016
57254da
Merge pull request #166 from Mr-DaveDev/old-ffmpeg
jogu Sep 12, 2016
7389bca
Merge pull request #168 from Mr-DaveDev/loopback-warnings
jogu Sep 12, 2016
f219f81
Merge pull request #167 from Mr-DaveDev/netcam-messages
jogu Sep 12, 2016
b53b26c
Adding ubuntu 14.04 to build along with 12.04 in travis-ci
mterzo Sep 16, 2016
beded86
Renamed thread to camera to more clearly define what
mterzo Sep 16, 2016
4998d46
Fix jpeg-turbo detection
ffontaine Sep 16, 2016
c80466d
Merge pull request #173 from ffontaine/master
jogu Sep 16, 2016
65d6b90
Merge pull request #170 from mterzo/tavis-ci-trusty
jogu Sep 16, 2016
d1a2397
Fix detection of sqlite3 when cross-compiling
ffontaine Sep 16, 2016
787fad4
automatically resize mask image if size differs from that of the capt…
ccrisan Sep 17, 2016
7d54c39
Fix for first captured picture after start up is zero length
jogu Sep 17, 2016
709f626
Merge pull request #174 from ffontaine/master
jogu Sep 17, 2016
736f9bb
Change --without-sdl to --with-sdl=[DIR]
ffontaine Sep 18, 2016
41c841f
Fix jpeg-turbo detection
ffontaine Sep 19, 2016
7091156
Merge pull request #180 from ffontaine/jpeg-turbo-fixes
jogu Sep 20, 2016
02bda9d
Fix LIBS and CFLAGS when jpeg-turbo is enabled
ffontaine Sep 20, 2016
6b98805
Updated motion_guide.htm with extpipe description and examples
tosiara Sep 21, 2016
f95baa1
Merge branch 'camera_id' of https://github.com/mterzo/motion into mte…
Mr-DaveDev Sep 22, 2016
1d74158
Merge pull request #181 from ffontaine/jpeg-turbo-fixes
jogu Sep 22, 2016
249967e
Fix hostname determination for IPv6 addresses in web server.
slokhorst Sep 22, 2016
0a22df1
Fix string length in memchr call.
slokhorst Sep 22, 2016
aa7ba39
Cleanup HTML.
slokhorst Sep 22, 2016
74e9cbe
Fix another hostname issue, where the hostname would contain the next…
slokhorst Sep 23, 2016
8cedff6
Adds --without-mmal option to configure.
pcwalden Sep 23, 2016
22b81cf
Additional changes for move to camera instead of thread
Mr-DaveDev Sep 23, 2016
45f18a4
Log Level for Mask and Memory Leak
Mr-DaveDev Sep 24, 2016
e0f0261
Merge branch 'ccrisan-master' into mask_resize
Mr-DaveDev Sep 24, 2016
72193cc
Merge pull request #176 from ffontaine/master
Mr-Dave Sep 24, 2016
b8bab37
Merge pull request #187 from Mr-DaveDev/camera_id
Mr-Dave Sep 24, 2016
ae85287
Merge pull request #188 from Mr-DaveDev/mask_resize
Mr-Dave Sep 24, 2016
5eedddb
Merge pull request #179 from tosiara/extpipe-update-examples
Mr-Dave Sep 24, 2016
90660c0
Merge pull request #182 from slokhorst/ipv6-hostname
jogu Sep 24, 2016
b68ad37
Merge pull request #186 from pcwalden/master
jogu Sep 24, 2016
fcde5a2
Merge pull request #184 from slokhorst/html-cleanup
jogu Sep 24, 2016
82ca27b
Add systemd service file
slokhorst Sep 24, 2016
61e7836
Camera configuration directory
mterzo Sep 24, 2016
a404c4b
Merge pull request #189 from mterzo/camera_conf_dir
Mr-Dave Sep 24, 2016
7e16a9e
Merge pull request #185 from slokhorst/systemd
Mr-Dave Sep 25, 2016
7668cb0
Fix for a couple of warnings in developer builds
jogu Sep 25, 2016
7f16f56
Prevent blank line after ffmpeg log entries
jogu Sep 25, 2016
3562d7d
Update .gitignore for thread -> camera rename of config files
jogu Sep 25, 2016
3dcd57e
Remove old pwc-ioctl.h files, which are not used anywhere in the program
slokhorst Sep 25, 2016
b2f495c
Remove README.axis_2100 file which only has trivial instructions
slokhorst Sep 25, 2016
d095343
Merge pull request #195 from jogu/misc-tweaks
Mr-Dave Sep 25, 2016
7692717
Merge pull request #198 from slokhorst/rm-old-files
Mr-Dave Sep 26, 2016
7680f25
Fix line endings for man pages
infinity0 Sep 28, 2016
f6ff857
Fix paths in documentation
infinity0 Sep 28, 2016
8ea65f7
Fix spelling/grammar mistakes
infinity0 Sep 28, 2016
08095ad
Fix some under-escaping in motion.1 manpage
infinity0 Sep 28, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
*.log
.svn/
*.o
autom4te.cache
aclocal.m4
.depend
motion
config.h
config.status
config.h.in
Makefile
configure
motion-dist.conf
motion.init-Debian
motion.init-FreeBSD.sh
motion.service
motion.spec
camera1-dist.conf
camera2-dist.conf
camera3-dist.conf
camera4-dist.conf
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
before_script:
- autoreconf -fiv
- avplay -version
script: ./configure && make

matrix:
include:
- os: linux
language: c
compiler: gcc
addons:
apt:
packages:
- libavformat-dev
- libavcodec-dev
- libav-tools
- libavutil-dev
- libswscale-dev
- ffmpeg
- libjpeg8-dev
- libv4l-dev
- libzip-dev
- os: linux
language: c
compiler: gcc
sudo: rquired
dist: trusty
addons:
apt:
sources:
- sourceline: 'ppa:mc3man/trusty-media'
packages:
- libavformat-dev
- libavcodec-dev
- libav-tools
- libavutil-dev
- libswscale-dev
- ffmpeg
- libjpeg8-dev
- libv4l-dev
- libzip-dev

106 changes: 104 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,73 @@
SVN trunk Summary of Changes
Summary of Changes
* ffmpeg_variable_bitrate to values of 0-100 and ffmpeg fixes
* Better messages for pkg-config
* Fix timelapse crash when selecting mpeg4
Version 3.4.1 Changes Below
* Added suggestion for including pkgconf as part of build requirements
* Swap sequence of user ffmpeg path and PKG_CONFIG_PATH
* Allow : in non standard locations of netcam_url path.
* Eliminated the use of coded_frame (Was a redundant assignment)
* Revise HEVC to use H264 for older ffmpeg
* Add HEVC codec option for newer ffmpeg (momo-i)
* Makefile changes to align with Debian package and fixes from previous changes
* Revise description for netcam_url in configuration file.
* Change default for ffmpeg in configure.ac (Issue 795002,82)
To compile without ffmpeg now requires --without-ffmpeg option
* Change prefix to use sysconfdir instead. Install threadX.conf files to threadx-dist.conf
* Revise configure.ac to use pkg-config for ffmpeg(Rex Feany)
* Revise PIX_FMT to be able to use older ffmpeg versions.
* Revise PIX_FMT for newer ffmpeg(Rex Feany)
* Add patch for ports on proxy netcams from GVautier (issue 144906)
* Add patch from JonGuess(issue 151452) for treatment of partial netcam images.
* Consolidate the Sqlite3 options into the code standard.
* Draft revised motion_guide.html with new options.
* Revise manual to have current options.
* Tab/Space cleanup and validation security issue addressed. (issue 071831)
* Add preview to webcontrol page(issue 172526)
* Additional container fixes(requests/bugs 201900,110304,001656,050731)
* Remove depreciated deinterlace option
* Remove avformat_network_init call. Call was not needed and was leaking memory
* Add extra container options for ffmpeg videos
* Remove extra bytes before SOI marker on netcam images.
* Updated handling of lastsnap to permit subdirectory specification.
* Handle MJPEG streams from some Logitech webcams which send AVI1 instead of JFIF.
* Fix missing header for some builds(Jim Dodgen)
* Sqlite3 revisions (Jim Dodgen)
* Add new config options to the motion-dist.conf
* Allow text format specifiers to take a width like printf would. (David Fries)
* Allow text format specifiers to take a width like printf would. (David Fries)
* Add power_line_frequency configuration item to improve image quality. (David Fries)
* Fix webhttpd race condition crash with SIGHUP, add it to running thread counter (David Fries)
* Fix the GOP size for the created videos
* Fix netcam ftp functionality
* Fix Typo on the log level
* Fixed the network ftp image option.
* Lock thread on ffmpeg/libav init and open_codec
* Revise version number generated by script to indicate Unofficial-Git-'hash'
* Revised Changelog description for version 3.4
* Merge OpenBSD fixes from sthen pull request
* Revised picture.c to allow for modulo 8 pictures and adjusted netcam modules accordingly as well.(closes 135313)
* Changes to ffmpeg.h/ffmpeg.c to allow for compiling without ffmpeg/libav or with older versions.
* Merge mymalloc, free and casting changes from Alfred Klomp
* Merge bug fix for sizeof from Alfred Klomp
* Rewrote timelapse so that it works(closes 180501)
* Merge tosiara changes for version number
* Add copyright file for features added since 3.2.12
* Cleanup ffmpeg.c and plug memory leak
* Add support for latest version of ffmpeg/libav
* Tidy up packaging changes
* Add packaging fixes (infinity0)
* Revise version.sh to put out the git commit.
* Rollback revision to allow for a formal pull request.
* Reimplement changes not to be included in pull request from tosiara commit 9ebee031
* Implement requirement of modulo 16 to avoid seg fault when opening stream
* Add debian build files from trusty(14.04)
* Revise default values for motion.conf
* Revise CHANGELOG to conform with debian format
* Revised debian packaging files
* Implement new sequence for this file (CHANGELOG) newest to oldest.

Summary of Changes that were proposed to maintainer for a version 3.4

Features
* Insert Blanking frames http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x12x16x132522 (Dag Erlandsson)
Expand Down Expand Up @@ -49,6 +118,39 @@ Features
http://www.lavrsen.dk/foswiki/bin/view/Motion/OggTimelapse (Michael Luich)
* Added support for ffmpeg 0.11 new API.
* Added RSTP support for netcam ( merge https://github.com/hyperbolic2346/motion )
* Merge tosiara/rtsp branch (commit 46cfcf31d, 2014/05/21) (Mr-Dave)
* 3fps bugfix from SVN rev559 (tosiara, Joerg Weber)
* Buffer overflow vulnerabilities (hyperbolic2346)
* Redundand -- boundary prefix (torao)
* Removed compiler warnings: (Mr-Dave)
logger.c,jpegutils.c,netcam_ftp.c,track.c,
picture.c,webhttpd.c,stream.c,ffmpeg.c
* Bug fix as part of warnings in webhttpd.c fixed(Mr-Dave)
* Removed compiler warning regarding ffmpeg being newer than 0.4 version(Mr-Dave)
* New configure script and identification of ffmpeg version and additional libs. (Mr-Dave)
* Resolve additional compiler warnings in ffmpeg (Mr-Dave)
* Revised INSTALL with samples(Mr-Dave)
* Revisions for RTSP and code standard.(Mr-Dave)
* Plugged most memory leaks in RTSP. (Mr-Dave)
* Undo changes caused by code editor and other unnecessary changes (Mr-Dave)
* Moved call to netcam_shutdown_rtsp into netcam_cleanup where it belongs. (Mr-Dave)
* Regession fix for memory leaks and reconnection (Mr-Dave)
* Eliminated requirement to manually build FFMPEG for RTSP support. (Mr-Dave)
* Revised RTSP to support version 53 of libavformat (Mr-Dave)
* Revised FFMPEG.c to eliminate warnings and functions no longer supported by Libav/FFMPEG(Mr-Dave)
* Revised INSTALL to have sample PI configure option.(Mr-Dave)
* Revised configure.ac to generate compiler flag AVFMT_V53.(Mr-Dave)
* Revised INSTALL to indicate standard APT packages for RTSP (Mr-Dave)
* Revised configure.ac to recognize libavformat version 54 RTSP (Mr-Dave)
* Clean up the messaging for RTSP.
* Additional validations for RTSP connection and corrected free sequences
* Removed seg fault on failure to open first image, comments, isolation of RTSP
* Add AC_GNU_SOURCE macro to check for GNU C Library, fix compile when no FFMpeg.
* Implement inits of AV functions from bcl fork
* Add gray image upon disconnection
* Added tcp/udp transport config option from hyperbolic2346(commit 423ef7bb3)
* Revised comments to be in line with application standard.
* Restructure rtsp to handle rescaling and non YUV420 format, rotate, MJPEG input format

Bugfixes
* Avoid segfault detecting strerror_r() version GNU or SUSv3. (Angel Carpintero)
Expand Down Expand Up @@ -98,7 +200,7 @@ Bugfixes
http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2010x04x28x054348


3.2.11.1 Sumary of Changes
3.2.11.1 Summary of Changes

Bugfixes
* Fix Segfault on reload or quit for vloopback (maybe other v4l1 devices too) (Peter Holik)
Expand Down
5 changes: 5 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@ Mark Feenstra
Miguel Freitas
* Came up with the round robing idea.

David Fries
* Fix webhttpd race condition crash with SIGHUP, add it to running thread counter
* Allow text format specifiers to take a width like printf would.
* Add power_line_frequency configuration item to improve image quality.

Aaron Gage
* Pointed me to the vid_mmap/int problem when calling SYNC in
video.c
Expand Down
24 changes: 1 addition & 23 deletions FAQ
Original file line number Diff line number Diff line change
@@ -1,24 +1,2 @@
This FAQ is no longer kept up to date
Look at this URL for a more up to date wiki based FAQ
http://www.lavrsen.dk/twiki/bin/view/Motion/FrequentlyAskedQuestions

Q: motion crashes while parsing the config file.

A: Appearantly the behaviour of strtok in glibc has changed somewhat.
This problem should be fixed as of 2.3


Q: Were does motion look for the config file?

A: First it will look for 'motion.conf' in the current directory, next it will
try to find '.motion/motion.conf' in your home directory (pointed to by
the HOME environment variable). If these don't exist it will try to open
'/usr/local/etc/motion.conf' if you specified /usr/local as the prefix to
configure (this is the default).

Q: What codingstyle is used for motion?

A: Motion follows the same style as the linux kernel.
Read Documentation/Codingstyle in the kernel tree for some good reasons.
Also be aware that motion is multithreaded and as such all functions should
be reentrant, using static variables is usually a bad idea.
Look at the guide in /usr/share/doc/motion/motion_guide.html
46 changes: 38 additions & 8 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,16 +1,46 @@
Very simple:
The following is a brief overview of the building and installing instructions.

type:
For full instructions on how to build and install Motion, see the
motion_guide.html that is distributed with this source code.

./configure
The building instructions vary based upon the base system and the desired options.
For most installs, it will be desired to include either ffmpeg or libav and these will
have associated dependencies which dictate the configuration options.

followed by:
Build Packages:
autoconf
automake
pkgconf
libtool
libjpeg8-dev
build-essential
libzip-dev

make
The option to include FFMPEG or Libav functionality in motion is a choice of one OR the other not both.
The packages and library names change frequently and vary across base operating systems. If ffmpeg or
libav are built and installed from source the custom motion configuration options will usually be needed.

And
FFMPEG Packages
ffmpeg
libavformat-dev
libavcodec-dev
libavutil-dev
libswscale-dev

Libav Packages
libavformat-dev
libavcodec-dev
libavutil-dev
libav-tools
libswscale-dev

Once required packages are installed, execute:
autoreconf -fiv
./configure
make
make install


Next read the README
Sample custom configuration options:
--prefix : Specify the install location for the motion package
--with-ffmpeg=[dir] : Specify the location in which ffmpeg/libav is installed.

Loading