Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (38)

  • 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 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • 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 (7334)

  • Get stdout from an idle background application in Windows

    24 septembre 2016, par Joe

    I have an ffmpeg.exe process that appears to be hung - it hasn’t done anything for several days. It was started by exec() in PHP, so is running in the background and has no window.

    I would like to know what caused it to stop/hang.

    Is there anyway to get what it has written to stdout ?

  • QML multimedia cannot play m3u8 that is generated with ffmpeg

    5 juin 2023, par LeXela-ED

    With the following command, I am trying to stream an IP camera over web :

    


    ffmpeg -re -i "rtsp://<user>:<password>@<ip>:<port>" -c:v copy -c:a copy -hls_segment_type mpegts -hls_list_size 5 -hls_wrap 5 -hls_time 2 -hls_flags split_by_time -segment_time_delta 1.00 -reset_timestamps 1 -hls_allow_cache 0 -movflags faststart live.m3u8```&#xA;</port></ip></password></user>

    &#xA;

    This command, produces live.m3u8 and five ts files : live0.ts, live1.ts, live2.ts, live3.ts, and live4. And conversion goes smoothly. At some random point, the content of live.m3u8 is as follows :

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-TARGETDURATION:2&#xA;#EXT-X-MEDIA-SEQUENCE:92&#xA;#EXTINF:2.000000,&#xA;live2.ts&#xA;#EXTINF:2.000000,&#xA;live3.ts&#xA;#EXTINF:2.035800,&#xA;live4.ts&#xA;#EXTINF:2.000000,&#xA;live0.ts&#xA;#EXTINF:1.963278,&#xA;live1.ts&#xA;

    &#xA;

    However, when I tried to play live.m3u8 with the following QML code, it only played a very first segments of it :

    &#xA;

    import QtQuick 2.15&#xA;import QtQuick.Window 2.15&#xA;import QtQuick.Controls 2.15&#xA;import QtQuick.Layouts 1.15&#xA;import QtMultimedia 5.15&#xA;&#xA;Window&#xA;{&#xA;    width: 640&#xA;    height: 480&#xA;    visible: true&#xA;&#xA;    Item&#xA;    {&#xA;        anchors.fill: parent&#xA;&#xA;        MediaPlayer&#xA;        {&#xA;            id: mediaplayer&#xA;            source: "path-to-live/live.m3u8"&#xA;            videoOutput: videoOutput&#xA;        }&#xA;&#xA;        VideoOutput&#xA;        {&#xA;            id: videoOutput&#xA;            anchors.fill: parent&#xA;        }&#xA;&#xA;        MouseArea&#xA;        {&#xA;            anchors.fill: parent&#xA;            onPressed: mediaplayer.play();&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;

    &#xA;

    The interesting thing is : I manually deleted live.m3u8, and obviously, ffmpeg generated another one after ! Then I clicked on the QML program window, and surprisingly, it played the stream nonstop as it was expected at the first run !

    &#xA;

    What is the problem here ? What I am missing ? Should I change the ffmpeg command or do something with my qml code ? Any idea or help ?

    &#xA;

    Thank you in advance.

    &#xA;

  • Why does ffplay read both video and keyboard input from stdin ?

    27 janvier 2016, par cxrodgers

    I’m trying to compress a video feed from a webcam while simultaneously displaying it, using ffmpeg and ffplay. I do actually have this working, but I want to disable the ffplay window from interpreting keyboard presses.

    It took me a while to figure this out but here’s what I’m using :

    ffmpeg -f video4linux2 -i /dev/video0 -vcodec mpeg4 -f rawvideo - \
     | tee output.mkv \
     | ffplay -fflags nobuffer -

    (Actually I am doing all of this from a Python script using the subprocess module. Here I have represented it as a straightforward terminal command because the result is the same.)

    So this actually works and does everything I want. The only thing is that if the ffplay window is active, it interprets keypresses (like "F" for fullscreen). Instead I want it to completely ignore all keypresses.

    My questions :

    1. How is this even possible ? I thought I was redirecting video input to stdin, and then telling ffplay to read video from stdin. How can keypresses be multiplexed on the same pipe ?
    2. How can I disable this behavior ? I tried "-nostdin" but it doesn’t work with my version.

    # ffplay -nostdin output.mkv

    ffplay version N-77455-g4707497 Copyright
    (c) 2003-2015 the FFmpeg developers built with gcc 4.8 (Ubuntu
    4.8.4-2ubuntu1 14.04)

    ...

    Failed to set value ’output.mkv’ for option ’nostdin’ : Option not
    found