
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (75)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (5238)
-
avutil : remove deprecated FF_API_H274_FILM_GRAIN_VCS
19 février, par James Almer -
Correct syntax for using ffmpeg CUDA to crop and scale videos [closed]
9 septembre 2024, par StuartMy NVIDIA and FFMPEG configuration is as follows :


Linux TestBox1 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux


NVIDIA-Linux-x86_64-560.31.02


ffmpeg version git-2024-08-19-507c2a577
encoders:
 V....D av1_nvenc NVIDIA NVENC av1 encoder (codec av1)
 V....D h264_nvenc NVIDIA NVENC H.264 encoder (codec h264)
 V....D hevc_nvenc NVIDIA NVENC hevc encoder (codec hevc)
decoders:
 V..... av1_cuvid Nvidia CUVID AV1 decoder (codec av1)
 V..... h264_cuvid Nvidia CUVID H264 decoder (codec h264)
 V..... hevc_cuvid Nvidia CUVID HEVC decoder (codec hevc)
 V..... mjpeg_cuvid Nvidia CUVID MJPEG decoder (codec mjpeg)
 V..... mpeg1_cuvid Nvidia CUVID MPEG1VIDEO decoder (codec mpeg1video)
 V..... mpeg2_cuvid Nvidia CUVID MPEG2VIDEO decoder (codec mpeg2video)
 V..... mpeg4_cuvid Nvidia CUVID MPEG4 decoder (codec mpeg4)
 V..... vc1_cuvid Nvidia CUVID VC1 decoder (codec vc1)
 V..... vp8_cuvid Nvidia CUVID VP8 decoder (codec vp8)
 V..... vp9_cuvid Nvidia CUVID VP9 decoder (codec vp9)
filters:
 ... bilateral_cuda V->V GPU accelerated bilateral filter
 T.. bwdif_cuda V->V Deinterlace CUDA frames
 ... chromakey_cuda V->V GPU accelerated chromakey filter
 ... colorspace_cuda V->V CUDA accelerated video color converter
 ..C crop V->V Crop the input video.
 T.C cropdetect V->V Auto-detect crop size.
 ... hwupload_cuda V->V Upload a system memory frame to a CUDA device.
 ... overlay_cuda VV->V Overlay one video on top of another using CUDA
 ... scale_cuda V->V GPU accelerated video resizer
 ... scale_npp V->V NVIDIA Performance Primitives video scaling and format conversion
 ... scale2ref_npp VV->VV NVIDIA Performance Primitives video scaling and format conversion to the given reference.
 ... sharpen_npp V->V NVIDIA Performance Primitives video sharpening filter.
 ... thumbnail_cuda V->V Select the most representative frame in a given sequence of consecutive frames.
 ... transpose_npp V->V NVIDIA Performance Primitives video transpose
 T.. yadif_cuda V->V Deinterlace CUDA frames



I would like to be able to use CUDA to crop and scale videos but I cannot find the correct syntax.
My efforts usually work in terms of the scale but not the crop, here is an example of the type of problems I have been having :


The source file in this example is a short mpeg2 video (960x540 with black bars top and bottom). The command is currently run from a bash script.


ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda -c:v mpeg2_cuvid -crop 960x408x0x66 -i $1 -vf scale_npp=1280x544 -c:a copy -c:v h264_nvenc -b:v 2M -preset slow $2



This is throwing the following error :


[mpeg2_cuvid @ 0x5e6d9deb56c0] cuvid decode callback error
[vist#0:0/mpeg2video @ 0x5e6d9de85b40] [dec:mpeg2_cuvid @ 0x5e6d9de7b7c0] Decoding error: Generic error in an external library



Have I a problem with my ffmpeg build, should the list of filters include something like crop_cuda or crop_npp or have I just got the wrong syntax to perform everything on the GPU (is it even possible).


-
How to Identify the Version of ffmpeg.dll in WebView2 Runtime Fixed Version
19 février, par Po-SenI am currently using the WebView2 runtime fixed version. After expanding the package, I found multiple DLL files, including
ffmpeg.dll
.

In the file properties, the
file version
is displayed as0.0.0.0
, and the only version-related information I can see is theproduct version
:git-2024-04-25-e3581fa2dd
.



This format is different from the numeric versioning scheme I see on the official FFmpeg website : https://ffmpeg.org/download.html#releases.




I want to trace the exact FFmpeg version used in this WebView2 distribution.
Initially, I assumed
e3581fa2dd
was a Git commit SHA. However, after cloning the FFmpeg repository from https://git.ffmpeg.org/ffmpeg.git, I could not find this commit.

Our product was recently scanned and found to contain FFmpeg version
3.4.2
, which has knownCVE
security vulnerabilities. Therefore, we want to clarify the actual version of FFmpeg included in the WebView2 runtime.

How can I determine the version of
ffmpeg.dll
included in WebView2 runtime fixed version ?