
Recherche avancée
Autres articles (25)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (5556)
-
hls live streaming using ffmpeg in iOS
25 mars 2015, par chetanI am new to ffmpeg and I am trying to create live streaming app (HLS) and I want Live broadcasting rather than VOD.
I am able to use ffmpeg through terminal and create .ts files from m4v but I am not getting how to achieve the same thing in iPhone.
My approach is to create .ts files at iPhone end and then send it to server.
I am not sure if this approach is correct, If this correct how I can create .ts files then otherwise what’s the right approach ?
-
FFmpeg drawtext and live coordinates with sendcmd/zmq
9 mai 2019, par DavidKI’d like to use a marker on a live video source which has external live data to set x,y coordinates. sendcmd can read the text file but it won’t update it, so later updates are not executed. Is it possible only with zmq ? And if so, can I use zmq as a single filter (with drawtext), not with filter complex ?
I have a python that exports live coordinates in the appropriate format to a cmd.txt file. I use unix time for the coordinates and I also copy the input timestamps from the live loopback device so they have almost the same time. There’s a small delay so I have compensated the exported timestamps with +1.5s. This means the marker is moving for this extra period (while timestamps in cmd.txt are a bit ahead of the live source), but it won’t update any more. I assume that FFmpeg reads this cmd.txt and won’t update it any more but my python is writing it continuously.
Example line of the cmd.txt :
1557402120.3119707 drawtext reinit 'x=752:y=480';
This is the actual ffmpeg pipe :
ffmpeg -fflags nobuffer -vaapi_device /dev/dri/renderD128 -f v4l2 -i /dev/video0 -vf "sendcmd=f=cmd.txt,drawtext=fontfile=font.ttf:fontsize=30:fontcolor=white:r=25:text='o',format=nv12,hwupload" -copyts -c:v h264_vaapi -qp 24 -y 0.mp4
Source is a loopback device with unix time as input timestamp.
-
http-flv live broadcast with flv.js error
29 mars 2019, par Forest YangWhen I try nginx + nginx-http-flv-module + flv.js to play video from camera, error happened, but play with VLC works fine.
log in nginx :
flv live: app args MUST be specified, client: 192.168.89.1, server: myserver, request: "GET /live.html HTTP/1.1", host: "192.168.89.134:8080"
Some key configurations,
nginx.conf :
http{
...
server{
...
location /live {
flv_live on;
chunked_transfer_encoding on; #open 'Transfer-Encoding: chunked' response
add_header 'Access-Control-Allow-Origin' '*'; #add additional HTTP header
add_header 'Access-Control-Allow-Credentials' 'true'; #add additional HTTP header
}
}
}
rtmp {
server {
listen 1935;
server_name 192.168.89.134;
application myapp {
live on;
gop_cache on;
}
}
}ffmpeg command :
ffmpeg -f avfoundation -s 1280x720 -r 30 -i 0 -f flv rtmp://192.168.89.134:1935/myapp/test
VLC network url :
http://192.168.89.134:8080/live?port=1935&app=myapp&stream=test
HTML with flv.js :
if (flvjs.isSupported()) {
var videoElement = document.getElementById('videoElement');
var flvPlayer = flvjs.createPlayer({
type: 'flv',
'isLive': true,
url: 'http://192.168.89.134:8080/live?port=1935&app=myapp&stream=test'
});
flvPlayer.attachMediaElement(videoElement);
flvPlayer.load();
flvPlayer.play();
}Can anyone tell me why based your experience ? thank you.