Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (26)

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

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6879)

  • ffmpeg stream replication of multiple sources to multiple destinations

    16 mars 2017, par dpx

    I’m looking to replicate multiple streams from a single source, to multiple destinations. So for instance 12 streams with a dest of 1.1.1.1:1000-1011 being reflected to two destinations @ 2.2.2.2:1000-1011 and 3.3.3.3:1000-1011

    I don’t want any stream processing, no modification, just using -vcodec / -acodec. Receiving MPEG-TS and reflecting MPEG-TS at the same bitrate.

    How would I run this with FFMPEG ? Trying to read the documentation but it’s not quite clear on how to handle this.

  • FFMpeg extremely slow - when called from asp.net

    9 juillet 2013, par Daveo

    I have a C# .NET website hosted on WIN2003 IIS6. This calls a .exe I have made (also in .net) using System.Diagnostics.Process which in turn calls a .bat script to convert a video into web formats (h264/MP4 and WEBM)

    ::Make MP4 ffmpeg.exe -i "%1" -y -vcodec libx264 -pix_fmt yuv420p
    -vprofile high -b:v 600k -maxrate 600k -bufsize 1200k -s 480x320 -threads 0 -acodec libvo_aacenc -b:a 128k "%2\video.mp4"

    ::Make WemM (VP8 / Vorbis) ffmpeg.exe -i "%1" -y -vcodec libvpx -b:v
    600k -maxrate 600k -bufsize 1200k -s 480x320 -threads 3 -acodec
    libvorbis -f webm "%2\video.webm"

    When I test it it seems to work fine a 70Mb input file will take about 4 minute to convert to mp4 then 6 minutes to convert to webm. Which is fine ! However whenever the customer test it the ffmpeg encoding taking HOURS (5 - 10 hours for one video) .

    When I look at windows task manager it shows a 2-3 instances of ffmpeg using cpu. When I refresh the output folder I can see the file increasing at 1Kb / second very slow. Why could this be happening ?

    my .net code

    private  bool Convert(string inputFile, string outputFolder)
           {
               string exePath = ConfigurationManager.AppSettings["BatchFile"];
               ProcessStartInfo startInfo = new ProcessStartInfo(exePath);

               startInfo.Arguments = string.Format("{0} {1}", inputFile, outputFolder);
               startInfo.FileName = exePath;
               startInfo.UseShellExecute = true;
               startInfo.CreateNoWindow = true;


               using (Process process = new Process())
               {
                   process.StartInfo = startInfo;

                   try
                   {
                       bool success;
                       int waitTimeInMinutes = int.Parse(ConfigurationManager.AppSettings["VideoConversionTimeout"]);
                       process.Start();
                       process.WaitForExit(1000 * 60 * waitTimeInMinutes); // Give up after Xmins

                       success = (process.ExitCode == 0);

                       return success;

                   }
                   catch (Exception e)
                   {
                       log.ErrorException("Main exception", e);
                       return false;
                   }
               }
           }
  • How to detect Audio or Video or Both exist in converted file

    28 juillet 2016, par Khaja Hussain

    I am trying to convert mp4 or 3gp video files into Flash (flv) format (using Perl script), using following (mencoder) command :

    mencoder test.mp4 -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=1000:mbd=2 -fps 20.80 -ofps 20.80 -oac mp3lame -lameopts abr:br=32 -srate 22050 -o test.flv

    It works fine, but some files which comes as attachments from mobile phone has problem, the converted FLV file has only audio.

    I also used ffmpeg command as follows :

    ffmpeg -i test.mp4 -ar 22050 -acodec libmp3lame -ab 32K -r 25 -vcodec flv test.flv

    This ffmpeg command helps to convert to flv, which is failed by mencoder.

    I am thinking some solution like, need to check whether converted flv has audio and video then will take action depends on it. Could you help me to solve this issue ?

    Here is some more info (log) :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb6b9a3a0]multiple edit list entries, a/v desync might occur, patch welcome
    ** MUXER_LAVF *************************************
    REMEMBER : MEncoder’s libavformat muxing is presently broken and can generate
    INCORRECT files in the presence of B-frames. Moreover, due to bugs MPlayer
    will play these INCORRECT files as if nothing were wrong !


    Unsupported PixelFormat 61
    Unsupported PixelFormat 53
    Unsupported PixelFormat 81
    [flv @ 0xb6b9a3a0]Codec for stream 0 does not use global headers but container format requires global headers
    [flv @ 0xb6b9a3a0]Codec for stream 1 does not use global headers but container format requires global headers
    [flv @ 0xb6b9a3a0]pts < dts in stream 0
    Error while writing frame.

    [flv @ 0xb6b9a3a0]pts < dts in stream 0
    Error while writing frame.

    [flv @ 0xb6b9a3a0]pts < dts in stream 0
    Error while writing frame.

    [flv @ 0xb6b9a3a0]pts < dts in stream 0
    Error while writing frame.

    [flv @ 0xb6b9a3a0]pts < dts in stream 0
    Error while writing frame.

    Skipping frame !

    .........................