Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (85)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (13246)

  • bash : find truncates some paths [duplicate]

    17 novembre 2023, par fweber

    I'm using MacOS 13.0.1 and try to find + loop over .mov files to convert them to MP4 using FFMPEG. Many of my path contain spaces and special characters. I found a way of putting things together thanks to this post :

    


    function convert_to_mp4_then_rm() {
    while IFS= read -r -d '' file
    do
        ffmpeg -i "$file" "${file%.mov}.mp4"
    done < <(find /Users/f.weber/Downloads -type f -name "*.mov" -print0)
}


    


    This runs but I found a (random ?) error : it looks like some of the paths are truncated when they arrive to the ffmpeg CLI.

    


    Example to reproduce with a basic content :

    


    ll Downloads/
total 9472
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2538.mov
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2539.mov


    


    When I call convert_to_mp4_then_rm in a terminal, the first MOV file is properly processed then I have the following error from FFMPEG : /Downloads/23-09-26 08-56-50-2539.mov: No such file or directory. In some conditions (e.g. when the path is longer) the truncation is more obvious and can occur in the middle of a word.

    


    What is the explanation for this ? How to forward untruncated paths to my function's core ?

    


    Thanks !

    


  • Background blur on concat videos make everything more blurry

    7 août 2020, par AlphaDjango

    Hi I have a bunch of temp video files that I want to concat together, some are different aspect ratios and resolutions so I want the end video to be a 1920x1080p with the empty space on the sides to be a box blur.

    


    I have it working how I want but the video clips in the middle become more blurry than the original temp files.
Could someone let me know if I can change the code to keep original quality ? It will also show it's dropping frames a few thousand in a 20 minute video which isn't terrible but I would prefer it to not drop frames.

    


    "ffmpeg -i "concat :" + python script adds all file locations + "" -s 1920x1080 -filter_complex [0:v]scale=ih16/9 :-1,boxblur=luma_radius=min(h,w)/20:luma_power=2:chroma_radius=min(cw,ch)/20:chroma_power=1[bg] ;[bg][0:v]overlay=(W-w)/2 :(H-h)/2,crop=h=iw9/16 -af aselect=concatdec_select,aresample=async=1 Rendered_Videos/output.mp4"

    


  • Fix flv files that stop early

    19 octobre 2012, par Xonar

    I downloaded some flv videos some time ago and when watching them they stop at a point. If I skip past that point they continue playing fine up until another point which I can then skip past again (and the cycle goes on until the end of the video)

    I already tried

    avconv -i input.flv -acodec copy -vcodec copy -g 1 output.flv

    To my understanding from reading alot of mostly useless posts regarding this issue the there isn't any keyframes in my metadata and then stop when there is a bad frame.

    I tried setting -g higher but output.flv stops at the same point as where the original file stops for the first time. Is there any tool that can fix this.

    I can't remember where the original links are located and re-downloading isn't a option and as you can see my re-encoding attempts has failed.

    I am using Linux Ubuntu, so I can't use the Windows tools that are available.