
Recherche avancée
Autres articles (24)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
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 -
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) (...)
Sur d’autres sites (5888)
-
Crop being ignored when added with resize filter
18 février 2020, par BN83Using the following :
$video -> filters()
-> resize(new FFMpeg\Coordinate\Dimension(480, 854))
-> crop(new FFMpeg\Coordinate\Point("t*100", 0, true), new FFMpeg\Coordinate\Dimension(480, 640))
->watermark('watermark.png', array(
'position' => 'relative',
'bottom' => 10,
'right' => 10,
));I get a resized video but doesn’t crop the to the proportions set. Resulting video is 480x854, with a watermark but not cropped.
If I use :
$video -> filters()
-> crop(new FFMpeg\Coordinate\Point("t*100", 0, true), new FFMpeg\Coordinate\Dimension(480, 640))
));It crops the image to the right size, but only a portion of the video, as you’d expect.
-
Why can I run this command from the terminal but I get an error when my python runs it from the terminal for me ?
9 mai 2019, par mu234I’m trying to write a python script that basically captures webcam videos from the terminal. When I put the command in a string and use
subprocess.call(script, True)
, I get an error, but when I literally copy/paste the same command to the terminal it works fine.This is my python :
import subprocess
import os
if (os.path.isdir("Videos/Webcam/temp") is False):
dirmake = 'mkdir Videos/Webcam/temp'
subprocess.call(dirmake, True)
cmd = 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'
subprocess.call(cmd, True)and this is the error
`FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm': 'ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm'`
If I just run
ffmpeg -f v4l2 -i /dev/video0 -t 00:00:10 video.webm
from the terminal it works fine.Originally the video was supposed to go in Videos/Webcam/temp but I took it out to see if the error had something to do with where I was putting the video. I’m using Ubuntu 18.04.2 LTS if that makes a difference.
-
How to configure rtsp relay from internal to external network ?
27 mars 2020, par MagiHow to correctly compose a command for relaying a video stream to rtsp from an ip camera from an internal network through a server with vlc.
Ip-camera -> ubuntu server -> client with vlc
Url video-stream from ip-camera rtsp ://admin:admin123@10.148.21.190:554/cam/realmonitor ?channel=1&subtype=0&unicast=true&proto=Onvif
Command on server :
cvlc -d rtsp://admin:admin@10.148.21.190:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif --loop --repeat --sout-keep "#rtp{sdp=rtsp://xxx.xxx.xxx.xxx:8080/test.sdp}";
xxx.xxx.xxx.xxx - external server ip.
On vlc enter rtsp ://xxx.xxx.xxx.xxx:8080/test.sdp - broadcast is not going. There are no errors, the log is empty.
With ffmpeg :
ffmpeg -i 'rtsp://onvif:admin2017@10.148.21.190:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif' -f rtsp -rtsp_transport tcp rtsp://xxx.xxx.xxx.xxx;
Input #0, rtsp, from 'rtsp://onvif:admin2017@10.148.21.190:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif':
Metadata:
title : Media Server
Duration: N/A, start: 0.320000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x720, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1: Data: none
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[swscaler @ 0x55ae26500a80] deprecated pixel format used, make sure you did set range correctly
[tcp @ 0x55ae26aa3ec0] Connection to tcp://xxx.xxx.xxx.xxx:554?timeout=0 failed: Connection refused
Could not write header for output file #0 (incorrect codec parameters ?): Connection refused
Error initializing output stream 0:0 --
Conversion failed!In /etc/ffserver.conf ACL allow localhost xxx.xxx.xxx.xxx