
Recherche avancée
Autres articles (83)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (17792)
-
Can't get watermark on my nginx-rtmp live streams with ffmpeg
8 juillet 2020, par mallebabbeGoodday,



I'm trying to get my livestreams watermarked but for some reason the streams aren't transcoded with the image I want to have on top.



My current build is :



- 

- Stream from OBS to Nginx-RTMP server
- In the nginx.conf I've an app configured with the name live which should trigger ffmpeg execution and transfer the output to the push app to deliver the final stream to the different Social Media platform







All is working without the ffmpeg execution.



My OBS Stream configuration looks like this ;

rtmp://xxx.xxx.xxx.xxx:1935/live



My configuration looks like this :



events {
 worker_connections 1024;
}
# RTMP configuration
rtmp {
 server {
 listen 1935; # Listen on standard RTMP port
 chunk_size 4000;

# Define Live
 application live {
 live on;
 exec /bin/ffmpeg -loglevel info -i rtmp://localhost:1935/live/$name
 -vf "movie=/etc/nginx/images/logo.png[logo];[0][logo]overlay=0:960"
 -c:v flv -f flv rtmp://localhost:1935/push/$name;
 }

# Define the Push Application
 application push {
 live on;
 push rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx;
 push rtmp://rtmp.mixcloud.com/broadcast/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx_xxxxxxx-x;
 push rtmp://live-ams.twitch.tv/app/live_xxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
 push rtmp://127.0.0.1:19350/rtmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
 }

# Define the Application
 application show {
 live on;
 # Turn on HLS
 hls on;
 hls_path /mnt/hls/;
 hls_fragment 3;
 hls_playlist_length 60;
 # disable consuming the stream from nginx as rtmp
 deny play all;
 }
# RTMP video on demand for mp4 files
 application vod {
 play /mnt/mp4s;
 }
 # RTMP stream using OBS
 application stream {
 live on;
 }
 }
}
http {
 sendfile off;
 tcp_nopush on;
 aio on;
 directio 512;
 default_type application/octet-stream;
 server {
 listen 8080;
 location / {
 # 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/dash+xml mpd;
 application/vnd.apple.mpegurl m3u8;
 video/mp2t ts;
 }
 root /mnt/;
 }
 }
}




Nginx likes this configuration when I check it with nginx -t but there is no out stream send to the Social Media platforms and the logging stays empty.



Hope you guys can help me, I don't see it.


-
How to record live video stream and seek by time stamp with ffmpeg ?
14 août 2014, par Kart R.I’m trying to set up streaming server with archive playback functionality in it.
Is it possible to record live streams with current timestamps (as metadata) and then seek stream by passing time stamp as start position ?
According to ffserver docs (https://www.ffmpeg.org/ffserver.html) it should be easy configurable but there in no enough information in given docs. ("ffserver is a streaming server for both audio and video. It supports several live feeds, streaming from files and time shifting on live feeds. You can seek to positions in the past on each live feed, provided you specify a big enough feed storage.")
The next question would be as fallows : is there any web server module that provides similar functionality as ffserver ? I know nginx-rtmp module but it lacks with many feature that ffserver provides.
How can I achieve that request below gives stream starting at given time stamp :
http://localhost:8080/test.mpeg?date=2014-07-26T23:05:00
or
http://localhost:8080/test.mpeg?ts=1408039332
Any input would be appreciated since I have been stuck on this on for a while now.
-
How to implement RTMP/RTSP protocol for sending video to server ios(live streaming) ?
7 janvier 2016, par abhi1992Anybody know how to use FFMpeg for live streaming in ios ?Where do I download the FFMpeg library from ?Can somebody give some hint about where to start ?I don’t have any code in this question because I have no idea what to ask.
Any link where I can start with will be a great help.Please don’t downvote this question.All the answers for similar questions are outdated.There are no proper tutorials also.