Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (54)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (9079)

  • How to create FFMPEG command that position a movie in a frame

    31 janvier 2019, par S.T

    I want to create FFMPEG command that takes 2 movies and position it inside a frame at a specified x and y next to each other and then create one movie from it.

    This is a command i did which create a movie that puts 2 movies next to each other with a space of 10 pixels between them.

    complexCommand = new String[]
    "-i", tempPath1, "-i", tempPath2, "-strict","experimental",
    "-filter_complex",
    "[0:v:0]pad=iw*2:ih+20:color=white[bg] ;"+
    "[bg][1:v:0]overlay=w+10:h+10",
    "-s", "320x240","-r", "30", "-b", "15496k", "-vcodec", "mpeg4",
    "-ab", "48000", "-ac", "2", "-ar", "22050",

    The problem is that i want more abilities like control the position of each movies (multiple movies), an explanation or an example how to use the padding and the position of the movies.

    Thanks a lot.

  • Creating a movie from multiple .png files

    21 octobre 2014, par QuantumFool

    I’ve got quite a few .png files, and I need to create a movie out of them. So, I’m going through this tutorial which uses ffmpeg :

    http://www.miscdebris.net/blog/2008/04/28/create-a-movie-file-from-single-image-files-png-jpegs/

    When I go to type the first line (sudo apt-get install ffmpeg), in Terminal and enter my password as appropriate, I get :

    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    Package ffmpeg is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'ffmpeg' has no installation candidate

    That’s funny ; I installed the latest version manually this morning ! Anyway, I proceed with the instructions assuming ffmpeg is installed properly (I’m looking at the file where it downloaded to, so that can’t be the issue) :

    cd Downloads
    cd python-meep
    cd Images
    ffmpeg -qscale 4 -r 20 -b 9600 -i Image%03d.png movie.mp4

    To my surprise, I get :

    ffmpeg: command not found

    I just installed it ! Furthermore, I dragged my manual installation folder into the very same directory with the pictures ! What’s going on ?

    Thanks !

  • FFmpeg API : parse raw movie packet data into AVPacket

    7 novembre 2011, par Andrea3000

    If you have a movie file and you need to extract frame (packet) from it, it's simply a matter of writing :

    avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options);

    ...

    AVPacket packet;
    av_read_frame(formatContext, &packet);

    But what if I don't have the movie file but only unparsed, raw packet data ? These raw packet data are the same as the raw data contained into the movie file but I don't access them throught avformat_open_input and therefore I can't use av_read_frame so FFmpeg doesn't parse them.

    How can I parse this raw data in order to build the corresponding AVPacket ?
    I need to obtain an AVPacket identical to the ones provided by av_read_frame.