Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (64)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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 (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (9288)

  • Revision 5e766ccee0 : Use rate/distortion thresholds to control non-RD partition search Compare the e

    15 octobre 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_speed_features.c



    Use rate/distortion thresholds to control non-RD partition search

    Compare the estimated rate and distortion to the thresholds scaled
    according to the operating block size and determine if further
    split partition search will be run. The compression performance of
    speed -5 is changed by -0.074%. The encoding speed is 10% - 15%
    faster.

    vidyo1 720p
    16545 b/f, 40.492 dB, 11475 ms -> 16535 b/f, 40.486 dB, 10100 ms

    nik720p
    16624 b/f, 36.310 dB, 10071 ms -> 16617 b/f, 36.313 dB, 8346 ms

    Change-Id : Ic9197ab5761279ae55d2fb7813b2af0e0db497b8

  • 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;

  • vaapi : Add external control of allow-profile-mismatch

    27 mars 2017, par Mark Thompson
    vaapi : Add external control of allow-profile-mismatch
    

    Uses the just-added ALLOW_PROFILE_MISMATCH flag.

    • [DBH] libavcodec/vaapi_decode.c