
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (54)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
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 (...)
Sur d’autres sites (5413)
-
Enable hardware (GPU) video decode acceleration with ffmpeg C API ?
8 avril 2019, par MSD PaulI am using
avcodec_decode_video2()
to decode a particular video without enabling any GPU hardware support.While I tried to get the hardware decoder by name :
mVideoCodec = avcodec_find_decoder_by_name("h264_dxva2");
But its results
mVideoCodec = NULL
although while running ffmpeg from command prompt using dxva2 hwaccel, no error is being shown. Here I am giving the configuration output what I got from the command prompt. can anyone please tell me how can I enable hardware acceleration properly while usingavcodec_decode_video2()
API to decode the video in C.I am using a laptop with an NVIDIA GPU.
Log from command prompt :
C :\ffmpeg\bin>ffmpeg -hwaccel dxva2 -i 9.mp4 -r 60 -vsync 0 -f image2 image-%2d.png**
configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-bzlib —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-cuda —enable-cuvid —enable-d3d11va —enable-nvenc —enable-dxva2 —enable-avisynth —enable-libmfx -
How to send continuous stream of frames to server most efficiently
27 avril 2019, par DuthopiI am trying to send frames from a local camera (raspberry pi camera, but could also be my laptop’s webcam) to a Google cloud instance, on which I am running AI processing of the frames.
I am managing to send frames captured through opencv via http (i.e. tcp ??) and receiving them on a flask server. When the flask server is running locally I can get good fps (50+ fps for image size 640x480), however once I send the frames to a flask app on the google instance the fps drop drastically to 5fps.
How I currently send frames :
while True:
frame = vs.read() #Separate thread, using cv2 to get the frame
ret, jpeg = cv2.imencode('.jpg', frame)
imgdata = jpeg.tobytes()
response = requests.post(
url='http://<ip address="address" of="of" google="google" instance="instance">:<port>',
data= imgdata,
headers={'content-type':'image/jpeg'},
)
</port></ip>I see two problems with this :
1 - using tcp means I am slower than udp protocol, however udp is limited in byte size. Correct me if I am wrong, but it seems very complex to send truncated frames and put them back together on the server..
2 - Even if I had udp working, there is no compression of frames, so I will never reach an efficient transferI expect the answer to be something like using ffmpeg, but so far I only figured out how to stream frames on a local port with ffmpeg, I do not know if it is possible to send frames to a remote server.
Any recommendations on the best way forward ?
-
Can't upload .mkv video file to camtasia 2018
11 juin 2019, par FunTech StudentsVideosCan’t Import
.mkv
video file to camtasia 2018 :I have made an intro for my Youtube Channel on Penzoid and then uploaded it to my laptop in
.mkv
file format, now it can’t be import to camtasia 2018 for rendering with the recorded video in camtasia...I used cloudconvert to convert my intro to .mp4 format but it give me the following error :
ERROR Could not find tag for codec vp8 in stream #0, codec not currently supported in container
. Last message repeated 1 times
Last message repeated 1 timesI also used
.bat
file with the following code but it didn’t help me :@echo off
if not exist "fixed" mkdir fixed
for %%f in ("*.mp4") do "C:\Users\Nadeem Ullah\Downloads\Compressed\ffmpeg-win64-static\bin\ffmpeg.exe" -i "%%f" -c:a copy -c:v copy "fixed\%%~nf.mp4"