
Recherche avancée
Autres articles (65)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (7757)
-
I am using ffmpeg library to generate m3u8 file,I could generate the file but few tags and attributes I could not able to create, can anyone help me
6 juin 2022, par Nishanth ReddyFollowing is my code to generate m3u8 file but tags like EXT-X-I-FRAME-STREAM-INF and attributes like framerate, average bandwith and URI I am unable to generate can any one help me on this ?


ffmpeg -i "C :\Users\123\Downloads\primary_audio_eng_4.mp4" -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -c:v libx264 -crf 22 -c:a aac -ar 48000 -filter:v:0 scale=w=480:h=360 -maxrate:v:0 600k -b:a:0 500k -filter:v:1 scale=w=640:h=480 -maxrate:v:1 1500k -b:a:1 1000k -filter:v:2 scale=w=1280:h=720 -maxrate:v:2 3000k -b:a:2 2000k -var_stream_map "v:0,a:0,name:360p v:1,a:1,name:480p v:2,a:2,name:720p" -preset fast -hls_list_size 10 -threads 0 -f hls -hls_time 3 -hls_flags independent_segments -master_pl_name "livestream.m3u8" -y "C :\m3u8\beachnew\livestream-%v.m3u8"


-
FFmpeg - add an animated gif (cropped by mask) to the video
11 mars 2021, par zeromoduleI have 3 inputs :


- 

- Video file : https://file.io/6jtUlnZ7TGmT
- Animated GIF with transparent background https://i.imgur.com/Vo3KHZm.gif
- Mask file (BW) the same resolution as the video https://i.imgur.com/YJXUUrZ.png








I want to put the image on the video, but throw out all GIF pixels that are transparent in the mask (replace them with transparent ones).









My current command, without masking (it works fine) :


ffmpeg -i input.mp4 -ignore_loop 0 -i animation.gif \
-filter_complex "[1]scale=700x700[scaled_gif];\
[0][scaled_gif]overlay=50:30:shortest=1" \
-codec:a copy output.mp4



UPDATE #1


I managed to get closer to my goal with this command :


ffmpeg -y -i input.mp4 -loop 1 -i mask.png \ 
-filter_complex "[1:v]alphaextract[mask]; \
movie=animation.gif,scale=1920x1080[scaled_gif]; \
[scaled_gif][mask]alphamerge[masked]; \
[0:v][masked]overlay=0:0" \
-c:a copy output_masked.mp4



but it has 2 problems :


- 

- GIF loses it's transparency. Transparent pixels become white.
- GIF plays only once (i.e. no loop)






Output : https://file.re/2021/03/11/outputmasked/


-
Revision 64f728caef : Do horizontal loopfiltering in parallel This patch followed "Rewrite filter_sel
13 novembre 2013, par Yunqing WangChanged Paths :
Add /vp9/common/arm/neon/vp9_loopfilter_16_neon.c
Modify /vp9/common/vp9_loopfilter.c
Modify /vp9/common/vp9_loopfilter_filters.c
Modify /vp9/common/vp9_rtcd_defs.sh
Modify /vp9/common/x86/vp9_loopfilter_intrin_sse2.c
Modify /vp9/vp9_common.mk
Do horizontal loopfiltering in parallelThis patch followed "Rewrite filter_selectively_horiz for parallel
loopfiltering" commit, and added x86 SSE2 optimization to do
16-pixel filtering in parallel. Also, corrected the declaration
of aligned arrays. For 8-pixel-in-parallel case, improved the
calculation of the masks and filters. Updated the threshold loading
since the thresholds were already duplicated. Updated neon C functions
to call neon loopfilters twice.Using tulip clip, tests showed it gave a 1.5% decoder speed gain.
Change-Id : Id02638626ac27a4b0e0b09d71792a24c0499bd35