Recherche avancée

Médias (0)

Mot : - Tags -/médias

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

Autres articles (66)

  • 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" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8116)

  • cbs_mpeg2 : Rearrange start code search

    29 juillet 2019, par Andreas Rheinhardt
    cbs_mpeg2 : Rearrange start code search
    

    1. Currently, cbs_mpeg2_split_fragment uses essentially three variables
    to hold the start code values found by avpriv_find_start_code. By
    rearranging the code, one of them can be omitted.
    2. The return value of avpriv_find_start_code points to the byte after
    the byte containing the start code identifier (or to the byte after the
    last byte of the fragment's data if no start code was found), but
    cbs_mpeg2_split_fragment needs to work with the pointer to the byte
    containing the start code identifier ; it already did this, but in a
    clumsy way. This has been changed.
    3. Also use the correct type for the variable holding the
    CodedBitstreamUnitType.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/cbs_mpeg2.c
  • PHP ffmpeg fetch metadata missing title, author, comment, artist

    19 avril 2012, par chrismacp

    I've been trying to fetch remote mp3 (and other format) meta data using the php5-ffmpeg extension.

    It is working although I am always missing the title, author, comment, artist details.

    I've been scouring the web for an answer but not found any solution.

    I did find this patch http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/php-ffmpeg/tests-metadata-api.patch which I thought may solve the problem, but I've been unable to compile php-ffmpeg even without the patch so haven't been able to work out if it will fix the problem.

    It seems this extension was abandoned a couple of years ago so I'm not holding out much hope of getting this working.

    Does anyone have any ideas of how to get remote meta data from audio video files using other tools ?

    I am thinking of just parsing the output of ffmpeg itelf using the '-i' option as this does return the correct meta data. Just a bit wary of calling exec in PHP for security reasons.

  • FFMPEG Understanding AVFrame::linesize (Audio)

    11 avril 2021, par user3584691

    As per the doucmentation of AVFrame, for audio, lineSize is size in bytes of each plane and only linesize[0] may be set. But however, am unsure whether lineszie[0] is holding per plane buffer size or is it the complete buffer size and we have to divide it by no of channels to get per plane buffer size.

    &#xA;&#xA;

    For Example, when I call&#xA; int data_size = av_samples_get_buffer_size(NULL, iDesiredNoOfChannels, iAudioSamples, (AVSampleFormat)iDesiredFormat, 0) ; For iDesiredNoOfChannels = 2, iAudioSamples = 1024 & iDesiredFormat = AV_SAMPLE_FMT_FLTP data_size=8192. Pretty straightforward, as each sample is 4 bytes and since there are 2 channels total memory will be (1024 * 4 * 2) bytes. As such lineSize[0] should be 4096 for planar audio. data[0] & data[1] should be each of size 4096. However, pFrame->lineSize[0] is giving 8192. So to get the size per plane, I have to do pFrame->lineSize[0] / pFrame->channels. Isn't this behaviour different from what the documentation suggests or is my understanding of the documentaion wrong.

    &#xA;