
Recherche avancée
Médias (1)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (65)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...) -
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 (8319)
-
FFMPEG throws error can not open display error for :1
2 décembre 2020, par Krishnai am using Xvfb for starting X server on display 1 and x11vnc is also set for -display :1 along with fluxbox as window manager on Ubuntu 20.04 LTS like using below commands


sudo -i -u ubuntu Xvfb :1 +extension GLX -screen 0 1440x1080x16 -ac sudo -i -u ubuntu DISPLAY=:1 fluxbox sudo -i -u ubuntu x11vnc -forever -display :1


and when i run command : "ffmpeg -video_size 1440x1080 -framerate 25 -f x11grab -i :1.0 -c:v libx264rgb -crf 0 -preset ultrafast sample.mp4" it runs, however when i execute programmatically through processbuilder i see that in output buffer stream log file as :1 : Invalid argument and doesn't start recording,


Command sent to processBuilder is like below :


pb = new ProcessBuilder(ffmpegLocation, "-video_size", "1440x1080x16",
"-f", "x11grab", "-i", ":1", "-c:v libx264 -crf 0 -preset ultrafast", "-framerate","25", outputfilepath()) ;


-FYI i have tried setting environmental variable as export DISPLAY=:1 , but still same error and also do i need to set the DISPLAY=:1, since i am setting up display number when i start Xvfb ? this used to work using avconv on older version of ubuntu but i am stuck on display issue for ffmpeg, anyone has idea how to resolve this ?


-
Cannot open connection tcp ://localhost:1935 when to set up custom RTMP stream
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



How can fix it ?


-
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