Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (78)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6177)

  • avutil/mips : refactor msa SLDI_Bn_0 and SLDI_Bn macros.

    6 août 2019, par gxw
    avutil/mips : refactor msa SLDI_Bn_0 and SLDI_Bn macros.
    

    Changing details as following :
    1. The previous order of parameters are irregular and difficult to
    understand. Adjust the order of the parameters according to the
    rule : (RTYPE, input registers, input mask/input index/..., output registers).
    Most of the existing msa macros follow the rule.
    2. Remove the redundant macro SLDI_Bn_0 and use SLDI_Bn instead.

    Reviewed-by : Shiyou Yin <yinshiyou-hf@loongson.cn>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/h264dsp_msa.c
    • [DH] libavcodec/mips/h264qpel_msa.c
    • [DH] libavcodec/mips/hevc_lpf_sao_msa.c
    • [DH] libavcodec/mips/hevcpred_msa.c
    • [DH] libavcodec/mips/hpeldsp_msa.c
    • [DH] libavcodec/mips/me_cmp_msa.c
    • [DH] libavcodec/mips/qpeldsp_msa.c
    • [DH] libavcodec/mips/vp8_mc_msa.c
    • [DH] libavcodec/mips/vp9_idct_msa.c
    • [DH] libavcodec/mips/vp9_lpf_msa.c
    • [DH] libavcodec/mips/vp9_mc_msa.c
    • [DH] libavutil/mips/generic_macros_msa.h
  • Reading images from AXIS ip camera using OpenCV

    14 juin 2016, par batuman

    I am trying to access AXIS IP camera from my program using OpenCV.
    My OpenCV version is 3.1. I follow this tutorial link.

    I have all libraries installed.
    My following program can load mp4 video successfully. That means ffmpeg and necessary libraries are working fine.

    #include <iostream>
    #include <opencv2></opencv2>opencv.hpp>

    using namespace std;
    int main() {
       cv::VideoCapture vcap("test.mp4");
       cv::Mat image;
    //    const string address = "rtsp://root:pass@192.168.0.90/axis-media/media.amp?camera=1";
    //    if(!vcap.open(address)){
    //      std::cout &lt;&lt; "Error opening video stream or file " &lt;&lt; std::endl;
    //      return -1;
    //    }
       for(;;){
           if(!vcap.read(image)){
               std::cout &lt;&lt; "No frame" &lt;&lt; std::endl;
               cv::waitKey(0);
           }
           cv::imshow("Display", image);
           cv::waitKey(1);
       }
       return 0;
    }
    </iostream>

    When I tried to access the IP Camera as follow

    cv::VideoCapture vcap("rtsp://root:pass@192.168.0.90/axis-media/media.amp?camera=1");

    I have the following error

    GStreamer Plugin: Embedded video playback halted; module source reported: Could
    not open resource for reading and writing.
    OpenCV Error: Unspecified error (GStreamer: unable to start pipeline
    ) in cvCaptureFromCAM_GStreamer, file /home/Softwares/opencv/opencv/modules
    /videoio/src/cap_gstreamer.cpp, line 818
    terminate called after throwing an instance of 'cv::Exception'
     what():  /home/Softwares/opencv/opencv/modules/videoio/src/cap_gstreamer.
    cpp:818: error: (-2) GStreamer: unable to start pipeline
    in function cvCaptureFromCAM_GStreamer

    User is root and password is pass and ip 192.168.0.90 are all defaults.

    My if config gave me

    ifconfig
    eth0      Link encap:Ethernet  HWaddr b8:2a:72:c6:b8:13  
             inet6 addr: fe80::ba2a:72ff:fec6:b813/64 Scope:Link
             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
             RX packets:723959 errors:0 dropped:0 overruns:0 frame:0
             TX packets:116637 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:199422245 (199.4 MB)  TX bytes:13701699 (13.7 MB)

    lo        Link encap:Local Loopback  
             inet addr:127.0.0.1  Mask:255.0.0.0
             inet6 addr: ::1/128 Scope:Host
             UP LOOPBACK RUNNING  MTU:65536  Metric:1
             RX packets:24829 errors:0 dropped:0 overruns:0 frame:0
             TX packets:24829 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:0
             RX bytes:2502903 (2.5 MB)  TX bytes:2502903 (2.5 MB)

    wlan0     Link encap:Ethernet  HWaddr a0:a8:cd:99:92:60  
             UP BROADCAST MULTICAST  MTU:1500  Metric:1
             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
             collisions:0 txqueuelen:1000
             RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    What could be the problem for this access to the camera ?

    Thanks

  • ffmpeg - rendering images and sound into video with transparent background

    22 septembre 2013, par Adam

    I got lots of images and a sound file.

    I want to convert all these images into a video (with the wav file as the sound of the movie).
    The images have a transparent background and I want the movie's background to be transparent too.

    How do I tell ffmpeg to render with a transparent background ?

    P.S - I keep getting the following error :

    Error while opening encoder for output stream #255:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    Sincerely,

    Adam.