
Recherche avancée
Autres articles (26)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (5419)
-
FFMPEG : preset not found in Windows Vista
12 juin 2012, par StackOverflowNewbieI download FFMPEG from http://www.videohelp.com/tools/ffmpeg#download and saved it in my c :\program files\ffmpeg (Windows Vista). My
Path
's first 2 entries are :c:\program files\ffmpeg\bin;c:\program files\ffmpeg\presets;
I found the following command on the net (http://paulrouget.com/e/converttohtml5video/)
ffmpeg -i input.avi -acodec libvorbis -ab 96k -vcodec libx264 -vpre main -level 21 -refs 2 -b 345k -bt 345k -threads 0 -s 320x240 output.mp4
When I run this on command line, I get the following error :
File for preset main not found
Any ideas what might be wrong ?
-
Why does ffmpeg report different durations ?
18 mai 2012, par kenitechSource videos : http://www.artworknotavailable.com/tmp/ffmpegtest
Quicktime Pro 7.7.1 Inspector (Win 7) reports the following for the file 2398.mov
4.19MB
H.264
Movie FPS : 23.98
Data Rate : 2.35 mbits/Sec
Duration 14:97ffmpeg reports the following (see full ffmpeg version info at bottom of post)
ffmpeg -i 2398.mov
Seems stream 1 codec frame rate differs from container frame rate : 47952.00 (47952/1) -> >23.98 (2997/125)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2398.mov' :
Metadata :
major_brand : qtminor_version : 537199360
compatible_brands : qt
Duration : 00:00:15.97, start : 0.-963005, bitrate : 2210 kb/s
Stream #0.0(eng) : Audio : aac, 48000 Hz, stereo, s16, 152 kb/s
Stream #0.1(eng) : Video : h264, yuv420p, 848x480, 2060 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47952 tbcOne second longer than what Quicktime reports.
As an experiment I exported this file from Quicktime Pro using the following settings :
Frame Rate : Current
Key Frames : Every 24 frames
Frame Reordering On
Quality : High
Encoding Best
Data Rate : Automatic
Optimized for Download
Output file : qtime-export-2398.movQuicktime Inspector reports :
5.62 MB
H.264
Movie FPS : 23.98
Data Rate : 3.15 mbits/Sec
Duration 14:97ffmpeg now reports :
ffmpeg -i qtime-export-2398.mov
Seems stream 1 codec frame rate differs from container frame rate : 1200.00 (1200/1) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'qtime-export-2398.mov' :
Metadata :
major_brand : qt
minor_version : 537199360
compatible_brands : qt
Duration : 00:00:14.96, start : 0.000000, bitrate : 3153 kb/s
Stream #0.0(eng) : Audio : pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Stream #0.1(eng) : Video : h264, yuv420p, 678x384, 1738 kb/s, 23.98 fps, 23.98 tbr, 600 tbn, 1200 tbcffmpeg's report on duration went from 15.97 to 14.96 (I can live with .1)
Is this duration calculated from the bitrate ?
I need to accurately report the duration of uploaded videos as well as convert them to FLV. Can somebody tell me what is going on here and how I might get around this ?
ffmpeg info below. I've tried this on 2 completely different installs/versions of ffmpeg. Same result.
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 23:55:02 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
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-libdirac —enable-libfaac —enable-libfaad —enable-libfaadbin —enable-libgsm —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —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
FFmpeg 0.6.5
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 -
How to build FFmpeg 2.0 for android on linux ?
4 août 2013, par Md. Arafat Al MahmudI have downloaded and extracted android-ndk-r9 on my Ubuntu11.04. I want to build FFmpeg latest version which I have downloaded from here
using git. I followed the procedure described here. I have replaced this script suggested there with this. But I got the following error :How to resolve this issue or can you suggest me a better approach ?