
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (111)
-
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 (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (6022)
-
ffmpeg drops all frames after 6 seconds
25 juin 2014, par user2099107New to FFMPEG, I’m trying to create a video from a set of png.
I have 96 png and I’m looking to 4 FPS (24 seconds of video)
I use the following command :
/Applications/ffmpeg -y -r 4 -pattern_type glob -i './images/*.png' -c:v libx264 -pix_fmt yuv420p out.mp4
my out.mp4 always commes out as roughly 6 seconds with 24 frames, the last 70 frames being dropped.
here is the full output :
ffmpeg version 2.2.3-tessus Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 4 2014 21:31:51 with clang version 3.3 (tags/RELEASE_33/final)
configuration: --cc=/opt/local/bin/clang-mp-3.3 --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
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
libpostproc 52. 3.100 / 52. 3.100
Input #0, image2, from './images/*.png':
Duration: 00:00:03.84, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgba, 1280x1024, 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x103000600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x103000600] profile High, level 3.2
[libx264 @ 0x103000600] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=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 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 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=4 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 '/Users/adrien/code/encoding/out.mp4':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x1024, q=-1--1, 16384 tbn, 4 tbc
Stream mapping:
Stream #0:0 -> #0:0 (png -> libx264)
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
Input stream #0:0 frame changed from size:1280x1024 fmt:rgb24 to size:1280x1024 fmt:rgba
Input stream #0:0 frame changed from size:1280x1024 fmt:rgba to size:1280x1024 fmt:rgb24
frame= 26 fps= 21 q=-1.0 Lsize= 165kB time=00:00:06.00 bitrate= 224.9kbits/s dup=0 drop=70
video:164kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.661924%
[libx264 @ 0x103000600] frame I:1 Avg QP: 9.66 size:100467
[libx264 @ 0x103000600] frame P:8 Avg QP:14.08 size: 7610
[libx264 @ 0x103000600] frame B:17 Avg QP:18.26 size: 322
[libx264 @ 0x103000600] consecutive B-frames: 11.5% 0.0% 11.5% 76.9%
[libx264 @ 0x103000600] mb I I16..4: 23.4% 49.5% 27.1%
[libx264 @ 0x103000600] mb P I16..4: 3.6% 3.7% 1.3% P16..4: 1.0% 0.1% 0.2% 0.0% 0.0% skip:90.1%
[libx264 @ 0x103000600] mb B I16..4: 0.1% 0.0% 0.1% B16..8: 1.3% 0.0% 0.0% direct: 0.0% skip:98.4% L0:46.1% L1:53.9% BI: 0.0%
[libx264 @ 0x103000600] 8x8 transform intra:45.8% inter:25.7%
[libx264 @ 0x103000600] coded y,uvDC,uvAC intra: 46.0% 62.8% 42.9% inter: 0.1% 0.2% 0.1%
[libx264 @ 0x103000600] i16 v,h,dc,p: 58% 25% 15% 2%
[libx264 @ 0x103000600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 44% 22% 24% 3% 1% 1% 3% 1% 1%
[libx264 @ 0x103000600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 20% 12% 3% 3% 4% 3% 3% 3%
[libx264 @ 0x103000600] i8c dc,h,v,p: 49% 20% 28% 3%
[libx264 @ 0x103000600] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x103000600] ref P L0: 86.0% 5.3% 7.2% 1.5%
[libx264 @ 0x103000600] ref B L0: 61.7% 35.8% 2.5%
[libx264 @ 0x103000600] ref B L1: 95.8% 4.2%
[libx264 @ 0x103000600] kb/s:205.33 -
Extract Video Meta Data from First Few MB on S3
22 août 2016, par David WilliamsI have a large collection of video files on S3. I also have application servers running in AWS running a Java webapp. From those application servers, I would like to be able to extract metadata from each video file such as is provided by the Quicktime movie inspector :
Source: /home/me/foo.mov
Format: H.264, 1920x1080
FPS: 29.97
Data Size: 16.8 MB
Data Rate: 6.70 Mbit/sNow, I can clearly get this information from ffmpeg :
$ ffmpeg -i /home/me/foo.mov
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/me/foo.mov':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1mp42
creation_time : 2014-06-30 22:40:08
Duration: 00:00:20.02, start: 0.000000, bitrate: 6698 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 6696 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2014-06-30 22:39:09
handler_name : GPAC ISO Video HandlerI could easily parse out the equivalent fields to the Quicktime output ! But, this would require I have the file locally. Is it possible to do this from the first few MB (or some other mechanism) of a file hosted on S3 without downloading the whole thing locally ? The goal here is to extract the same fields as the quicktime inspector from a file on S3. Any ideas ?
-
Bash : displaying selected output, do not print unnecessary output
2 juillet 2014, par GuillaumeI don’t know if it’s possible :
I’m using ffmpeg and I would like to reduce the output of a command. I have this result :ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
built on Jun 17 2014 11:08:12 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libvidstab --enable-libx265
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 67.100 / 55. 67.100
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, hls,applehttp, from 'http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2014/S26/J7/104904507-20140629-,398,632,934,k.mp4.csmil/index_2_av.m3u8?null=':
Duration: 00:51:05.07, start: 0.100667, bitrate: 0 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 704x396 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 67 kb/s
Stream #0:2: Data: timed_id3 (ID3 / 0x20334449)
File '/media/path/video.mkv' already exists. Overwrite ? [y/N] y
[matroska @ 0x2958840] Error parsing AAC extradata, unable to determine samplerate.
Output #0, matroska, to '/media/path/video.mkv':
Metadata:
encoder : Lavf55.43.100
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 704x396 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn, 90k tbc
Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 67 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls,applehttp @ 0x2864c20] Failed to open segment of playlist 0ate= 844.6kbits/s
frame= 3000 fps=174 q=-1.0 Lsize= 12325kB time=00:02:00.00 bitrate= 841.4kbits/sI just would like to have this 4 informations :
1) Duration: 00:51:05.07, start: 0.100667, bitrate: 0 kb/s
2) File '/media/path/video.mkv' already exists. Overwrite ? [y/N] y
3) Output #0, matroska, to '/media/path/video.mkv':
4) frame= 3000 fps=174 q=-1.0 Lsize= 12325kB time=00:02:00.00 bitrate= 841.4kbits/sI’ve tried the
-v option
, but the output is either-v info
(this long output), or-v warning
, or-v error
. There’s not what I would like to have.
I’ve seen this question but the output is totally clear. Can I put an exception for specially string ?
Thanks allEdit : my line in my script is like that :
ffmpeg -i "${M3U2}" -vcodec copy -acodec copy "${Directory}/${PROG}_${ID}.mkv"