Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (73)

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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8419)

  • Convert video to mp4 format in Asp Core 2

    12 mai 2018, par AlTheSwede

    I have tried MediaToolkit as well as NReco.video converter, both works great on ASP.Net but not in core. I tried using MediaToolkit.NetCore which is in early stage but I have not been able to get it to work on ASP Core 2.

    With MeidaToolkit.NetCore i tried this :

    var inputFile = new MediaFile {Filename = @"C:\Path\To_Video.flv"};

    var outputFile = new MediaFile {Filename = @"C:\Path\To_Save_New_Video.mp4"};

    using (var engine = new Engine())

    { engine.Convert(inputFile, outputFile);}

    But the problem is that ffmpeg.exe is not embedded in library binaries, so you have to pass a path to ffmpeg.exe explicitly in the constructor, which I don’t know how to do.

    How can I pass the ffmpeg.exe in the constructor above or is there another free FFmpeg wrapper or similar that I can use in order to convert most common video formats into .mp4 format that works on ASP Core 2.x ?

  • arm : vp9 : Add NEON loop filters

    10 octobre 2016, par Martin Storsjö
    arm : vp9 : Add NEON loop filters
    

    This work is sponsored by, and copyright, Google.

    The implementation tries to have smart handling of cases
    where no pixels need the full filtering for the 8/16 width
    filters, skipping both calculation and writeback of the
    unmodified pixels in those cases. The actual effect of this
    is hard to test with checkasm though, since it tests the
    full filtering, and the benefit depends on how many filtered
    blocks use the shortcut.

    Examples of relative speedup compared to the C version, from checkasm :
    Cortex A7 A8 A9 A53
    vp9_loop_filter_h_4_8_neon : 2.72 2.68 1.78 3.15
    vp9_loop_filter_h_8_8_neon : 2.36 2.38 1.70 2.91
    vp9_loop_filter_h_16_8_neon : 1.80 1.89 1.45 2.01
    vp9_loop_filter_h_16_16_neon : 2.81 2.78 2.18 3.16
    vp9_loop_filter_mix2_h_44_16_neon : 2.65 2.67 1.93 3.05
    vp9_loop_filter_mix2_h_48_16_neon : 2.46 2.38 1.81 2.85
    vp9_loop_filter_mix2_h_84_16_neon : 2.50 2.41 1.73 2.85
    vp9_loop_filter_mix2_h_88_16_neon : 2.77 2.66 1.96 3.23
    vp9_loop_filter_mix2_v_44_16_neon : 4.28 4.46 3.22 5.70
    vp9_loop_filter_mix2_v_48_16_neon : 3.92 4.00 3.03 5.19
    vp9_loop_filter_mix2_v_84_16_neon : 3.97 4.31 2.98 5.33
    vp9_loop_filter_mix2_v_88_16_neon : 3.91 4.19 3.06 5.18
    vp9_loop_filter_v_4_8_neon : 4.53 4.47 3.31 6.05
    vp9_loop_filter_v_8_8_neon : 3.58 3.99 2.92 5.17
    vp9_loop_filter_v_16_8_neon : 3.40 3.50 2.81 4.68
    vp9_loop_filter_v_16_16_neon : 4.66 4.41 3.74 6.02

    The speedup vs C code is around 2-6x. The numbers are quite
    inconclusive though, since the checkasm test runs multiple filterings
    on top of each other, so later rounds might end up with different
    codepaths (different decisions on which filter to apply, based
    on input pixel differences). Disabling the early-exit in the asm
    doesn’t give a fair comparison either though, since the C code
    only does the necessary calcuations for each row.

    Based on START_TIMER/STOP_TIMER wrapping around a few individual
    functions, the speedup vs C code is around 4-9x.

    This is pretty similar in runtime to the corresponding routines
    in libvpx. (This is comparing vpx_lpf_vertical_16_neon,
    vpx_lpf_horizontal_edge_8_neon and vpx_lpf_horizontal_edge_16_neon
    to vp9_loop_filter_h_16_8_neon, vp9_loop_filter_v_16_8_neon
    and vp9_loop_filter_v_16_16_neon - note that the naming of horizonal
    and vertical is flipped between the libraries.)

    In order to have stable, comparable numbers, the early exits in both
    asm versions were disabled, forcing the full filtering codepath.

    Cortex A7 A8 A9 A53
    vp9_loop_filter_h_16_8_neon : 597.2 472.0 482.4 415.0
    libvpx vpx_lpf_vertical_16_neon : 626.0 464.5 470.7 445.0
    vp9_loop_filter_v_16_8_neon : 500.2 422.5 429.7 295.0
    libvpx vpx_lpf_horizontal_edge_8_neon : 586.5 414.5 415.6 383.2
    vp9_loop_filter_v_16_16_neon : 905.0 784.7 791.5 546.0
    libvpx vpx_lpf_horizontal_edge_16_neon : 1060.2 751.7 743.5 685.2

    Our version is consistently faster on on A7 and A53, marginally slower on
    A8, and sometimes faster, sometimes slower on A9 (marginally slower in all
    three tests in this particular test run).

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

    • [DBH] libavcodec/arm/Makefile
    • [DBH] libavcodec/arm/vp9dsp_init_arm.c
    • [DBH] libavcodec/arm/vp9lpf_neon.S
  • FFMpeg Add multiple Gifs/Watermarks to a video

    14 mai 2022, par Gia

    I'm trying to add various Gifs/Watermarks to a video, but I'm having a problem getting it to work properly.

    &#xA;

    We're assuming the video is 60 seconds long and I'm adding one Gif image. The output looks correct, the sound is on, the gif animates, and the video doesn't stop. here is the code :

    &#xA;

                add("-i")&#xA;            add("inputVideo.mp4")&#xA;            add("-stream_loop")&#xA;            add("-1")&#xA;            add("-i")&#xA;            add("gif_1.gif")&#xA;            add("-filter_complex")&#xA;            add("[0][1]overlay=x=18:y=461:shortest=1[out]) &#xA;            add("-map")&#xA;            add("[out]")&#xA;            add("-map")&#xA;            add("0:a?") &#xA;            add("-qscale:v")&#xA;            add("1")&#xA;            add("-preset")&#xA;            add("ultrafast")&#xA;            add("outputVideo.mp4")&#xA;

    &#xA;

    When I try to add multiple GIFs, the video plays and the sound is on, one GIF animates, but the rest of the GIFs finish animating very early. this is the code

    &#xA;

                add("-i")&#xA;            add("inputVideo.mp4")&#xA;            add("-stream_loop")&#xA;            add("-1")&#xA;            add("-i")&#xA;            add("gif_1.gif")&#xA;            add("-i")&#xA;            add("gif_2.gif")&#xA;            add("-i")&#xA;            add("gif_3.gif")&#xA;            add("-filter_complex")&#xA;            add("[0][1]overlay=x=47:y=106:shortest=1[t1];[t1][2]overlay=x=551:y=1190[t2];[t2][3]overlay=x=-82:y=1279[out]) &#xA;            add("-map")&#xA;            add("[out]")&#xA;            add("-map")&#xA;            add("0:a?") &#xA;            add("-qscale:v")&#xA;            add("1")&#xA;            add("-preset")&#xA;            add("ultrafast")&#xA;            add("outputVideo.mp4")&#xA;

    &#xA;

    What can I do to have all random GIFs added to animate while the video is playing for the full 60 seconds ?

    &#xA;