
Recherche avancée
Autres articles (96)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (5411)
-
Initialise cuda constant memory from a seperate .c file rather than .cu file
19 avril 2020, par andrew pateI 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 ?


-
Copy multiple sections of an .mp3 file to a new .mp3 file with ffmpeg [duplicate]
28 août 2021, par Nemo XXXI'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.)

-
Get subdirectory name in bat FOR /R loop and name file accordingly
23 février 2021, par CatTheGrimReaperI 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.