
Recherche avancée
Autres articles (76)
-
L’espace de configuration de MediaSPIP
29 novembre 2010, parL’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
Il permet de configurer finement votre site.
La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8043)
-
Process GIF using FFmpeg libraries - can't find parser at av_parser_init
24 novembre 2018, par natarioI am playing with ffmpeg libs, namely
libswscale
andlibavcodec
for now. My goal is resize GIF files. From my ridiculous understanding, I think I need to- decode the GIF and get an AVFrame
- process the frame with libswscale
- encode again into GIF
But I am stuck at step 1. Based on official sample at https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/decode_video.c , I need to get a parser :
codec = avcodec_find_decoder(AV_CODEC_ID_GIF);
parser = av_parser_init(codec->id);But no parser is found. I am not touching parser in my configure call, so I take all :
Enabled parsers:
aac cavsvideo dvbsub h263 mpegvideo sipr xma
aac_latm cook dvd_nav h264 opus tak
ac3 dca dvdsub hevc png vc1
adx dirac flac mjpeg pnm vorbis
av1 dnxhd g729 mlp rv30 vp3
avs2 dpx gsm mpeg4video rv40 vp8
bmp dvaudio h261 mpegaudio sbc vp9What am I doing wrong ? If this is the wrong approach, what is the correct one ?
-
libavfi/dnn : add LibTorch as one of DNN backend
15 mars 2024, par Wenbin Chenlibavfi/dnn : add LibTorch as one of DNN backend
PyTorch is an open source machine learning framework that accelerates
the path from research prototyping to production deployment. Official
website : https://pytorch.org/. We call the C++ library of PyTorch as
LibTorch, the same below.To build FFmpeg with LibTorch, please take following steps as
reference :
1. download LibTorch C++ library in
https://pytorch.org/get-started/locally/,
please select C++/Java for language, and other options as your need.
Please download cxx11 ABI version :
(libtorch-cxx11-abi-shared-with-deps-*.zip).
2. unzip the file to your own dir, with command
unzip libtorch-shared-with-deps-latest.zip -d your_dir
3. export libtorch_root/libtorch/include and
libtorch_root/libtorch/include/torch/csrc/api/include to $PATH
export libtorch_root/libtorch/lib/ to $LD_LIBRARY_PATH
4. config FFmpeg with ../configure —enable-libtorch \
—extra-cflag=-I/libtorch_root/libtorch/include \
—extra-cflag=-I/libtorch_root/libtorch/include/torch/csrc/api/include \
—extra-ldflags=-L/libtorch_root/libtorch/lib/
5. makeTo run FFmpeg DNN inference with LibTorch backend :
./ffmpeg -i input.jpg -vf \
dnn_processing=dnn_backend=torch:model=LibTorch_model.pt -y output.jpgThe LibTorch_model.pt can be generated by Python with torch.jit.script()
api. https://pytorch.org/tutorials/advanced/cpp_export.html. This is
pytorch official guide about how to convert and load torchscript model.
Please note, torch.jit.trace() is not recommanded, since it does
not support ambiguous input size.Signed-off-by : Ting Fu <ting.fu@intel.com>
Signed-off-by : Wenbin Chen <wenbin.chen@intel.com>
Reviewed-by : Guo Yejun <yejun.guo@intel.com> -
Matomo will now pay researchers 5,000 USD for a critical security vulnerability
7 mai 2020, par Matomo Core Team