Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (57)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

Sur d’autres sites (8458)

  • nginx rtmp-module can't execute ffmpeg

    6 juin 2023, par Nasir

    I am having an issue with nginx-rtmp-module exec ffmpeg command. i have followed the example on 
www.github.com/arut/nginx-rtmp-module

    



    /home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream


    



    the command is working fine in terminal

    



    Config file :

    



    rtmp {
server {
    listen 1935;
    ping 30s;
    notify_method get;

    application myapp {
    live on;
    allow play all;
    exec_static /home/junaid/bin/ffmpeg -f video4linux2 -i /dev/video1 -c:v libx264 -an -f flv rtmp://127.0.0.1:1935/myapp/mystream;      
 }
}


    



    Error log :
http://www.codepad.org/enD4wlZ9

    



    I have tried :

    



      

    • nginx running as root (have permission to execute ffmpeg)
    • 


    • using ip instead of localhost
    • 


    • using complete path to ffmpeg
    • 


    • executing bash file (having ffmpeg and echo commands : echo commands execute just fine) from nginx
    • 


    



    please help me resolve this issue

    


  • How to use the QMediaPlayer module to connect to a rtsp stream ?

    19 juin 2023, par Daniela

    I'm creating an RTSP stream using FFmpeg :

    


    ffmpeg -f gdigrab -framerate 30 -probesize 100M -i title="" -c:v libx264 -preset veryfast -maxrate 1000k -bufsize 1000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 128k -f rtsp -rtsp_transport udp rtsp://...129:8554/stream


    


    and trying to connect to it using the Qt module QMediaPlayer.

    


    It stuck for many seconds when it read the line
player->setSource(QUrl("rtsp://....129:8554/stream"));

    


    and then debug this message :

    


    qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is invalid. Taking it from the metadata


    


    Also, connect(player, &QMediaPlayer::errorOccurred print :

    


    Error: "Invalid argument"

    


    class MediaPlayer : public QObject
{
    Q_OBJECT
public:
    MediaPlayer (QObject* parent = nullptr) : QObject(parent)
    {
        player = new QMediaPlayer;
        player->setSource(QUrl("rtsp://....129:8554/stream"));
        connect(player, &QMediaPlayer::errorOccurred, this, [this](QMediaPlayer::Error error, const QString& errorString)
        {
            qDebug() << "Error:" << errorString;
        });

        videoWidget = new QVideoWidget;
        player->setVideoOutput(videoWidget);

        videoWidget->show();
        player->play();
    }

private:
    QMediaPlayer* player;
    QVideoWidget* videoWidget;
};


    


    Testing the exactly same streamUrl on vlc does work correctly.
I'm using Qt 6.6, and Win10. ffmpeg 6.0

    


    How I could debug this ?

    


  • AttributeError : module 'ffmpeg' has no attribute 'load'

    23 avril 2023, par az-purplepen

    I'm having difficulty with ffmpeg. I've installed it properly (I think) but still get AttributeErrors.

    


    I used the online guide (https://ffmpeg.org/download.html), and doing pip install ffmpeg-python instead of pip install ffmpeg. I've verified the installation with pip show. I've also made sure to not name my files ffmpeg.py.

    


    However, when I try running the following commands in terminal, I get an Attribute Error. Any tips ? I've seen this question pop up before, but none of the tips have worked.

    


    >>> import ffmpeg&#xA;>>> ffmpeg.load(&#x27;cover.wav&#x27;)&#xA;Traceback (most recent call last):&#xA;  File "<stdin>", line 1, in <module>&#xA;AttributeError: module &#x27;ffmpeg&#x27; has no attribute &#x27;load&#xA;</module></stdin>

    &#xA;