
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 (13)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (4123)
-
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 -
ffmpeg slideshow on raspberry pi raspbian
29 novembre 2017, par mysterious_guyi’m trying to make slideshow video from few (in this case 3) .jpgs. To do this i’m using
ffmpeg -r 1/5 -i bat%03d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p proba12.mp4
and actually it works on windows (it plays every image for 5seconds) but on raspbian it doesnt work neither on omxplayer nor hello_video.bin (in h264).
Here is what console shows :
pi@raspberrypi:~/Downloads $ ffmpeg -r 1/5 -i bat%03d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p proba12.mp4
ffmpeg version N-89047-g54f8ac199f Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
libavutil 56. 0.100 / 56. 0.100
libavcodec 58. 3.101 / 58. 3.101
libavformat 58. 2.100 / 58. 2.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 0.101 / 7. 0.101
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, image2, from 'bat%03d.jpg':
Duration: 00:00:00.12, start: 0.000000, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080
[SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[swscaler @ 0x31ac620] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0x30fef00] using SAR=1/1
[libx264 @ 0x30fef00] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x30fef00] profile High, level 4.0
[libx264 @ 0x30fef00] 264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 r ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fa st_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 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.40 aq=1:1.00
Output #0, mp4, to 'proba12.mp4':
Metadata:
encoder : Lavf58.2.100
Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 15360 tbn, 30 tbc
Metadata:
encoder : Lavc58.3.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 449 fps=8.0 q=-1.0 Lsize= 1341kB time=00:00:14.86 bitrate= 738.9kbits/s dup=446 drop=0 speed=0.265x
video:1335kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.457740%
[libx264 @ 0x30fef00] frame I:3 Avg QP:15.58 size:442255
[libx264 @ 0x30fef00] frame P:113 Avg QP:18.36 size: 130
[libx264 @ 0x30fef00] frame B:333 Avg QP:27.00 size: 74
[libx264 @ 0x30fef00] consecutive B-frames: 1.1% 0.0% 0.0% 98.9%
[libx264 @ 0x30fef00] mb I I16..4: 2.0% 94.5% 3.5%
[libx264 @ 0x30fef00] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.4% 0.0% 0.0% 0.0% 0.0% skip:99.6%
[libx264 @ 0x30fef00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.1% 0.0% 0.0% direct: 0.0% skip:99.9% L0:19.2% L1:80.8% BI: 0.0%
[libx264 @ 0x30fef00] 8x8 transform intra:94.5% inter:61.3%
[libx264 @ 0x30fef00] coded y,uvDC,uvAC intra: 85.4% 31.7% 25.4% inter: 0.0% 0.1% 0.0%
[libx264 @ 0x30fef00] i16 v,h,dc,p: 43% 20% 9% 29%
[libx264 @ 0x30fef00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 11% 33% 5% 7% 6% 8% 5% 8%
[libx264 @ 0x30fef00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 14% 15% 7% 11% 8% 9% 9% 6%
[libx264 @ 0x30fef00] i8c dc,h,v,p: 82% 8% 7% 3%
[libx264 @ 0x30fef00] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x30fef00] ref P L0: 99.5% 0.0% 0.4% 0.1%
[libx264 @ 0x30fef00] ref B L0: 71.2% 28.6% 0.3%
[libx264 @ 0x30fef00] ref B L1: 99.1% 0.9%
[libx264 @ 0x30fef00] kb/s:730.29what is also strange if im trying to concatenate those files using text file and i set duration to 5 for every single file it makes different display time... in this example first one displays for 15 seconds, second one for 5seconds and the last one for 10seconds... of course this way of merging images doesnt work under raspbian either
i’m using raspberry pi 3b with latest raspbian noobs on board
can you guys please direct me on a solution ? im ran out of ideas... cheers
-
why ffmpeg is not working in new installation
3 août 2013, par Hitesh GuptaI was working on live encoding from FFmpeg from last few days. One day I re-installed my OS and tried to run FFmpeg commands again after configuration. My publish points get in starting but could not started. Why ? Am I missing any configuration required ?
The command I am trying to run is :
ffmpeg -y -re -i D:\video2.mp4 -pix_fmt yuv420p -movflags isml+frag_keyframe -f ismv -threads 0 -c:v libx264 -preset fast -profile:v baseline -map 0:v -b:v:0 800k http://localhost/PPS/PublishPoint.isml/Streams(Encode
r1)Output what I got in command prompt is :
ffmpeg version N-54772-g53c853e Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 16 2013 22:25:42 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 40.100 / 52. 40.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 12.102 / 55. 12.102
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 81.101 / 3. 81.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\video2.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.10.100
Duration: 00:00:12.12, start: 0.072562, bitrate: 945 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 704x396 [
SAR 1:1 DAR 16:9], 882 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 22050 Hz, stereo, fltp, 64
kb/s
Metadata:
handler_name : SoundHandler
[libx264 @ 00000000047e0860] using SAR=1/1
[libx264 @ 00000000047e0860] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 00000000047e0860] profile Constrained Baseline, level 3.0
[libx264 @ 00000000047e0860] 264 - core 135 r2345 f0c1c53 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=0 r
ef=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed
_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pski
p=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 deci
mate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyi
nt=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=abr mbtree=1
bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1
:1.00
Output #0, ismv, to 'http://localhost/My_SSMN_PPS/saturday.isml/Streams(Encoder1
)':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.12.102
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 7
04x396 [SAR 1:1 DAR 16:9], q=-1--1, 800 kb/s, 10000k tbn, 29.97 tbc
Metadata:
handler_name : VideoHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Press [q] to stop, [?] for help
frame= 13 fps=0.0 q=0.0 size= 2kB time=00:00:00.00 bitrate=N/A dup=2 dro
frame= 29 fps= 29 q=0.0 size= 2kB time=00:00:00.00 bitrate=N/A dup=2 dro
av_interleaved_write_frame(): Unknown errorAdvanced Thanks.