
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (35)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 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, parPar 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, parMediaSPIP 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 FnrI 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"><script src="https://unpkg.com/@ffmpeg/ffmpeg@0.10.0/dist/ffmpeg.min.js"></script>

<script>&#xA; &#xA; const { createFFmpeg, fetchFile } = FFmpeg; //error happens here&#xA; const ffmpegInstance = createFFmpeg({&#xA; corePath: &#x27;https://unpkg.com/@ffmpeg/core@0.10.0/dist/ffmpeg-core.js&#x27;,&#xA; log: true,&#xA; });&#xA; </script>



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

-
Cross compile ffmpeg for Tizen
6 avril 2022, par lbegueIm trying to compile ffmpeg for Tizen TV as a static library using toolchains.
This is the script I'm using :


#!/bin/bash
function buildme
{

./configure --prefix=$PREFIX \
 --target-os=linux \
 --arch=$ARCH \
 --cpu=armv7-a \
 --enable-runtime-cpudetect \
 --disable-doc \
 --disable-ffmpeg \
 --disable-ffplay \
 --enable-cross-compile \
 --enable-optimizations \
 --disable-ffprobe \
 --disable-devices \
 --disable-avdevice \
 --disable-debug \
 --enable-pic \
 --disable-shared \
 --enable-gpl \
 --enable-static \
 --sysroot=/path-to-tizen-studio/tools/arm-linux-gnueabi-gcc-6.2/arm-tizen-linux-gnueabi \
 --cross-prefix=${PLATFORM}/bin/$PLATFORM_PREFIX \
 --extra-cflags="-O3 -std=c++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" \
 --enable-asm \
 --extra-ldflags="-Wl,-rpath-link=$PLATFORM/lib -L$PLATFORM/lib -nostdlib" \
 --cc=${CCOMPILER} \
 $ADDITIONAL_CONFIGURE_FLAG

 make clean
 make V=1
 make install
}

echo configuring....

PLATFORM=/path-to-tizen-studio/tools/arm-linux-gnueabi-gcc-6.2
PREFIX='pwd'/thridParty
PLATFORM_PREFIX=arm-linux-gnueabi-
ARCH=arm
CCOMPILER=${PLATFORM}/bin/arm-linux-gnueabi-g++
OPTIMIZE_CFLAGS="-marm"
buildme

echo end



And I obtain this error :




/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 :
fatal error : features.h : No such file or directory
#include




-
Cross Fade Arbitrary Number of Videos ffmpeg Efficiently
15 avril 2022, par jippyjoe4I 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 :


import subprocess 
def get_length(filename):
 result = subprocess.run(["ffprobe", "-v", "error", "-show_entries",
 "format=duration", "-of",
 "default=noprint_wrappers=1:nokey=1", filename],
 stdout=subprocess.PIPE,
 stderr=subprocess.STDOUT)
 return float(result.stdout)

CROSS_FADE_DURATION = 4

basevideo = 'cut_000.mp4'
for ii in range(total_videos - 1):
 fade_start = math.floor(get_length(basevideo) - CROSS_FADE_DURATION) # new one
 outfile = f'cross_fade_{ii}.mp4'
 append_video = f'cut_{str(ii+1).zfill(3)}.mp4'
 cfcmd = f'ffmpeg -y -i {basevideo} -i {append_video} -filter_complex "xfade=offset={fade_start}:duration={CROSS_FADE_DURATION}" -an {outfile}'
 basevideo = outfile
 subprocess.call(cfcmd)
 print(fade_start)



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.

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 ?