Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (82)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8528)

  • ffmpeg overlay on multiple outputs

    21 mars 2018, par Helo

    I’m using ffmpeg 3.4.1 to transcode a highres video file into several lower resolutions with a logo in the corner :

    ffmpeg -i "test.mxf" -i "logo.png" ^
    -filter_complex "[0:v][1:v] overlay" ^
    -s 640x480 -c:v libx264 -b:v 1000K -c:a aac -b:a 96k "test.640x480K.1000K.logo.mp4" ^
    -s 1280x720 -c:v libx264 -b:v 2200K -c:a aac -b:a 192k "test.1280x720K.2200K.logo.mp4"

    But this way there is only a logo in the first output file.

    I have tried using map, this gives me logos in both output files but then the sound disappears :

    ffmpeg -i "test.mxf" -i "logo.png" ^
    -filter_complex "[0:v][1:v] overlay [output1]; [0:v][1:v] overlay [output2]" ^
    -map [output1] -s 640x480 -c:v libx264 -b:v 1000K -c:a aac -b:a 96k "test.640x480K.1000K.logo.mp4" ^
    -map [output2] -s 1280x720 -c:v libx264 -b:v 2200K -c:a aac -b:a 192k "test.1280x720K.2200K.logo.mp4"

    What am I doing wrong ?

    I would like to do 5 outputs in one go to avoid running ffmpeg 5 times in succession. It ought to be more efficient/faster to do it in one go.

  • ffmpeg video overlay position from external input [duplicate]

    18 janvier 2019, par SetV

    This question is an exact duplicate of :

    How to use FFmpeg video overlay function to add image logo to a MP4 video where overlay positions shall come from an external input.

    Following is the command I am using to apply a logo to a video file

    ffmpeg -i input.mp4 -i image.png -filter_complex \
          "[0:v][1:v] overlay=25:25:enable='between(t,0,20)'" -c:a copy output.mp4

    Say when the input is 1 the logo need to be placed on top left corner etc.

    Does the overlay position can be changed on the fly based on input from the file ?

    Say for input file content given below

    cat input.txt
    1
    2
    3
    4

    I need to move the logo to other positions after the 20 sec duration is elapsed.

    Is this is supported in FFmpeg command line ? FFmpeg version is 2.6.2.

  • List files in a folder in natural order using bash script

    15 janvier 2017, par Vince Leko

    I am trying to merge several flv files using ffmpeg. ffmpeg requires a list of files in this format :

    file '/path/to/file1'
    file '/path/to/file2'
    file '/path/to/file3'

    With some search and trials, I have came up with this one line command :

    ffmpeg -safe 0 -f concat -i <(for entry in "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"/*.flv;do echo "file '$entry'";done) -c copy output.flv

    The script in brackets will generate a list of paths to all files in current folder in the format that is required by ffmpeg :

    for entry in "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"/*.flv;do echo "file '$entry'";done

    However, this only list files in alphanumeric order :

    6846641-10.flv
    6846641-11.flv
    6846641-12.flv
    6846641-13.flv
    6846641-14.flv
    6846641-15.flv
    6846641-16.flv
    6846641-17.flv
    6846641-18.flv
    6846641-19.flv
    6846641-1.flv
    6846641-20.flv
    6846641-21.flv
    6846641-22.flv
    6846641-23.flv
    6846641-24.flv
    6846641-2.flv
    6846641-3.flv
    6846641-4.flv
    6846641-5.flv
    6846641-6.flv
    6846641-7.flv
    6846641-8.flv
    6846641-9.flv

    To merge videos correctly, I need files to be listed in natural order like this :

    Naturally ordered files

    enter image description here

    As shown in the picture, files need to be sorted by the number after - from 1 to 24, with 6846641-1.flv in the first line and 6846641-24.flv in the last line. And each line in the format like this :

    file '/mnt/c/Users/Oho/Desktop/save//6846641-xx.flv'

    Would it be possible to generate a correctly formatted list for ffmpeg with bash script (and in one line if achievable) ?

    Edit :
    Thanks to Cyrus, the modified code is here and it does the job :

    #!/bin/bash
    for entry in "$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"/*.flv
    do
       echo "file '$entry'" >> fileOutputList.temp
    done
    sort -t "-" -n -k 2 fileOutputList.temp > fileOutputListSorted.temp
    ffmpeg -safe 0 -f concat -i fileOutputListSorted.temp -c copy output.flv
    rm fileOutputList.temp
    rm fileOutputListSorted.temp