
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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" (...)
Sur d’autres sites (14998)
-
FFmpeg encode an applied filter frame
10 août 2017, par tqnI’m coding an app that crop video to square. I use native lib from ffmpeg like libavfilter, libavformat, ... After apply a filter, my video is cropped to correct size, but when encode and write to output, it seem like it cropped and zoom out everything. Here are the first frame that I extracted to jpeg to debug.
Original Frame
Cropped Frame
Encoded cropped Frame
I tried both crop function like
av_buffersink_get_frame(buffersink_ctx, pFrameSquare)
andav_picture_crop((AVPicture *) pFrameSquare, (AVPicture *) pFrame, pic_format, 0, 0)
but the output are the same. So what happened ? -
avcodec/dvbsubdec : Avoid re-computing clut
4 novembre 2017, par Michael Niedermayeravcodec/dvbsubdec : Avoid re-computing clut
Fixes : Timeout
Fixes : 3218/clusterfuzz-testcase-5390672154591232Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
ffmpeg : video + scalled watermark with multiply filter applied
5 novembre 2018, par PawelNafter a night of trying different options with applying my watermark on a video, I gave up :).
What I tried to do is :- scale video to desired size (i.e. scale=640x480)
- add watermark on its top left corner (10:10)
- marge video with watermark with
blend=all_mode='multiply'
I’ve tried many options and that one I think is almost correct :
fmpeg -i "${2}${3}" -i ${WMARK} -r 20 -y \
-filter_complex "[0:0]scale=${6}x${7}, setsar=sar=1[a];[a][1:0] overlay=0:0[b];[a][b]blend=all_mode='multiply'" \
-an -c:v libx264 -crf "${8}" -preset "${9}" -tune "${10}" \
-profile:v high -level 4.0 -movflags +faststart \
"${4}${5}";but anyway I am getting errors.
The nearest what I am looking for is :
ffmpeg -i "${2}${3}" -i ${WMARK} -r 20 -y \
-filter_complex "[0:v] scale=${6}:${7}[vi];[1:v][vi]scale2ref=(1510/408)*ih/3/sar:ih/3[wm][base];[base][wm]overlay=10:10" \
-pix_fmt yuv420p \
-an -c:v libx264 -crf "${8}" -preset "${9}" -tune "${10}" \
-profile:v high -level 4.0 -movflags +faststart \
"${4}${5}";- Video is scaled to desired resolution ($[6 :$7)
- watermark is scalled as well
- ... but I dunno how add blend=all_mode=’multiply’ to it.
Any ideas guys ?