
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (79)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (5384)
-
Revision 1d7ccd5325 : Relocate memory operations for common code With the sad functions, and hopefull
12 mai 2015, par JohannChanged Paths :
Modify /test/dct16x16_test.cc
Modify /test/dct32x32_test.cc
Modify /test/fdct4x4_test.cc
Modify /test/fdct8x8_test.cc
Modify /test/sad_test.cc
Modify /test/variance_test.cc
Modify /vp9/common/arm/neon/vp9_idct16x16_1_add_neon.c
Modify /vp9/common/arm/neon/vp9_idct32x32_1_add_neon.c
Modify /vp9/common/arm/neon/vp9_idct4x4_1_add_neon.c
Modify /vp9/common/arm/neon/vp9_idct8x8_1_add_neon.c
Modify /vp9/common/mips/dspr2/vp9_itrans16_dspr2.c
Modify /vp9/common/mips/dspr2/vp9_itrans32_cols_dspr2.c
Modify /vp9/common/mips/dspr2/vp9_itrans4_dspr2.c
Modify /vp9/common/mips/dspr2/vp9_itrans8_dspr2.c
Modify /vp9/common/mips/dspr2/vp9_loopfilter_filters_dspr2.h
Modify /vp9/common/vp9_common.h
Modify /vp9/common/vp9_idct.c
Modify /vp9/common/vp9_idct.h
Modify /vp9/common/vp9_loopfilter.c
Modify /vp9/common/vp9_loopfilter_filters.c
Modify /vp9/common/vp9_postproc.c
Modify /vp9/common/vp9_reconintra.c
Modify /vp9/common/x86/vp9_high_loopfilter_intrin_sse2.c
Modify /vp9/common/x86/vp9_idct_intrin_sse2.c
Modify /vp9/decoder/vp9_decodeframe.c
Modify /vp9/encoder/vp9_aq_variance.c
Modify /vp9/encoder/vp9_dct.c
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_encodemb.c
Modify /vp9/encoder/vp9_encoder.c
Modify /vp9/encoder/vp9_extend.c
Modify /vp9/encoder/vp9_firstpass.c
Modify /vp9/encoder/vp9_mcomp.c
Modify /vp9/encoder/vp9_picklpf.c
Modify /vp9/encoder/vp9_pickmode.c
Modify /vp9/encoder/vp9_quantize.c
Modify /vp9/encoder/vp9_ratectrl.c
Modify /vp9/encoder/vp9_rd.c
Modify /vp9/encoder/vp9_rdopt.c
Modify /vp9/encoder/vp9_resize.c
Modify /vp9/encoder/vp9_ssim.c
Modify /vp9/encoder/vp9_temporal_filter.c
Modify /vp9/encoder/x86/vp9_highbd_quantize_intrin_sse2.c
Modify /vp9/vp9_iface_common.h
Modify /vpx_dsp/sad.c
Modify /vpx_ports/mem.h
Modify /vpx_scale/generic/yv12config.c
Modify /vpx_scale/generic/yv12extend.c
Relocate memory operations for common codeWith the sad functions, and hopefully the variance functions soon,
moving to the vpx_dsp location, place the defines used in the
reference C code in a common location.Change-Id : I4c8ce7778eb38a0a3ee674d2f1c488eda01cfeca
-
NGINX | FFMPEG Not creating files in designated directory, Regular nginx works, but not the one with ffmpeg
23 février 2021, par ThinkedWe're trying to setup multiple streams that have a delay on them through nginx. We have got the nginx server working on our livestream, but for our delayed ones running through ffmpeg, no files are even created.


Relevant parts of the config :


rtmp {
 server {
 listen 1935; # default port: 1935
 chunk_size 4096;
 allow play all;

 application live {
 allow play all;
 live on;
 # on_publish path_to_stream_key_validation.php
 record off;

 # hls
 hls on;
 hls_nested on;
 hls_path /HLS/live;
 hls_fragment 10s;

 # creates the delayed webcam stream
 exec /usr/local/nginx/hls.sh $app $name;
 }

 # creates the http-location for our delayed webcam HLS stream - "http://my-ip/mobile/my-stream-key/index.m3u8"
 application delay {
 allow play all;
 live on;
 hls on;
 hls_nested on;
 hls_path /HLS/delay;
 hls_fragment 10s;
 }
 #DELAY0
 application delay0 {
 allow play all;
 live on;
 hls on;
 hls_nested on;
 hls_path /HLS/delay0;
 hls_fragment 10s;
 }
 }
}





nginx.conf


#user nobody;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
 worker_connections 1024;
}


http {
 include mime.types;
 default_type application/octet-stream;

 #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
 # '$status $body_bytes_sent "$http_referer" '
 # '"$http_user_agent" "$http_x_forwarded_for"';

 #access_log logs/access.log main;

 sendfile on;
 #tcp_nopush on;

 #keepalive_timeout 0;
 keepalive_timeout 65;

 #gzip on;

 server {
 listen 80;
 server_name localhost;

 #charset koi8-r;

 #access_log logs/host.access.log main;

 location / {
 root html;
 index index.php index.html index.htm;
 }

 #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;
 }

 # proxy the PHP scripts to Apache listening on 127.0.0.1:80
 #
 #location ~ \.php$ {
 # proxy_pass http://127.0.0.1;
 #}

 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000

 location ~ \.php$ {
 root html;
 fastcgi_pass 127.0.0.1:9000;
 fastcgi_index index.php;
 # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
 # fastcgi_param SCRIPT_FILENAME /usr/local/nginx/html$fastcgi_script_name;
 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 include fastcgi_params;
 }
 #LIVE
 location /live {
 types {
 application/vnd.apple.mpegurl m3u8;
 }
 alias /HLS/live;
 add_header Cache-Control no-cache;
 }
 #DELAY
 location /delay {
 types {
 application/vnd.apple.mpegurl m3u8;
 }
 alias /HLS/delay;
 add_header Cache-Control no-cache;
 }
 #DELAY0
 location /delay0 {
 types {
 application/vnd.apple.mpegurl m3u8;
 }
 alias /HLS/delay0;
 add_header Cache-Control no-cache;
 }
 #DELAY1
 location /delay1 {
 types {
 application/vnd.apple.mpegurl m3u8;
 }
 alias /HLS/delay1;
 add_header Cache-Control no-cache;
 }
 #DELAY2
 location /delay2 {
 types {
 application/vnd.apple.mpegurl m3u8;
 }
 alias /HLS/delay2;
 add_header Cache-Control no-cache;
 }
 #DELAY3
 location /delay3 {
 types {
 application/vnd.apple.mpegurl m3u8;
 }
 alias /HLS/delay3;
 add_header Cache-Control no-cache;
 }

 # deny access to .htaccess files, if Apache's document root
 # concurs with nginx's one
 #
 #location ~ /\.ht {
 # deny all;
 #}
 }


 # another virtual host using mix of IP-, name-, and port-based configuration
 #
 #server {
 # listen 8000;
 # listen somename:8080;
 # server_name somename alias another.alias;

 # location / {
 # root html;
 # index index.html index.htm;
 # }
 #}


 # HTTPS server
 #
 #server {
 # listen 443 ssl;
 # server_name localhost;

 # ssl_certificate cert.pem;
 # ssl_certificate_key cert.key;

 # ssl_session_cache shared:SSL:1m;
 # ssl_session_timeout 5m;

 # ssl_ciphers HIGH:!aNULL:!MD5;
 # ssl_prefer_server_ciphers on;

 # location / {
 # root html;
 # index index.html index.htm;
 # }
 #}

}

rtmp {
 server {
 listen 1935; # default port: 1935
 chunk_size 4096;
 allow play all;

 application live {
 allow play all;
 live on;
 # on_publish path_to_stream_key_validation.php
 record off;

 # hls
 hls on;
 hls_nested on;
 hls_path /HLS/live;
 hls_fragment 10s;

 # creates the delayed webcam stream
 #exec ffmpeg -i rtmp://127.0.0.1:1935/$app/$name -acodec copy -c:v libx264 -preset veryfast -profile:v baseline -b:v 400k maxrate 400k -bufsize 400k -threads 0 -r 30 -f flv rtmp://127.0.0.1:1935/delay3/$;
 
 #exec ffmpeg -i rtmp://127.0.0.1:1935/$app/$name -acodec copy -c:v libx264 -preset veryfast -profile:v baseline -vsync cfr -s 480x360 -b:v 400k maxrate 400k -bufsize 400k -threads 0 -r 30 -f flv rtmp://127.0.0.1:1935/delay0/$;

 exec /usr/local/nginx/hls.sh $app $name;


 # exec ffmpeg -i rtmp://127.0.0.1:1935/$app/$name -acodec copy -c:v libx264 -preset veryfast -profile:v baseline -vsync cfr -s 1920x1080 -b:v 400k maxrate 400k -bufsize 400k -threads 0 -r 30 -f flv -filter_complex "[0:v]crop=480:270:0:0[out1];[0:v]crop=480:270:480:0[out2];[0:v]crop=480:270:960:0[out2];[0:v]crop=480:270:1440:0[out2]" -map [out1] -map 0:a rtmp://127.0.0.1:1935/delay0/$ -map [out2] -map 0:a rtmp://127.0.0.1:1935/delay1/$ -map [out3] -map 0:a rtmp://127.0.0.1:1935/delay2/$ -map [out4] -map 0:a rtmp://127.0.0.1:1935/delay3/$;
 }

 # creates the http-location for our delayed webcam HLS stream - "http://my-ip/mobile/my-stream-key/index.m3u8"
 application delay {
 allow play all;
 live on;
 hls on;
 hls_nested on;
 hls_path /HLS/delay;
 hls_fragment 10s;
 }
 #DELAY0
 application delay0 {
 allow play all;
 live on;
 hls on;
 hls_nested on;
 hls_path /HLS/delay0;
 hls_fragment 10s;
 }
 #DELAY1
 application delay1 {
 allow play all;
 live on;
 hls on;
 hls_nested on;
 hls_path /HLS/delay1;
 hls_fragment 10s;
 }
 #DELAY2
 application delay2 {
 allow play all;
 live on;
 hls on;
 hls_nested on;
 hls_path /HLS/delay2;
 hls_fragment 10s;
 }
 #DELAY3
 application delay3 {
 allow play all;
 live on;
 hls on;
 hls_nested on;
 hls_path /HLS/delay3;
 hls_fragment 10s;
 }

 }
}



We just tested a shell script variant of the exec function so here is the shellscript :


ffmpeg -i rtmp://127.0.0.1:1935/$app/$name -acodec copy -c:v libx264 -preset veryfast -profile:v baseline -vsync cfr -s 480x360 -b:v 400k maxrate 400k -bufsize 400k -threads 0 -r 30 -f flv rtmp://127.0.0.1:1935/delay0/$





-
How to create a live stream in dash format from mp4 file or m3u8 list ? (ffmpeg)
30 juin 2017, par jorge.luengoI have been trying different ways of running dash live streams from mp4 or m3u8 but none of them worked fined. I want to use ffmpeg because of my server conditions.
This command has been the one that did something but it didn’t work as I expected :ffmpeg-3.3.2-64bit-static/ffmpeg -i reencoded24eng.mp4 -vf yadif=0 -r 30 -vcodec libx264 -keyint_min 60 -g 60 -b:v 1000k -ac 2 -strict 2 -acodec aac -ab 64k -map 0:v -map 0:a -f dash -min_seg_duration 2000 -use_template 1 -use_timeline 1 -init_seg_name init-\$RepresentationID\$.mp4 -dash 1 -media_seg_name test-\$RepresentationID\$-\$Number\$.mp4 test.mpd
The error that the dash-if conformance tool provides is the following one :
Start XLink resolving
XLink resolving successful
Start MPD validation
MPD validation successful - DASH is valid !
Start Schematron validation
location="/[local-name()=’MPD’ and namespace-uri()=’urn:mpeg:dash:schema:mpd:2011’]/[local-name()=’Period’ and >namespace-uri()=’urn:mpeg:dash:schema:mpd:2011’]">
If the MPD is dynamic the Period element shall have an id.location="/[local-name()=’MPD’ and namespace-uri()=’urn:mpeg:dash:schema:mpd:2011’]/[local-name()=’Period’ and >namespace-uri()=’urn:mpeg:dash:schema:mpd:2011’]/*local[1]">
Common attributes for AdaptationSet and Representation shall either be in >one of the elements but not in both.Schematron validation not successful - DASH is not valid !
BUILD SUCCESSFUL
Total time : 5 secondsCould anyone help me with this ?