
Recherche avancée
Autres articles (94)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (7682)
-
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.