Recherche avancée

Médias (91)

Autres articles (63)

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

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11159)

  • ffmpeg video rendering command adding empty audio to end of video

    13 janvier 2020, par Martin

    I have an ffmpeg command which is supposed to take an mp3 file and image file as inputs, and render a music video with the image as the background and the video length is the exact length of the mp3 audio file input.

    I was using this command :

    ffmpeg -loop 1 -framerate 2 -i "front.jpg" -i "audioInput.mp3" -vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1,format=yuv420p" -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a aac -b:a 320k -shortest -vf scale=1920:1080 -pix_fmt yuv420p "videoOutput.mp4"

    But the problem was that my audioInput.mp3 file is 1 minute 12 seconds long, and my output video was 1 minute 39 seconds, with an added couple seconds of silence at the end of the video.

    I asked a question on stackoverflow and it was closed/linked to this question. The accepted answer says that this command would not add extra seconds onto the end of the video :

    ffmpeg -y -loop 1 -framerate 2 -i "front.jpg" -i "maintheme.mp3" -c:v libx264 -tune stillimage -c:a aac -b:a 320k -pix_fmt yuv420p -shortest -fflags +shortest -max_interleave_delta 100M "result2.mp4"

    I tried using this command, and my output video was still 1.14 seconds long.
    I tried the command again with a different audio file (flac) and the video output had again 2 seconds of blank audio at the end. Is one of my flags causing extra space to be appended ? Can I cut the video’s length to be that of the audio file ?

  • Looking for video libraries for editing video on windwos/ios/azure service

    15 juillet 2015, par sanyam

    Which library would be a good bet in terms of ...
    1. Richness in features (I want to create a video from short clips and images with effects and filters). Think auto videos created from Google Photos.
    2. Extensibility - I would prefer using similar tech on IOS and Windows apps. Might have to offload some processing to a web service on Azure (windows or linux).
    3. Programmability - An API is preferred over command line as it gives more flexibility and better error handling.

    Given all these options, what is my best bet ? I’ve only looked at ffmpeg till now, is there a better alternative ?

  • Drawing text on video with avconv only at the start of the video

    21 juillet 2013, par Gael

    I want to embed the creation date of personnal videos, but only at their start (let say the 10 first seconds).

    I'm using the drawtext of avconv :

    avconv -i input.avi -vf
    "drawtext=fontcolor=white:fontsize=30:fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf:text='$date':x=30:y=h-text_h-30"
    test.mpg

    but I do not find any option to tell to just write the date on only a portion of the video. I could split the start of the video, or make an srt file, but there is probably an easier solution.