Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (88)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (3229)

  • FFMPEG hangs (sometimes) when trying to take a photo from USB camera ?

    13 mai 2022, par dezman

    I am attempting to write a script that takes a photo every 3 seconds from camera source "1", the -pix_fmt I think is unique to my USB camera.

    


    Here is the script :

    


    #!/bin/bash

set -e

while :
do
  nice_num=$(date +%s)
  
  ffmpeg -ss 00:00:00 -f avfoundation -pix_fmt yuyv422 -r 30.000030 -i "1" -t 1 -frames:v 1 -q:v 2 "image_$nice_num_%03d.jpg"
  
  wait

  sleep 3
done


    


    The issue is half the time it successfully takes the photo, and half the time it just hangs forever echoing this (not useful) :

    


    ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers
  built with Apple clang version 13.1.6 (clang-1316.0.21.2)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/5.0.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100


    


    Then I CTRL-C 3 times and get :

    


    ^C^C^CReceived > 3 system signals, hard exiting


    


    Other methods of "taking a photo every n seconds from bash" are also appreciated.

    


  • avfilter/vpp_qsv : fix regression on older api versions (e.g. 1.11)

    7 janvier 2022, par softworkz
    avfilter/vpp_qsv : fix regression on older api versions (e.g. 1.11)
    

    Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a
    regression in a way that scaling via vpp_qsv doesn't work any longer
    for devices with an MSDK runtime version lower than 1.19. This is true
    for older CPUs which are stuck at 1.11.
    The commit added checks for the compile-sdk version but it didn't test
    for the runtime version.

    Signed-off-by : softworkz <softworkz@hotmail.com>
    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavfilter/vf_vpp_qsv.c
  • Adjusting webcam settings before shooting a photo (v4l2 and fswebcam)

    18 septembre 2021, par Mikey

    I'm shooting photos with

    &#xA;

    sudo fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/"Temp Photo Holder SolidScape Right"/timelapse_$DATE.jpg&#xA;

    &#xA;

    on a Raspberry Pi 3 B+ running a recent version of Raspbian.

    &#xA;

    The script is controlling a Logitech c920 that has adjustable features like focus, brightness, contrast, etc.

    &#xA;

    I think the reason the 'manual' settings are not being saved is because I call the v4l2-ctl commands, add a delay, and then use fswebcam to shoot, like so :

    &#xA;

    #!/bin/bash&#xA;DATE=$(date &#x2B;"%y%m%d%H%M%S")&#xA;#sudo v4l2-ctl -d /dev/video0 -c focus_auto=false&#xA;#sudo v4l2-ctl -d /dev/video0 -c focus_absolute=35&#xA;sudo v4l2-ctl -d /dev/video0 -c brightness=128&#xA;sudo v4l2-ctl -d /dev/video0 -c contrast=128&#xA;sudo v4l2-ctl -d /dev/video0 -c saturation=128&#xA;sudo v4l2-ctl -d /dev/video0 -c gain=15&#xA;sudo v4l2-ctl -d /dev/video0 -c sharpness=128&#xA;sleep 2&#xA;&#xA;sudo v4l2-ctl -c exposure_auto_priority=1&#xA;&#xA;#fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/RasPi/"Temp Photo Holder SS"/timelapse_$DATE.jpg&#xA;&#xA;sudo fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/"Temp Photo Holder SolidScape Right"/timelapse_$DATE.jpg&#xA;&#xA;sleep 9&#xA;&#xA;sudo fswebcam -d /dev/video0 -r 1920x1080 --no-banner /media/networkshare/public/"Temp Photo Holder SolidScape Right"/timelapse_$DATE.jpg&#xA;&#xA;sleep 9&#xA;

    &#xA;

    How can I take a photo with manual settings appended ? Maybe I need to add commands to fswebcam inline instead of calling v4l2-ctl first ?

    &#xA;