
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (50)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7381)
-
How to allow other site via nginx to use my content ?
3 septembre 2020, par GG GGi use
nginx - rtmp
technique to restream the m3u8 stream viaffmpeg
and then play it on the website. I have following restream m3u8 from my server, which is playable perfetly in vlc player https://hls.tvoti.com/rtl2/playlist.m3u8
But i can not play it on the website see demo. I use following code to allow website use the stream, and is it not correct ? :

server {
 listen 80; 

 #root /var/www/html/; 
 #index index.php index.html index.htm;

 server_name tvoti.com; 

 location / {
 proxy_redirect off; 
 proxy_set_header X-Real-IP $remote_addr;
 proxy_set_header X-Forwarded-For $remote_addr;
 proxy_set_header X-Forwarded-Proto $scheme;
 proxy_set_header Host $host;
 proxy_pass http://127.0.0.1:8080;
 }

 location ~ /\.ht {
 deny all;
 }
}

server {
 listen 80;
 server_name hls.tvoti.com;

 location / {
 add_header Cache-Control no-cache;

 set $cors_origin "https://rtllivestreamkostenlos.com";

 if ($http_origin ~* (^https?://([^/]+\.)*(tvoti|rtllivestreamkostenlos.com)\.com$)) {
 set $cors_origin "$http_origin";
 }

 add_header "X-Dbg" "$cors_origin" always;

 # Simple requests
 if ($request_method ~* "(GET|POST)") {
 add_header "Access-Control-Allow-Origin" "$cors_origin";
 }

 # Preflighted requests
 if ($request_method = OPTIONS ) {
 add_header "Access-Control-Allow-Origin" "$cors_origin";
 add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS, HEAD";
 add_header "Access-Control-Allow-Headers" "Authorization, Origin, X-Requested-With, Content-Type, Accept";
 return 200;
 }
 root /etc/nginx/hls;
 }

 location /supervisor {
 proxy_pass http://127.0.0.1:9999/;
 }

 #error_page 404 /404.html;

 # redirect server error pages to the static page /50x.html
 #
 error_page 500 502 503 504 /50x.html;
 location = /50x.html {
 root html;
 }

}



-
ffmpeg join filter ignores audio of one input
18 mai 2021, par regstuffI'm taking an audio input from a pulseaudio virtual source and trying to combine that with the audio & video of an rtmp input, and the final output goes to another rtmp.


When I try ajoin, as below, I get a message : [Parsed_join_0 @ 0x2cc9100] No channels are used from input stream 1.
The output has audio only from the first source.


PULSE_SOURCE=vmic ffmpeg -f alsa -i pulse -i rtmp://127.0.0.1/server/stream1 -filter_complex "[0:a][1:a]join=inputs=2:channel_layout=stereo[a]" -map "[a]" -map 1:v -vcodec copy -f flv rtmp://127.0.0.1/server/stream2 



Using amerge, as below, however works, though it throws the message : [Parsed_amerge_0 @ 0x38b70c0] No channel layout for input 1
Output has the merged audio.


PULSE_SOURCE=vmic ffmpeg -f alsa -i pulse -i rtmp://127.0.0.1/server/stream1 -filter_complex "[0:a][1:a]amerge=inputs=2[a]" -map "[a]" -acodec aac -ac 2 -b:a 128k -map 1:v -vcodec copy -f flv rtmp://127.0.0.1/server/stream2



FFMPEG documentation however says ajoin should work. Found this SO comment that says ajoin can't do this however.


Any pointers ?


FFMPEG version :


ffmpeg version 4.0.6 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
 configuration: --prefix=/home/user/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/user/ffmpeg_build/include --extra-ldflags=-L/home/user/ffmpeg_build/lib --extra-libs='-lpthread -lm' --enable-gpl --enable-openssl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzmq --enable-network --enable-libpulse --enable-nonfree
 libavutil 56. 14.100 / 56. 14.100
 libavcodec 58. 18.100 / 58. 18.100
 libavformat 58. 12.100 / 58. 12.100
 libavdevice 58. 3.100 / 58. 3.100
 libavfilter 7. 16.100 / 7. 16.100
 libswscale 5. 1.100 / 5. 1.100
 libswresample 3. 1.100 / 3. 1.100
 libpostproc 55. 1.100 / 55. 1.100



-
How to Configure Nginx to serve Multiple Websites
4 septembre 2020, par lare77i use
nginx - rtmp
option to restream the m3u8 stream withffmpeg
and then play it on the Blog. I have following restream m3u8 from my server, which is playable perfetly in vlc player https://hls.tvoti.com/rtl2/playlist.m3u8
But i can not play it on the website see demo. I use following code inetc/nginx/sites-available
to show stream on the websites and is it not correct ? :

server {
 listen 80; 

 #root /var/www/html/; 
 #index index.php index.html index.htm;

 server_name tvoti.com; 

 location / {
 proxy_redirect off; 
 proxy_set_header X-Real-IP $remote_addr;
 proxy_set_header X-Forwarded-For $remote_addr;
 proxy_set_header X-Forwarded-Proto $scheme;
 proxy_set_header Host $host;
 proxy_pass http://127.0.0.1:8080;
 }

 location ~ /\.ht {
 deny all;
 }
}

server {
 listen 80;
 server_name hls.tvoti.com;

 location / {
 add_header Cache-Control no-cache;

 set $cors_origin "https://rtllivestreamkostenlos.com";

 if ($http_origin ~* (^https?://([^/]+\.)*(tvoti|rtllivestreamkostenlos.com)\.com$)) {
 set $cors_origin "$http_origin";
 }

 add_header "X-Dbg" "$cors_origin" always;

 # Simple requests
 if ($request_method ~* "(GET|POST)") {
 add_header "Access-Control-Allow-Origin" "$cors_origin";
 }

 # Preflighted requests
 if ($request_method = OPTIONS ) {
 add_header "Access-Control-Allow-Origin" "$cors_origin";
 add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS, HEAD";
 add_header "Access-Control-Allow-Headers" "Authorization, Origin, X-Requested-With, Content-Type, Accept";
 return 200;
 }
 root /etc/nginx/hls;
 }

 location /supervisor {
 proxy_pass http://127.0.0.1:9999/;
 }

 #error_page 404 /404.html;

 # redirect server error pages to the static page /50x.html
 #
 error_page 500 502 503 504 /50x.html;
 location = /50x.html {
 root html;
 }

}