
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (29)
-
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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.
Sur d’autres sites (5730)
-
arm64 : add cycle counter support
3 décembre 2015, par Janne Grunau -
FFMPEG - Windows Batch - Loudnorm Print to File
22 août 2023, par Atlantis0813I would like to have the first three minutes of some M3u8 urls from a text file checked for loudness and have the results written to a file.


The following Windows batch code works in the Windows terminal. But the log.txt remains empty.


for /F "tokens=*" %%A in (input.txt) do ffmpeg -i %%A -ss 0 -t 180 -af loudnorm=I=-16:TP=-1.5:LRA=15:print_format=summary -f null - >> log.txt


Expect Output appended to file.


-
How to copy CUdeviceptr planes from FFmpeg AVFrame into my own CUDA memory ?
25 avril 2024, par SexyBoooomI'm trying to copy a frame planes decoded by FFmpeg(CUDA) into my own CUDA memory, but i tried a lot of times and all failed.


1, from FFmpeg doc, it says :


/// <summary>HW acceleration through CUDA. data[i] contain CUdeviceptr pointers exactly as for system memory frames.</summary>
@AV_PIX_FMT_CUDA = 117



that means
AVFrame.data[n]
are theCUdeviceptr
to copy from.

2, i have created my own CUDA memory without problem :


var dstPtr = new CUdeviceptr();
var error = cuMemAlloc_v2(ref dstPtr, length);



3, try to copy from
AVFrame
intodstPtr
, but failed :

var dstPtr = new CUdeviceptr();
var error = cuMemAlloc_v2(ref dstPtr, length); // allocate a CUDA mem for test

var plane = ffmpeg.av_frame_get_plane_buffer(avFrame, 0); // get the plane 0 info
var srcPtr = new CUdeviceptr((long)plane->data); // get CUdeviceptr from data[0]

error = cuMemcpyDtoD_v2(dstPtr, srcPtr, plane->size); // try to copy from avFrame into my own CUDA mem block
Debug.Assert(error == CUResult.Success); // alway fail.....



the copy result is alwasy
ErrorInvalidValue
indicates that the CUdeviceptr returned fromAVFrame.data[0]
is invalid or something....



I really have no idea what am i doing wrong....
BTW, I have created a CUDA context for memory allocating, that said, i will set my own CUDA context as current before allocating memory, does this operation break the FFmpeg's current context ? so the copy will fail ?


but anyway, no matter i use
cuCtxPushCurrent_v2
orcuCtxSetCurrent
, both not work.
this is just a really simple copy test, no ? but why.... :(