
Recherche avancée
Autres articles (104)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11542)
-
avformat/hlsenc : add var_stream_map LANGUAGE field string parameter
23 janvier 2019, par Steven Liuavformat/hlsenc : add var_stream_map LANGUAGE field string parameter
use a:0,agroup:aud_low,default:Yes,language:CHN a:1,agroup:aud_low,language:ENG
a:2,agroup:aud_high,default:YesYes,language:CHN a:3,agroup:aud_high,language:ENG
v:0,agroup:aud_low v:1,agroup:aud_high
create master m3u8 list.result :
EXTM3U
EXT-X-VERSION:3
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_0",DEFAULT=YES,LANGUAGE="CHN",URI="out_0.m3u8"
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_low",NAME="audio_1",DEFAULT=NO,LANGUAGE="ENG",URI="out_1.m3u8"
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_2",DEFAULT=YES,LANGUAGE="CHN",URI="out_2.m3u8"
EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_3",DEFAULT=NO,LANGUAGE="ENG",URI="out_3.m3u8"
EXT-X-STREAM-INF:BANDWIDTH=1170400,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_low"
out_4.m3u8
EXT-X-STREAM-INF:BANDWIDTH=3440800,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_high"
out_5.m3u8Signed-off-by : Steven Liu <lq@chinaffmpeg.org>
-
Single Command to crop, animate (effects) and add images and texts in one video
7 mars 2019, par Vivek FalduI want to create a command where i can perform single operation.
I have few commands which are working well individually
Add Background Music Command
String[] command = {"-i", inputPath, "-i",
audioPath, "-filter_complex", "amix", "-preset",
"ultrafast", "-vcodec", "libx264", outputPath};Multiple Image OverLay Command
String[] command = {"-i", inputPath, "-i",
audio.getAbsolutePath(), "-i", image1,
"-i", image2, "-i", image3, "-
filter_complex","[0][1]overlay=x=W/2-w/2:y=H/2-
h/2:enable='between(t,2,10)'[v1];[v1][2]overlay=x=W/2-w/2:y=H/2-
h/2:enable='between(t,10,20)'[v2];[v2][3]overlay=x=W/2-w/2:y=H/2-
h/2:enable='gt(t,20)'[v3]","-map", "[v3]", outputPath};Image OverLay Command
String[] command = {"-i", inputPath, "-i",
image,"-filter_complex","overlay=(main_w-overlay_w)/2:
(main_h-overlay_h)/2","-codec:a", "copy", outputPath};Cropping Command
String[] command = {"-i", inputPath, "-filter:v", "crop=iw/2:ih:"
+ 0 + ":" + 0, "-c:a", "copy", outputPath};Effect
String[] command = {"-i", inputPath, "-loop", "1", "-t", "2", "-
i", image1, "-loop", "1", "-t", "2", "-i",
image2, "-filter_complex", "
[0]boxblur=enable='lt(t,2)+gt(t,10)'[vid];
[1:v]format=rgba,fade=in:st=0:d=0.5:alpha=1,
fade=out:st=1.5:d=0.5:alpha=1[img1];
[2:v]format=rgba,fade=in:st=0:d=0.5:alpha=1,
fade=out:st=1.5:d=0.5:alpha=1,setpts
=PTS+10/TB[img2];[vid][img1]overlay=(main_w-overlay_w)/2:(main_h-
overlay_h)/2[bkg];[bkg][img2]overlay=(main_w-overlay_w)/2:(main_h-
overlay_h)/2", "-preset", "ultrafast", "-c:a", "copy", outputPath};But I don’t have any clue how to combine this all to one single command. Please help me out.
Thanks in advance.
-
ffmpeg select highest quality video track and audio track in specific language from m3u8
17 juin 2019, par smfsI have a bunch of .m3u8 files that contain video tracks in different resolutions and bitrates, and audio tracks in different laguages.
I want to select the highest quality video stream and if available the audio track in a specified language.I know how to select the audio track, currently I use
-map 0:m:language:en?
like this
ffmpeg -re -protocol_whitelist file,http,https,tcp,tls -i .\some_file.m3u8 -codec:a aac -c:v copy -f flv -map 0:m:language:en? rtmp://foo.com:1935/live/xyz
With that I only stream audio if the specified audio language is available, or audio and video in the default configuration if it’s not.
I want to stream the best video track (the one ffmpeg picks by default) in both cases.