
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 (78)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (9523)
-
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



-
avformat/mxfenc : correctly set content package rate in system element
21 mars 2018, par Baptiste Coudurier