Recherche avancée

Médias (0)

Mot : - Tags -/latitude

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (58)

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

  • FFMPEG bat file won't run [closed]

    8 octobre 2023, par Tiecubed
    @echo off
setlocal enableextensions enabledelayedexpansion

set "input_directory=C:\Users\tiecu\OneDrive\Desktop\testing environment\Pending"
set "output_directory=C:\Users\tiecu\OneDrive\Desktop\testing environment\Output"

for %%i in ("%input_directory%.mp4") do (
    set "input_file=%%i"
    set "output_file=!output_directory!%%~nxi"

    C:\ffmpeg\ffmpeg.exe -i "!input_file!" -map_metadata -1 -vf "rotate=2PI/180, vignette=1.1, scale=1200:-1,setsar=1,crop=1080:1920,setpts=PTS/1.1" -af "atempo=1.1" -c:v libx264 -crf 18 -c:a aac -strict experimental "!output_file!"
)


    


    I have tried many bat scripts, all of them work except ffmpeg ones. The terminal opens and immediately closes. I have tried many scripts. ffmpeg works fine via cmd without a batch script. I'm entirely lost. It was working fine earlier, then in the middle of making the script it stopped working. So I went back to the previous working script and it would no longer work. Terminal opens and immediately closes.

    


  • ffmpeg - invalid duration

    22 septembre 2016, par OmidAntiLong

    For a project I’m working on I have a small bash script that loops over an input csv file of timecodes, and uses ffmpeg to create screenshots of a given film at each timecode. The csv file is in the format hh:mm:ss,id - it looks like this (extract)

    00:00:08,1
    00:00:49,2
    00:01:30,3
    00:02:38,4
    00:03:46,5
    00:04:08,6
    00:04:26,7
    00:04:37,8
    00:04:49,9
    00:05:29,10
    00:05:52,11
    00:06:00,12
    00:06:44,13
    00:07:49,14
    00:08:32,15
    00:09:28,16
    00:10:17,17
    00:10:44,18
    00:11:48,19
    00:12:07,20

    I’ve used it without issue in the past, but today I’ve come to update some of the films and I’m getting a weird issue where ffmpeg is complaining that my input timecode is invalid, despite being in the right format.

    The new input csv files are the same format as the old ones, but it seems like every so often ffmpeg drops the hours from the hh:mm:ss timestamp. If I comment out the ffmpeg line, everything prints to the terminal as expected (but obviously I get no screenshots).

    This is my loop code :

    while read code a
    do
     echo $code
     f="$(printf "%03d" $i)"

     ffmpeg -loglevel error -y -ss $code -i $FILM -vframes 1 -q:v 2 $OUTPUT/$f.jpg

     ((i++))
    done < $INPUT

    I’ve tried all sorts, including padding the csv with extra 0s - which works until the hours tick over to 01.

    Terminal output

    Does anyone have any ideas ? I’m scratching my head.

    Cheers

  • Convert Transparent PNGs to a Transparent Video

    15 février 2023, par Aurora7979

    I have a set of transparent PNG pictures, and I want to convert them into a video with transparent background (play the PNGs continuously).

    


    First, I used ffmpeg with the terminal command :

    


    ffmpeg -framerate 30 -pattern_type glob -i '*.png' \-c:v libx264 -pix_fmt yuva420p out.mp4


    


    And I learnt that the codec libx264 does not compatible with the alpha channel. Then, I changed to another codec and used the following command :

    


    ffmpeg -framerate 30 -pattern_type glob -i '*.png' \-c:v libvpx-vp9 -pix_fmt yuva420p out.mp4


    


    However, QuickTime Player cannot play the resulting out.mp4. I don't know if it was because the video conversion failed or it was the fault of QuickTime Player. The terminal didn't show any error message, though.

    


    Therefore, I would like to ask :

    


      

    1. Which codec I should use to create a transparent video that a normal video player can play ?

      


    2. 


    3. Can the output MP4 video format support transparent videos ?

      


    4. 


    5. If there is another tool that is far more superior than ffmpeg for my purpose, I am willing to give it a try.

      


    6. 


    


    Thank you for any advice.

    


    All the best,

    


    Aurora