
Recherche avancée
Autres articles (37)
-
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 -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs.
Sur d’autres sites (6727)
-
Integrating CUDA-based video decoder into libavcodec/ffmpeg
1er février 2019, par tmlenI have a CUDA-based decoder of a video format running on the GPU. I am trying to add a "codec" into
libavcodec
that uses it as external decoderCurrenty, I have it working such that I can play a sequence of pictures using
ffplay
, which
get decoded on the GPU with the external decoder.But with the current implementation, the codec module copies its output (in a RGB24 pixel format) from GPU memory to host memory after each frame, and gives this to
libavcodec
in itsAVFrame
. So with this when usingffplay
, it will copy the output images back and forth between GPU and host two times (asffplay
has to copy the data to GPU for display).My goal is to leave the uncompressed data on GPU using on a CUDA device buffer, and have
ffmpeg
use it.ffmpeg
seems to have support for this usingAVHWAccel
.-
Is there any example implementation that uses this with a CUDA based decoder (not using the dedicated hardware decoders through NVDEC, CUVID, etc.) ?
-
Does
ffmpeg
need the output in a pixel format in a CUDA buffer, or can it also be in texture memory, in a CUDA array ? -
Is it possible to have the hardware decoder as primary decoder of the
AVCodec
. It seems that hardware-acceleration is foreseen as an add-on, with the software decoder implemented byAVCodec
available as fallback ? -
It seems that
ffmpeg
will allocate a pool of CUDA buffers to receive its output. Is it also possible to allocate the output buffers oneself in the module’s implementation, and control how many buffers there will be. -
Is it possible to control with how many CPU threads the decoder will be called ? With the external decoder’s interface, ideal would be one writer thread that pushes compressed codestreams, and one reader thread that pulls the uncompressed output to a CUDA buffer.
-
-
Python imageio cant read/write | First-Order-Model
19 août 2020, par user10847428I want to make a first order model with https://github.com/AliaksandrSiarohin/first-order-model , but when I run the crop-video.py with python 3.8 I get this windows popup :


This program cannot run on your pc
....


When I close it the CMD was show this :


H:\first-order-model\first-order-model>py crop-video.py --inp driving_video/zsebibaba.mp4
Traceback (most recent call last):
 File "crop-video.py", line 154, in <module>
 commands = process_video(args)
 File "crop-video.py", line 87, in process_video
 video = imageio.get_reader(args.inp)
 File "C:\Python38\lib\site-packages\imageio\core\functions.py", line 129, in get_reader
 return format.get_reader(request)
 File "C:\Python38\lib\site-packages\imageio\core\format.py", line 168, in get_reader
 return self.Reader(self, request)
 File "C:\Python38\lib\site-packages\imageio\core\format.py", line 217, in __init__
 self._open(**self.request.kwargs.copy())
 File "C:\Python38\lib\site-packages\imageio\plugins\ffmpeg.py", line 358, in _open
 self._load_infos()
 File "C:\Python38\lib\site-packages\imageio\plugins\ffmpeg.py", line 523, in _load_infos
 raise IOError(fmt % err2)
OSError: Could not load meta information
=== stderr ===

A hozzfrs megtagadva. ( Acces denied)
</module>


The python38 folder in the C : is read-only and I tried change it but didnt work.


How can I solve this problem ?


-
rtmp : Support reading interleaved chunks.
17 septembre 2013, par Josh Allmannrtmp : Support reading interleaved chunks.
A given packet won’t always come in contiguously ; sometimes
they may be broken up on chunk boundaries by packets of another
channel.This support primarily involves tracking information about the
data that’s been read, so the reader can pick up where it left
off for a given channel.As a side effect, we no longer over-report the bytes read if
(toread = MIN(size, chunk_size)) == sizeSigned-off-by : Martin Storsjö <martin@martin.st>