
Recherche avancée
Autres articles (30)
-
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 (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5888)
-
why does ffmpeg export black video ?
8 février, par Sling Ringi give ffmpeg a simple task which is the following


ffmpeg -i test.avi -c:v rawvideo -pix_fmt yuv420p out.yuv


i try to play the video but it gives a black screen, even in a .yuv player.
ffmpeg supposedly "running"


Is there some human error that i am doing ?


Signed
Slingring


-
FFMPEG Replacing black color fragments with alpha channel transparency
31 décembre 2017, par kostya572I have
file.mov
video. It has a lot of blank black color fragments that have different durations.I need to replace black color fragments that show up for more than 5 seconds with transparency. Is that possible to add some alpha channel for that purpose ?
Comment to Mulvya’s answer :
Amazing solution. With #2 section everything ok.
With #1 section I created this code :
output=$(ffprobe -f lavfi -i "movie=file.mov,blackdetect=d=3.5" -show_entries tags=lavfi.black_start,lavfi.black_end -of compact=p=0 -v 0|awk '!/^$/')
echo $outputusing
awk '!/^$/'
to remove empty lines.Here is the output I get :
tag:lavfi.black_start
repeats with same value several times, not having right structure with closingtag:lavfi.black_end
If I change
blackdetect=d=3.5
to other value, for exapled=10
, it outputs the same result asd=3.5
. How could I solve this issue having righttag:lavfi.black_start
,tag:lavfi.black_end
synthax with correct greppingd=
value ? -
Overlaying one video on another one and making black pixels or green pixels transparent
30 décembre 2017, par kostya572I found great answer here : https://stackoverflow.com/a/38581696/2337706
It works only for black pixels. The result is not perfect. I guess if change the overlay background color to other color, e.g. green, red, blue the results would be better. How can I change the other background color ?
Here is my working code :
ffmpeg -y \
-i video.webm -i overlay.mov \
-filter_complex " \
[0:v]setpts=PTS-STARTPTS[base]; \
[1:v]crop=iw:0.50*ih,setpts=PTS-STARTPTS+0/TB, \
format=yuva420p,colorchannelmixer=aa=0.7[overlay]; \
[base][overlay]overlay=x=(W-w)/2:y=0[v]" \
-map "[v]" -map 0:a -c:a copy -c:v libvpx-vp9 -lossless 1 -threads 4 -quality realtime \
-speed 8 -tile-columns 6 -frame-parallel 1 -vsync 2 -shortest output.webmOr need result (if impossible first with good quality) :
Thank you, sorry for the frequent questions on ffpmpeg topic.