
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (61)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
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 (...)
Sur d’autres sites (5775)
-
Grow your business and understand your conversion funnel with Funnels for Piwik
14 décembre 2016, par InnoCraft — PluginsHi, this is Tom from InnoCraft. The company of the makers of Piwik.
No matter what type of website or app you have, whether you are trying to get your users to sign up for something or sell products, there is a certain number of steps your visitors have to go through. I bet the same applies to you.
Have you ever wondered if your visitors or users actually follow that path in your website or app ? And wondered where you lose your visitors ? Where they maybe get confused ? Want to see when something is not working anymore ? Maybe you have a multi step signup form or onboarding process ? On every step you lose visitors and therefore potential revenue and conversions. It’s critical to know how well your visitors go through these steps, where they originally came from and where they go to when they drop off.
If you are wondering about such things like we do, or want to drive your conversions and sales, we have something for you.
-> Read the rest of the story on the Funnels Marketplace page.
What does the new Funnel report look like ?
Here is below just a little preview of the Funnel report.
You get this funnel report for each of your goals so you can optimise each of your conversion funnels.
Where do I get Funnel for Piwik ?
Funnels is available on the Piwik Marketplace :
Funnels is premium plugin for Piwik and comes with our 14 day money back guarantee and 1-click installation & updates (all product updates come for free).
You can also signup for a free Piwik Cloud-hosted trial to discover the power of Funnels !
-
After ffmpeg encode, AVPacket pts and dts is AV_NOPTS_VALUE
29 novembre 2017, par Li ZehanI would like to ask a question about ffmpeg when i use encoder (x264).
this is my code :
int
FFVideoEncoder::init(AVCodecID codecId, int bitrate, int fps, int gopSize,
int width, int height, AVPixelFormat format) {
release();
const AVCodec *codec = avcodec_find_encoder(codecId);
m_pCodecCtx = avcodec_alloc_context3(codec);
m_pCodecCtx->width = width;
m_pCodecCtx->height = height;
m_pCodecCtx->pix_fmt = format;
m_pCodecCtx->bit_rate = bitrate;
m_pCodecCtx->thread_count = 5;
m_pCodecCtx->max_b_frames = 0;
m_pCodecCtx->gop_size = gopSize;
m_pCodecCtx->time_base.num = 1;
m_pCodecCtx->time_base.den = fps;
//H.264
if (m_pCodecCtx->codec_id == AV_CODEC_ID_H264) {
// av_dict_set(&opts, "preset", "slow", 0);
av_dict_set(&m_pEncoderOpts, "preset", "superfast", 0);
av_dict_set(&m_pEncoderOpts, "tune", "zerolatency", 0);
m_pCodecCtx->flags |= CODEC_FLAG_GLOBAL_HEADER;
m_pCodecCtx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
}
int ret = avcodec_open2(m_pCodecCtx, m_pCodecCtx->codec, &m_pEncoderOpts);
if (ret == 0) {
LOGI("open avcodec success!");
} else {
LOGE("open avcodec error!");
return -1;
}
return ret;
}
int FFVideoEncoder::encode(const Frame &inFrame, AVPacket *outPacket) {
AVFrame *frame = av_frame_alloc();
// avpicture_fill((AVPicture *) frame, inFrame.getData(), AV_PIX_FMT_YUV420P, inFrame.getWidth(),
// inFrame.getHeight());
av_image_fill_arrays(frame->data, frame->linesize, inFrame.getData(), m_pCodecCtx->pix_fmt,
inFrame.getWidth(), inFrame.getHeight(), 1);
int ret = 0;
ret = avcodec_send_frame(m_pCodecCtx, frame);
if (ret != 0) {
LOGE("send frame error! %s", av_err2str(ret));
} else {
ret = avcodec_receive_packet(m_pCodecCtx, outPacket);
LOGI("extract data size = %d", m_pCodecCtx->extradata_size);
if (ret != 0) {
LOGE("receive packet error! %s", av_err2str(ret));
}
};
av_frame_free(&frame);
return ret;
}I expect that the AVPacket will carry the pts and dts about this frame.
but in fact, i only can get encoded frame data and size.
//====================================
except this question, i have another quesiont :
x264 docs say that "tune" opts can be set like film、animation and others. but i only can get a normal video when i set "zerolatency" params. When i set others opts, video’s bitrate is very low.
Thanks your answer.
-
how to make the script re-ask for the input again after failure ?
6 avril 2022, par Rami Magdithis some script for ffmpeg that i added to windows context menu
so i just copy paste what i want done
when this .bat fails [wrong argument for instance ] it closes and i have to restart it
how to make the script re-ask for the input again after failure ?


@echo off
echo -------------------------------------------------------------
echo FILTERS
echo -------------------------------------------------------------
echo,
echo VERTICAL FLIP= -lavfi vflip
echo HORIZONTAL FLIP= -lavfi hflip
echo NEGAT COLORS= -lavfi Enegate
echo NEGATE LUMINANCE= -lavfi lutyuv=y=negval
echo GRAYSCALE= -lavfi hue=s=0
echo ISOLATE COLOR= -lavfi colorhold=color="orange":similarity=0.29:blend=0
echo PS CURVES PRESET= -lavfi curves=psfile='MyCurvesPresets/purple.acv'
echo VIGNETTE EFFECT= -lavfi vignette=PI/4
echo LOOKUP TABLE= -lavfi lut3d=c\\:/nnn/ggg.cube
echo SPEED UP OR SLOW DOWN= -lavfi setpts=PTS/2
echo SPEED UP VIDEOS, AUDIOS= -lavfi "[0:v]setpts=PTS/2[v];[0:a]atempo=2.0[a]" -map "[v]" -map "[a]"
echo REVERSE= -lavfi reverse
echo POSTERIZE= -lavfi elbg=l=8:n=1
echo MOTION BLUR= -lavfi tmix=frames=20:weights="10 1 1"
echo HARD SUB= -lavfi subtitles=s.ass
echo SOFT SUB= -scodec mov_text -metadata:s:s:0 language=eng
echo ONE IMAGE= -lavfi -frames 1
echo AN IMAGE EVERY 60 SEC= -lavfi fps=1/60
echo ONLY IFRAMES= -skip_frame nokey
echo GIF= -lavfi "fps=10,scale=320:-2:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0
echo STACKS= -lavfi "[0:v][1:v][2:v][3:v]xstack=inputs=4:layout=0_0|w0_0|0_h0|w0_h0[v]" -map "[v]"
echo EMBED THUMBNAIL = -i 1.jpg -map 0:0 -map 0:1 -map 1 -c:0 copy -c:v:1 png -disposition:v:1 attached_pic
ECHO,
echo -------------------------------------------------------------
echo CODEC OPTIONS
echo -------------------------------------------------------------
echo,
echo -lavfi "[0:v]scale=-2:720,setpts=PTS/1.5[v];[0:a]atempo=1.5[a]" -map "[v]" -map "[a]" -crf 40 -preset ultrafast
echo -map 0 -codec copy
echo -acodec copy -vcodec libx264 -vsync cfr -crf 20 -pix_fmt yuv420p -tune film -preset veryfast -movflags +faststart
echo -acodec aac -ac 2 -ab 128k -ar 44100 / -acodec libmp3lame -ab 320k -ar 44100 -id3v2_version 3 
echo -qscale:v 2
echo,



the main part :


set /P extra="ENTER CODEC OPTIONS="

echo,
echo Processing "%~nx1"
echo Output will be "%~n1"_output.mp4"
ffmpeg -v error -stats -y -i "%~1" %extra% "%~n1"_output.mp4
pause