
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (37)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (8513)
-
dashenc : check pts to prevent division by zero error
30 janvier 2020, par Alfred E. Heggestaddashenc : check pts to prevent division by zero error
this usecase will cause a division by zero trap :
1. dashenc has received one frame
2. os->max_pts and os->start_pts have same value
3. delta between max_pts and start_pts is 0
4. av_rescale_q(0, x, y) returns 0
5. this value is used as denominator in division
6. Bang ! -> segfaultthis fix checks that max_pts > start_pts.
the fix has been tested and works.Signed-off-by : Alfred E. Heggestad <alfred.heggestad@gmail.com>
Reviewed-by : Jeyapal, Karthick <kjeyapal@akamai.com>
Signed-off-by : James Almer <jamrial@gmail.com> -
Stream map '0:a:0' matches no streams
6 décembre 2019, par Сергей БарахтенкоTo encode a video using FFMPEG the following command is used :
/usr/bin/ffmpeg -i INPUT.MP4
-preset veryfast -r 25 -g 75 -threads 4 -sc_threshold 0
-map 0:v:0 -map 0:a:0
-filter:v:0 scale=h=240:w=-2
-minrate:v:0 75k
-maxrate:v:0 218k
-bufsize:v:0 300k
-b:v:0 150k -c:a aac -b:a 128k -ac 2
-var_stream_map "v:0,a:0"
-master_pl_name master.m3u8
-f hls -hls_time 3 -segment_time 6
-hls_list_size 0 -segment_format mpegts
-hls_segment_filename /res-%v/segment-%d.ts OUTPUT.M3U8 1> log.txt 2>&1In general, despite such a huge command, it copes with the task with a bang
But there is one little BUT :
If you run this command on a video WITHOUT audio, there will be an error :
Stream map '0:a:0' matches no streams. To ignore this, add a trailing '?' to the map.
Yes, I understand that the command tells me that the audio stream was not found. And to ignore this, you need to add a trailing question mark to the map
But only I can’t understand where ? to which place ?
I will be glad to any advice or suggestion
Thanks in advance
-
How to Configure nginx with stunnel to accept parameters for different FB Live Streams OR rtmps with FFMPEG
15 septembre 2020, par Yogesh AgarwalI want to setup RTMPS and learned that only way around is by using nginx and stunnel. I have the setup and it works with just one configured key.



I have several different keys and all are dynamic. A lot of different urls too.



My Goal is to add a parameter or some way by which i can send the custom url to nginx and it can send to Stunnel, and it can read the custom url and forward the encrypted stream to that url.



I am able to get everything done right via ngnix and stunnel but with preconfigured key only - But i want Dynamic key here.. just like a parameter where you can simply plug and send the stream.



I even tried to set this way.



push rtmp ://127.0.0.1:19350/rtmp/ ;



so i can simple forward the stream to rtmp ://127.0.0.1:19350/rtmp/my-key and it takes my-key and forward the stream via stunnel to facebook. but i cannot get it work.



I am about to bang my heads in walls. Kindly give me some pointers.. I am not sure how to do it via ffmpeg as it says it cannot find rtmps protocol.



My Nginx Config :



# RTMP configuration
rtmp {
 server {
 listen 1935; # Listen on standard RTMP port
 chunk_size 4000;
 # This application is to accept incoming stream
 application live {


 live on; # Allows live input from above
 exec_push rtmp://127.0.0.1:19350/rtmp/$name;
 allow play 127.0.0.1;
 dash on;
 dash_path /var/tmp/dashme;

 hls on; # Enable HTTP Live Streaming
 hls_cleanup on;
 hls_sync 100ms;
 hls_fragment 2s;
 hls_path /var/tmp/live/;


 }




and My Stunnel Config :



setuid = nobody
setgid = nobody
pid=/tmp/stunnel.pid
output = /var/log/stunnel.log
;include = /etc/stunnel/conf.d

[fb-live]
client = yes
accept = 127.0.0.1:19350
connect = live-api-s.facebook.com:443
;verifyChain = no