
Recherche avancée
Autres articles (61)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (6374)
-
FFmpeg + vaapi for encoding, generating error of No VA display found for device : /dev/dri/renderD128
5 janvier 2019, par User800222I’m trying to use vaapi with ffmpeg for vp9’s hwaccel.
The prebuilt ffmpeg I installed doesn’t have —enable-vaapi, but does have vp9_vaapi, h264_vaapi, etc encoders.
I also found someone had the same situation of ffmepg but can run vaapi without problems.
So I’ve tried either comment line and in code to use vaapi for encoding, but both generate same error code of -22.
Environment :
Mac OS
Compile code on ubuntu 16.04 in a docker container
FFmpeg version :
root@6161d6e22c8f :/# ffmpeg -hwaccels
ffmpeg version 4.0.3-1 16.04.york0 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1 16.04.10) 20160609
configuration : —prefix=/usr —extra-version=’1 16.04.york0’ —toolchain=hardened —libdir=/usr/lib/x86_64-linux-gnu —incdir=/usr/include/x86_64-linux-gnu —arch=amd64 —enable-gpl —disable-stripping —enable-avresample —disable-filter=resample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libaom —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libcodec2 —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libjack —enable-libmp3lame —enable-libmysofa —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-librsvg —enable-librubberband —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvidstab —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxml2 —enable-libxvid —enable-libzmq —enable-libzvbi —enable-lv2 —enable-omx —enable-openal —enable-opengl —enable-sdl2 —enable-libdc1394 —enable-libdrm —enable-libiec61883 —enable-chromaprint —enable-frei0r —enable-libopencv —enable-libx264 —enable-shared
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
Hardware acceleration methods :
vdpau
vaapi
drm(comment line:)
ffmpeg -init_hw_device vaapi=foo:/dev/dri/renderD128
&
(in code:)
err = av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_VAAPI,
NULL, NULL, 0);
if (err < 0)
{
fprintf(stderr, "Failed to create a VAAPI device. Error code: %s\n", av_err2str(err));
goto close;
}Error generated :
[AVHWDeviceContext @ 0x55bb3744bf40] No VA display found for device : /dev/dri/renderD128.
Device creation failed : -22.
Failed to set value ’vaapi=foo :/dev/dri/renderD128’ for option ’init_hw_device’ : Invalid argument
Error parsing global options : Invalid argument -
avcodec/pgssubdec : Check for duplicate display segments
29 janvier 2019, par Michael Niedermayeravcodec/pgssubdec : Check for duplicate display segments
In such a duplication the previous gets overwritten and leaks
Fixes : memleak
Fixes : 12510/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGSSUB_fuzzer-5694439226343424Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
How to display quick preview of output generated from FFMPEG command ? [android]
6 février 2019, par akash varlaniBasically I am developing a video editing app that lets user choose some of their images and create video slide show with music.
I am using FFMPEG to generate video slide show from images but the problem is I can only show preview of the video after executing FFMPEG command.
Is googled so many blogs and all and I know there is a possible way available to display preview of the output.
Check below image from reference app. I am developing something similar to this app. There is an option to replace the image in video. This app displays instant preview once I change the image.
Here is the link of the reference app if anyone wants to check :
https://play.google.com/store/apps/details?id=com.newbiz.mvmasterClicking an EXPORT button this app lets you generate video output. I can do that as I know FFMPEG and how to generate OUTPUT FILE using FFMPEG but what I don’t know is how to display quick preview of OUTPUT VIDEO before generating actual VIDEO FILE.
On my UBUNTU device I can view output of FFMPEG command using FFPLAY tool but how to do the same on android device.
Some useful link :
http://androidwarzone.blogspot.com/2011/12/ffmpeg4android.html