
Recherche avancée
Autres articles (51)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...)
Sur d’autres sites (4577)
-
FFmpeg for marking time video based on a reference date
29 décembre 2018, par Denio MarizI am trying to mark a timestamp in a video using
drawtext
filter.
FFmpeg easily marks timestamps based onlocaltime
,gmtime
or evenPTS
. However, I want to assign a reference time (start time) for the timestamp in order to represent the time the video was recorded (not encoded).Reading the documentation, I found that option
basetime
can be used for this purpose. However it seems that is not working or I am missing something.The command line I am using is :
ffmpeg -y -i input.mp4 -filter_complex drawtext="fontfile=/tmp/UbuntuMono-B.ttf: fontsize=36: fontcolor=yellow: box=1: boxcolor=black@0.4: text='Wall Clock Time\: %{gmtime\:%Y-%m-%d %T}': basetime=1456007118" output.mp4
By using
basetime=1456007118
, it was expected the start time was set to ’02/20/2016 20:25:18’ since 1456007118 is the UTC time for that time and date :date -d '02/20/2016 20:25:18' +"%s" # format MM/DD/AAAA hh:mm:ss
1456007118However, no error is issued by FFmpeg and the video is marked with current GMT, ignoring
basetime
option.Any hint ?
Thanks.Complete information about FFmpeg version and output is :
ffmpeg -y -i /home/denio/Videos/Interstellar_2014_Trailer_4_5.1-1080p-HDTN.mp4 -filter_complex drawtext="fontfile=/tmp/UbuntuMono-B.ttf: fontsize=36: fontcolor=yellow: box=1: boxcolor=black@0.4: text='Wall Clock Time\: %{gmtime\:%Y-%m-%d %T}': basetime=1470226363" /tmp/x.mp4
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2.1) 20160413
configuration: --enable-libxavs --enable-bzlib --enable-libfaac --enable-libfreetype --enable-libfontconfig --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-zlib --enable-x11grab --enable-static --enable-pthreads --enable-gpl --enable-nonfree --enable-version3 --disable-ffserver --enable-libgsm --enable-librtmp --enable-libvpx --enable-libschroedinger --enable-libopencore-amrnb --enable-libopenjpeg
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
...
... -
sws_scale vs libyuv performance, speed
4 janvier 2019, par Steven.YeunI tested to convert NV12 to RGB with ffmpeg(sws_scale) and libyuv(NV12ToRGB24)
I guessed libyuv more than fast sws_scale but it is not.
is it correct result ? and how to fast and low cpu usage conversion ?
i wrote test result.I3 windows10 64bit desktop
Vs2017 64bit debug build
VideoSize = 1280 x 692libyuv(NV12ToRGB24) test result
0.04400 sec
0.04500 sec
0.04300 sec
0.04400 sec
0.04400 sec
0.04600 sec
0.04400 sec
0.04400 sec
0.04500 sec
0.05000 seclibyuv(NV12ToRGB24) test code
clock_t begin, end;
begin = clock();
libyuv::NV12ToRGB24(avFrame->data[0], avFrame->linesize[0],
avFrame->data[1], avFrame->linesize[1],
matRGB.data, avFrame->width * 3,
avFrame->width,
avFrame->height
);
end = clock();
printf("%0.5f\n", (float) (end - begin) / CLOCKS_PER_SEC );--------------------------------------------------------------------------------
ffmpeg(sws_scale) test result
0.00300 sec
0.00300 sec
0.00300 sec
0.00300 sec
0.00300 sec
0.00300 sec
0.00300 sec
0.00300 sec
0.00300 sec
0.00300 secffmpeg(sws_scale) test code
begin = clock();
sws_scale(sws_ctx, avFrame->data,
avFrame->linesize, 0, avFrame->height, frame_bgr->data,
frame_bgr->linesize);
//cv::Mat mat(dest_height, dest_width, cv_format, frame_bgr->data[0], frame_bgr->linesize[0]);
end = clock();
printf("%0.5f\n", (float)(end - begin) / CLOCKS_PER_SEC); -
libavfilter : add transpose_vaapi filter
17 janvier 2019, par Zachary Zhoulibavfilter : add transpose_vaapi filter
Swap width and height when do clock/cclock rotation
Add reversal/hflip/vflip optionsffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128
hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip"
c:v h264_vaapi output.h264
Signed-off-by : Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by : Mark Thompson <sw@jkqxz.net>