
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (100)
-
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 ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7307)
-
FFmpeg : Create a Video Slideshow from PNG Images for MS PowerPoint
20 septembre 2016, par KlaidonisI am using FFmpeg on Windows 7 to create a video from PNG image sequence for Microsoft PowerPoint.
The best results I have achieved so far, is by using the following command :
ffmpeg -framerate 10 -start_number 3 -i .\folder\name_%d.png -q:v 0 -c:v libx264 -pix_fmt yuv420p output-video.avi
It seems perfect, 50 images of total size 30 MB are converted into 200 KB video with no loss in the quality. Placing it in PowerPoint also seems right, but there is a slight color shift (yellow appears darker and possibly more orangish). By using some other conversion options, I obtained a video in PowerPoint where the first image of the video (like album cover art) is exactly as the original but the rest of the video plays with the mentioned color shift.
When I play this file in VLC, it’s good. Although, if in the settings "Use hardware YUV->RGB conversions" is enabled, colors appear a bit washed out, and white color is a bit gray.
I also tried to convert the images to a GIF file and at first it seems good but outer edges and numbers from the left and top side are blurred, and the background has turned from white to a bit gray color, although, white segments not on the background are white. The output size is 18 MB. I ended up with a way better GIF 600 KB by converting from the first video file ; just it is slightly more dotted, and the background again is grayish.
ffmpeg -i output-video.avi output-video.gif
Could someone help ?
-
Converting avi to mp4 (use ffmpeg library) is very slow
7 décembre 2012, par yAnTarI have task - convert any video from user to mp4 format.
I use commandffmpeg -i $file -vcodec libx264 -vpre ultrafast -bt 500k -acodec libfaac -ab 56k -ac 2 -s 480x320 $outputFileMp4
I try to change options bitrate, dimensions, but spped of converting is slow - 3 mbytes convert arround 90 seconds.
If i convert avi to flv - no problem.
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'intro.avi':
Duration: 00:07:48.53, start: 0.000000, bitrate: 244 kb/s
Stream #0.0: Video: camtasia, bgr24, 800x600, 15 tbr, 15 tbn, 15 tbc
Metadata:
strn : Camtasia Producer_render549ab1f.avi Video #1
Stream #0.1: Audio: pcm_s16le, 12000 Hz, 1 channels, s16, 192 kb/s
Metadata:
strn : Microsoft Waveform: Camtasia Producer_render549ab1f.wav
[libx264 @ 0x1202e40]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[libx264 @ 0x1202e40]profile Constrained Baseline, level 2.2
[libx264 @ 0x1202e40]264 - core 107 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=0.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=200 ratetol=2.5 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=0
Output #0, mp4, to 'test2.mp4':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: libx264, yuv420p, 640x480, q=10-51, 200 kb/s, 15 tbn, 15 tbc
Metadata:
strn : Camtasia Producer_render549ab1f.avi Video #1
Stream #0.1: Audio: libfaac, 12000 Hz, 2 channels, s16, 5 kb/s
Metadata:
strn : Microsoft Waveform: Camtasia Producer_render549ab1f.wav
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1and result of executing
frame= 7028 fps= 52 q=10.0 Lsize= 2654kB time=468.31 bitrate= 46.4kbits/s
video:1883kB audio:672kB global headers:0kB muxing overhead 3.876805%
[libx264 @ 0xe1ee40]frame I:29 Avg QP:10.83 size: 25781
[libx264 @ 0xe1ee40]frame P:6999 Avg QP:10.08 size: 169
[libx264 @ 0xe1ee40]mb I I16..4: 80.1% 0.0% 19.9%
[libx264 @ 0xe1ee40]mb P I16..4: 0.2% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0.0% skip:99.6%
[libx264 @ 0xe1ee40]final ratefactor: 5.71
[libx264 @ 0xe1ee40]coded y,uvDC,uvAC intra: 37.1% 3.3% 3.1% inter: 0.1% 0.0% 0.0%
[libx264 @ 0xe1ee40]i16 v,h,dc,p: 87% 12% 1% 0%
[libx264 @ 0xe1ee40]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 23% 27% 8% 6% 3% 3% 2% 8%
[libx264 @ 0xe1ee40]i8c dc,h,v,p: 94% 6% 0% 0%
[libx264 @ 0xe1ee40]kb/s:32.91 -
Converting avi to mp4 (use ffmpeg library) is very slow [closed]
7 décembre 2012, par yAnTarI have task - convert any video from user to mp4 format.
I use commandffmpeg -i $file -vcodec libx264 -vpre ultrafast -bt 500k -acodec libfaac -ab 56k -ac 2 -s 480x320 $outputFileMp4
I try to change options bitrate, dimensions, but spped of converting is slow - 3 mbytes convert arround 90 seconds.
If i convert avi to flv - no problem.
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'intro.avi':
Duration: 00:07:48.53, start: 0.000000, bitrate: 244 kb/s
Stream #0.0: Video: camtasia, bgr24, 800x600, 15 tbr, 15 tbn, 15 tbc
Metadata:
strn : Camtasia Producer_render549ab1f.avi Video #1
Stream #0.1: Audio: pcm_s16le, 12000 Hz, 1 channels, s16, 192 kb/s
Metadata:
strn : Microsoft Waveform: Camtasia Producer_render549ab1f.wav
[libx264 @ 0x1202e40]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[libx264 @ 0x1202e40]profile Constrained Baseline, level 2.2
[libx264 @ 0x1202e40]264 - core 107 - H.264/MPEG-4 AVC codec - Copyleft 2003-2010 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=0.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=abr mbtree=0 bitrate=200 ratetol=2.5 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.41 aq=0
Output #0, mp4, to 'test2.mp4':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: libx264, yuv420p, 640x480, q=10-51, 200 kb/s, 15 tbn, 15 tbc
Metadata:
strn : Camtasia Producer_render549ab1f.avi Video #1
Stream #0.1: Audio: libfaac, 12000 Hz, 2 channels, s16, 5 kb/s
Metadata:
strn : Microsoft Waveform: Camtasia Producer_render549ab1f.wav
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1and result of executing
frame= 7028 fps= 52 q=10.0 Lsize= 2654kB time=468.31 bitrate= 46.4kbits/s
video:1883kB audio:672kB global headers:0kB muxing overhead 3.876805%
[libx264 @ 0xe1ee40]frame I:29 Avg QP:10.83 size: 25781
[libx264 @ 0xe1ee40]frame P:6999 Avg QP:10.08 size: 169
[libx264 @ 0xe1ee40]mb I I16..4: 80.1% 0.0% 19.9%
[libx264 @ 0xe1ee40]mb P I16..4: 0.2% 0.0% 0.0% P16..4: 0.2% 0.0% 0.0% 0.0% 0.0% skip:99.6%
[libx264 @ 0xe1ee40]final ratefactor: 5.71
[libx264 @ 0xe1ee40]coded y,uvDC,uvAC intra: 37.1% 3.3% 3.1% inter: 0.1% 0.0% 0.0%
[libx264 @ 0xe1ee40]i16 v,h,dc,p: 87% 12% 1% 0%
[libx264 @ 0xe1ee40]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 23% 27% 8% 6% 3% 3% 2% 8%
[libx264 @ 0xe1ee40]i8c dc,h,v,p: 94% 6% 0% 0%
[libx264 @ 0xe1ee40]kb/s:32.91