Advanced search

Medias (1)

Tag: - Tags -/publishing

Other articles (94)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 September 2013, by

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo; l’ajout d’une bannière l’ajout d’une image de fond;

  • Soumettre améliorations et plugins supplémentaires

    10 April 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Emballe médias : à quoi cela sert?

    4 February 2011, by

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

On other websites (11436)

  • arm: Create proper .rdata sections for COFF

    11 January 2019, by Martin Storsjö
    arm: Create proper .rdata sections for COFF
    

    As .rodata isn’t one of the default created sections for COFF, it was
    created as a read-write data section. By using the default .rdata
    section name for COFF, it automatically becomes a read-only data section.
    The existing ".section .rodata" works as intended for ELF though.

    This is based on an original patch and diagnose by Tom Tan
    <Tom.Tan@microsoft.com>.

    Signed-off-by: Martin Storsjö <martin@martin.st>

    • [DBH] libavutil/aarch64/asm.S
    • [DBH] libavutil/arm/asm.S
  • using ffmpeg in Azure function to cut files using c#

    22 January 2019, by abhishekmoondra1989

    I have written an Azure function in C# which will cut a big mp4 files into some small duration. I have copied everything that is required (ffmpeg executeable, video file) in home directory via KUDU console. But when I run the the function it runs for more than 5 minutes and it doesn’t give any files in the home directory.

    Function :

    using System;
    using System.Diagnostics;

    public static void Run(string input, TraceWriter log)
    {
       log.Info("Executing");
       using (var process = new Process())
       {
           process.StartInfo.FileName = @"D:\home\ffmpeg.exe";
           process.StartInfo.Arguments = @"-i D:\home\AmnestyInternational.mp4 -ss 00:00:03 -t 00:00:08 -async 1 D:\home\cut.mp4";
           process.StartInfo.UseShellExecute = false;
           process.StartInfo.RedirectStandardOutput = true;
           process.StartInfo.RedirectStandardError = true;
           log.Info(Directory.GetCurrentDirectory());
           log.Info("Cutting starts:"+DateTime.Now.ToString("h:mm:ss tt"));
           process.Start();
           string output = process.StandardOutput.ReadToEnd();
           process.WaitForExit();
           log.Info("Cutting ends :"+DateTime.Now.ToString("h:mm:ss tt"));
           log.Info(output);
       }
    }

    Output seen on Azure function Console:

    2017-03-24T11:06:00.705 Function started (Id=df082f54-719a-415f-b7f1-b10548a213be)
    2017-03-24T11:06:00.721 Executing
    2017-03-24T11:06:00.721 D:\Windows\system32
    2017-03-24T11:06:00.721 Cutting start :11:06:00 AM
    2017-03-24T11:07:14  No new trace in the past 1 min(s).
    2017-03-24T11:08:14  No new trace in the past 2 min(s).
    2017-03-24T11:09:14  No new trace in the past 3 min(s).
    2017-03-24T11:10:14  No new trace in the past 4 min(s).
    2017-03-24T11:11:00.758 Microsoft.Azure.WebJobs.Host: Timeout value of 00:05:00 was exceeded by function: Functions.ManualTriggerCSharp1.

    When I try to execute this same command on KUDU console or my own PC it only take 1.5 mins and I get a file of the desired duration

    Could anyone please help me with this? What I might be missing?

  • Compiling ffmpeg for chromium on Windows

    7 January 2019, by ykhandel

    I am following the instructions here to generate the gn files for Chromium. I have installed the cygwin base package along with diffutils, nasm, make and python.

    Also, I have copied chromium/scripts/cygwin-wrapper to /usr/local/bin

    1. Started C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat

    2. Started C:\cygwin\cygwin.bat

    3. cd to third_party\chromium\scripts

    4. python build_ffmpeg win ia32

    I am getting some warnings plus this:

    Could not create temporary library.
    make: *** [/cygdrive/d/src/chromium/src/third_party/ffmpeg/ffbuild/library.mak:102: libavutil/avutil-56.dll] Error 1

    make: *** Waiting for unfinished jobs....

    Could not create temporary library.

    Could not create temporary library.

    make: *** [/cygdrive/d/src/chromium/src/third_party/ffmpeg/ffbuild/library.mak:102: libavcodec/avcodec-58.dll] Error 1

    make: *** [/cygdrive/d/src/chromium/src/third_party/ffmpeg/ffbuild/library.mak:102: libavformat/avformat-58.dll] Error 1

    Traceback (most recent call last):

    File "build_ffmpeg.py", line 900, in

    sys.exit(main(sys.argv[1:]))

    File "build_ffmpeg.py", line 502, in main

    options=options)

    File "build_ffmpeg.py", line 876, in ConfigureAndBuild

    configure_args)

    File "build_ffmpeg.py", line 870, in do_build_ffmpeg

    options.config_only, branding, configure_flags)

    File "build_ffmpeg.py", line 408, in BuildFFmpeg

    [’make’, ’-j%d’ % parallel_jobs] + libraries, cwd=config_dir)

    File "build_ffmpeg.py", line 106, in PrintAndCheckCall

    subprocess.check_call(argv, *args, **kwargs)

    File "/usr/lib/python2.7/subprocess.py", line 186, in check_call

    raise CalledProcessError(retcode, cmd)

    subprocess.CalledProcessError: Command ’[’make’, ’-j8’, ’libavcodec/avcodec-
    58.dll’, ’libavformat/avformat-58.dll’, ’libavutil/avutil-56.dll’]’ returned non-zero exit status 2