Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (30)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (2986)

  • ffmpeg doesn't accept input in script

    21 octobre 2022, par Eberhardt

    this is a beginner's question but i can't figure out the answer after looking into it for several days :

    


    I want ffmpeg to extract the audio portion of a video and save it in an .ogg container. If i run the following command in terminal it works as expected :

    


    ffmpeg -i example.webm -vn -acodec copy example.ogg


    


    For convenience, i want to do this in a script. However, if i pass a variable to ffmpeg it apparently just considers the first word and produces the error "No such file or directory".

    


    I noticed that my terminal escapes spaces by a \ so i included this in my script. This doesn't solve the problem though.

    


    Can someone please explain to me, why ffmpeg doesn't consider the whole variable that is passed to it in a script while working correctly when getting passed the same content in the terminal ?

    


    This is my script that passes the filename with spaces escaped by \ to ffmpeg :

    


    #!/bin/bash

titelschr=$(echo $@ | sed "s/ /\\\ /g")
titelohne=$(echo $titelschr | cut -d. -f 1)
titelogg=$(echo -e ${titelohne}.ogg)  

ffmpeg -i $titelschr -vn -acodec copy $titelogg


    


    Thank you very much in advance !

    


  • FFMPEG : Multiple cuts/splices in the same video ? [duplicate]

    10 août 2018, par Brayden

    This question already has an answer here :

    Sorry in advance if this was a duplicate. I couldn’t find the solution on Google, since the question is weird to word.

    Anyway, can you use ffmpeg commands to splice videos ?

    For example...

    ffmpeg -i MOVIE.mp4 -ss 00:00:00.000 -to 00:06:14.000 -ss 00:07:00.000 -to 00:07:15.000

    You could have multiple -ss and -to commands to basically designate multiple cuts in the video, so that the final result would be from 0:0 to 6:14, and then after that, directly skip to 7:00 and end finally at 7:15. Does that make sense ?

    I know you can use real editors for this, but that’s a bit more time consuming than to just simply do it here with a command. However, if it doesn’t have this feature, it’s not a big deal, I was just wondering.

    Thanks !

  • Installation Error when installing MLT [on hold]

    3 décembre 2013, par user3060419

    my PC configuration is
    Gnome version 3.4.2
    memory 1.7Gib
    Processor AMD Athlon(tm) II X2 270 Processor × 2
    Graphics VESA : RS780
    Base system Debian GNU/Linux 7 (wheezy) 64-bit
    Disc 486.3Gib

    I tried to intall MLT(Media Lovin Toolkit). after installing all dependencies when i configure with this command----

    ./configure —prefix=/usr —enable-gpl —qimage-libdir=/usr/lib/ —qimage-includedir=/usr/include/qt4

    Then the output shows as----

    Configuring modules/linsys :

    Configuring modules/lumas :

    Configuring modules/motion_est :

    Configuring modules/normalize :

    Configuring modules/oldfilm :

    Configuring modules/opengl :

    Configuring modules/plus :

    Configuring modules/qimage :

    • Qt not found : disabling

    Configuring modules/resample :

    Configuring modules/rotoscoping :

    Configuring modules/rtaudio :

    Configuring modules/sdl :

    Configuring modules/sox :

    Configuring modules/swfdec :

    Configuring modules/videostab :

    Configuring modules/vmfx :

    Configuring modules/vorbis :

    Configuring modules/xine :

    Configuring modules/xml :

    Configuring mlt++ :

    Configuring swig :

    GPLv2 license used ; GPLv3 components disabled

    and when i try to make by make command, then the output is---->

    list='src/framework src/mlt++ src/melt src/modules src/swig profiles' ; \
    for subdir in $list ; do \
    make -s -C $subdir depend || exit 1 ; \
    make -C $subdir all || exit 1 ; \
    done
    make[1] : Entering directory `/root/mlt/src/framework'

    make[1] : Nothing to be done for `all'.

    make[1] : Leaving directory `/root/mlt/src/framework'

    make[1] : Entering directory `/root/mlt/src/mlt++'

    make[1] : Nothing to be done for `all'.

    make[1] : Leaving directory `/root/mlt/src/mlt++'

    make[1] : Entering directory `/root/mlt/src/melt'

    make[1] : Nothing to be done for `all'.

    make[1] : Leaving directory `/root/mlt/src/melt'

    make[1] : Entering directory `/root/mlt/src/modules'

    list='xml kino rotoscoping motion_est avformat effectv vmfx gtk2 opengl videostab rtaudio
    jackrack resample oldfilm decklink sox vorbis dv core linsys feeds kdenlive frei0r qimage
    swfdec plus xine lumas avsync normalize dgraft sdl' ; \
    for subdir in $list ; do

       if [ -f $subdir/Makefile -a ! -f disable-$subdir ] ; \

       then make -C $subdir all || exit 1; \

       fi \

    done

    make[2] : Entering directory `/root/mlt/src/modules/xml'

    make[2] : Nothing to be done for `all'.

    make[2] : Leaving directory `/root/mlt/src/modules/xml'

    make[2] : Entering directory `/root/mlt/src/modules/kino'

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv
    -Wno-deprecated pkg-config --cflags libquicktime -c -o kino_wrapper.o kino_wrapper.cc

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    -fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv

    -Wno-deprecated pkg-config --cflags libquicktime -c -o avi.o avi.cc

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv
    - Wno-deprecated pkg-config --cflags libquicktime -c -o filehandler.o filehandler.cc

    g++ -I../../ -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config --cflags libquicktime pkg-config --cflags libdv
    - Wno-deprecated pkg-config --cflags libquicktime -c -o riff.o riff.cc

    g++ -shared -o ../libmltkino.so factory.o producer_kino.o kino_wrapper.o avi.o error.o

    filehandler.o riff.o -L../../framework -lmlt -lpthread -Wl,—no-undefined -Wl,—as-needed
    - lstdc++ pkg-config --libs libquicktime pkg-config --libs libdv

    make[2] : Leaving directory `/root/mlt/src/modules/kino'

    make[2] : Entering directory `/root/mlt/src/modules/rotoscoping'

    make[2] : Nothing to be done for `all'.

    make[2] : Leaving directory `/root/mlt/src/modules/rotoscoping'

    make[2] : Entering directory `/root/mlt/src/modules/motion_est'

    make[2] : Nothing to be done for `all'.

    make[2] : Leaving directory `/root/mlt/src/modules/motion_est'

    make[2] : Entering directory `/root/mlt/src/modules/avformat'

    cc -shared -o ../libmltavformat.so factory.o filter_avcolour_space.o filter_avresample.o
    filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -L../..
    /framework -lmlt -lpthread -Wl,—no-undefined -Wl,—as-needed -lavformat -lavcodec
    - lavutil -lswscale -lavdevice

    make[2] : Leaving directory `/root/mlt/src/modules/avformat'

    make[2] : Entering directory `/root/mlt/src/modules/effectv'

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    -fPIC -pthread -c -o factory.o factory.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_burn.o filter_burn.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre

    -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

    -fPIC -pthread -c -o image.o image.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o utils.o utils.c

    cc -shared -o ../libmlteffectv.so factory.o filter_burn.o image.o utils.o -L../../framework
    -lmlt -lm -Wl,—no-undefined -Wl,—as-needed

    make[2] : Leaving directory `/root/mlt/src/modules/effectv'

    make[2] : Entering directory `/root/mlt/src/modules/vmfx'

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o factory.o factory.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_chroma.o filter_chroma.c

    filter_chroma.c : In function ‘filter_get_image’ :

    filter_chroma.c:52:10 : warning : variable ‘y’ set but not used [-Wunused-but-set-variable]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_chroma_hold.o filter_chroma_hold.c

    filter_chroma_hold.c : In function ‘filter_get_image’ :

    filter_chroma_hold.c:52:10 : warning : variable ‘y’ set but not used [-Wunused-but-set-
    variable]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_mono.o filter_mono.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o filter_shape.o filter_shape.c

    filter_shape.c : In function ‘filter_process’ :

    filter_shape.c:137:9 : warning : variable ‘extension’ set but not used [-Wunused-but-set-
    variable]
    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread -c -o producer_pgm.o producer_pgm.c

    cc -shared -o ../libmltvmfx.so factory.o filter_chroma.o filter_chroma_hold.o filter_mono.o
    filter_shape.o producer_pgm.o -L../../framework -lmlt -Wl,—no-undefined -Wl,—as-needed

    make[2] : Leaving directory `/root/mlt/src/modules/vmfx'

    make[2] : Entering directory `/root/mlt/src/modules/gtk2'

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0 pkg-config  --cflags pangoft2 -c -o factory.o factory.c
    factory.c : In function ‘initialise’ :
    factory.c:47:3 : warning : ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0
    pkg-config  --cflags pangoft2 -c -o consumer_gtk2.o consumer_gtk2.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0 pkg-config  --cflags pangoft2 -c -o producer_pixbuf.o producer_pixbuf.c
    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre -ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0 pkg-config  --cflags pangoft2 -c -o pixops.o pixops.c
    pixops.c : In function ‘pixops_process’ :
    pixops.c:410:20 : warning : variable ‘tcolor2’ set but not used [-Wunused-but-set-variable]

    pixops.c:410:11 : warning : variable ‘tcolor1’ set but not used [-Wunused-but-set-variable]

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE

    -fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0

    pkg-config  --cflags pangoft2 -c -o filter_rescale.o filter_rescale.c

    cc -I../.. -DARCH_X86_64 -Wall -DPIC -O2 -pipe -fno-tree-dominator-opts -fno-tree-pre
    - ffast-math -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
    - fPIC -pthread pkg-config  --cflags gtk+-2.0 pkg-config  --cflags gdk-pixbuf-2.0
    pkg-config  --cflags pangoft2 -c -o producer_pango.o producer_pango.c

    producer_pango.c:28:31 : fatal error : freetype/freetype.h : No such file or directory
    compilation terminated.

    make[2] : * [producer_pango.o] Error 1

    make[2] : Leaving directory `/root/mlt/src/modules/gtk2'

    make[1] : * [all] Error 1

    make[1] : Leaving directory `/root/mlt/src/modules'

    make : * [all] Error 1

    Anyone please help me to install MLT, I really need help seriously.