
Recherche avancée
Autres articles (100)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (6710)
-
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.


-
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 ?


-
avutil/file : fix av_file_map file mapping on Windows
9 décembre 2024, par Kacper Michajłowavutil/file : fix av_file_map file mapping on Windows
This makes the behavior of av_file_map() the same on Windows as it is on
other platforms. The file is opened as read-only, but the mapping is
copy-on-write, allowing the user to write to the memory pages returned
by av_file_map().This commit fixes libavutil\tests\file.c test, which would crash when
trying to write to a read-only memory page.Signed-off-by : Kacper Michajłow <kasper93@gmail.com>
Signed-off-by : Anton Khirnov <anton@khirnov.net>