
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (44)
-
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 (6156)
-
ffmpeg - when cutting video, last frame is green [on hold]
4 juillet 2016, par Mister FreshIn a php web app, the user can upload a video and cut it in samples. Php launches a shell command with shell_exec() to start ffmpeg and cut the video.
It works except that the last frame shows a green splash in the cut sample.
Server is on linux. In dev environment (mac) with latest ffmpeg, the problem cannot be reproduced.
Command is the following :
ffmpeg -i /var/www/user_dir/web/projects/127472/cuts/1146 -ss 00:00:45 -t 15 -vcodec libx264 -s 640x360 -strict experimental -v quiet -y /var/www/user_dir/web/projects/127472/cuts/sample1954_small.mp4
Console output :
ffmpeg version 0.8.17-6:0.8.17-1,
Copyright (c) 2000-2014 the Libav developers
built on Mar 15 2015 17:00:31 with gcc 4.7.2
configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.17-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
libavutil 51. 22. 3 / 51. 22. 3
libavcodec 53. 35. 0 / 53. 35. 0
libavformat 53. 21. 1 / 53. 21. 1
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 15. 0 / 2. 15. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 52. 0. 0 / 52. 0. 0
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/user_dir/web/projects/127472/cuts/1146':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.15.103
genre : Blues
Duration: 00:01:29.47, start: 0.036281, bitrate: 808 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 675 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
[buffer @ 0x30a2ca0] w:1920 h:1080 pixfmt:yuv420p
[scale @ 0x309bf00] w:1920 h:1080 fmt:yuv420p -> w:640 h:360 fmt:yuv420p flags:0x4
[libx264 @ 0x30a3200] using SAR=1/1
[libx264 @ 0x30a3200] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x30a3200] profile Main, level 3.0
[libx264 @ 0x30a3200] 264 - core 123 r2189 35cf912 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2012 - http://www.videolan.org/x264.html
- options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=1 b_bias=0 direct=1 weightb=0 open_gop=1 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.25 aq=1:1.00
Output #0, mp4, to '/var/www/user_dir/web/projects/127472/cuts/sample1954_small.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
genre : Blues
encoder : Lavf53.21.1
Stream #0.0(und): Video: libx264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
[buffer @ 0x30a2ca0] Buffering several frames is not supported. Please consume all available frames before adding a new one.
Last message repeated 1124 times 565kB time=12.80 bitrate= 361.7kbits/s ts/s
frame= 375 fps= 17 q=28.0 Lsize= 742kB time=14.96 bitrate= 406.4kbits/s
video:360kB audio:371kB global headers:0kB muxing overhead 1.515374%
frame I:3 Avg QP:16.97 size: 6922
[libx264 @ 0x30a3200] frame P:158 Avg QP:24.40 size: 1858
[libx264 @ 0x30a3200] frame B:214 Avg QP:28.69 size: 253
[libx264 @ 0x30a3200] consecutive B-frames: 13.9% 28.3% 5.6% 52.3%
[libx264 @ 0x30a3200] mb I I16..4: 70.8% 0.0% 29.2%
[libx264 @ 0x30a3200] mb P I16..4: 4.8% 0.0% 1.6% P16..4: 16.0% 3.9% 2.0% 0.0% 0.0% skip:71.9%
[libx264 @ 0x30a3200] mb B I16..4: 0.5% 0.0% 0.1% B16..8: 11.1% 0.7% 0.1% direct: 0.1% skip:87.4% L0:44.2% L1:44.7% BI:11.1%
[libx264 @ 0x30a3200] coded y,uvDC,uvAC intra: 19.3% 30.9% 23.5% inter: 2.3% 2.3% 1.3%
[libx264 @ 0x30a3200] i16 v,h,dc,p: 39% 47% 2% 12%
[libx264 @ 0x30a3200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 25% 32% 5% 5% 3% 4% 3% 3%
[libx264 @ 0x30a3200] i8c dc,h,v,p: 51% 40% 7% 2%
[libx264 @ 0x30a3200] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x30a3200] ref P L0: 63.7% 4.9% 19.3% 12.1%
[libx264 @ 0x30a3200] ref B L0: 67.6% 32.4%
[libx264 @ 0x30a3200] kb/s:196.48 -
libavutil : Always use some GCC style attributes on clang
18 juillet 2016, par Martin Storsjölibavutil : Always use some GCC style attributes on clang
Clang normally disguises as GCC (defining __GNUC__), and thus get
all the normal GCC specific attributes.Clang can also work as a drop-in replacement for MSVC, and in these
cases, it doesn’t define __GNUC__, but defines _MSC_VER instead.Even in these setups, it still supports the GCC style attributes,
thus use them, especially where there isn’t any MSVC specific
version, or where the MSVC specific version doesn’t work on clang
(for DECLARE_ASM_CONST).Signed-off-by : Martin Storsjö <martin@martin.st>
-
ffmpeg mp4 upload to Twitter - Unsupported Error
13 juin 2016, par NoitidartI have created a screencast, it was saved as webm. Using ffmpeg I converted it to a mp4 :
That kind of file isn’t supported yet. Try uploading a gif, video, or picture instead.
ffmpeg -f input.webm -pix_fmt yuv420p -strict -2 output.mp4
I use yuv420p as that is what this topic says for twitter - https://twittercommunity.com/t/unable-to-upload-video-to-twitter/61721/3
However when I open a new tab, go to twitter, click the photo icon, clicking upload instantly gives me error "That kind of file isn’t supported yet. Try uploading a gif, video, or picture instead.". It cant check the pix format that fast. Anyonek now what can be going on here ?
Here is ffmpeg console output :
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 9 2014 20:01:41 with emcc (Emscripten GCC-like replacement) 1.12.0 (commit 6960d2296299e96d43e694806f5d35799ef8d39c)
configuration: --cc=emcc --prefix=/Users/bgrinstead/Sites/videoconverter.js/build/ffmpeg/../dist --enable-cross-compile --target-os=none --arch=x86_32 --cpu=generic --disable-ffplay --disable-ffprobe --disable-ffserver --disable-asm --disable-doc --disable-devices --disable-pthreads --disable-w32threads --disable-network --disable-hwaccels --disable-parsers --disable-bsfs --disable-debug --disable-protocols --disable-indevs --disable-outdevs --enable-protocol=file
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
[vp8 @ 0xdde410] Warning: not compiled with thread support, using thread emulation
Input #0, matroska,webm, from 'input.webm':
Metadata:
encoder : QTmuxingAppLibWebM-0.0.1
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0(eng): Video: vp8, yuv420p, 1920x1200, SAR 1:1 DAR 8:5, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
Incompatible pixel format 'yuv420p' for codec 'gif', auto-selecting format 'pal8'
[swscaler @ 0xdd7f40] No accelerated colorspace conversion found from yuv420p to bgr8.
[gif @ 0xde5290] Warning: not compiled with thread support, using thread emulation
[vp8 @ 0xdde410] Warning: not compiled with thread support, using thread emulation
Output #0, gif, to 'output/output.gif':
Metadata:
encoder : Lavf55.33.100
Stream #0:0(eng): Video: gif, pal8, 1920x1200 [SAR 1:1 DAR 8:5], q=2-31, 200 kb/s, 100 tbn, 30 tbc (default)
Stream mapping:
Stream #0:0 -> #0:0 (vp8 -> gif)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.03 bitrate= 8.5kbits/s
frame= 6 fps=0.0 q=0.0 size= 640kB time=00:00:00.33 bitrate=15877.0kbits/s
frame= 12 fps= 11 q=0.0 size= 1452kB time=00:00:00.63 bitrate=18878.9kbits/s
frame= 17 fps= 10 q=0.0 size= 2080kB time=00:00:00.91 bitrate=18723.7kbits/s
frame= 22 fps=9.6 q=0.0 size= 2698kB time=00:00:01.16 bitrate=19052.0kbits/s
frame= 27 fps=9.7 q=0.0 size= 3294kB time=00:00:01.43 bitrate=18869.4kbits/s
frame= 33 fps=9.6 q=0.0 size= 4001kB time=00:00:01.76 bitrate=18622.0kbits/s
frame= 38 fps=9.5 q=0.0 size= 4567kB time=00:00:02.04 bitrate=18339.7kbits/s
frame= 44 fps=9.5 q=0.0 size= 5236kB time=00:00:02.37 bitrate=18097.4kbits/s
frame= 50 fps=9.7 q=0.0 size= 5902kB time=00:00:02.71 bitrate=17839.9kbits/s
frame= 55 fps=9.6 q=0.0 size= 6457kB time=00:00:02.96 bitrate=17868.9kbits/s
frame= 55 fps=9.6 q=0.0 Lsize= 6567kB time=00:00:02.96 bitrate=18175.9kbits/s
video:6623kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead -0.834044%Here is a screenshot :