Recherche avancée

Médias (91)

Autres articles (75)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (3563)

  • FFmpeg timestamp watermark beginning at a specified offset [closed]

    12 mai 2023, par Marcipicus

    I am trying to extract a portion of video from another video file.

    


    I want the second video file to be timestamped with the time in the original file from which the excerpt was extracted.

    


    Here is the command so far.

    


    #FILE TIME WATERMARK
    ffmpeg -ss "$startSecond" -i "$inputFile" -to "$endSecond" -vf "drawtext=text='%{pts\:hms}':fontfile=FreeSerif.ttf:fontsize=20:x=40:y=60:box=1:boxcolor=white@0.5:boxborderw=5" -c:v libx264 -crf 23 -preset medium -c:a libmp3lame -q:a 2 "$outputFile"


    


    That part already works but the timestamp begins at 0 seconds.

    


    How do I modify the command to begin the timestamp at the value in $startSecond ?

    


    I tried the following command.

    


    ffmpeg -ss "$startSecond" -i "$inputFile" -to "$endSecond" -vf "drawtext=text='%{pts+$startSecond\:hms}':fontfile=FreeSerif.ttf:fontsize=20:x=40:y=60:box=1:boxcolor=white@0.5:boxborderw=5" -c:v libx264 -crf 23 -preset medium -c:a libmp3lame -q:a 2 "$outputFile"


    


    The only difference is that I added the value of $startSecond to pts.

    


    I couldn't find the documentation on the timestamping method for the drawtext filter. If anyone can find it I would appreciate it.

    


  • FFMPEG Encoding to prores 4444 with alpha doesn't retain original alpha [closed]

    19 mai 2023, par Nick Weeden

    I'm trying to convert an rgba png to prores 4444 with an alpha. When I run the following command it will create prores file with an alpha. But, the alpha is full white, it doesn't retain the values I put in.

    


    ffmpeg -start_number 1001 -r 24.000 - "pngWithAlpha_%06d.png" -c:v prores_ks -profile:v 4 -alpha_bits 16 -y "proresWithAlpha.mov"


    


    I've tried this with both FFMPEG 4.2.2 and 6.0.0 on a linux system, I'm not sure if I'm doing it wrong or if it is a bug.

    


    Looking at this post it seems it should be possible (they're complaining about quality not a fully missing transfer of the alpha).

    


    I would expect it to pass the alpha straight through but it doesn't. I used alpha_extract to copy the alpha in to the rgb to confirm I'm able to read the alpha from the png, which worked. But the alpha was still full white.

    


  • FFMPEG video (mp4) to image sequence with the time in the filename [closed]

    7 juin 2013, par Ewald Bos

    i have a question and can't find the answer perhaps you can help ?

    I am using FFMPEG (windows enviroment) and convert a video (mp4) to a series of images based on scene detection (i-frames) and add the timecode inside the image (burn) like this ;

    ffmpeg -i video.mp4 -vf "drawtext=fontfile=trebucbd.ttf: timecode='00\:00\:00\:00': r=25: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1, select=eq(pict_type\,I)" -vsync 0 -an iframes/%06d.jpg

    All this works perfect but i also would like to add the timecode in the filename, so instead of naming it 000001.jpg, 000002.jpg i would like to have 00.00.00.01.jpg, 00.00.00.17.jpg and thoughts about this ?