
Recherche avancée
Autres articles (42)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (10974)
-
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 ?