
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (51)
-
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 (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (4948)
-
Overlay audio over video FFMEPG
15 mars 2018, par Benjamin SweneyI’m wanting to overlay an audio recording over a video using FFMEPG PHP or more specially Laravel (if possible). The audio clip will need to replace the videos audio, or better if possible set the videos audio volume to a predefined value and overlay the audio.
The audio clip will always be longer than or the same length as the video and can not be clipped. Side note, how will this be handled ? Black screen or frozen last frame, or ?
Would appreciate someone pointing me in the right direction.
Much appreciated !
-
apply ffmpeg to many files
30 juillet 2015, par puchuI have written simple script :
#!/bin/bash
find . -name "*.m4a" | while read filename;
do
new_filename=$(echo "$filename" | sed "s/^\(.*\)m4a$/\1flac/g");
if [ ! -f "$new_filename" ]
then
#ffmpeg -i "$filename" -acodec flac "$new_filename" > /dev/null 2>&1;
#wait $!;
echo "$filename";
echo "$new_filename";
fi
doneit outputs correct result :
./Equilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/04 - Met.m4a
./Equilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/04 - Met.flac
./Equilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/02 - Nach Dem Winter.m4a
./Equilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/02 - Nach Dem Winter.flacif uncomment ffmpeg and wait :
./Equilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/04 - Met.m4a
./Equilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/04 - Met.flac
uilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/02 - Nach Dem Winter.m4a
uilibrium, ALAC [GER] viking.folk/2003 - Demo 2003, ALAC/02 - Nach Dem Winter.flacAnd no flacs has been done !
PS
#!/bin/bash
find . -name "*.m4a" | while read filename;
do
new_filename=$(echo "$filename" | sed "s/^\(.*\)m4a$/\1flac/g");
if [ ! -f "$new_filename" ]
then
ffmpeg -i "$filename" -acodec flac "$new_filename";
echo "$filename";
echo "$new_filename";
fi
sleep 5;
done1) encode start but suddenly stop with no error messages
2) encode couldn’t start because of "uilibrium" instead of "./Equilibrium"
3) = 1)
4) = 2)
...
last) correctly
-
Python - second subprocess won't open if I use sys.argv
3 juin 2015, par HyperionI’ve got a Python script which download a video using
youtube-dl
and then extract frames from it usingffmpeg
. This is the code :def DownloadVideo():
output_file = "/Users/francesco/Desktop/SOURCE/%(title)s-%(id)s.%(ext)s"
check_call(["youtube-dl","--output", output_file, "--restrict-filenames", "-f", "best", sys.argv[1]])
def ConvertVideo(video):
DEST = "/Users/francesco/Desktop/OUTPUT"
SOURCE = "/Users/francesco/Desktop/SOURCE"
ffmpeg_path = "/Users/francesco/Desktop/ffmpeg/ffmpeg"
video_path = SOURCE + "/" + video
dest_path = DEST + "/" + os.path.splitext(video)[0] + "-%d.png"
check_call([ffmpeg_path, "-v", "0", "-i", video_path, "-f", "image2", dest_path])
def Main():
DownloadVideo()
for video in os.listdir("/Users/francesco/Desktop/SOURCE"):
ConvertVideo(video)I run the command
python myscript.py myvideolink
and everything goes fine in the download process, but the ConvertVideo doesn’t start, it just get frozen for a couple of seconds and then the program exits.If I try to run the same command skipping the
DownloadVideo()
(with the video already downloaded in the folder) it doens’t work too, but if I usepython myscript.py
without the argv[1], the ffmpeg process works ! Why this happens ?Update : I’ve tried to remove the
-v 0
option in ffmpeg to see what actually happens, ffmpeg process starts, but get frozen like this :ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100Update 2 : This code seems not to work too, so I deduce is an ffmpeg problem with sys.args ?
import subprocess
import os
import sys
variable = sys.argv[1]
def ConvertVideo(video):
DEST = '/Users/francesco/Desktop/OUTPUT'
SOURCE = '/Users/francesco/Desktop/SOURCE'
ffmpeg_path = '/Users/francesco/Desktop/PYVIDID/ffmpeg/ffmpeg'
video_path = SOURCE + '/' + video
dest_path = DEST + '/' + os.path.splitext(video)[0] + '-%d.png'
subprocess.check_call(['ffmpeg', '-i', video_path,'-r', '1', '-f', 'image2', dest_path])
def Main():
#DownloadVideo()
for video in os.listdir('/Users/francesco/Desktop/SOURCE'):
if not video.startswith("."):
ConvertVideo(video)I’m not even using the argv[1] but it still got stuck.