Recherche avancée

Médias (91)

Autres articles (92)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

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

  • avcodec/vdpau.h : define FF_API_BUFS_VDPAU if its not defined

    6 août 2013, par Michael Niedermayer
    avcodec/vdpau.h : define FF_API_BUFS_VDPAU if its not defined
    

    Similar to 50fb8c1114b9c2b7d299cbc17a18a457d12069a8

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

    • [DH] libavcodec/vdpau.h
  • Ffmpeg video overlay

    26 juillet 2013, par Crunchie

    I am trying to create a video output from multiple video cameras.

    Following the example given here Presenting more than 2 videos using FFmpeg
    and other similar examples.

    but Im getting the error

    Output pad "default" for the filter "src" of type "buffer" not connected to any destination

    when i run

    ffmpeg -i /dev/video1 -i /dev/video0 -filter_complex "[0:0]pad=iw*2:ih[a];[a][1:0]overlay=w[b];[b][2:0]overlay=w:h" -shortest output.mp4

    Im not really sure what this means or how to fix it.

    Any help would be greatly appreciated !
    Thanks.

  • ffmpeg : using the returned data in php

    4 décembre 2013, par user1503606

    I have started using ffmpeg and I am very new to it, so please bear with me.

    I have installed ffmpeg on my server and it works great ; I can run certain commands and get output data when logged in via ssh

    For example I can run

    ffmpeg -i Sleep\ Away.mp3

    Which returns the following :

    ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
     built on Aug 20 2012 09:28:43 with clang 3.1 (tags/Apple/clang-318.0.61)
     configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-hardcoded-tables --enable-shared --enable-pthreads --disable-indevs --cc=clang
     libavutil    51.  9. 1 / 51.  9. 1
     libavcodec   53.  7. 0 / 53.  7. 0
     libavformat  53.  4. 0 / 53.  4. 0
     libavdevice  53.  1. 1 / 53.  1. 1
     libavfilter   2. 23. 0 /  2. 23. 0
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    [mp3 @ 0x7f9694011a00] Header missing
       Last message repeated 13 times
    [mp3 @ 0x7f9694007c00] max_analyze_duration 5000000 reached at 5007020
    [mp3 @ 0x7f9694007c00] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from &#39;Sleep Away.mp3&#39;:
     Metadata:
       track           : 3
       album           : Bob Acri
       artist          : Bob Acri
       title           : Sleep Away
       genre           : Jazz
       album_artist    : Bob Acri
       composer        : Robert R. Acri
       date            : 2004
     Duration: 00:03:21.77, start: 0.000000, bitrate: 192 kb/s
       Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 192 kb/s
    At least one output file must be specified

    The question I am asking is, how can I use the output data above ? I am developiong a music website ; say I want to loop through all the MP3 files and save the info about them into a database, so that the above would result in :

    Sleep Away.mp3    mp3    3:21    Jazz    2004     Bob Acri ...

    obviously in a table

    I have tried to use the php backtick operator with no success so far. I just thought I would put a question up here to get some advice from people that have done something similar.

    Thanks

    Update : I have tried the following

    &lt;?php $output = `ffmpeg -i Sleep\ Away.mp3`; echo "<pre>$output</pre>"; ?>
    &lt;?php $output = shell_exec(&#39;ffmpeg -i Sleep\ Away.mp3&#39;); echo "<pre>$output</pre>"; ?>

    both don't appear to return anything.