Recherche avancée

Médias (91)

Autres articles (43)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7386)

  • Get subdirectory name in bat FOR /R loop and name file accordingly

    23 février 2021, par CatTheGrimReaper

    I know this question sounds like a duplicate, but I couldn't find an answer in all the similar questions.
I have this code in a .bat file :

    


      for /R "C:\Users\XX\XXX\XXXX\XY" %%F in (*.m*) do (
    ffmpeg -i %%F -vf "setpts=N/TB,fps=1,select=not(mod(n\,29)), crop=min(in_w\,in_h):min(in_w\,in_h), scale=1024:1024" -vsync 0 -frame_pts 1 -f image2 %%F-"frame-"%%3d.jpg
    )


    


    Which takes every video file in the given path (C :\Users\XX\XXX\XXXX\XY), splits it into frames (every 29th frame) and saves those frames as "FILENAME-frame-FRAMENUMBER". This works very well, but I'd like to name the file "SUBDIRECTORY-frame-FRAMENUMBER". Is this possible ? Every answer I read had the subdirectory name as its own variable (so in my case in place of the %%F), but I need that %%F to modify each file with FFMPEG.

    


    I appreciate any help ! Thanks in advance.

    


  • Copy multiple sections of an .mp3 file to a new .mp3 file with ffmpeg [duplicate]

    28 août 2021, par Nemo XXX

    I'd like to copy multiple sections of an .mp3 file to a new .mp3 file using a single ffmpeg command.
For example, I only want to keep the following sections of a 60 minute .mp3 file :

    


    00:00:55 00:05:34 00:04:39 || 55.7173 334.888 279.17069999999995
00:16:31 00:38:29 00:21:57 || 991.912 2309.11 1317.198
00:41:29 00:45:04 00:03:34 || 2489.84 2704.37 214.52999999999975


    


    (The values are start, end, duration.)

    


    How can I achieve this with a single ffmpeg command on a Windows machine ?
(I already know how to create 3 separate .mp3 files and to concatenate them.)

    


  • Initialise cuda constant memory from a seperate .c file rather than .cu file

    19 avril 2020, par andrew pate

    I am looking to modify a ffmpeg video filter that uses cuda. The filter is comprised of a vf__scale__cuda.c file and a seperate vf_scale_cuda.cu file containing just the the kernel definitions.

    



    In my kernel I want to reference constant memory, so I'm assumning I would have to declare this in vf_scale_cuda.cu using __constant__, but I want to initialize this memory (in the vf__scale__cuda.c file) before calling the kernel.

    



    I know there are methods cudaMemcpyToSymbol and cudaGetSymbolAddress, but I'm unclear how to use these within the vf__scale__cuda.c file to set the constant memory declared in the vf_scale_cuda.cu file. How should this be done ?