Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (65)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (6495)

  • ffmpeg : Dynamically set output duration based on sliding text width

    18 janvier 2016, par John Whiteman

    I need to create a smooth ’news ticker’ on a low powered android device. Unfortunately this is impossible at runtime using HTML or native code as there is always some stutter or glitch.

    I’ve created a solution that gives me a smooth result by encoding an mp4 for each message and displaying one video after the other. This is the code I’m using :

    ffmpeg -f lavfi -i color=c=black:s=1280x100 -vf "drawtext=BebasNeue.otf:fontsize=60:fontcolor=white:y=h-line_h-30:x=-(4*n)+1280:text='Hello world'" -t 10 output.mp4

    Problem :
    I need to set the video’s duration dynamically so that the video stops when the text has completed it’s journey from right to left. The messages will be of varying lengths and I need each message to scroll at a constant speed (ie. an mp4 with a longer message would have a longer duration).

    Is this possible via an expression ? If not is there some clever way I can calculate this outside of ffmpeg and pass it to the ’-t’ (duration) parameter ?

    ** Edit **
    To calculate outside of ffmpeg I can do a calculation like video_width + text_width / video_fps (ie. 1280 + 262 / 25) to give me the duration. So now I’m just looking to see if this is possible within the ffmpeg command line itself. t

    Many thanks

  • ffmpeg file conversion unreadable [on hold]

    16 août 2015, par rashadb

    I used ffmpeg to shorten a Videohive file from 14 seconds to 5 seconds with the following entry on the command line :

    ffmpeg -i 15_Shopping_VKV.mov -t 5 shoes.mp4

    The file doesn’t work when I try to play it with Quicktime. Along with other Google searches, I looked at the following links in Stackoverflow for suggestions :

    https://stackoverflow.com/questions/25831944/unreadable-files
    https://stackoverflow.com/questions/4818681/ffmpeg-conversion-error
    https://stackoverflow.com/questions/22307229/ffmpeg-mp4-file-is-not-valid

    At this point I’m out of ideas to figure out what’s wrong, let alone how to fix the problem.

    Here are some additional details :

    I managed to edit a few other Videohive files but each file comes in slightly different format and although I’ve converted a number of other files with a similar entry or one that adjusts the codec to something web ready, I’ve been unable to successfully convert this file. Like all of the other original videohive files it is readily read by QuickTime. Only after the conversion does this file not work. All other files I’ve converted worked with the following conversions for example :

    ffmpeg -i mainfile.mp4 -t 5:00 rave.mp4

    OR

    ffmpeg -i 00299.mov -c:v libx264 dating.mp4

    Here are a few additional details that may help :

    1) a link to the broken file

    https://s3.amazonaws.com/files.parsetfss.com/90b6030c-d712-42ec-b2ee-deb43a4dd277/tfss-79b45914-9ada-4c1c-8fbc-8d652f8c00c7-shoes.mp4

    2) The printout of ffmpeg process

    News-MacBook-Air:CP08.14.15 newuser$ ffmpeg -i 15_Shopping_VKV.mov  -t 5  shoes.mov
    ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
     built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.7.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 ' --enable-nonfree --enable-vda
     libavutil      54. 27.100 / 54. 27.100
     libavcodec     56. 41.100 / 56. 41.100
     libavformat    56. 36.100 / 56. 36.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 16.101 /  5. 16.101
     libavresample   2.  1.  0 /  2.  1.  0
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  2.100 /  1.  2.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '15_Shopping_VKV.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2015-03-07 22:03:36
     Duration: 00:00:14.71, start: 0.000000, bitrate: 78240 kb/s
       Stream #0:0(eng): Video: mjpeg (jpeg / 0x6765706A), yuvj422p(pc, bt470bg/bt709/bt709), 1920x1080 [SAR 72:72 DAR 16:9], 78231 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
       Metadata:
         creation_time   : 2015-03-07 22:03:36
         handler_name    : Apple Alias Data Handler
         encoder         : Photo - JPEG
         timecode        : 00:02:36;02
       Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2015-03-07 22:15:55
         handler_name    : Apple Alias Data Handler
         timecode        : 00:02:36;02
    File 'shoes.mov' already exists. Overwrite ? [y/N] y
    No pixel format specified, yuvj422p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x7fbc9400a000] using SAR=1/1
    [libx264 @ 0x7fbc9400a000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x7fbc9400a000] profile High 4:2:2, level 4.0, 4:2:2 8-bit
    [libx264 @ 0x7fbc9400a000] 264 - core 144 r2533 c8a773e - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=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, mov, to 'shoes.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf56.36.100
       Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
       Metadata:
         creation_time   : 2015-03-07 22:03:36
         handler_name    : Apple Alias Data Handler
         timecode        : 00:02:36;02
         encoder         : Lavc56.41.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=  150 fps=6.9 q=-1.0 Lsize=    3953kB time=00:00:04.93 bitrate=6557.7kbits/s    
    video:3950kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.080847%
    [libx264 @ 0x7fbc9400a000] frame I:1     Avg QP:25.46  size: 71679
    [libx264 @ 0x7fbc9400a000] frame P:72    Avg QP:25.36  size: 40886
    [libx264 @ 0x7fbc9400a000] frame B:77    Avg QP:27.53  size: 13357
    [libx264 @ 0x7fbc9400a000] consecutive B-frames:  0.7% 89.3% 10.0%  0.0%
    [libx264 @ 0x7fbc9400a000] mb I  I16..4: 16.5% 80.0%  3.5%
    [libx264 @ 0x7fbc9400a000] mb P  I16..4:  5.3% 14.6%  0.6%  P16..4: 41.1% 10.6%  3.0%  0.0%  0.0%    skip:24.9%
    [libx264 @ 0x7fbc9400a000] mb B  I16..4:  0.4%  1.2%  0.0%  B16..8: 32.7%  4.0%  0.7%  direct: 2.8%  skip:58.2%  L0:36.3% L1:53.2% BI:10.5%
    [libx264 @ 0x7fbc9400a000] 8x8 transform intra:71.7% inter:86.5%
    [libx264 @ 0x7fbc9400a000] coded y,uvDC,uvAC intra: 52.7% 78.6% 18.2% inter: 14.1% 26.4% 0.4%
    [libx264 @ 0x7fbc9400a000] i16 v,h,dc,p: 26% 18%  5% 51%
    [libx264 @ 0x7fbc9400a000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 13% 20%  4%  8% 12%  6%  8%  5%
    [libx264 @ 0x7fbc9400a000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 15% 12%  4% 14% 14%  7%  5%  2%
    [libx264 @ 0x7fbc9400a000] i8c dc,h,v,p: 45% 12% 27% 16%
    [libx264 @ 0x7fbc9400a000] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x7fbc9400a000] ref P L0: 65.2% 18.5% 11.3%  5.0%
    [libx264 @ 0x7fbc9400a000] ref B L0: 90.7%  9.1%  0.2%
    [libx264 @ 0x7fbc9400a000] ref B L1: 99.1%  0.9%
    [libx264 @ 0x7fbc9400a000] kb/s:6463.90
  • Installing full multimedia stack on server (ffmpeg,mp4box,sox,mplayer)

    29 avril 2015, par hdezela

    I’ve had a trusty text file with all(?) the steps I need to set up a full multimedia stack on a RHEL compatible server (CentOS, AWS Linux, etc.) for a few years now. However, sometimes some things are missing and I need to revise it. I know it is not complete so I’m asking for suggestions/modifications in order to get a good - and public - list of how to install all this stuff easily.

    Ideally, I want to be able to run through the file and end up with a system that’ll take any media file and be able to convert/encode/decode/whatever with it.

    This is what I have :

    yum install mesa-libGL-devel mesa-libGLU-devel libXi-devel libXmu-devel freeglut-devel freeglut ncurses-devel
    cd /usr/local/src
    mkdir /usr/local/src/tmp
    chmod 777 /usr/local/src/tmp
    export TMPDIR=/usr/local/src/tmp

    wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
    wget http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz
    wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.4.tar.gz
    wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
    wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2
    wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz
    wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
    wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
    wget http://webm.googlecode.com/files/libvpx-v1.3.0.zip
    wget http://downloads.sourceforge.net/project/yamdi/yamdi/1.9/yamdi-1.9.tar.gz
    wget http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.3.tgz
    git clone https://github.com/FFmpeg/FFmpeg.git
    wget http://downloads.sourceforge.net/gpac/gpac-0.5.0.tar.gz
    wget http://downloads.sourceforge.net/gpac/gpac_extra_libs-0.5.0.tar.gz
    wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
    wget http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.xz
    wget https://bitbucket.org/acoustid/chromaprint/downloads/chromaprint-fpcalc-1.1-linux-x86_64.tar.gz
    wget http://sourceforge.net/projects/mad/files/madplay/0.15.2b/madplay-0.15.2b.tar.gz
    wget http://sourceforge.net/projects/mad/files/libmad/0.15.1b/libmad-0.15.1b.tar.gz
    wget http://sourceforge.net/projects/mad/files/libid3tag/0.15.1b/libid3tag-0.15.1b.tar.gz
    wget http://sourceforge.net/projects/sox/files/sox/14.4.1/sox-14.4.1.tar.gz
    wget http://downloads.xiph.org/releases/ao/libao-1.2.0.tar.gz
    wget http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz
    wget http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz
    wget http://www.wavpack.com/wavpack-4.70.0.tar.bz2
    wget http://www.linuxfromscratch.org/patches/blfs/svn/libmad-0.15.1b-fixes-1.patch

    tar zxf yasm-1.3.0.tar.gz
    tar zxf libogg-1.3.2.tar.gz
    tar zxf libvorbis-1.3.4.tar.gz
    tar zxf libtheora-1.1.1.tar.gz
    tar jxf last_stable_x264.tar.bz2
    tar zxf opencore-amr-0.1.3.tar.gz
    tar zxf faac-1.28.tar.gz
    tar zxf lame-3.99.5.tar.gz
    unzip libvpx-v1.3.0.zip
    tar xzf yamdi-1.9.tar.gz
    tar xzf rtmpdump-2.3.tgz
    tar zxvf gpac-0.5.0.tar.gz
    tar zxvf gpac_extra_libs-0.5.0.tar.gz
    tar jxf all-20110131.tar.bz2
    tar jxf MPlayer-1.1.tar.xz
    tar xf chromaprint-fpcalc-1.1-linux-x86_64.tar.gz
    tar xf madplay-0.15.2b.tar.gz
    tar xf libmad-0.15.1b.tar.gz
    tar xf libid3tag-0.15.1b.tar.gz
    tar xf sox-14.4.1.tar.gz
    tar xf libao-1.2.0.tar.gz
    tar xf twolame-0.3.13.tar.gz
    tar xf libsndfile-1.0.25.tar.gz
    tar jxf wavpack-4.70.0.tar.bz2

    [YASM]
       cd /usr/local/src/yasm-1.3.0
       ./configure && make && make install
       yasm --version
       ldconfig
    [LIBOGG]
       cd /usr/local/src/libogg-1.3.2
       ./configure && make clean && make && make install
       ls /usr/local/lib/libogg*
       ldconfig
    [LIBVORBIS]
       cd /usr/local/src/libvorbis-1.3.4
       ./configure && make clean && make && make install
       ls /usr/local/lib/libvorbis*
       ldconfig
    [LIBTHEORA]
       cd /usr/local/src/libtheora-1.1.1
       ./configure && make clean && make && make install
       ls /usr/local/lib/libtheora*
       ldconfig
    [x264]
       cd /usr/local/src/x264-snapshot-[***]
       ./configure --enable-shared && make clean && make && make install
       ls /usr/local/lib/libx264*
       ldconfig
    [AMR]
       cd /usr/local/src/opencore-amr-0.1.3
       ./configure && make clean && make && make install
       ls /usr/local/lib/libopencore*
       ldconfig
    [FAAC]
       cd /usr/local/src/faac-1.28
       vi /usr/local/src/faac-1.28/common/mp4v2/mpeg4ip.h [ELIMINAR]:char *strcasestr(const char *haystack, const char *needle);
       ./configure && make && make install
       ls /usr/local/lib/libfaac*
       ldconfig
    [LAME]
       cd /usr/local/src/lame-3.99.5
       ./configure && make clean && make && make install
       ls /usr/local/lib/libmp3lame*
       ldconfig
    [GPAC+MP4BOX]
       cd  /sr/local/src/gpac
       cp -r ../gpac_extra_libs/* extra_lib/
       chmod +x configure
       ./configure
       make lib
       make apps
       make install-lib
       make install
       cp bin/gcc/libgpac.so /usr/lib
       ldconfig
    [LIBVPX]
       cd /usr/local/src/libvpx-v1.3.0
       ./configure --enable-vp8  --enable-pic --enable-shared && make && make install
       ls /usr/local/lib/libvpx*
       ldconfig
    [LIBRTMP]
       cd /usr/local/src/rtmpdump-2.3
       make SYS=posix
       make install
       ls /usr/local/lib/librtm*
       ldconfig
    [FFMPEG]
       cd /usr/local/src/FFmpeg
       export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/lib/pkgconfig"
       ./configure  --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb  --enable-libtheora --enable-librtmp
       make clean && make && make install
       make tools/qt-faststart
       cp tools/qt-faststart /usr/local/bin/
       ldconfig
       ffmpeg
       qt-faststart
    [MPLAYER]
       mv /usr/local/src/all-20110131 /usr/local/lib/codecs/
       chmod -R 755 /usr/local/lib/codecs/
       cd MPlayer-1-1
       make clean
       ./configure && make && make install
       ldconfig
    [YAMDI]
       cd /usr/local/src/yamdi-1.9
       gcc yamdi.c -o yamdi -O2 -Wall
       strip yamdi
       cp yamdi /usr/bin/yamdi
       yamdi -h
    [MEDIAINFO]
       rpm -ivh http://downloads.sourceforge.net/zenlib/libzen0-0.4.31-1.x86_64.CentOS_6.rpm
       rpm -ivh http://sourceforge.net/projects/mediainfo/files/binary/libmediainfo0/0.7.73/libmediainfo0-0.7.73-1.x86_64.CentOS_6.rpm
       rpm -ivh http://sourceforge.net/projects/mediainfo/files/binary/mediainfo/0.7.73/mediainfo-0.7.73-1.x86_64.CentOS_6.rpm
    [CHROMAPRINT]
       cp /usr/local/src/chromaprint-fpcalc-1.1-linux-x86_64/fpcalc /usr/local/bin/fpcalc
    [LIBAO]
       cd /usr/local/src/libao-1.2.0
       ./configure
       make
       make install
       ldconfig
    [LIBSND]
       cd /usr/local/src/libsndfile-1.0.25
       ./configure
       make
       make install
       ldconfig
    [TWOLAME]
       cd /usr/local/src/twolame-0.3.13
       ./configure
       make
       make install
       ldconfig
    [WAVPACK]
       cd /usr/local/src/wavpack-4.70.0
       ./configure
       make
       make install
       ldconfig
    [LIBMAD]
       cd /usr/local/src/libmad-0.15.1b
       patch -Np1 -i ../libmad-0.15.1b-fixes-1.patch
       sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac
       touch NEWS AUTHORS ChangeLog
       autoreconf -fi
       ./configure --enable-shared
       make
       make install
       ldconfig
    [ID3]
       cd /usr/local/src/libid3tag-0.15.1b
       ./configure --enable-shared
       make
       make install
       ldconfig
    [MADPLAY]
       cd /usr/local/src/madplay-0.15.2b
       ./configure --enable-shared
       make
       make install
       ldconfig
    [SOX]
       cd /usr/local/src/sox-14.4.1
       ./configure
       make -s
       make install
       ldconfig