Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (32)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6778)

  • Trigger exec_pull on http connection

    29 octobre 2019, par M. Cole

    Is it possible to trigger exec_pull on http connection ? For example, I have the following Nginx configuration :

    server {

    listen 80;

    location /hls {

     types {
       application/vnd.apple.mpegurl m3u8;
       video/mp2t ts;
     }

                     root /mnt;
                     add_header Cache-Control no-cache;
                     index index.m3u8 index.ts;
                     add_header Access-Control-Allow-Origin *;
               }
           }

    }

    rtmp {

       server {
           listen 1935;
           allow play all;

    application hls {

    live on;
    exec_options on;

    exec_pull /usr/bin/ffmpeg -re -i http://example.com:333/293.m3u8 -c copy -f flv rtmp://localhost:1935/hls/$name;
    }

    application hls {

       live on;
       hls on;
       hls_path /mnt/hls;
       hls_fragment 3s;
    }

        }
     }

    I would like to have an exec_pull triggered on HLS http request.
    For example If I request http://my-serverip.com/hls/293.m3u8 then it should start ffmpeg to start creating hls files.

    I’ve been working on this for 5-6 days and could not figure out how to trigger exec_pull on http requests.

  • Opencv 3.1 compiled with FFMPEG, but won't open https urls

    2 mars 2018, par stalagmite7

    I work on a 16.04 system, and have successfully installed opencv 3.1 with FFMPEG flags enabled. I double checked this was actually the case by cv2.getBuildInformation() and I got FFMPEG = YES.

    I am trying to open a video that is hostel on a private server by my workplace (I am logged in to the VPN, in case thats a concern) and I can access this video over the browser. But videocapture with cv2 fails.

    >>> cap = cv2.VideoCapture("https://xxx.mp4", cv2.CAP_ANY) #dummy url
    >>> cap
    <videocapture 0x7f63300fa4b0="0x7f63300fa4b0">
    >>> cap.isOpened()
    False
    </videocapture>

    This is always the case for https urls. It seems to be able to work with local videos just fine. I have tried a bunch of different thing : initially thought it was a gstreamer problem so I checked my plugins, had some gst-bad versions (ref : https://github.com/GStreamer/gst-plugins-ugly), removed those and replaced with good versions, no joy. Also tried to explicitly tell videoCapture to use cv2.CAP_ANY and cv2.CAP_FFMPEG flags while reading the video, still no luck.

    I disabled the Gstreamer flag while compiling opencv, but even with it set to ON, there was no difference in my problem.

    I haven’t been able to find a solution to this issue and have been looking and trying different things for days now ! Any ideas ?

  • FFMPEG : Changing the filter prevents the video from being blurred

    11 juillet 2016, par Drupalist

    I am new to FFMPEG, it has been a few days I am working on it. I tried the code given at
    FFmpeg - Apply blur over face
    .I have a video with 208 X 208 resolution and I need to blur a rectangle on the video, with some width/height and top/left offset. The following codes successfully blur the video

    ffmpeg -i test1.mov -filter_complex "[0:v]crop=10:10:1:1,boxblur=1[b0];[0:v][b0]overlay=10:10" intro-blur.mov

    ffmpeg -i test1.mov -filter_complex "[0:v]crop=50:50:1:1,boxblur=1[b0];[0:v][b0]overlay=10:10" intro-blur.mov

    But the followings don’t

    ffmpeg -i test1.mov -filter_complex "[0:v]crop=5:5:1:1,boxblur=10[b0];[0:v][b0]overlay=10:10" intro-blur.mov

    ffmpeg -i test1.mov -filter_complex "[0:v]crop=10:10:1:1,boxblur=10[b0];[0:v][b0]overlay=10:10" intro-blur.mov

    ffmpeg -i test1.mov -filter_complex "[0:v]crop=20:20:1:1,boxblur=10[b0];[0:v][b0]overlay=10:10" intro-blur.mov

    I would like to know why it is so ? What is the problem with the codes that don’t work.

    Thanks in advance.