
Recherche avancée
Autres articles (40)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...)
Sur d’autres sites (9432)
-
vitamio service
11 mars 2014, par user1964369I know that Vitamio will not work without the following condition :
if (! io.vov.vitamio.LibsChecker.checkVitamioLibs (this))
return;But how does it add to the
Service
.
I ran the demo I have everything works fine, but how to work in Servais -
Multiple Overlay Movies in FFMPEG
15 décembre 2014, par John DuI was trying to make a 3 columns by 2 row overlay in FFMEG
I found this command which works great for a 2x2 movie overlay
ffmpeg.exe -i video1.mp4 -i video2.mp4 -i video3.mp4 -i video4.mp4 -filter_complex "[0:0]scale=iw/2:ih/2,pad=iw*2:ih*2[a];[1:0]scale=iw/2:ih/2[b];[2:0]scale=iw/2:ih/2[c];[3:0]scale=iw/2:ih/2[d];[a][b]overlay=w[x];[x][c]overlay=0:h[y];[y][d]overlay=w:h,drawtext=fontsize=12:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='vid1':x=35:y=35,drawtext=fontsize=12:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='vid2':x=(w/2)+35:y=35,drawtext=fontsize=12:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='vid3':x=35:y=(h/2)+35,drawtext=fontsize=12:fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='vid4':x=(w/2)+35:y=(h/2)+35" output.mp4
(Same command just multiple lines only for readability)
ffmpeg.exe -i video1.mp4 -i video2.mp4 -i video3.mp4 -i video4.mp4
-filter_complex "[0:0]scale=iw/2:ih/2,pad=iw*2:ih*2[a];[1:0]scale=iw/2:ih/2[b];
[2:0]scale=iw/2:ih/2[c];[3:0]scale=iw/2:ih/2[d];[a][b]overlay=w[x];
[x][c]overlay=0:h[y];[y][d]overlay=w:h,drawtext=fontsize=12:fontcolor=white:
fontfile=/Windows/Fonts/arial.ttf:text='vid1':x=35:y=35,drawtext=fontsize=12:
fontcolor=white:fontfile=/Windows/Fonts/arial.ttf:text='vid2':x=(w/2)+35:y=35,drawtext=fontsize=12:fontcolor=white:
fontfile=/Windows/Fonts/arial.ttf:text='vid3':x=35
:y=(h/2)+35,drawtext=fontsize=12:fontcolor=white:
fontfile=/Windows/Fonts/arial.ttf:text='vid4':x=(w/2)+35:y=(h/2)+35" output.mp4I had trouble adding the 2 other movies, I know you add this
ffmpeg.exe -i video1.mp4 -i video2.mp4 -i video3.mp4 -i video4.mp4 -i video5.mp4 -i video6.mp4
and this
-filter_complex "[0:0]scale=iw/2:ih/2,pad=iw*3:ih*2[a];
but positioning the last 2 movies and text is where I am lost
image per request [edit]
of what I want to do in organizing the overlays -
How to embed subtitles in multiple movies in an automated way using python ?
8 juin 2023, par Ricardo MadelaThis python script identifies all movies with mp4 extension and, if they have subtitles in srt format, converts the subtitle encoding to utf-8 (without this conversion you will get error message) and starts building the movie with the subtitle embedded.


for filename in glob.glob("*.mp4"):
 print(str(filename))
 if 'wsubs' not in filename:
 for legenda in glob.glob(filename.replace(".mp4",".srt")):
 try:
 with open(legenda, 'r') as arquivo_orig:
 conteudo = arquivo_orig.read()
 with open(legenda, 'w', encoding='utf-8') as novo_arquivo:
 novo_arquivo.write(conteudo)
 except Exception as e:
 print("Já codificado")
 print(str(legenda))
 os.system('ffmpeg -i "' + str(filename) + '" -vf subtitles="' + str(legenda) + '" -maxrate 2000000 -crf 20 "' + str(filename.replace('.mp4','-wsubs.mp4')) + '"')



The end result will be a subtitled movie with the expression "wsubs" at the end of the name. The original files will be preserved.