Commit Graph

1294 Commits

Author SHA1 Message Date
MrDave
4142fed9ff Remove mmx 2021-03-21 16:23:51 -06:00
MrDave
96a8fbd285 Adjust indentation of #if blocks 2021-03-21 16:23:51 -06:00
MrDave
c55eba3b2e Remove separate translate module 2021-03-21 16:23:51 -06:00
MrDave
b6038af62d Revise variable names netcam_rtsp to netcam 2021-03-21 16:23:51 -06:00
MrDave
851227b00b Rename module from netcam_rtsp to netcam 2021-03-21 16:23:51 -06:00
MrDave
58e68267de Revise variable name ffmpeg to movie 2021-03-21 16:23:51 -06:00
MrDave
f40c4dbe25 Revise ffmpeg to movie 2021-03-21 16:23:51 -06:00
MrDave
75dd81690d Remove bktr support 2021-03-21 16:23:51 -06:00
MrDave
ab78313b79 Change ffmpeg to be required 2021-03-21 16:23:51 -06:00
MrDave
517521257c Remove obscure netcam options 2021-03-21 16:23:51 -06:00
MrDave
f67e17d6ff Update translation files 2021-03-21 16:23:51 -06:00
MrDave
5de0add422 Remove legacy stream module 2021-03-21 16:23:50 -06:00
Mr-DaveDev
8b751b46dd Add DESTDIR to local rule 2021-03-21 16:23:50 -06:00
jasaw
ce8e22557a ffmpeg: rework blacklist 2021-03-13 13:01:20 -07:00
Mr-DaveDev
94829ab52b Update version script 2021-03-13 13:01:20 -07:00
Mr-DaveDev
43bb7787b2 Autotools (#1011)
* Revise directory structure

* Update translation files and mmal

* Test for sys/videoio.h

* Revise sysconfdir specification

* Update defines to match configure

* v4l2 configure, translations

* Update travis

* Updated tests for travis

* Updated 16.04 and fewer checks

* Update travis for Mac

* Move CODE_STANDARD and delete test_builds.sh

* Update documentation
2021-03-13 13:01:20 -07:00
Mr-DaveDev
75143ed73e Eliminate compiler warnings
* Resolve compiler warnings

* Remove mysql testing for buster

* Adjust for null terminating byte
2021-03-13 13:01:20 -07:00
Mr-DaveDev
c0119d6d78 Adjust location of functions in module (#1009) 2021-03-13 13:01:20 -07:00
Mr-DaveDev
da95d25ed0 Update travis test distros (#1008) 2021-03-13 13:01:20 -07:00
popoviciri
e583eece51 Update mmal raspicam (#1005)
* update raspicam files with latest from raspberrypi/userland

* document changes to "RaspiCamControl.c" file
2021-03-13 13:01:20 -07:00
jasaw
c03360464f OMX: disable zerocopy the via avoption (#998)
ffmpeg no longer force enable zerocopy on RPi builds, which means
we can disable zerocopy from ffmpeg options.
2021-03-13 13:01:20 -07:00
jasaw
ee211377bd emulate motion also produces movies with no pause (#997) 2021-03-13 13:01:20 -07:00
jasaw
0ac21e9c16 Support h264_v4l2m2m video encoder (#991)
* support h264_v4l2m2m encoder

* fix h264_v4l2m2m encoder draining error

Handle h264_v4l2m2m encoder setting packet pts and size to zero rather
than returning AVERROR_EOF to indicate the end of codec draining.

* ffmpeg_alloc_video_buffer: more useful error message

* ffmpeg_alloc_video_buffer: get rid of goto

* ffmpeg: rearrange end of codec drain detection code

* ffmpeg: only NV21 format convert if h264_v4l2m2m

* ffmpeg: handle separated NAL unit during encoding

* ffmpeg: ensure first frame PTS is zero

* Revise to use enum and parse into some smaller functions
2021-03-13 13:01:20 -07:00
tomamplius
593462dd23 fix comment (#975) 2021-03-13 13:01:20 -07:00
hasselh
2f74f7198d v4l2_fps_set added to set device framerate (#969)
* v4l2_fps_set added to set device framerate

* Update video_v4l2.c

in v4l2_fps_set:
- moved function v4l2_fps_set() up into HAVE_V4L2 logic
- replaced calloc() by mymalloc()
- removed redundant memset()
- added freeing up memory before function exit

* Revise setting and reporting for fps on v4l2 devices
2021-03-13 13:01:20 -07:00
tosiara
fcc7a66107 jpeg code cleanup (#851)
* Changed how jpeg is written to file
Removed redundant code, put jpeg to memory and then write to file using fwrite

* Similar reuse of function put_jpeg_grey_memory

* Add jpeg error handler to put_jpeg_yuv420p_memory
Handlers copied from jpegutils.c

* Too much copied, removing extra line

* Similar changes to grey jpeg code

* Moved jpeg related functions from picture.c to jpegutils.c

* Fix for travis: unused parameter

* Few more unnecessary code removed from picture.c

* Fix for travis: no previous prototype

* Adjust function names and headers
2021-03-13 13:01:20 -07:00
Mr-DaveDev
2424114549 Fix substream processing when images not modulo 16 (#990) 2021-03-13 13:01:20 -07:00
Mr-DaveDev
8eb9a295b5 Ignore invalid packet data (#986) 2021-03-13 13:01:20 -07:00
Mr-DaveDev
8f556e9e27 Revise Netcam handler (#984)
* Eliminate reconnect delay
2021-03-13 13:01:20 -07:00
Mr-DaveDev
56eda6b63c Answer incorrect web stream requests (#982)
Closes #916
2021-03-13 13:01:20 -07:00
Mr-DaveDev
ddec009f57 Delay on reconnect (#983) 2021-03-13 13:01:20 -07:00
tosiara
05150afc44 Incorrect file type specified when saving snapshots (#981)
Should have been FTYPE_IMAGE_SNAPSHOT instead of a generic FTYPE_IMAGE
Reported here: https://github.com/Motion-Project/motion/issues/980
2021-03-13 13:01:20 -07:00
tosiara
fd3997a073 Add new variable to the context structure: extpipecmdline (#961)
It will contain full command line of extpipe
The problem was that this command line was only stored in a temp buffer
upon creation of the pipe. So it was not possible to write full command
line into log if pipe fails to put a frame
2021-03-13 13:01:20 -07:00
jasaw
e8161e2825 ffmpeg: do bitrate calculation in 64 bits to prevent overflow (#959) 2021-03-13 13:01:20 -07:00
MrDave
1180151543 Merge branch 'master' into 4.2 release-4.2.2 2019-02-03 11:52:40 -07:00
Mr-DaveDev
c43a56095e Version 4.2.2 2019-02-03 11:51:34 -07:00
Mr-DaveDev
b5b8496492 OpenBSD compile 2019-02-03 10:40:17 -07:00
Mr-DaveDev
cf1582967c Webcontrol Actions (#900)
* Update Webcontrol Actions and Resolve Compiler Warnings
2019-02-03 10:16:59 -07:00
Mr-DaveDev
503af40f1d Set packet stream_index for pass through
Closes #889
2019-01-19 20:40:59 -07:00
Mr-DaveDev
1d6556289b Revise stream rate 2019-01-19 20:39:13 -07:00
Mr-DaveDev
f40b46f331 Answer stream only after first pass of motion loop
closes #883
2019-01-19 20:38:31 -07:00
Mr-DaveDev
b550370585 Save preview on emulate
Closes #876
2019-01-19 20:36:22 -07:00
Mr-DaveDev
5508eb0c5a Initialize for track type 4
Closes #877
2019-01-19 20:35:10 -07:00
Martin Pollard
1faacf12be Fix webu_hostname to handle IPv6 [] colons (#885)
webu_hostname currently incorrectly parses IPv6 [] style IP addresses in hostnames because it misinterprets the colons within them as the port delimiting colon.
2019-01-13 22:03:04 -07:00
Mr-DaveDev
7bd179c085 Update Version number to 4.2.1+git 2018-12-09 11:52:25 -07:00
Mr-Dave
68112cbd8f 4.2.1
4.2.1
release-4.2.1
2018-12-09 10:48:12 -07:00
Mr-DaveDev
b7f8b2dcdd Version 4.2.1 2018-12-09 10:15:16 -07:00
Mr-DaveDev
3c249fbcfa Logging messages
Closes #861
2018-12-02 12:06:26 -07:00
tosiara
3955c75c85 Added SQL logging
Closes #858
2018-11-30 18:26:47 -07:00
Mr-DaveDev
d8377cb5bc v4l2 via netcam revisions
Closes #853
Closes #854
Closes #855
Closes #857
2018-11-27 18:34:55 -07:00