
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (94)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (13882)
-
FindOGG.cmake module added
7 avril 2019, par Vitaliy Kirsanov -
nginx rtmp module fails to stream MP4 format
23 avril 2019, par KeivanI have media server running on Nginx rtmp module + ffmpeg
It is working 100% fine with FLV format but with MP4 it does not create .m3u8 file and stream chunks.
here is nginx.conf file :worker_processes auto;
events {
worker_connections 1024;
multi_accept on;
}
rtmp {
server {
listen 1935;
chunk_size 4000;
application live {
live on;
record off;
hls on;
hls_path /HLS/live;
hls_keys on;
hls_key_path /HLS/keys;
hls_key_url https://fakeurl:8441/keys/;
hls_fragments_per_key 10;
hls_fragment 3s;
hls_playlist_length 10s;
deny play all;
}
}
}
http {
include mime.types;
tcp_nopush on;
directio 512;
default_type application/octet-stream;
sendfile off;
server {
listen 8441 ssl;
server_name fakeurl;
ssl_certificate /home/ubuntu/Keys/server.crt;
ssl_certificate_key /home/ubuntu/Keys/server.key;
location /keys {
root /HLS/;
}
location / {
root html;
index index.html index.htm;
}
location /live {
# Disable cache
add_header 'Cache-Control' 'no-cache';
# CORS setup
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length';
# allow CORS preflight requests
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 204;
}
types {
application/vnd.apple.mpegurl m3u8;
}
root /HLS/;
}
#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;
}
}
}and this is FFmpeg command for creating converting my RTP stream to MP4 and stream it to RTMP server :
ffmpeg -protocol_whitelist 'file,udp,rtp' -i input.sdp -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 3.0 -g 30 -r 30 -c:a aac -b:v 400k -preset ultrafast -tune zerolatency -movflags frag_keyframe -f mp4 rtmp://0.0.0.0:1935/live/stream1
I can confirm ffmpeg works fine and it is stable with the input stream, if I change output format to flv, rtmp server creates stream1.m3u8 file and everything is fine. But with mp4, mov or m4v formats nginx does not create anything.
-
PHP : Video file is located in s3, need to find duration a video using getid3 php module
14 mars 2019, par kaliyappan$request = $s3Client->createPresignedRequest($cmd, '+20 minutes');
echo $presignedUrl = (string)$request->getUri();
echo "\n";
//$mp3File = '/home/kaliyappan/test-HD.mov';
$getId3 = new GetId3();
$audio = $getId3->analyze($presignedUrl);
//echo '<pre>';
print_r($audio);
exit;
</pre>I have a video file located in s3, using PHP "phansys/getid3" : "^2.1@dev" module need to calculate duration. Created pre-signed URL try to access that file but it returns "could not open that file".
[GETID3_VERSION] => 1.9.4-20120530
[error] => Array
(
[0] => Could not open "Please suggest any other way to do this, but if I directly give video file path which is in my server that’s work perfectly.