Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (59)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (11259)

  • rtsp : Use AVERROR() with errno.h error codes for error returns

    11 décembre 2019, par Martin Storsjö
    rtsp : Use AVERROR() with errno.h error codes for error returns
    

    This particular function is only required to return nonzero on
    errors, but use the common AVERROR() pattern for consistency.

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

    • [DH] libavformat/rtsp.c
  • FFMPEG avformat_open_input returns unpopulated Format context

    21 avril 2013, par Michael IV

    I am trying to load avi and flv files programatically with FFMPEG API.The files seem to get loaded because avformat_open_input doesn't return 0 .But when inspecting AVFormatContext variable for every property in the inspector I am getting just "Unable to read memory" .Here is how I do it :

               av_register_all();
       avcodec_register_all();
       AVFormatContext *pFormatCtx=avformat_alloc_context();


       if(avformat_open_input(&amp;pFormatCtx,"assest/comp1.avi",NULL,NULL) !=0)
       {

           printf("%s","Movie load Success");
       }else{


           printf("%s","Movie load Fail");
       }  

    I am using VisualStudio 2010 C++ compiler .Windows 7.

    UPDATE :

    Ok ,Please discard this question.I found the error.It was a stupid typo in the file directory path.

  • Popen.communicate() returns only err when running ffmpeg

    17 février 2013, par Jan Pulpan

    I'm trying to run ffmpeg from python and get some reasonable output. Doesn't matter what ffmpeg's log level is set, the only output I get from Popen.communicate() is err one. The content isn't an error however. I tried the same code to run other commands (ls) and it seems to be Ok with both out and err outputs.

    I checked here and Google and unfortunately found nothing. Most of the examples use os or commands modules, not subprocess.

    This is my test code :

    command = [
           &#39;ffmpeg&#39;,
           &#39;-v&#39;, &#39;debug&#39;,
           &#39;-i&#39;, &#39;1.mov&#39;,
           &#39;-vcodec&#39;, &#39;libx264&#39;,
           &#39;-profile:v&#39;, &#39;high&#39;,
           &#39;-preset&#39;, &#39;slower&#39;,
           &#39;-b:v&#39;, &#39;1000k&#39;,
           &#39;-vf&#39;, &#39;scale=-1:720&#39;,
           &#39;-threads&#39;, &#39;0&#39;,
           &#39;-acodec&#39;, &#39;libfdk_aac&#39;,
           &#39;-b:a&#39;, &#39;192k&#39;,
           &#39;-y&#39;,  
           &#39;2.mp4&#39;,
           ]
    p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    out, err =  p.communicate()
    f = open(&#39;out.log&#39;, &#39;w&#39;)
    f.write(out)
    f.close()
    f = open(&#39;error.log&#39;, &#39;w&#39;)
    f.write(err)
    f.close()

    Have you ever see something like this ? Am I doing any mistakes or is there an bug in ffmpeg ?