Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (77)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

Sur d’autres sites (10509)

  • FFMPEG Incompatible sprop-parameter-sets with libstagefright on Android 4.0 for H264

    7 août 2012, par user1582384

    I am having an issue with the RTSP SDP generated by FFMPEG in Android.
    I have the FFMPEG 0.11.1 compiled with NDK and running on Android. I use the FFSERVER to stream an mp4 file locally to the MediaPlayer.

    Here is the generated SDP description :

    08-07 14:04:04.034 : V/rtsp_server(20161) : o=- 0 0 IN IP4 127.0.0.1

    08-07 14:04:04.034 : V/rtsp_server(20161) : s=No Title

    08-07 14:04:04.034 : V/rtsp_server(20161) : c=IN IP4 0.0.0.0

    08-07 14:04:04.034 : V/rtsp_server(20161) : t=0 0

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=tool:libavformat 54.6.100

    08-07 14:04:04.034 : V/rtsp_server(20161) : m=video 0 RTP/AVP 96

    08-07 14:04:04.034 : V/rtsp_server(20161) : b=AS:312

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=x-dimensions:512,384

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=rtpmap:96 H264/90000

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=fmtp:96
    packetization-mode=0 ;profile-level-id=640015 ;sprop-parameter-sets=J2QAH62ECSZuIzSQgSTNxGaSECSZuIzSQgSTNxGaSECSZuIzSQgSTNxGaSEFWuvX1+T+vyfXrrVQgq116+vyf1+T69daq0BAGMg=,KO48sA==

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=control:streamid=0

    08-07 14:04:04.034 : V/rtsp_server(20161) : m=audio 0 RTP/AVP 97

    08-07 14:04:04.034 : V/rtsp_server(20161) : b=AS:29

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=rtpmap:97
    MPEG4-GENERIC/44100/1

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=fmtp:97
    profile-level-id=1 ;mode=AAC-hbr ;sizelength=13 ;indexlength=3 ;indexdeltalength=3 ;
    config=1208

    08-07 14:04:04.034 : V/rtsp_server(20161) : a=control:streamid=1

    Running the same application on Galaxy S2 works since it uses libopencore. But on newer devices it crashes while trying to extract the width and height from the extradata.

    So the problem is with the sprop-parameter-sets.

    My question is why does libstagefright parse the sprop-parameter-sets differently and how could the existing string be converted for compatibility ?

  • UDP to MP4 transcoding via ffmpeg

    30 juillet 2013, par Andrew J. Freyer

    I have not been able go find any substantial documentation to answer this question, so please forgive me if this is a simple question.

    Quite simply, I am trying to transcode a UDP video stream to a live MP4 stream with ffmpeg.

    I have been unable to successfully implement either step here. Any help or advice is appreciated.

  • 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 'Sleep Away.mp3':
     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.