Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (49)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (10406)

  • ffmpeg : fix streamcopy with side data

    13 août 2014, par Christophe Gisquet
    ffmpeg : fix streamcopy with side data
    

    The issue is that, when the main packet data buffer is changed, streamcopy
    uses a temporary new packet to store that buffer, frees the old packet, and
    replace it with the new packet.

    However, in doing so, it forgets about the side data, which gets freed, but
    is still needed and referenced. Then, when the packet gets freed again in
    the normal code path, it attempts to free its side data which has already
    been freed.

    Therefore, simply avoid the first free on side data by removing that side
    data from the packet.

    Fixes ticket #3773.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] ffmpeg.c
  • ffmpeg rotate video according to sensor data

    6 septembre 2015, par oleg.semen

    I’m trying to scale videos down captured by the Android cellphones in order to reduce amount of data to be uploaded to the server. What I’m doing right now is :

    String.format("-i %s -vf \"scale='if(gt(a,1),-1,%d)':'if(gt(1,a),%d,-1)'\" -strict -2 %s", in, h, w, out);

    It scales down well. But users often hold their phoned in different orientation. When original video is played on a device it is rotated according to rotation saved in metadata. But after encoding video does not contain this information.

    How can I perform scaling that rotates video according to this data or at least to store this data in output file ?
    Thanks.

  • using ffmpeg to convert raw audio data to wav file

    10 juillet 2017, par ingeniouslyfowl

    I have a text file that contains some raw data that I generated from a wav file. I read in a signal from the wav file, and then used

    fid = open("test.raw", 'write')
    fid.write(data.tostring())

    to write the raw data to a file. Currently, I’m doing this because I want to be able to append to this file as needed without having to change header information. I’m not concatenating multiple audio files, just processing parts of a signal and I don’t want to have a potentially enormous signal in memory. When I try to use ffmpeg to convert this data using

    ffmpeg -i test.raw output.wav

    I end up getting the error : test.raw: Invalid data found when processing input. I’ve also been going through the ffmpeg docs but nothing I’ve tried seems to be working.