
Recherche avancée
Autres articles (36)
-
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (5141)
-
lavu/riscv : helper macro for VTYPE encoding
5 octobre 2022, par Rémi Denis-Courmontlavu/riscv : helper macro for VTYPE encoding
On most cases, the vector type (VTYPE) for the RISC-V Vector extension
is supplied as an immediate value, with either of the VSETVLI or
VSETIVLI instructions. There is however a third instruction VSETVL
which takes the vector type from a general purpose register. That is so
the type can be selected at run-time.This introduces a macro to load a (valid) vector type into a register.
The syntax follows that of VSETVLI and VSETIVLI, with element size,
group multiplier, then tail and mask policies. -
How to detetc hardware acceleration in ffmpeg
19 décembre 2020, par Ali RazmkhahI am writing c++ program to screen record by ffmpeg 4.3 ! I need to detect hardware acceleration support such as h264_qsv or h264_nvenc without running ffmpeg.exe !


I explored ffmpeg.exe source code and found no results ! some solutions are deprecated or dose not work on 4.3 !
As instance,


avcodec_find_encoder_by_name("h264_qsv")



returns null even it is exist and works properly !


-
Capture & save MJPG CCTV stream to file w. FFMPEG
21 juin 2021, par GBanoI've been trying to record an IP-cam stream (Foscam, mjpg) via http with ffmpeg.
Can't get the rtsp stream for some reason, but the http/mjpg works fine (VLC IDed it as mjpg).


The stream URL looks like this :

http://192.168.1.123:456/videostream.cgi?user=USERNAME&pwd=PWD


So I created the string (w.o line wrap) :

ffmpeg -i -loglevel debug http://192.168.1.123:456/videostream.cgi?user=USERNAME&pwd=PWD /home/user/Videos/camera.mp4


Some examples I saw are using
-c
copy
andmap 0
options as well but I left this out since I defined source and destination clearly and this is just a video, no audio.
segment_time
andsegment_format
I also left out for now (I'd like segments later though- when it's working).

FFMPEG returns :
"bash: /home/user/Videos/camera.mp4: No such file or directory"


So I tried a random mjpg stream from the net (Insecam is a nice source for this...) :
http://58.69.178.54:80/mjpg/video.mjpg


Leading to :

ffmpeg copy -i -loglevel debug -hide_banner http://58.69.178.54:80/mjpg/video.mjpg /home/user/Videos/camera.mp4


Returns :
-loglevel: "No such file or directory"
(the same with segment options included, copy excluded).

Shouldn't FFMPEG create the destination file ?


One example mixed FFMPEG with CVLC (Save continuous RTSP stream to 5-10 minute long mp4 files) so I just tried with cvlc.

cvlc http://58.69.178.54:80/mjpg/video.mjpg copy /home/user/Videos/camera.mp4

This opens the stream in a VLC window (despite that I use Cvlc) but does not create a destination file.

I suspect I must have missed something simple & silly, but what ?