Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (53)

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

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (8966)

  • Cutting the stream on local date time when scheduled

    19 juin 2017, par Fearhunter

    I am using a ffmpeg slice commando in my C# code. For example : I scheduled a stream from 12pm till 3 pm. In my if statement I use a condition to compare the local datetime with the time of now.

    DateTime systemDate = DateTime.Now;
    DateTime compareDate = DateTime.Today;

     private Process SliceStream(string url)
           {
               if (systemDate < compareDate)
               {
                   return Process.Start(new ProcessStartInfo
                   {
                       FileName = "ffmpeg.exe",
                       Arguments = $"-i \"{url}\"-acodec aac -strict -2 -vcodec libx264 -hls_wrap 100 -f hls -hls_time 20 C:/var/1.m3u8 ",
                       UseShellExecute = false,
                       RedirectStandardOutput = true

                   });
               }
               else
               {
                   Thread.Sleep(100);
                   return null;
               }
           }

    The problem is it doesn’t work when my time on my computer is for example 12pm and he is not cutting the stream.

    What am I doing wrong ?

  • arm : use a local label instead of the function symbol in ff_prefetch_arm

    20 juillet 2015, par Janne Grunau
    arm : use a local label instead of the function symbol in ff_prefetch_arm
    

    Avoids a relocation which might end out of range for thumb2.

    Reported-By : Ludovic Fauvet <etix@videolan.org>
    Bug-Id : https://bugs.webkit.org/show_bug.cgi?id=137022
    CC : libav-stable@libav.org

    • [DBH] libavcodec/arm/videodsp_armv5te.S
  • How to prevent overwriting fifo while playing local file with ffmpeg ?

    21 juillet 2013, par frankish

    I use av_read_frame() to read and push frames to fifo. In another thread, I read from this fifo. So, reading and writing does not interfere that much.

    However, I found out that when playing from a local file, audio suddenly skips to somewhere else.. I tried to open recorded file with VLC player and it worked. So the file(recording) is not broken.

    I tried (just to see if it works) the following and it works but it has other problems.

    ...
    if(localFile){
       while(av_fifo_size(fifoPlayback)>2000000){
           pthread_mutex_unlock(&amp;fifoPlaybackMutex);
           usleep(1000000);
           pthread_mutex_lock(&amp;fifoPlaybackMutex);
           // Waiting before writing to fifo, it&#39;s not empty enough");
       }
    }

    av_fifo_generic_write(fifoPlayback,...)

    Since the above block at least does not skip, I think my problem is really overwriting on the fifo. But how should I correctly manage this situation ?