Recherche avancée

Médias (91)

Autres articles (75)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (12019)

  • 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

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

    


  • Automatically match output file with input file (Applescript x FFMPEG)

    2 mars 2018, par Wallie

    I use the following AppleScript as an Automator Service to right click a video file in the finder and burn in a matching subtitle file (.ass) with an ffmpeg terminal command. In this case ffmpeg encodes a new Prores 422(HQ) file.

    on run {input, parameters}
    tell application "Terminal"
       activate
       set filesString to ""
       repeat with file_ in input
           set filesString to filesString & " " & quoted form of (POSIX path of file_)
       end repeat
       do script "for f in" & filesString & "; do  
    base=$f  
    ffmpeg -y -i \"$base\" -c:v prores -profile:v 3 -pix_fmt yuv422p10le -vf \"ass=${base%.*}.ass\" -c:a copy \"${base%.*}_sub.mov\";
    done"
       end tell
       return input
    end run

    Would it be possible to automatically match the output file and it’s codec to the input file ?
    We use a lot of different input formats due to a mixed windows / mac environment (Prores (mov), dnxhr (mxf/mov)) and I would like to not have 8-12 encoding options in the finder service menu’s of the workstations :).

    Thanks in advance !!