Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (65)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • How to use my FFMPEG code in Automator (Mac)

    23 juin 2023, par 3EK

    I have an ffmpeg code that converts .mov files to .mp4 files. I would like to set up a 'watch folder' system on my mac, so that when I drop files into a specific folder, it will automatically convert the file using my FFMPEG code.

    


    I have tried to add my FFMPEG code into the Automator app (mac) as a shell script, but it did not work and gave me the error *"The action “Run Shell Script” encountered an error : “zsh:3 : no matches found : .mov”"

    


    The FFMPEG code that I am using is...

    


    for i in *.mov; do ffmpeg -ss 4 -i "$i" -c:v libx264 -preset ultrafast -b:v 20M -vf format=yuv420p -c:a aac "mp4/${i%.*}.mp4"; done;


    


    Is anyone able to help me work out why this is not working please ?

    


    Greatly appreciated !

    


    Best,
John

    


  • avcodec_encode_audio2 failing with error code -22 in C++ FFMPEG

    16 juin 2014, par Godspped

    I have the following code to encode an audio stream and everything seems to be working fine until I get to the avcodec_encode_audio2 function, I am failing with -22 error code, and I dont know what that error code means. I verified that pFrame and out_fmt_ctx are allocated. Does anyone have an idea of what the problem might be ?

    Thanks in advance !

    while( res = av_read_frame( pFormatCtx, &packet ) >=0 )
    {
      if ( packet.stream_index == audioStream )
      {
     avcodec_get_frame_defaults(pFrame);
         ret = avcodec_decode_audio4(dec_ctx, pFrame, &got_frame, &packet);

         if (ret < 0)
         {
        return ret;
     }

         /* Set frame pts */
         pFrame->pts = av_frame_get_best_effort_timestamp(pFrame);

         if (got_frame)
         {

            AVPacket audioEncodedPacket;
            av_init_packet(&audioEncodedPacket);


            ret = avcodec_encode_audio2(out_fmt_ctx->streams[0]->codec,
                                        &audioEncodedPacket,
                                        pFrame, &got_packet);

            if ( ret < 0 )
            {
               //THIS IS WHERE I AM GOING WITH ERROR -22
            }
         }
    ...... // more code
    }
  • Request aid to translate from an old avconv code to ffmpeg

    27 septembre 2022, par Azankiew

    I am working on an old script which uses avconv to manipulate some videos. I wanted to ask help to convert the following code into ffmpeg as I aknowledged avconv is not supported anymore.

    


    The code is :

    


    subprocess.call('avconv -i %s -an -filter_complex "select=between(n\,%s\,%s),setpts=PTS-STARTPTS, crop=%s:%s:%s:%s, scale=-2:224" %s'%(
            input_video_folder+clip.video_name,
            clip.start_frame,
            clip.end_frame,
            crop_width,
            crop_height,
            crop_left_distance,
            crop_top_distance,
            video),
                        shell=True)