Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (71)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (6183)

  • javacpp-presets ffmpeg : Trying to access Ebur128Context->integrated_loudness but unsuccessful

    11 avril 2019, par Sourabh Jain

    [FFMPEG] Trying to access Ebur128Context->integrated_loudness but unsuccessful , using javacpp presets

    I am trying to run ebur128Filter on audio file . similar to be doing
    [http://ffmpeg.org/doxygen/2.6/f__ebur128_8c_source.html#l00135]

    ffmpeg -i sample.wav -filter_complex ebur128=peak=true -f null -

    result of which is :

    [Parsed_ebur128_0 @ 0x7f9d38403ec0] Summary:

    Integrated loudness:
    I: -15.5 LUFS
    Threshold: -25.6 LUFS

    Loudness range:
    LRA: 1.5 LU
    Threshold: -35.5 LUFS
    LRA low: -16.3 LUFS
    LRA high: -14.8 LUFS

    True peak:
    Peak: -0.4 dBFS
    package org.bytedeco.javacv;

    import org.bytedeco.javacpp.BytePointer;
    import org.bytedeco.javacpp.Pointer;
    import org.bytedeco.javacpp.avfilter;
    import org.junit.jupiter.api.Test;

    import java.io.InputStream;
    import java.nio.ByteBuffer;
    import java.util.logging.Level;
    import java.util.logging.Logger;

    import static org.bytedeco.javacpp.avutil.av_opt_get;

    public class LoudnessAndTruePeakTest {

       @Test
       public void ebur1228FilterTest() throws FrameFilter.Exception, FrameGrabber.Exception {
           Logger.getGlobal().setLevel(Level.ALL);
           String filter = "ebur128=peak=true:framelog=verbose";
           FFmpegFrameFilter fFmpegFrameFilter = new FFmpegFrameFilter(filter, 2);
           InputStream is = getClass().getResourceAsStream("/resources/sample.wav");
           FFmpegFrameGrabber fFmpegFrameGrabber = new FFmpegFrameGrabber(is);
           fFmpegFrameFilter.start();
           fFmpegFrameGrabber.start();
           Frame frame;
           while ((frame = fFmpegFrameGrabber.grabSamples()) != null) {
               fFmpegFrameFilter.push(frame);


           }
               printFilterState(fFmpegFrameFilter);


           fFmpegFrameGrabber.stop();
           fFmpegFrameFilter.stop();

       }

       private void printFilterState(FFmpegFrameFilter fFmpegFrameFilter) {
           avfilter.AVFilterContext filters = fFmpegFrameFilter.afilter_graph.filters(3);
           Pointer value = filters.priv();
           String name = filters.name().getString();
           System.out.println(name);
           Pointer pointer = new BytePointer(8);
           ByteBuffer buffer = pointer.asByteBuffer();

           av_opt_get(value, "integrated_loudness", 0, buffer);
           double db = buffer.getDouble();
           System.out.println("integrated_loudness : " + db);

           pointer = new BytePointer(8);
           buffer = pointer.asByteBuffer();
           av_opt_get(value, "i400.rel_threshold", 0, buffer);
           db = buffer.getDouble();
           System.out.println("i400.rel_threshold :" + db);

           pointer = new BytePointer(8);
           buffer = pointer.asByteBuffer();
           av_opt_get(value, "loudness_range", 0, buffer);
           db = buffer.getDouble();
           System.out.println("loudness_range :" + db);

           pointer = new BytePointer(8);
           buffer = pointer.asByteBuffer();
           av_opt_get(value, "i3000.rel_threshold :", 0, buffer);
           db = buffer.getDouble();
           System.out.println("i3000.rel_threshold :" + db);

           pointer = new BytePointer(8);
           buffer = pointer.asByteBuffer();
           av_opt_get(value, "lra_low", 0, buffer);
           db = buffer.getDouble();
           System.out.println("lra_low :" + db);

           pointer = new BytePointer(8);
           buffer = pointer.asByteBuffer();
           av_opt_get(value, "lra_high", 0, buffer);
           db = buffer.getDouble();
           System.out.println("lra_high :" + db);
       }
    }
    Output from program is :

    Input #0, wav, from 'java.io.BufferedInputStream@2a40cd94':
    Metadata:
    title : test
    album : test
    artist : test
    genre : Cinematic
    Duration: N/A, bitrate: 256 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz, 2 channels, s16, 256 kb/s
    Invalid return value 0 for stream protocol
    Invalid return value 0 for stream protocol
    Parsed_ebur128_0
    integrated_loudness : 2.315841784746324E77
    i400.rel_threshold :2.315841784746324E77
    loudness_range :2.315841784746324E77
    i3000.rel_threshold :1.3561678660795056E248
    lra_low :2.315841784746324E77
    lra_high :2.0858062529025373E-306
    [Parsed_ebur128_0 @ 0x7f8942683940] Summary:

    Integrated loudness:
    I: -70.0 LUFS
    Threshold: 0.0 LUFS

    Loudness range:
    LRA: 0.0 LU
    Threshold: 0.0 LUFS
    LRA low: 0.0 LUFS
    LRA high: 0.0 LUFS

    True peak:
    Peak: -inf dBFS

    Process finished with exit code 0

    not sure what I am doing wrong here

  • How to access docker container from another container

    5 mars 2020, par M P

    Consider this solution

    Ubuntu 18.04 -
    Installed docker -
    Created openlitespeed container -
    Created ffmpeg container -

    In my host this command is ok :

    $ docker exec -it ffmpeg-container ffmpeg -version

    ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers

    but How to access in openlitespeed container to ffmpeg container with php code ?

    <?php
    $code='docker exec -it ffmpeg-container ffmpeg -version';
    echo exec($code);
  • Using location.search instead of location.hash to transfer the JSON data for cross-domain iframe transport access, due to IE ignoring the hash in redirects.

    18 novembre 2011, par Sebastian Tschan

    m application.js m result.html Using location.search instead of location.hash to transfer the JSON data for cross-domain iframe transport access, due to IE ignoring the hash in redirects.