Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still images are saved but not movies during motion detection #33

Closed
karma007 opened this issue Oct 21, 2015 · 10 comments
Closed

Still images are saved but not movies during motion detection #33

karma007 opened this issue Oct 21, 2015 · 10 comments

Comments

@karma007
Copy link

Hello, i noticed this problem in version 0.27.2 and now in 0.28.2.
Pictures are saved, but movies are not.

thanks
motioneye

@karma007 karma007 changed the title Still images are recorded but not movies suring motion detection Still images are saved but not movies during motion detection Oct 21, 2015
@ook
Copy link

ook commented Oct 21, 2015

Hi. Have you installed required tools for building movies? (depend of your architecture, should be avconv or ffmpeg IIRW)

@ccrisan
Copy link
Collaborator

ccrisan commented Oct 21, 2015

/var/log/motion.log should say more about this problem.

@karma007
Copy link
Author

here is the log (i'm on RPI2) :
[0] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motioneye/motion.conf
[0] [NTC] [ALL] config_thread: Processing config file thread-1.conf
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_output_movies"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_variable_bitrate"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_video_codec"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_bps"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "movie_filename"
[0] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
[0] [NTC] [ALL] motion_startup: Motion Unofficial-Git-d71cebf Started
[0] [NTC] [ALL] motion_startup: Logging to syslog
[0] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0] [NTC] [ALL] main: Thread 1 is from thread-1.conf
[0] [NTC] [ALL] main: Thread 1 is device: http://192.168.1.23:8081/ input -1
[0] [NTC] [ALL] main: Stream port 8081
[0] [NTC] [ALL] main: Waiting for threads to finish, pid: 26584
[1] [NTC] [ALL] motion_init: Thread 1 started , motion detection Enabled
[0] [NTC] [STR] httpd_run: motion-httpd testing : IPV4 addr: 127.0.0.1 port: 7999
[0] [NTC] [STR] httpd_run: motion-httpd Bound : IPV4 addr: 127.0.0.1 port: 7999
[0] [NTC] [STR] httpd_run: motion-httpd/Unofficial-Git-d71cebf running, accepting connections
[0] [NTC] [STR] httpd_run: motion-httpd: waiting for data on 127.0.0.1 port TCP 7999
[1] [ALR] [NET] netcam_start: Network Camera thread starting... for url (http://192.168.1.23:8081/)
[1] [NTC] [NET] netcam_read_first_header: Found Conn: close header ('Connection: close')
[1] [NTC] [NET] netcam_setup_html: connected, going on to read image.
[1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1] [ALR] [NET] netcam_handler_loop: Camera handler thread [2] started
[1] [NTC] [STR] http_bindsock: motion-stream testing : IPV4 addr: 127.0.0.1 port: 8081
[1] [NTC] [STR] http_bindsock: motion-stream Bound : IPV4 addr: 127.0.0.1 port: 8081
[1] [NTC] [ALL] motion_init: Started motion-stream server in port 8081 auth Disabled
[1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 3 items
[1] [WRN] [NET] netcam_next: called with no data in buffer
[0] [NTC] [STR] httpd_run: motion-httpd - Read from client

I have followed this procedure : https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian

whereis ffmpeg
ffmpeg: /usr/bin/ffmpeg /usr/share/man/man1/ffmpeg.1.gz

@ccrisan
Copy link
Collaborator

ccrisan commented Oct 22, 2015

Your motion has no ffmpeg support. How did you install motion?

@karma007
Copy link
Author

i think i used "apt-get install motion ffmpeg"
but, as i used motioneye old version, i'm not sure.
More over, i think my motion file in /usr/bin/motion is "motion--mmal" (as i've got a motion.old too).
Shoud il replace this file with this one : https://github.com/ccrisan/motioneye/wiki/motion-binaries/motion-mrdave-raspbian ?

thanks

@ccrisan
Copy link
Collaborator

ccrisan commented Oct 22, 2015

Yes, you should.

@karma007
Copy link
Author

i have downloaded and chmod 0755/usr/bin/motion
now movies works again
thanks

@ccrisan
Copy link
Collaborator

ccrisan commented Oct 22, 2015

Great. I'll close the issue then.

@ccrisan ccrisan closed this as completed Oct 22, 2015
@2ra3
Copy link

2ra3 commented Apr 7, 2017

thread-1 is not being procesed. what am i doing wrong?

@ccrisan
Copy link
Collaborator

ccrisan commented Apr 8, 2017

@2ra3 please open a specific issue and give us more details (such as how is it not being processed and some log/config files).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants