
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (45)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (6298)
-
Find exe files in batch script
20 septembre 2017, par D.SpamOk so I have a batch script that looks something like this
:Input
ECHO.
SET url=
ECHO Enter URL
SET /P url=
IF "%url%" EQU "" GOTO End
IF "%url: =%" NEQ "%url%" GOTO Input
ECHO Enter start time (in seconds, or in hh:mm:ss form):
SET /P start=
ECHO Enter duration (in seconds, or in hh:mm:ss form):
SET /P dur=
ECHO.
FOR /F "delims==" %%A IN ('youtube-dl.exe --no-warnings --get-filename "%url%"') DO SET filename=%%A
FOR /F %%B IN ('youtube-dl.exe -g "%url%"') DO (
ffmpeg.exe -hide_banner -ss "%start%" -i "%%B" -c copy -t "%dur%" -bsf:a aac_adtstoasc video.mp4
)
:EndThe script works flawlessly but my only problem is the script only works when the batch file is inside the folder with all the executables (ffmpeg.exe, youtube-dl.exe). I would like the scripts to run outside the folder
The folder in which the executables are :
\Clips\ffmpeg\binThe folder I would like to store/run the batch files from is Clips.
Another tricky problem is that the Clips folder will be shared with other users so I dont want to specify a directory like G :\Desktop\Clips as it will not work for them.
-
Run script after FFMPEG background task completes (via PHP)
9 novembre 2018, par UtkanosI have a PHP script which triggers an FFMPEG file conversion via
shell_exec()
.shell_exec('ffmpeg -i file.webm -c:v libx264 -c:a aac -strict -2 file.mp4 >/dev/null 2>/dev/null &');
This happens in the background (hence
&
), i.e. the script completes before conversion has finished.Is there a way to call and execute a PHP script (to update a DB flag) once the conversion is complete ?
I’ve done plenty of Googling but my knowledge of server commands just isn’t up to understanding what I’m reading (e.g. this answer). The best I could manage was to redirect stdout to a file via
shell_exec('ffmpeg -i file.webm -c:v libx264 -c:a aac -strict -2 file.mp4 > MYFILE.txt 2>/dev/null &');
...but obviously that just creates and writes to a file, it doesn’t call and execute it via PHP.
-
Configure script for ffmpeg does not find sdl2
3 avril 2018, par PeterEnvironment :
Ubuntu 16.04
ffmpeg source code version 3.4.2SDL2 installed
$ pkg-config --exists --print-errors sdl2
$ sdl2-config --cflags
-I/usr/include/SDL2 -D_REENTRANT
$ sdl2-config --libs
-L/usr/lib/x86_64-linux-gnu -lSDL2
$ sdl2-config --version
2.0.4Here is part of my configuration shell script :
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$TARGET_DIR/lib/pkgconfig" ./configure \
--prefix="$TARGET_DIR" \
--pkg-config-flags="--static" \
--enable-sdl2 \When I run the script, the error I get is "sdl2 requested but not found."
What is it that I am missing ? Regards.