Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (43)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7849)

  • ffmpeg : zoom a horizontal photo in a vertical video, fill the empty space at the top and bottom with a blurry photo

    23 octobre 2023, par Eugene Khyst

    I'm using ffmpeg to create a vertical video of zoomming a horizontal (landscape) photo.

    


    I want the photo to fit the width of the video, so the top and bottom of the photo need to fill the empty space with the blurry photo :

    


    enter image description here

    


  • avformat/matroskaenc : don’t reserve space for stream duration tags if the output...

    2 octobre 2016, par James Almer
    avformat/matroskaenc : don’t reserve space for stream duration tags if the output is not seekable
    

    The durations are never written in that situation.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavformat/matroskaenc.c
    • [DH] tests/fate/matroska.mak
    • [DH] tests/fate/wavpack.mak
    • [DH] tests/ref/fate/binsub-mksenc
  • How to pass through complex command line arguments in Process.Arguments ?

    5 juin 2015, par Louis de la Verité

    In C#, I have a complex set of arguments to pass through to Process.Arguments. I have circumvented the problem by using a one-line script of compiled Powershell. The exact "train" of arguments is :

    ffmpeg -framerate $fr -f image2 -i $temp\JPEG%01d -c:v libx264 -threads $threads -crf $encqual $video_out

    Problematic arguments are the -i (with the JPEG%01 pattern) & the -c argument. I have tried double escaping, but it’s not working any way I try. I don’t like the /<arg>: <val></val></arg> notation because it conflicts with the -c:v. As mentioned, I got it working by pass it off to PowerShell, but that’s a hack. The directory also gets parsed because it has spaces.

    ERROR :

    "Unable to find a suitable output format for ’C :\Program’
    "C :\Program" Invalid argument.

    CODE :

    Process proc = new Process();
    // proc.StartInfo = _fw.CreateProcessStartInfo4Ffmpeg(
         pathTempDir,    output);
    proc.StartInfo = _fw.CreateProcessStartInfo4AviGen(pathTempDir, output);
    proc.Start();

    // doesn't work yet
    public ProcessStartInfo CreateProcessStartInfo4Ffmpeg(string tempFile,
          string output)
    {
      string args = FormCmdArgsForFfmpeg(this, tempFile, output);
      ProcessStartInfo psi = CreateProcessStartInfo4Ffmpeg(this, args);
    return psi;
    }

    public static ProcessStartInfo CreateProcessStartInfo4Ffmpeg(
           FfmpegWrapper fw, string args)
    {
      string sExePath = clsRegistry.regInfo.FfmpegExePath;
      ProcessStartInfo pi = new ProcessStartInfo(sExePath);

      pi.UseShellExecute = false;
      pi.CreateNoWindow = false;
      pi.WindowStyle = ProcessWindowStyle.Normal;

      pi.Arguments = String.Copy(args);
      string sCmdFmtdMsg = string.Format("Command: ",
              sExePath, pi.Arguments);
    return pi;
    } // end CreateProcessStartInfo4AviGen()

    // N.B. doesn't work yet; args prob
    public static string FormCmdArgsForFfmpeg(FfmpegWrapper fw,
        string    tempDir, string output)
    {
    /* -framerate $framerate -f image2 -i $temp_dir_jpgs\JPEG%01d
    -c:v libx264 -threads $threads -crf $encode_quality $video_out
    */
       string sFmtdArg2 = "-{0} \"{1}\" ";
       string sFmtdArg1 = "-{0} ";
       string sArgs = String.Empty;
       string sout = null;
       string pathInput = Path.Combine(tempDir, "JPEG%01d");

       StringBuilder sb = new StringBuilder("");
       sb.Append(string.Format(sFmtdArg2, "framerate", fw.framerate));
       sb.Append(string.Format(sFmtdArg2, "f", "image2"));
       sb.Append(string.Format(sFmtdArg2, "i", pathInput));
       sb.Append(string.Format(sFmtdArg2, "c:v", "libx264"));
       sb.Append(string.Format(sFmtdArg2, "threads", fw.threads) );
       sb.Append(string.Format(sFmtdArg2, "crf", fw.encode_quality));
       sb.Append(output);
       sout = sb.ToString();
    return sout;
    }