Recherche avancée

Médias (91)

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (10790)

  • Problem with ffmpeg and name change while loading on server

    29 novembre 2020, par Pajtim

    I am testing a code in php / ffmpeg it is watermark. It works very well after uploading the video but the problem is that the video should only be with an "input.mp4" name.

    


    I have set the path where the video should be saved and the name of each video is changed move_uploaded_file($_FILES["video"]["tmp_name"], "./" . ('input.mp4')); after it is uploaded to "input.mp4" but even this did not solve the problem.

    


    So it only works when you upload the video from the beginning named input.mp4.

    


    Is there an option ffmpeg to accept each name as input when uploading video with another name ?

    


    

    

    <form action="video.php" method="post" enctype="multipart/form-data">&#xA;         <div class="form-group">&#xA;                    <label>Select video</label>&#xA;                    <input type="file" class="form-control" />&#xA;                </div>&#xA; &#xA;                &#xA;                <input type="submit" class="btn btn-primary" value="submit" />&#xA;        </form>

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    $video = $_FILES["video"]["name"];&#xA;$image = $_FILES["image"]["name"];&#xA;move_uploaded_file($_FILES["video"]["tmp_name"], "./" . (&#x27;input.mp4&#x27;));&#xA;&#xA;// then you have to resize the selected image to lower resolution&#xA;$command = "/usr/local/bin/ffmpeg -i " . $image . " -s 128x128 output.jpeg";&#xA; &#xA;// execute that command&#xA;system($command);&#xA; &#xA;// both input files has been selected&#xA;$command = "/usr/local/bin/ffmpeg -i " . $video . " -i output.jpeg";&#xA; &#xA;// now apply the filter to select both files&#xA;// it must enclose in double quotes&#xA;// [0:v] means first input which is video&#xA;// [1:v] means second input which is resized image&#xA;$command .= " -filter_complex \"[0:v][1:v]";&#xA; &#xA;// now we need to tell the position of overlay in video&#xA;$command .= " overlay=80:50\""; // closing double quotes&#xA; &#xA;// save in a separate output file&#xA;$command .= " -c:a copy output.mp4";&#xA; &#xA;// execute the command&#xA;system($command);&#xA;&#xA;echo &#x27;<a href="http://stackoverflow.com/input.mp4" download="download">Download</a>&#x27;;&#xA;

    &#xA;

  • avcodec/ratecontrol : drop remnants of libxvid rate control

    22 janvier 2023, par Marton Balint
    avcodec/ratecontrol : drop remnants of libxvid rate control
    

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavcodec/ratecontrol.h
  • How do I solve this problem ?? PHP-FFMpeg

    12 octobre 2019, par Ahmed Rashid

    I trying encoding video by PHP-FFMpeg library but there some errors that shown to me. The error

    Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffmpeg failed to execute command "C:/FFmpeg/bin/ffmpeg.exe" -y -i video1.mp4 -async 1 -metadata:s:v:0 start_time=0 -threads 12 -vcodec libx264 -acodec libfaac -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 -vf "[in]scale=320:240 [out]" -pass 1 -passlogfile "C:\Users\DELL\AppData\Local\Temp\ffmpeg-passes5d9e35f516ce1e66b8/pass-5d9e35f517030" export-x264.mp4: Error Output: ffmpeg version N-95216-ge6625ca41f Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20190918 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheor in C:\xampp\htdocs\AnimeX\s2\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php on line 106`

    The library PHP-FFMpeg library