Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (35)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (5340)

  • FFmpeg.wasm stopped working after adding cross origin headers

    10 octobre 2024, par Fnr

    I was having the SharedArrayBuffer error as described in this other issue and to fix I added the cross origin isolation as suggested (also suggested here) by adding the headers

    


    Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp


    


    After that, now when I try to run the code I just got Uncaught ReferenceError : FFmpeg is not defined. The error is happening on Firefox

    


    My code is :

    


    <code class="echappe-js">&lt;script  src=&quot;https://unpkg.com/@ffmpeg/ffmpeg@0.10.0/dist/ffmpeg.min.js&quot;&gt;&lt;/script&gt;&#xA;&lt;script&gt;&amp;#xA;    &amp;#xA;    const { createFFmpeg, fetchFile } = FFmpeg; //error happens here&amp;#xA;    const ffmpegInstance = createFFmpeg({&amp;#xA;        corePath: &amp;#x27;https://unpkg.com/@ffmpeg/core@0.10.0/dist/ffmpeg-core.js&amp;#x27;,&amp;#xA;        log: true,&amp;#xA;    });&amp;#xA; &lt;/script&gt; &#xA;

    &#xA;

    Before that, on Brave browser the process ran ok without having to add the Cross origin headers and also FFmpeg variable was defined.

    &#xA;

  • Cross compile ffmpeg for Tizen

    6 avril 2022, par lbegue

    Im trying to compile ffmpeg for Tizen TV as a static library using toolchains.&#xA;This is the script I'm using :

    &#xA;

    #!/bin/bash&#xA;function buildme&#xA;{&#xA;&#xA;./configure --prefix=$PREFIX                    \&#xA;                --target-os=linux                 \&#xA;                --arch=$ARCH                        \&#xA;                --cpu=armv7-a                        \&#xA;                --enable-runtime-cpudetect          \&#xA;                --disable-doc                       \&#xA;                --disable-ffmpeg                    \&#xA;                --disable-ffplay                    \&#xA;                --enable-cross-compile              \&#xA;                --enable-optimizations              \&#xA;                --disable-ffprobe                   \&#xA;                --disable-devices                   \&#xA;                --disable-avdevice                  \&#xA;                --disable-debug                     \&#xA;                --enable-pic                        \&#xA;                --disable-shared                    \&#xA;                --enable-gpl                        \&#xA;                --enable-static                     \&#xA;                --sysroot=/path-to-tizen-studio/tools/arm-linux-gnueabi-gcc-6.2/arm-tizen-linux-gnueabi \&#xA;                --cross-prefix=${PLATFORM}/bin/$PLATFORM_PREFIX \&#xA;                --extra-cflags="-O3 -std=c&#x2B;&#x2B;11 -DHAVE_SYS_UIO_H=1 -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums  -fno-strict-aliasing -finline-limit=300 -fpic $OPTIMIZE_CFLAGS"               \&#xA;                --enable-asm                        \&#xA;                --extra-ldflags="-Wl,-rpath-link=$PLATFORM/lib -L$PLATFORM/lib -nostdlib" \&#xA;                --cc=${CCOMPILER} \&#xA;                $ADDITIONAL_CONFIGURE_FLAG&#xA;&#xA;   make clean&#xA;   make  V=1&#xA;   make install&#xA;}&#xA;&#xA;echo configuring....&#xA;&#xA;PLATFORM=/path-to-tizen-studio/tools/arm-linux-gnueabi-gcc-6.2&#xA;PREFIX=&#x27;pwd&#x27;/thridParty&#xA;PLATFORM_PREFIX=arm-linux-gnueabi-&#xA;ARCH=arm&#xA;CCOMPILER=${PLATFORM}/bin/arm-linux-gnueabi-g&#x2B;&#x2B;&#xA;OPTIMIZE_CFLAGS="-marm"&#xA;buildme&#xA;&#xA;echo end&#xA;

    &#xA;

    And I obtain this error :

    &#xA;

    &#xA;

    /path-to-tizen-studio/tools/arm-linux-gnueabi-gcc-6.2/arm-tizen-linux-gnueabi/include/c++/6.2.1/arm-tizen-linux-gnueabi/bits/os_defines.h:39:22 :&#xA;fatal error : features.h : No such file or directory&#xA;#include

    &#xA;

    &#xA;

  • Cross Fade Arbitrary Number of Videos ffmpeg Efficiently

    15 avril 2022, par jippyjoe4

    I have a series of videos named 'cut_xxx.mp4' where xxx represents a number 000 through 999. I want to do a cross fade on an arbitrary number of them to create a compilation, and each fade should last 4 seconds long. Currently, I'm doing this with Python, but I suspect this is not the most efficient way :

    &#xA;

    import subprocess    &#xA;def get_length(filename):&#xA;  result = subprocess.run(["ffprobe", "-v", "error", "-show_entries",&#xA;                          "format=duration", "-of",&#xA;                          "default=noprint_wrappers=1:nokey=1", filename],&#xA;    stdout=subprocess.PIPE,&#xA;    stderr=subprocess.STDOUT)&#xA;  return float(result.stdout)&#xA;&#xA;CROSS_FADE_DURATION = 4&#xA;&#xA;basevideo = &#x27;cut_000.mp4&#x27;&#xA;for ii in range(total_videos - 1):&#xA;  fade_start = math.floor(get_length(basevideo) - CROSS_FADE_DURATION) # new one&#xA;  outfile = f&#x27;cross_fade_{ii}.mp4&#x27;&#xA;  append_video = f&#x27;cut_{str(ii&#x2B;1).zfill(3)}.mp4&#x27;&#xA;  cfcmd = f&#x27;ffmpeg -y -i {basevideo} -i {append_video} -filter_complex "xfade=offset={fade_start}:duration={CROSS_FADE_DURATION}" -an {outfile}&#x27;&#xA;  basevideo = outfile&#xA;  subprocess.call(cfcmd)&#xA;  print(fade_start)&#xA;

    &#xA;

    I specifically remove the audio with -an because I'll add an audio track later. The issue I see here is that I'm compressing the video over and over again with each individual video file I add to the compilation because I'm only adding one video at a time and then re-encoding.

    &#xA;

    There should be a way to cross fade multiple videos together into a compilation, but I'm not sure what this would look like or how I would get it to work for an arbitrary number of video files of different durations. Any idea on what that monolithic ffmppeg command would look like or how I could automatically generate it given a list of videos and their durations ?

    &#xA;