
Recherche avancée
Autres articles (29)
-
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 (3269)
-
dshow : rename dshow.h to avoid conflict with system header of equal name
24 mai 2012, par Kyledshow : rename dshow.h to avoid conflict with system header of equal name
-
how to resolve error FileNotFoundError : [WinError 2] The system cannot find the file specified when using ffmpeg-python ?
24 juillet 2021, par GeoI'm trying to merge video and audio files together using ffmprg but I keep on receiving this error


ERROR :


Traceback (most recent call last):
 File "C:\Users\Geo\youtubedownloader\test.py", line 9, in <module>
 ffmpeg.concat(video,audio, v=1 , a=1).output("C:/Users/Geo/output_video/mergedretweett.mp4/").run()
 File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 313, in run
 process = run_async(
 File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\site-packages\ffmpeg\_run.py", line 284, in run_async
 return subprocess.Popen(
 File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,
 File "C:\Users\Geo\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
</module>


Code :




video = ffmpeg.input("C:/Users/Geo/File.mp4")

audio = ffmpeg.input("C:/Users/Geo/File_audio.mp4")


ffmpeg.concat(video,audio, v=1 , a=1).output("C:/Users/Geo/output_video/outputvideo.mp4").run()```





-
php ffmpeg cannot save video to system temporary folder
28 mai 2024, par user2818066I am trying to covert a video to h.264 format. I can save the new video to a normal directory but saving the new video to a Windows temp file fails. However I can manage to save a snapshot image from the video into Windows temp folder without problem. I cannot figure out what is the problem ?


require_once(dirname(__FILE__).'/../vendor/autoload.php');

function get_ffmpeg_exe_path_arr_def(){ 
 return( array( 'ffmpeg.binaries' => "C:/bin/ffmpeg.exe",
 'ffprobe.binaries' => "C:/bin/ffmpeg.exe",
 'timeout' => 3600000000, 'ffmpeg.threads' => 12
 ) ) ; 
}

$vid_inp = 'C:/Users/Jordan/Downloads/motorboat_org.mp4' ; 
$vid_out = 'C:/Users/Jordan/Downloads/motorboat_9.mp4' ;
$tmp_vid_out_file = tempnam(sys_get_temp_dir(), "Vid") ; //C:\Windows\Temp\VidA318.tmp 
$tmp_img_file = tempnam(sys_get_temp_dir(), "Img") ; //C:\Windows\Temp\ImgA234.tmp


$ffmpeg = FFMpeg\FFMpeg::create( get_ffmpeg_exe_path_arr_def() );
$video = $ffmpeg->open($vid_inp);
$format = new FFMpeg\Format\Video\X264('aac', 'libx264');

$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(0.2))->save($tmp_img_file);
// Ok to save snapshot image to C:\Windows\Temp\ImgA234.tmp 

$video->save($format, $vid_out); 
// This is ok to save video to C:/Users/Jordan/Downloads/motorboat_9.mp4

$video->save($format, $tmp_vid_out_file); 
// This fails to save new video to C:\Windows\Temp\VidA318.tmp 



 ------- Error Message -----
 Fatal error: Uncaught exception 'Alchemy\BinaryDriver\Exception\ExecutionFailureException' with message 
'ffmpeg failed to execute command "C:\AppServ\www/ecity/bin/windows/ffmpeg.exe" -y -i 
"C:/Users/Jordan/Downloads/motorboat_org.mp4" 
-threads 12 -vcodec libx264 -acodec aac -b:v 1000k 
-refs 6 -coder 1 -sc_threshold 40 -flags +loop 
-me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 
-qdiff 4 -trellis 1 -b:a 128k -pass 1 -passlogfile 
 "C:\WINDOWS\TEMP\ffmpeg-passes66557e75d5e53hbzbo/pass-66557e75d6e0b" C:\Windows\Temp\VidEA8F.tmp: 
Error Output: ffmpeg version 4.3.2-2021-02-27-full_build-www.gyan.dev Copyright (c) 2000-2021 
the FFmpeg developers built with gcc 10.2.0 
(Rev6, Built by MSYS2 project) configuration: 
--enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect 
--enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma 
--enable-libsnappy --enable-zlib --enable-libsrt 
--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-li in C:\AppServ\www\ecity\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php on line 106