Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (74)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • 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 ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (10557)

  • Using video from raw folder in ffmpeg

    5 août 2018, par varmashrivastava

    How can i use video from raw folder of android studio as an input source in ffmpeg command ?Like in below command i want to use from raw folder video as an input-

    { "-y", "-i", input,"-ss", "5000", "-t", "10000", "-c","copy", output};
  • FFMPEG Process not ending when encoding libx264

    17 janvier 2015, par Jamie Hartnoll

    Well, I’m very new and inexperienced with using Process and using FFMPEG, and command line processes in ASP.NET in general... but, have something working, nearly !

    I’m trying to convert AVI files to MP4 files which can be streamed to an HTML5 player.

    After a lot of messing around, I have found that for this to work it has to be encoded with X264, but, for some reason, when I do this the FFMPEG process does not close/end.

    The code I am using is below and works perfectly if I use -vcodec mpeg4, but when I use -vcodec libx264, whilst it works and produces the file I need to Process never ends.

    To get round this, I am temporarily adding 5 second time out to WaitForExit in the Process, but this is definitely a hack and whilst is OK with what I am doing at the moment is not a robust solution.

    Can anyone point me in the direction of why this is happening ?!

    Public Shared Sub AviToMP4(VideoFileName As String, Optional DeleteSource As Boolean = True)

       Dim SourceFile As String = VideoFileName.Replace(".avi", "")
       Dim DestinationFile As String = SourceFile

       Dim FFMPEG_EXE_PATH As String = """" & System.AppDomain.CurrentDomain.BaseDirectory() & "ffMPEG.exe"""
       Dim Codec = "libx264" ' libx264 || mpeg4
       Dim cdml = " -i """ & SourceFile & ".avi"" -acodec aac -strict -2 -b:a 128k -vcodec " & Codec & " -b:v 1200k -flags +aic+mv4 """ & DestinationFile & ".mp4"""

       Dim ProcessorLocation As String = FFMPEG_EXE_PATH
       Dim CommandLines As String = cdml

       Try
           Dim ProcessingResponse As String = ""
           Using myProcess As New Process()
               myProcess.StartInfo.UseShellExecute = False
               myProcess.StartInfo.RedirectStandardInput = True
               myProcess.StartInfo.RedirectStandardOutput = True
               myProcess.StartInfo.RedirectStandardError = True
               myProcess.StartInfo.CreateNoWindow = True
               myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
               myProcess.StartInfo.FileName = ProcessorLocation
               myProcess.StartInfo.Arguments = CommandLines
               myProcess.Start()
               ProcessingResponse = myProcess.StandardError.ReadToEnd()
               myProcess.WaitForExit(5000) ' <<< Have to put a timeout here for libx264 or it will never end!!
           End Using
           HttpContext.Current.Response.Write("<pre>" &amp; ProcessingResponse &amp; "</pre><hr />")
           If File.Exists(SourceFile) AndAlso DeleteSource Then
               File.Delete(SourceFile)
           End If
       Catch ex As Exception
           HttpContext.Current.Response.Write(ex.ToString &amp; "<p>")
       End Try

    End Sub
    </p>
  • Streaming x264 with packet loss

    6 octobre 2014, par user2629511

    I write the program where I use x264 as the coder.
    I use the following parameters :

    av_opt_set (codecContextH264[numberCoder]-&amp;gt; priv_data, "profile", "baseline", 0);
    av_opt_set (codecContextH264[numberCoder]-&amp;gt; priv_data, "preset", "ultrafast", 0);
    av_opt_set (codecContextH264[numberCoder]-&amp;gt; priv_data, "tune", "zerolatency", 0);
    codecContextH264[numberCoder]-&amp;gt; bit_rate =bitrate;
    codecContextH264[numberCoder]-&amp;gt; bit_rate_tolerance=bitrate-5000;
    codecContextH264[numberCoder]-&amp;gt; width = w;
    codecContextH264[numberCoder]-&amp;gt; height = h;
    codecContextH264[numberCoder]-&amp;gt; time_base.den = fps;
    codecContextH264[numberCoder]-&amp;gt; time_base.num = 1;
    codecContextH264[numberCoder]-&amp;gt; pix_fmt = PIX_FMT_YUV420P;
    codecContextH264[numberCoder]-&amp;gt; gop_size = fps*3;
    codecContextH264[numberCoder]-&amp;gt; keyint_min = fps*3;
    codecContextH264[numberCoder]-&amp;gt; max_b_frames = 0;
    codecContextH264[numberCoder]-&amp;gt; slices = (int) (w*h)/1500+1;

    I use only I and P frames.
    What x264 settings I shall use that could lose P frames ?
    Perhaps x264 has no such opportunity ?!
    I read that if to use a "base" profile, it is possible to lose P frames...
    Help please.