Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (84)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • 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

Sur d’autres sites (4939)

  • avformat/utils : return pending IO error on EOF in av_read_frame()

    24 août 2019, par Marton Balint
    avformat/utils : return pending IO error on EOF in av_read_frame()
    

    avio_feof() returns true both in case of actual EOF and in case of IO errors.
    Some demuxers (matroska) have special handling to be able to return the proper
    error for this exact reason, e.g. :

    if (avio_feof(pb))
    if (pb->error)
    return pb->error ;
    else
    return AVERROR_EOF ;

    However, most of the demuxers do not, and they simply return AVERROR_EOF if
    avio_feof() is true, so there is a real chance that IO errors are mistaken for
    EOF.

    We might just say that the API user should always check the IO context error
    attribute on EOF to make sure no IO errors happened, but not even ffmpeg.c does
    this. It should be more intuitive to the API user if we simply return the IO
    error as the return value of av_read_frame() instead of AVERROR_EOF.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/utils.c
  • rtsp : Don’t warn about unparsed time ranges

    22 avril 2015, par Martin Storsjö
    rtsp : Don’t warn about unparsed time ranges
    

    This removes the error logging added in 4e54432164.

    This avoids warnings about "Invalid interval start specification ’now’"
    for live rtsp streams.

    We only try to parse some of the many valid values for time ranges
    in RTSP - the other ones are fully valid but not interesting for the
    use case in rtsp.c, so we shouldn’t warn about them.

    (Parsing the time ranges is needed to allow seeking, but e.g. setting
    the current realtime clock for the start time doesn’t make sense.
    av_parse_time has got a different mode for parsing absolute times
    as well, which can handle the special case "now", but that doesn’t
    make much sense for this particular use in rtsp.c.)

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rtsp.c
  • ffmpeg : not found (Conda Env + Gunicorn + Nginx)

    4 juin 2023, par Mirwise Khan

    I have installed ffmpeg and can run it from command line. I have anaconda installed and get different result for which ffmpeg command as follow :

    &#xA;

      &#xA;
    • /usr/bin/ffmpeg (base env)
    • &#xA;

    • /root/anaconda3/envs/myenv/bin/ffmpeg (myenv)
    • &#xA;

    &#xA;

    python app.py - The app uses Flask. I've tested it on localhost it is working as expected.

    &#xA;

    Ran it with gunicorn still working locally.

    &#xA;

    When I deploy it using Nginx it doesn't work. It can't find ffmpeg. I get the error gunicorn[23436]: /bin/sh: 1: ffmpeg: not found.

    &#xA;

    My usage inside python file is as follows :&#xA;subprocess.call(&#x27;/root/anaconda3/envs/myenv/bin/ffmpeg ...) (I tried it with ffmpeg, full path and anaconda path - still to no success)

    &#xA;

    I doubt there is something about Nginx that I'm missing, does it need special configuration for executables. Server config is as follows :

    &#xA;

    server {&#xA;    listen 80;&#xA;    server_name x.x.x.x;&#xA;&#xA;    location / {&#xA;        include proxy_params;&#xA;        proxy_pass http://unix:/home/myapp/myapp.sock;&#xA;        client_max_body_size 30M;&#xA;    }&#xA;}&#xA;

    &#xA;

    I had installed ffmpeg with pip but then I deleted it. It doesn't have anything to do with the error since I can run it locally without problems.

    &#xA;