Aller au contenu

szb20634

Membres
  • Compteur de contenus

    5
  • Inscription

  • Dernière visite

À propos de szb20634

Mon Profil

  • Sex
    Male
  • Pays / Ville
    IDF

szb20634's Achievements

Newbie

Newbie (1/14)

0

Réputation sur la communauté

  1. Hello Oui malgre vos conseils rien a faire donc je jette l'eponge pour le moment. Merci de votre aide A+ sur le forum
  2. Non effectivement pas plus de réponse en 8081 . Peut on trouver des outils pour analyser plus finement ce qui se passe au niveau de /dev/video0 ? Un flux, une trace de log ? En attendant je regarde autour de moi si une autre webcam tourne. Il reste cette possibilité mais je suis péssimiste sur le coup.
  3. Et oui encore moi Bon petit recap des manip ainsi que de la config Matériel : DS 212 OS : DSM 3.2 1955 Webcam : Microsoft HD 5000 compatible UVC DiskStation> lsmod Module Size Used by Tainted: P ftdi_sio 30208 0 pl2303 14045 0 usbserial 25620 2 ftdi_sio,pl2303 uvcvideo 55894 0 v4l2_common 10367 0 videodev 30707 1 uvcvideo v4l1_compat 13439 2 uvcvideo,videodev ... DiskStation> dmesg [56087.950000] Linux video capture interface: v2.00 [56089.980000] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam HD-5000 (045e:076d) [56090.000000] input: Microsoft® LifeCam HD-5000 as /class/input/input0 [56090.030000] usbcore: registered new interface driver uvcvideo [56090.030000] USB Video Class driver (v0.1.0) ... DiskStation> mknod /dev/video0 c 81 0 DiskStation> ll /dev | grep video* crw-r--r-- 1 root root 81, 0 Dec 8 00:09 video0 DiskStation> ipkg install motion Package motion (3.2.12-2) installed in root is up to date. Nothing to be done Successfully terminated. DiskStation> ipkg install libjpeg Package libjpeg (6b-3) installed in root is up to date. Nothing to be done Successfully terminated. Configuration de Motion grace au site de Patrick DiskStation> motion [0] Processing thread 0 - config file /opt/etc/motion.conf [0] Motion 3.2.12 Started [0] Motion going to daemon mode Console fonctionnelle en http://192.168.1.10:8080 Creation d'un snapshot, mais toujours la meme chose : Unable to open video devide en incrustation dans une image grise. Je sui nul en linux, mais comment l'os fait le lien entre : input: Microsoft® LifeCam HD-5000 as /class/input/input0 et /dev/video0 de plus voici la config de motion : Thread 0 daemon = on process_id_file = /volume1/addon/webcam/motion/motion.pid setup_mode = off videodevice = /dev/video0 v4l2_palette = 8 input = 8 norm = 0 frequency = 0 rotate = 0 width = 320 height = 240 framerate = 2 minimum_frame_time = 0 netcam_url = (not defined) netcam_userpass = (not defined) netcam_http = 1.0 netcam_proxy = (not defined) netcam_tolerant_check = off auto_brightness = off brightness = 0 contrast = 0 saturation = 0 hue = 0 roundrobin_frames = 1 roundrobin_skip = 1 switchfilter = off threshold = 1500 threshold_tune = off noise_level = 32 noise_tune = on despeckle = EedDl area_detect = (not defined) mask_file = (not defined) smart_mask_speed = 0 lightswitch = 0 minimum_motion_frames = 1 pre_capture = 0 post_capture = 0 gap = 60 max_mpeg_time = 0 output_all = off output_normal = on output_motion = off quality = 75 ppm = off ffmpeg_cap_new = on ffmpeg_cap_motion = off ffmpeg_timelapse = 0 ffmpeg_timelapse_mode = daily ffmpeg_bps = 500000 ffmpeg_variable_bitrate = 0 ffmpeg_video_codec = mpeg4 ffmpeg_deinterlace = off snapshot_interval = 0 locate = off text_right = %Y-%m-%dn%T-%q text_left = (not defined) text_changes = off text_event = %Y%m%d%H%M%S text_double = off target_dir = /volume1/addon/webcam/motion snapshot_filename = %v-%Y%m%d%H%M%S-snapshot jpeg_filename = %v-%Y%m%d%H%M%S-%q movie_filename = %v-%Y%m%d%H%M%S timelapse_filename = %Y%m%d-timelapse webcam_port = 8081 webcam_quality = 50 webcam_motion = off webcam_maxrate = 1 webcam_localhost = off webcam_limit = 0 control_port = 8080 control_localhost = off control_html_output = on control_authentication = (not defined) track_type = 0 track_auto = off track_port = (not defined) track_motorx = 0 track_motory = 0 track_maxx = 0 track_maxy = 0 track_iomojo_id = 0 track_step_angle_x = 10 track_step_angle_y = 10 track_move_wait = 10 track_speed = 255 track_stepsize = 40 quiet = on on_event_start = (not defined) on_event_end = (not defined) on_picture_save = (not defined) on_motion_detected = (not defined) on_area_detected = (not defined) on_movie_start = (not defined) on_movie_end = (not defined) on_camera_lost = (not defined) sql_log_image = off sql_log_snapshot = off sql_log_mpeg = off sql_log_timelapse = off sql_query = insert into security(camera, filename, frame, file_type, time_stamp, event_time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T', '%C') mysql_db = (not defined) mysql_host = localhost mysql_user = (not defined) mysql_password = (not defined) video_pipe = (not defined) motion_video_pipe = (not defined) thread = No threads Une idée ?
  4. Hello Merci Sp@ro et PatrickH pour vos retours. Motion installé, libjpeg aussi. Par contre lancement de motion, config accessible en 8080 mais lors du snapshot avec le site l'image est grise avec un "Unable to open video device" Le conf de motion est celui de base, y a t'il qq chose à modifier? Est il possible d'avoir un exemple de conf qui fonctionne ? Merci d'avance pour votre aide.
  5. Bonjour à tous Voila je suis nouveau en Syno et en linux. Je fouille beaucoup donc si ma réponse se trouve ailleur ne tapez pas trop fort Matériel : DS 212 OS : DSM 3.2 1955 Webcam : Microsoft HD 5000 semble compatible UVC d'après le site : Je viens de télécharger les derniers modules de Sp@ro donc : Voila les commandes et leurs résultats : insmod /volume1/addon/webcam/modules/v4l1-compat.ko insmod /volume1/addon/webcam/modules/videodev.ko insmod /volume1/addon/webcam/modules/v4l2-common.ko insmod /volume1/addon/webcam/modules/uvcvideo.ko OK Dmesg [ 329.320000] Linux video capture interface: v2.00 [ 351.720000] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam HD-5000 (045e:076d) [ 351.740000] input: Microsoft® LifeCam HD-5000 as /class/input/input0 [ 351.760000] usbcore: registered new interface driver uvcvideo [ 351.770000] USB Video Class driver (v0.1.0) OK mknod /dev/video0 c 81 0 OK DiskStation> pwd /volume1/addon/webcam/mjpg-streamer DiskStation> export LD_LIBRARY_PATH="$(pwd)" DiskStation> ./mjpg_streamer -i "./input_uvc.so -f 15 -r 960x720" -o "./output_h ttp.so -w ./www" MJPG Streamer Version.: 2.0 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 960 x 720 i: Frames Per Second.: 15 i: Format............: MJPEG ERROR opening V4L interface: Invalid argument Init v4L2 failed !! exit fatal i: init_VideoIn failed DiskStation> Donc si qqu à une idée lumineuse merci de votre aide.
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.