Recherche avancée

Médias (91)

Autres articles (86)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (14317)

  • How to join two ffmpeg commands

    26 novembre 2012, par Ambrose Bwangatto

    i have a script which uses this ffmpeg command's parameters for encoding videos.

    ffmpeg -i inputfile -acodec libfaac -keyint_min 20 -r 20 -vcodec libx264 -vpre hq -crf 25 -b 300k -bt 300k -y -v 0 -bf 16 -threads 0 outputfile

    and i have a custom command i would like to add to it, is like this

    ffmpeg -i inputfile -vf "movie=watermark.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" outputfile

    so i replaced main command like this

    ffmpeg -i inputfile -acodec libfaac -keyint_min 20 -r 20 -vcodec libx264 -vpre hq -crf 25 -b 300k -bt 300k -y -v 0 -bf 16 -threads 0 -vf "movie=watermark1.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" outputfile

    and tried it in command line, but this doesnt do anything, the output is nothing like this

    [root@www test1]#  ffmpeg -i test1800.mp4 -acodec libfaac -keyint_min 20 -r 20 -vcodec libx264 -vpre hq -crf 25 -b 300k -bt 300k -y -v 0 -bf 16 -threads 0 -vf "movie=watermark1.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:main_h-overlay_h-10 [out]" outputfile.mp4
    [root@www test1]#

    how do i solve this ?

    Thanks for your time.

    UPDATE
    My ffmpeg command details

    [root@www test1]# ffmpeg
    ffmpeg version N-47061-gbe2c0bc Copyright (c) 2000-2012 the FFmpeg developers
     built on Nov 25 2012 09:32:08 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
     configuration: --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264
     libavutil      52.  9.100 / 52.  9.100
     libavcodec     54. 77.100 / 54. 77.100
     libavformat    54. 37.100 / 54. 37.100
     libavdevice    54.  3.100 / 54.  3.100
     libavfilter     3. 23.102 /  3. 23.102
     libswscale      2.  1.102 /  2.  1.102
     libswresample   0. 17.101 /  0. 17.101
     libpostproc    52.  2.100 / 52.  2.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Use -h to get full help or, even better, run 'man ffmpeg'

    thanks

  • ffmpeg : Image2 => Error while opening encoder

    22 novembre 2012, par user1844282

    I get the following error ffmpeg.

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4

    I'm pretty sure I've used this exact command before and it's been fine. This is my terminal output. Any help would be appreciated.

    $ ffmpeg -f image2 -i %05d.jpg -vcodec libx264 foo.mp4
    ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
     built on Nov 22 2012 17:59:05 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil      51. 73.101 / 51. 73.101

     libavcodec     54. 59.100 / 54. 59.100

     libavformat    54. 29.104 / 54. 29.104

     libavdevice    54.  2.101 / 54.  2.101

     libavfilter     3. 17.100 /  3. 17.100

     libswscale      2.  1.101 /  2.  1.101

     libswresample   0. 15.100 /  0. 15.100

     libpostproc    52.  0.100 / 52.  0.100

    Input #0, image2, from '%05d.jpg':
     Duration: 00:00:04.44, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [libx264 @ 0x7fab0881aa00] width not divisible by 2 (1201x900)
    Output #0, mp4, to 'foo.mp4':
       Stream #0:0: Video: h264, yuvj420p, 1201x900 [SAR 1:1 DAR 1201:900], q=-1--1, 90k tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg -> libx264)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • How to compile c99-to-c89 convertor with clang ?

    27 septembre 2016, par theateist

    I’m trying to compile ffmpeg in windows for VisualStudio and one of the step is to compile c99-to-c89 code with clang according to this post. I managed to create clang.exe but how I compile c99-to-c89 code with it ?

    I changed a little bit the makefile in c99-to-c89 so CC variable points now to clang.exe compiler and not cl.exe

    EXT=.exe

    all: c99conv$(EXT) c99wrap$(EXT)

    CLANGDIR=C:/build
    CC=C:/build/bin/Release/clang.exe
    CFLAGS=-nologo -Z7 -D_CRT_SECURE_NO_WARNINGS=1 -Dpopen=_popen -Dunlink=_unlink -Dstrdup=_strdup -Dsnprintf=_snprintf -I. -I$(CLANGDIR)/tools/clang/include
    LDFLAGS=-nologo -Z7 $(CLANGDIR)/lib/Release/libclang.lib

    clean:
       rm -f c99conv$(EXT) c99wrap$(EXT) convert.o compilewrap.o
       rm -f unit.c.c unit2.c.c

    test1: c99conv$(EXT)
       $(CC) -P unit.c -Fiunit.prev.c
       ./c99conv unit.prev.c unit.post.c
       diff -u unit.{prev,post}.c

    test2: c99conv$(EXT)
       $(CC) -P unit2.c -Fiunit2.prev.c
       ./c99conv unit2.prev.c unit2.post.c
       diff -u unit2.{prev,post}.c

    test3: c99conv$(EXT)
       $(CC) $(CFLAGS) -P -Ficonvert.prev.c convert.c
       ./c99conv convert.prev.c convert.post.c
       diff -u convert.{prev,post}.c

    c99conv$(EXT): convert.o
       $(CC) -Fe$@ $< $(LDFLAGS) $(LIBS)

    c99wrap$(EXT): compilewrap.o
       $(CC) -Fe$@ $< $(LDFLAGS)

    %.o: %.c
       $(CC) $(CFLAGS) -Fo$@ -c $<

    but when I run make command I get clang: error: unsupported use of internal gcc -Z option '-Z7'. I guess the problem in CFLAGS and LDFLAGS but I don’t know how to fix it because the lack of knowledge in makefile and clang.