
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (74)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (14566)
-
exec() just run when i access target php in browser
28 septembre 2016, par Mohammad Shojaai use this code to run another php for some work (ffmpeg convert)
$binpath = get_option('binpath','/usr/bin/php');
$command = $binpath." -cli -f ".ABSPATH."/videocron.php";
exec( "$command > /dev/null &", $arrOutput );but when i upload a video and run this code don’t convert video for ever.
but when i access to videocron.php from browser all videos i uploaded convert suddenly !!!
i use alternative exec function(
system();
exec();
passthru();
shell_exec();
)
and i check videocron.php by readable function, it is readable.even i change owner videocron.php to nobody user
in mod_security log i get this error :
[Tue Sep 20 23:01:11 2016] [error] [client 37.156.10.171] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "codenevis.net"] [uri "/lib/upload-ffmpeg.php"] [unique_id "V@GAb38AAAEAAGrk2QoAAAAH"]
but even i unistalll mod_security it don’t work automatically.
but in all don’t convert video until i access to videocron.php from browser !
-
ENOENT error when trying to access output with ffmpeg + node.js
29 juin 2020, par John GraysonI am running ffmpeg in a lambda function to do some video processing. My problem is the processed video is not being outputted/saved. Therefore, when I try to access the processed video, I get the error :


ERROR Error retrieving video to upload [Error: ENOENT: no such file or directory


Relevant parts of my code :


const { spawnSync } = require("child_process");

exports.handler = async (event, context) => {
 spawnSync(
 "/opt/ffmpeg/ffmpeg",
 [
 "-i",
 `/tmp/myfile`,
 'title="Test 123"',
 `/tmp/processed_file`,
 ],
 { stdio: "inherit" }
 );
}




The conversion file itself does not return any errors, but when I try to access
processed_file
, I get the ENOENT error. I also used anfs.readdir
to see what files actually exist in/tmp
and the only file there wasmyfile
. Therefore, my processed video truly did not save correctly.

Does anyone know what I might be doing wrong here ? Thanks !


-
Cannot access the files in the subdirectories [FFmpeg]
9 décembre 2019, par Ahmet MehmetI try to do a loop job in bash. For example, I want to know some video files’ media info with using ffmpeg using in a loop :
for i in * */* */*/*; do
ffmpeg -i "$i" -hide_banner
doneBut if I want to access up to 10 subdirectories, I must use */ symbol 10 times and this is so bad. Have can do this operation more pratic and pro way :) ?
I tried oguz ismail’s solution and it’s worked, thanks for that. But I have an another problem : This time I tried to take an input file to an output file like this :
find . -c:v copy -c:a copy -i {} \;
But I got an error something like "At least one output file must be specified", because I couldn’t specify an output. How can I do that ?