Recherche avancée

Médias (91)

Autres articles (105)

  • 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 (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (4790)

  • ERROR : libvpx decoder version must be >=0.9.1 [install ffmpeg in CentOS 6.3]

    4 septembre 2017, par Hu Le

    I want to install ffmpeg in CentOS 6.3
    It needs to install libvpx.

    I install libvpx before. Its version is 0.9.7.

    When I install ffmpeg, it indicates :

    [root@hostname ffmpeg]# PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure —prefix="$HOME/ffmpeg_build" —extra-cflags="-I$HOME/ffmpeg_build/include" —extra-ldflags="-L$HOME/ffmpeg_build/lib -ldl" —bindir="$HOME/bin" —pkg-config-flags="—static" —enable-gpl —enable-nonfree —enable-libfdk_aac —enable-libfreetype —enable-libmp3lame —enable-libopus —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libx265

    ERROR: libvpx decoder version must be >=0.9.1

    If you think to configure made a mistake, make sure you are using the latest
    version from Git. If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "ffbuild/config.log" produced by configuring as this will help
    solve the problem.

    Now my rpm and yum is :

    [root@hostname ]# yum list libvpx

    Loaded plugins : fastestmirror

    Loading mirror speeds from cached hostfile

    • nux-dextop : li.nux.ro

    • rpmforge : mirrors.neusoft.edu.cn

    Installed Packages

    libvpx.x86_64 1.3.0-5.el6_5 installed

    Available Packages

    libvpx.i686 0.9.7.1-3.el6.nux nux-dextop

    I want to remove libvpx.i686 in this way :

    [root@hostname ffmpeg]# yum remove libvpx.i686

    Loaded plugins : fastestmirror

    Setting up Remove Process

    No Match for argument : libvpx.i686

    Loading mirror speeds from cached hostfile

    • nux-dextop : li.nux.ro

    • rpmforge : mirrors.neusoft.edu.cn

    Package(s) libvpx.i686 available, but not installed.

    No Packages marked for removal

    How to remove libvpx.i686 completely ?

  • declaration of referenced constant is not found in built-in library and project files

    2 août 2016, par Auguste Larrivé

    Hello on the server I’m working on a directory named home.
    In an other directory there’s the library ffmpeg.

    Now I’m trying to use ffmpeg in my "home" directory with php.

    This is my code line :

    <?php ffmpeg -f image2 -i image%d.jpg  video.mpg ?>

    I know "<" is missing. It is on my PHPstorm codeline.

    Unfortunately I can read an error which said declaration of referenced constant is not found in built-in library and project files about ffmpeg.
    Does anyone now anything about this ?

  • How to display progress on user side in FFMPEG transcoding in rails ?

    21 décembre 2015, par Jiggs

    I am using Streamio-ffmpeg to process files. The gem shows the progress of the transcoding in the console. I want to display this progress to the user. Is there anyway of doing this ?

    This is my lib : (Where the transcoding is done)

    file = ::FFMPEG::Movie.new(tmpfile)

    encoded_file = File.join(directory, new_name)

    file.transcode(encoded_file) { |progress| progressing = (progress * 100).round(2); puts "#{progressing} %"; }

    The |progress| progressing = (progress * 100).round(2) ; puts "#progressing %" ; is responsible for printing the progress to the console. Can I display this in my views instead ?

    Output on console is :-

    I, [2015-12-21T12:48:55.322814 #19642]  INFO -- : Running transcoding...
    ffmpeg -y -i /home/tps/sites/demo_projects/blog/public/uploads/tmp/1450682335-19642-6992/tmpfile  /home/tps/sites/demo_projects/blog/public/uploads/tmp/1450682335-19642-6992/mp4_SampleVideo_1080x720_5mb.mp4

    0.0 %

    6.63 %

    9.57 %

    11.4 %

    13.46 %

    15.86 %

    18.3 %

    21.64 %

    25.03 %

    28.61 %

    32.09 %

    36.62 %

    43.29 %

    48.6 %

    53.23 %

    57.69 %

    61.68 %

    66.49 %

    70.1 %

    72.91 %

    75.75 %

    79.07 %

    83.73 %

    88.81 %

    93.07 %

    96.72 %

    99.05 %

    99.97 %

    100.0 %

    I, [2015-12-21T12:49:10.058592 #19642]  INFO -- : Transcoding of /home/tps/sites/demo_projects/blog/public/uploads/tmp/1450682335-19642-6992/tmpfile to /home/tps/sites/demo_projects/blog/public/uploads/tmp/1450682335-19642-6992/mp4_SampleVideo_1080x720_5mb.mp4 succeeded

    I tried out "using include ActionController::Live" but i don’t get any proper result. I don’t know to how to use "include ActionController::Live" in this situation.