
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (14923)
-
streaming webcam via rtp protocol
18 août 2016, par vasu guptai am trying to stream and receive my webcam feed on two terminal on same laptop.For this purpose I am using the following commands :-
foo.sdp :
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 55.2.100
m=video 1235 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1Transmitting :
ffmpeg -re -i /dev/video0 -r 24 -b 50k -s 858x500 -f mulaw -f rtp rtp://127.0.0.1:3000> foo.sdp
Receiving :
ffplay -i foo.sdp
While transmission seems to be working fine , but when i am using receiving command I am getting en error :
Protocol not on whitelist 'file,crypto'!/0
foo.sdp: Invalid data found when processing input -
Keep converting video when quitting ssh session [on hold]
13 août 2015, par JimZerI have a dedicated server with Debian Jessie, I connect to it with ssh.
I launched a list of video conversion with ffmpeg using my terminal with ssh. More precisely it convert a list of videos contained in a folder using this command :for file in *.avi; do ffmpeg -i "$file" "${file%.avi}".webm; done
However I would like the list of tasks to continue even if I close my ssh session.
Is that possible ?Thank you in advance for helping me.
-
Is it possible to use the ffmpeg that imageio automatically installs, and if so, how ?
21 décembre 2016, par GloinI am running macOS Sierra.
The module moviepy has imageio as one of its dependencies, and the first time you run it, it installs ffmpeg, which it uses to read and write video files.
I am now trying to use ffprobe without imageio, but still in python, however it cannot find it. It gives the errorFileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
Running ffmpeg or ffprobe from the terminal gives the error
-bash: ffprobe: command not found
FFmpeg obviously is somewhere on my mac, as moviepy/imageio uses it, but only that can find it.
This is the code I am trying to run :
# function to find the resolution of the input video file
def findVideoResolution(pathToInputVideo):
cmd = "ffprobe -v quiet -print_format json -show_streams"
args = shlex.split(cmd)
args.append(pathToInputVideo)
# run the ffprobe process, decode stdout into utf-8 & convert to JSON
ffprobeOutput = subprocess.check_output(args).decode('utf-8')
ffprobeOutput = json.loads(ffprobeOutput)
# find height and width
height = ffprobeOutput['streams'][0]['height']
width = ffprobeOutput['streams'][0]['width']
return height, widthwhich cannot find ffprobe.
Is there a way to use the installed version ffmpeg/ffprobe from python or the terminal, or do I have to install ffmpeg from ffmpeg.org ?
EDIT : @LordNeckBeard
In /Users/mynae/Library
I have added the following to .bash_profile using this tutorial :PATH="/Users/myname/Library/Application Support/imageio/ffmpeg:${PATH}"
export PATH/Users/myname/Library/Application Support/imageio/ contains a single folder called ffmpeg, which contains a single file called ffmpeg.osx. If I run ffmpeg.osx I get the message :
Killed: 9
I’ve never changed PATH before, and neither of these work. I still get the same errors as before. Have I done this correctly ? If so, is there anything else that might be wrong ?