Motion - Support Question 2012x 12x 12x 220127

illegal instruction error

Question

motion produces 'illegal instruction' error when trying to create an avi file
error message:

File of type 8 saved to: /my/target/directory/211950.avi 
Illegal instruction 


motion.conf:

daemon on
setup_mode off
input 8
rotate 0
framerate 20
netcam_url http://my.net.cam.url
netcam_userpass user:pass
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
threshold 1500
noise_level 32
noise_tune on
lightswitch 0
minimum_motion_frames 1
pre_capture 5
post_capture 10
ausing all Motion to be written to one single mpeg file and no pre_capture.
gap 5
max_mpeg_time 0
output_normal off
output_motion off
quality 75
ppm off
ffmpeg_cap_new on
ffmpeg_video_codec mpeg4
ffmpeg_deinterlace off
locate off
text_right %Y-%m-%d\n%T-%q
text_changes off
text_event %Y%m%d%H%M%S
text_double off
target_dir /my/target/directory
snapshot_filename %v-%Y%m%d%H%M%S-snapshot
jpeg_filename %v-%Y%m%d%H%M%S-%q
movie_filename %H%M%S
webcam_port 8081
webcam_quality 50
webcam_motion off
webcam_maxrate 1
webcam_localhost off
webcam_limit 0
quiet on


edit: I've also tried ffmpeg_video_codec mpeg1 in motion.conf but that gives the followign error:
*** mpeg1 support for normal videos has been disabled ***
 ffopen_open error creating (new) file [/my/target/directory/224454]:


console output when I start motion:

# /opt/etc/init.d/S99motion 
[0] Processing thread 0 - config file /opt/etc/motion.conf 
[0] Motion 3.2.12 Started 
[0] ffmpeg LIBAVCODEC_BUILD 3356160 LIBAVFORMAT_BUILD 3411200 
[0] Thread 1 is from /opt/etc/motion.conf 
[1] Thread 1 started 
[1] Resizing pre_capture buffer to 1 items 
[1] Started stream webcam server in port 8081 
[1] Resizing pre_capture buffer to 6 items 

Environment

Motion version: 3.2.12-2
ffmpeg version: 0.svn20080409-3
Libraries: ffmpeg, mysql, postgresql
Server OS: SlugOSBE 5.3
-- NeuroneTv - 12 Dec 2012

Answer

Topic revision: r1 - 12 Dec 2012, NeuroneTv
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.