Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (78)

  • Demande de création d’un canal

    12 mars 2010, par

    En 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 2013

    Jolie 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, par

    Ce 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 Geo

    I'm trying to merge video and audio files together using ffmprg but I keep on receiving this error

    


    ERROR :

    


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

    &#xA;

    Code :

    &#xA;

    &#xA;&#xA;video = ffmpeg.input("C:/Users/Geo/File.mp4")&#xA;&#xA;audio = ffmpeg.input("C:/Users/Geo/File_audio.mp4")&#xA;&#xA;&#xA;ffmpeg.concat(video,audio, v=1 , a=1).output("C:/Users/Geo/output_video/outputvideo.mp4").run()```&#xA;&#xA;&#xA;

    &#xA;

  • php ffmpeg cannot save video to system temporary folder

    28 mai 2024, par user2818066

    I 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 ?

    &#xA;

    require_once(dirname(__FILE__).&#x27;/../vendor/autoload.php&#x27;);&#xA;&#xA;function get_ffmpeg_exe_path_arr_def(){ &#xA;  return( array( &#x27;ffmpeg.binaries&#x27;  => "C:/bin/ffmpeg.exe",&#xA;                 &#x27;ffprobe.binaries&#x27; => "C:/bin/ffmpeg.exe",&#xA;                 &#x27;timeout&#x27; => 3600000000, &#x27;ffmpeg.threads&#x27; => 12&#xA;                )   )  ;  &#xA;}&#xA;&#xA;$vid_inp = &#x27;C:/Users/Jordan/Downloads/motorboat_org.mp4&#x27; ; &#xA;$vid_out = &#x27;C:/Users/Jordan/Downloads/motorboat_9.mp4&#x27; ;&#xA;$tmp_vid_out_file = tempnam(sys_get_temp_dir(), "Vid") ; //C:\Windows\Temp\VidA318.tmp &#xA;$tmp_img_file = tempnam(sys_get_temp_dir(), "Img") ; //C:\Windows\Temp\ImgA234.tmp&#xA;&#xA;&#xA;$ffmpeg = FFMpeg\FFMpeg::create( get_ffmpeg_exe_path_arr_def() );&#xA;$video = $ffmpeg->open($vid_inp);&#xA;$format = new FFMpeg\Format\Video\X264(&#x27;aac&#x27;, &#x27;libx264&#x27;);&#xA;&#xA;$video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(0.2))->save($tmp_img_file);&#xA;// Ok to save snapshot image to  C:\Windows\Temp\ImgA234.tmp &#xA;&#xA;$video->save($format, $vid_out); &#xA;// This is ok to save video to  C:/Users/Jordan/Downloads/motorboat_9.mp4&#xA;&#xA;$video->save($format, $tmp_vid_out_file); &#xA;// This fails to save new video to   C:\Windows\Temp\VidA318.tmp  &#xA;&#xA;&#xA;&#xA; -------  Error Message -----&#xA;    Fatal error: Uncaught exception &#x27;Alchemy\BinaryDriver\Exception\ExecutionFailureException&#x27; with message &#xA;&#x27;ffmpeg failed to execute command "C:\AppServ\www/ecity/bin/windows/ffmpeg.exe" -y -i &#xA;"C:/Users/Jordan/Downloads/motorboat_org.mp4" &#xA;-threads 12 -vcodec libx264 -acodec aac -b:v 1000k &#xA;-refs 6 -coder 1 -sc_threshold 40 -flags &#x2B;loop &#xA;-me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 &#xA;-qdiff 4 -trellis 1 -b:a 128k -pass 1 -passlogfile &#xA; "C:\WINDOWS\TEMP\ffmpeg-passes66557e75d5e53hbzbo/pass-66557e75d6e0b" C:\Windows\Temp\VidEA8F.tmp: &#xA;Error Output: ffmpeg version 4.3.2-2021-02-27-full_build-www.gyan.dev Copyright (c) 2000-2021 &#xA;the FFmpeg developers built with gcc 10.2.0 &#xA;(Rev6, Built by MSYS2 project) configuration: &#xA;--enable-gpl --enable-version3 --enable-static &#xA;--disable-w32threads --disable-autodetect &#xA;--enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma &#xA;--enable-libsnappy --enable-zlib --enable-libsrt &#xA;--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&#xA;

    &#xA;

  • avformat/mxfenc : correctly set content package rate in system element

    21 mars 2018, par Baptiste Coudurier
    avformat/mxfenc : correctly set content package rate in system element
    
    • [DH] libavformat/mxf.c
    • [DH] libavformat/mxf.h
    • [DH] libavformat/mxfenc.c
    • [DH] tests/ref/lavf/mxf