
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (99)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
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
Sur d’autres sites (9437)
-
Save RTSP stream continuously into multi mp4 files with specific length (10 minutes) in ffmpeg
31 juillet 2019, par ThanhPhanI’m recording RTSP stream from camera into
.mp4
files using ffmpeg and I want to roll it into multi files with 10 minutes long every videos.Currently I have a solution for this : I’m setting a time length ’00:10:00’, after it finished then I will restart below command with new process.
Sample :ffmpeg -rtsp_transport tcp -i -acodec copy -vcodec copy -t 00:10:00 D:\video_test.mp4
But this solution makes camera becoming unstable, RTSP stream uasually corrupted with this error :
rtsp://10.96.41.14:9024/user=xxxx_password=xxx_channel=1_stream=0.sdp?real_stream: Operation not permitted
I want to find better solution to keep connection to RTSP stream continuously (not create new process with a
-t
flag).Does anyone have better idea to keep recording stream continuously ?
Thanks -
How to sync two videos of different length
26 août 2020, par HuhngutI got two video files. The first one has good resolution but the wrong language and the second one has bad resolution but the wished language. Both of the files got a few seconds of black screen at the beginning but these seconds are different. I got a lot of these files and the intro seems to be always of a different length so I can't say always remove 2 seconds of audio and 3 seconds of video and then merge them.


So I am wondering if there's some tool out there which s able to sync these files automatically.


But it won't be enough to simply search for two identical images and calculate the time distance because the resolution is different (might its possible to scale the better one down for comparison) but even in this case, the program has to evaluate if the image has enough detail for comparison so it won't compare 2 black images. It would be good if the program scales the images to 50x50 to save time while comparing


Does someone know any tool or has suggestions might even some python/java code for developing one. Any search suggestions or name ideas


-
Cannot open connection tcp ://localhost:1935 when to set up custom RTMP stream server
8 janvier 2021, par showkeyMy simple network is as following :


192.168.31.52 is my local pc 
192.168.31.251 is an ip camera.



I can open the stream
rtsp://192.168.31.251/cam/realmonitor?channel=1&subtype=0
with SMPlayer.

Build my nginx for customizing RTMP stream this way.

sudo apt update
sudo apt install build-essential git
sudo apt install libpcre3-dev libssl-dev zlib1g-dev 
git clone https://github.com/arut/nginx-rtmp-module.git
git clone https://github.com/nginx/nginx.git
cd nginx
./auto/configure --add-module=../nginx-rtmp-module
make
sudo make install



Set config file for nginx :


sudo vim /usr/local/nginx/conf/nginx.conf
rtmp { 
 server { 
 listen 1935; 
 application live { 
 live on; 
 interleave on;
 
 hls on; 
 hls_path /tmp/hls; 
 hls_fragment 15s; 
 } 
 } 
} 



Then set permission for nginx :


mkdir /tmp/hls
sudo chmod -R 755 /tmp/hls
sudo chown -R www-data:www-data /tmp/hls



Edit index.html in
/tmp/hls
.

<p>test for nginx</p>



Both
127.0.0.1/index.html
and192.168.31.52/index.html
can open the/tmp/hls/index.html
.

Now open port 1935 on my network :


sudo firewall-cmd --zone=public --add-port=1935/tcp --permanent
sudo firewall-cmd --reload 
sudo firewall-cmd --list-ports | grep 1935
1935/tcp



Start nginx :


sudo systemctl start nginx



Up stream the rtsp stream from ip camera—192.168.31.251 to local pc —192.168.31.52.


input="rtsp://192.168.31.251/cam/realmonitor?channel=1&subtype=0"
output="rtmp://192.168.31.52:1935/live/sample"
ffmpeg -i $input -acodec aac -strict experimental -ar 44100 -ac 2 -b:a 96k -r 25 -b:v 500k -s 640*480 -f flv $output



It encounter the following errors :


[tcp @ 0x59fb700] Connection to tcp://192.168.31.52:1935 failed: Connection refused
[rtmp @ 0x59fc5c0] Cannot open connection tcp://192.168.31.52:1935
rtmp://192.168.31.52:1935/live/sample: Connection refused



To keep the issue simple,i replace
$input
with a mp4 file in local pc,same error info.

How can fix it ?

Ping my machine :

ping 192.168.31.52
PING 192.168.31.52 (192.168.31.52): 56 data bytes
64 bytes from 192.168.31.52: icmp_seq=0 ttl=64 time=0.108 ms
64 bytes from 192.168.31.52: icmp_seq=1 ttl=64 time=0.107 ms
64 bytes from 192.168.31.52: icmp_seq=2 ttl=64 time=0.111 ms



Why the port 1935 not opened,i had restarted nginx after setting ?


sudo lsof -i:1935
#nothing in the output
netstat -ltn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State 
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 
tcp 0 0 0.0.0.0:51413 0.0.0.0:* LISTEN 
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 
tcp 0 0 127.0.0.1:1080 0.0.0.0:* LISTEN 
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 
tcp 0 0 127.0.0.1:8123 0.0.0.0:* LISTEN 
tcp 0 0 127.0.0.1:8384 0.0.0.0:* LISTEN 
tcp 0 0 0.0.0.0:9091 0.0.0.0:* LISTEN 
tcp6 0 0 :::3306 :::* LISTEN 
tcp6 0 0 :::80 :::* LISTEN 
tcp6 0 0 :::22000 :::* LISTEN 
tcp6 0 0 :::51413 :::* LISTEN 
tcp6 0 0 :::21 :::* LISTEN 
tcp6 0 0 :::22 :::* LISTEN 
tcp6 0 0 ::1:25 :::* LISTEN 
tcp6 0 0 :::2681 :::* LISTEN 



Firewall command can't work :


sudo firewall-cmd --zone=public --add-port=1935/tcp --permanent
sudo firewall-cmd --reload 



My nginx version :


sudo nginx -v
nginx version: nginx/1.10.3