Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (104)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

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

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

    


  • How can I download a video with url beginning with blob:https://…

    11 août 2017, par iMax

    I would like to know if it is possible to download a video from a URL beginning with blob :

    blob:https://www.xyz123…

    i would prefer a terminal solution (ffmpeg ?, youtube-dl ?). but i have not found anything on the world wide web.

    Again : I have the url of the video stream, which looks like the above. How can I download the complete video ?

    Update

    Ok. I now found a webpage which allowed me to download the video file I wanted :
    https://video-download.online/

    But I am still wondering if there is a Terminal solution for downloading video with blob-URL (like in arte mediathek [ example arte ] or in zdf mediathek [ example zdf ]).

    Does nobody know how to do it ?