myfopen: Error opening file | put_picture: Can't write picture to file
Question
Hello i have a fresh fedora 20 i686 install and installed all dependencies requeried, also disabled SELINUX and changing pemissions on folders but when run motion crash every time, i have a motion running on others systems working very nice, but in this new install is crashing.
cap.driver: "uvcvideo"
cap.card: "USB 2.0 Camera"
cap.bus_info: "usb-0000:00:1d.7-4"
cap.capabilities=0x84000001
------------------------
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_select_input: - CAMERA
[1] [WRN] [VID] [Nov 27 00:00:52] v4l2_select_input: Device doesn't support VIDIOC_G_STD
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_do_set_pix_format: Testing palette YUYV (640x480)
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_do_set_pix_format: Using palette YUYV (640x480) bytesperlines 1280 sizeimage 614400 colorspace 00000000
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: found control 0x00980900, "Brightness", range -10,10
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: "Brightness", default 0, current 0
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: found control 0x00980901, "Contrast", range 0,20
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: "Contrast", default 3, current 3
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: found control 0x00980902, "Saturation", range 0,10
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: "Saturation", default 5, current 5
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: found control 0x00980910, "Gamma", range 100,200
[1] [NTC] [VID] [Nov 27 00:00:52] v4l2_scan_controls: "Gamma", default 130, current 130
[1] [NTC] [VID] [Nov 27 00:00:52] vid_v4lx_start: Using V4L2
[1] [NTC] [ALL] [Nov 27 00:00:52] image_ring_resize: Resizing pre_capture buffer to 1 items
[1] [NTC] [EVT] [Nov 27 00:00:57] event_new_video FPS 2
[1] [NTC] [ALL] [Nov 27 00:00:57] motion_detected: Motion detected - starting event 1
[1] [ERR] [ALL] [Nov 27 00:00:57] myfopen: Error opening file /home/blackhero/Vídeos/01-20091127000057-01.jpg with mode w:
[1] [ERR] [ALL] [Nov 27 00:00:57] put_picture: Can't write picture to file /home/blackhero/Vídeos/01-20091127000057-01.jpg - check access rights to target directory
Thread is going to finish due to this fatal error:
[1] [NTC] [ALL] [Nov 27 00:00:58] motion_loop: Thread exiting
[1] [NTC] [VID] [Nov 27 00:00:58] vid_close: Closing video device /dev/video0
[0] [NTC] [ALL] [Nov 27 00:00:58] main: Threads finished
[0] [NTC] [ALL] [Nov 27 00:00:59] main: Motion terminating
[0] [NTC] [ALL] [Nov 27 00:00:59] motion_remove_pid: Closing logfile (/var/log/motion.log).
Environment
Motion version: |
3.3.0 |
ffmpeg version: |
2.2.1 |
Libraries: |
ffmpeg |
Server OS: |
Fedora 3.12.6-300.fc20.i686 |
--
RaulFenossi - 13 Jan 2014
Answer