
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (66)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)
Sur d’autres sites (9666)
-
Convert Process Output to Progressbar C# [on hold]
28 mars 2018, par adrifcastrSo I am using FFMPEG to convert a audio file, and I need to get a progressbar to show the current conversion process. So as reading through Stackoverflow I found this, which uses a Streamreader to get the complete duration of the file and the current progress into a string. This didn’t work for me, I assumed it’s because I am using WPF. So can someone help me to get those values and then use them to calculate the percentage and show it with a Progressbar ?
Below are samples of what’s displayed in FFMPEG’s output stream.
//Complete Duration of the Audio file being converted
Duration: 06:41:03.68, start: 0.000000, bitrate: 64 kb/s
//Current conversion progress
size= 1197kB time=00:02:02.14 bitrate= 80.3kbits/s speed=42.9x -
Nginx + rtmp + ffmpeg best practice to publish multiple resolutions streaming from video file
7 novembre 2019, par youssef hamdaneI want to make livestream from video file to multiple resolutions (480,720) using nginx and rtmp, what is the best practice that I can do for that :
1 - transcode video and store it with all resolutions that I need when user upload it using ffmpeg, and then publish every file directly
example :
rtmp {
server {
listen 1935;
notify_method get;
application live {
live on;
ffmpeg -re -i /path/video_720.mp4
-re -i /path/video_480.mp4
-map 0 vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost:1935/show/${name}_720
-map 0 vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost:1935/show/${name}_480
}
application show {
live on;
hls on;
hls_path /stream/live/hls;
hls_nested on;
record off;
# Instruct clients to adjust resolution according to bandwidth
hls_variant _720 BANDWIDTH=2048000; # High bitrate, HD 720p resolution
hls_variant _480 BANDWIDTH=448000; # Medium bitrate, SD resolution
}
}
}2 - keep original video and publish it on different resolutions with ffmpeg
example :
rtmp {
server {
listen 1935;
notify_method get;
application live {
live on;
exec_pull ffmpeg -re -i http://server_ip/$app/$name -vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -b:v 1920k -b:a 128k -vf "scale=1280:trunc(ow/a/2)*2" -f flv rtmp://localhost:1935/show/${name}_720
-vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -b:v 1024k -b:a 128k -vf "scale=854:trunc(ow/a/2)*2" -f flv rtmp://localhost:1935/show/${name}_480;
}
application show {
live on;
hls on;
hls_path /home/stream/live/hls;
hls_nested on;
record off;
# Instruct clients to adjust resolution according to bandwidth
hls_variant _720 BANDWIDTH=2048000; # High bitrate, HD 720p resolution
hls_variant _480 BANDWIDTH=448000; # Medium bitrate, SD resolution
}
}
} -
ffmpeg concat video and image issue
11 octobre 2018, par Dion RussellI have a video it’s 190 seconds long.
I want to show a part of the video with audio and a watermark (from 28th second to 154th second)
and then the video fades out, and then show an image for 5 seconds at the end of the video.everything was working fine until i added concat and endpic.jpg
Here is the script it wrote but it’s not working. It’s really driving me crazy.
ffmpeg -y -ss 28 -i input.mp4 -loop 1 -i watermark.png -loop 1 -t 5 -i endpic.jpg -f lavfi -t 5 -i anullsrc -filter_complex "[1]fade=in:st=3:d=1:alpha=1,fade=out:st=20:d=1:alpha=1[w]; [0][w]overlay=main_w-overlay_w-10:main_h-overlay_h-10[sonh];[sonh]fade=out:st=154:d=1[sonhh];[sonhh:v][sonhh:a][2:v][3:a]concat=n=2:v=1:a=1[v][a]" -t 155 -map "[v]" -map "[a]" output.mp4