Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (25)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (3528)

  • How to queue ffmpeg FIFO

    29 avril 2013, par Francois

    we build a service similar to youtube. Also converting runs fine with ffmpeg using this script from another post here :

    How do I set up an ffmpeg queue ?

    #!/bin/bash

    pipe=/tmp/ffmpeg

    trap "rm -f $pipe" EXIT

    # creating the FIFO    
    [[ -p $pipe ]] || mkfifo $pipe

    while true; do
    # can't just use "while read line" if we
    # want this script to continue running.
    read line < $pipe

    # now implementing a bit of security,
    # feel free to improve it.
    # we ensure that the command is a ffmpeg one.
    [[ $line =~ ^ffmpeg ]] && bash <<< "$line"
    done

    This works pretty good when i send one by one to the named pipe. When i send more than one at same time the second one queues the terminal to the point the first one finished. if a try more than 2 the third one will not be transcoded.

    So i tried to workaround with background sending to get the terminal free (just drop the echo command and close the ssh connection) but this doesn't work, then i played around with screen -X but also no luck. Maybe someone has a good idea to deal this.

    What i wanna do is : Every uploaded video which is needed to transcode will send a echo to the named pipe. FIFO should match but not blocking the terminal. So i think i need something to really queue ffmpeg input.

    kindest regards
    Francois

  • FFMpeg : CFLAGS=-D__STDC_CONSTANT_MACROS ./configure where ?

    24 avril 2013, par olidev

    I got this problem " 'UINT64_C' was not declared in this scope" while using the ffmpeg library for Eclipse running under Ubuntu.

    After a while, I have found this solution : http://code.google.com/p/ffmpegsource/issues/detail?id=11

    But I could not know how to this :

    This should be fixed in our build system no matter what version of ffmpeg you're using. If you're still getting it, run configure like so :
    CFLAGS=-D__STDC_CONSTANT_MACROS ./configure
    and your problems should go away. This applies to other C++ programs using ffmpeg as well and not just to ffms2, but I can't guarantee that other programs won't break if you define that macro (they really shouldn't, though).

    Where can I run the configure ? from Terminal ? I tried with Terminal but it does not work.

    Anybody has an idea how to run the configure ?

    Thanks in advance and your help is much appreciate !

  • FFMPEG libfdk_aac codec with VBR option not supported

    25 septembre 2018, par Piri

    I’m trying to makes an app that uses terminal ffmpeg with libfdk_aac codec.
    The problem is when I use -VBR mode, the result Bit rate mode is always Constant(CBR).

    I’ve searched about this problem and I’ve found the following article :

    https://lists.ffmpeg.org/pipermail/ffmpeg-user/2013-February/013652.html
    this article is from 2013 and seems is still valid !

    Also i am not the only one with this problem
    https://superuser.com/questions/1326239/encoding-aac-from-wav?rq=1

    My terminal string is :

    ffmpeg -i input* -c:a libfdk_aac -vbr 4 output**

    1. *- input formats can be : FLAC, WEBM, MP4
    2. **- output formats can be : M4A, AAC

    Question is : Can this be solved with the current version of ffmpeg :
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7 (Ubuntu 7.3.0-16ubuntu3) ??
    if not, is using directly fdkaac from terminal the only option ?

    Any Help is much appreciated.