Recherche avancée

Médias (91)

Autres articles (63)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (5729)

  • Anomalie #3630 : Logo d’auteur et fonction de recherche de logo

    13 août 2016, par b b

    Je dépose ici la discussion qui a eu lieu à ce sujet sur IRC pour en garder une trace :

    < marcimat‎ >  dans id_table_objet() je vois que ça fait un traitement même si on passe ’id_auteur’
    < marcimat‎ >  du coup, je me dis que quête logo
    < marcimat‎ >  pourrait tester si substr($type, 0, 3) !== ’id_’
    < marcimat‎ >  appeler id_table_objet($type)
    < marcimat‎ >  non ?
    < marcimat‎ >  c’est peut être un compromis
    < marcimat‎ >  ou un strcmp
    < phenix_spip‎ >  Pourquoi faire un test ?
    < marcimat‎ >  parce que je vois des calculs dans id_table_objet() systématiques
    < marcimat‎ >  même si on envoie déjà id_truc
    < phenix_spip‎ > ?
    < phenix_spip‎ >  Ha je vois
    < marcimat‎ >  @id_table_objet()
    < Edgard‎ >  Hop http://code.spip.net/@id_table_objet - Hop (sinon) http://code.spip.net/spip.php?page=recherche&recherche=id_table_objet
    < marcimat‎ >  https://core.spip.net/projects/spip/repository/entry/spip/ecrire/base/objets.php#L1066 donc
    < marcimat‎ >  mais effectivement, je pense que ça doit pas gêner si quête_logo est simplifié
    < phenix_spip‎ >  marcimat : ce serai plus logique que le test soit dans id_table_objet non ?
    < marcimat‎ >  enfin modifié pour accepter un vrai type
    < marcimat‎ >  certes, mais c’est déjà plus sensible ^^
    < phenix_spip‎ > ?
    < marcimat‎ >  ok
    < marcimat‎ >  en fait objet_type() teste déjà en enlevant id_
    < marcimat‎ >  donc, y pa pas spécialement besoin
    < phenix_spip‎ >  Ben voilà :)
    < marcimat‎ >  donc là https://core.spip.net/projects/spip/repository/entry/spip/ecrire/base/objets.php#L1070
    < marcimat‎ >  objet_type(’id_auteur’) doit ressortir ’auteur’
    < marcimat‎ >  oui, voilà :)
    < marcimat‎ >  all is fine
    
  • Cannot convert file to .mp4 using phpvideotoolkit

    7 décembre 2015, par user3653474

    I am using the phpvideotoolkit http://www.phpclasses.org/package/3747-PHP-Manipulate-and-convert-videos-with-ffmpeg-program.html to convert video to .mp4 formats. As I run this file as an example

    http://localhost/phpvideotoolkit-v2-master/examples/convert-to-flv.php

    I got the following errors, please help explain how I could use phpvideotoolkit to convert any video to .mp4. Although the following file is present in C :\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4 but the error message is still shown.

    Array
    (
       [0] => ERROR---------
       [1] => exception
       [2] => Array
           (
               [0] => InvalidArgumentException Object
                   (
                       [message:protected] => The file "C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4" cannot be found in \PHPVideoToolkit\Media::__construct.
                       [string:Exception:private] =>
                       [code:protected] => 0
                       [file:protected] => C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php
                       [line:protected] => 254
                       [trace:Exception:private] => Array
                           (
                               [0] => Array
                                   (
                                       [file] => C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php
                                       [line] => 75
                                       [function] => setMediaPath
                                       [class] => PHPVideoToolkit\Media
                                       [type] => ->
                                       [args] => Array
                                           (
                                               [0] => C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4
                                           )

                                   )

                               [1] => Array
                                   (
                                       [file] => C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Video.php
                                       [line] => 35
                                       [function] => __construct
                                       [class] => PHPVideoToolkit\Media
                                       [type] => ->
                                       [args] => Array
                                           (
                                               [0] => C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4
                                               [1] =>
                                               [2] =>
                                           )

                                   )

                               [2] => Array
                                   (
                                       [file] => C:\wamp\www\phpvideotoolkit-v2-master\examples\convert-to-flv.php
                                       [line] => 9
                                       [function] => __construct
                                       [class] => PHPVideoToolkit\Video
                                       [type] => ->
                                       [args] => Array
                                           (
                                               [0] => C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4
                                           )

                                   )

                           )

                       [previous:Exception:private] =>
                       [xdebug_message] => <tr><th align="left" bgcolor="#f57900" colspan="5"><span style="background-color: #cc0000; color: #fce94f; font-size: x-large;">( ! )</span> InvalidArgumentException: The file "C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4" cannot be found in \PHPVideoToolkit\Media::__construct. in C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php on line <i>254</i></th></tr>
    <tr><th align="left" bgcolor="#e9b96e" colspan="5">Call Stack</th></tr>
    <tr><th align="center" bgcolor="#eeeeec">#</th><th align="left" bgcolor="#eeeeec">Time</th><th align="left" bgcolor="#eeeeec">Memory</th><th align="left" bgcolor="#eeeeec">Function</th><th align="left" bgcolor="#eeeeec">Location</th></tr>
    <tr><td bgcolor="#eeeeec" align="center">1</td><td bgcolor="#eeeeec" align="center">0.0290</td><td bgcolor="#eeeeec" align="right">260072</td><td bgcolor="#eeeeec">{main}(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\examples\convert-to-flv.php" bgcolor="#eeeeec">..\convert-to-flv.php<b>:</b>0</td></tr>
    <tr><td bgcolor="#eeeeec" align="center">2</td><td bgcolor="#eeeeec" align="center">0.3640</td><td bgcolor="#eeeeec" align="right">1089856</td><td bgcolor="#eeeeec">PHPVideoToolkit\Video->__construct(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\examples\convert-to-flv.php" bgcolor="#eeeeec">..\convert-to-flv.php<b>:</b>9</td></tr>
    <tr><td bgcolor="#eeeeec" align="center">3</td><td bgcolor="#eeeeec" align="center">0.3640</td><td bgcolor="#eeeeec" align="right">1090336</td><td bgcolor="#eeeeec">PHPVideoToolkit\Media->__construct(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Video.php" bgcolor="#eeeeec">..\Video.php<b>:</b>35</td></tr>
    <tr><td bgcolor="#eeeeec" align="center">4</td><td bgcolor="#eeeeec" align="center">0.4220</td><td bgcolor="#eeeeec" align="right">1100088</td><td bgcolor="#eeeeec">PHPVideoToolkit\Media->setMediaPath(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php" bgcolor="#eeeeec">..\Media.php<b>:</b>75</td></tr>

                   )

           )

       [3] => Array
           (
               [0] => Array
                   (
                       [function] => __errorHandler
                       [args] => Array
                           (
                               [0] => InvalidArgumentException Object
                                   (
                                       [message:protected] => The file "C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4" cannot be found in \PHPVideoToolkit\Media::__construct.
                                       [string:Exception:private] =>
                                       [code:protected] => 0
                                       [file:protected] => C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php
                                       [line:protected] => 254
                                       [trace:Exception:private] => Array
                                           (
                                               [0] => Array
                                                   (
                                                       [file] => C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php
                                                       [line] => 75
                                                       [function] => setMediaPath
                                                       [class] => PHPVideoToolkit\Media
                                                       [type] => ->
                                                       [args] => Array
                                                           (
                                                               [0] => C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4
                                                           )

                                                   )

                                               [1] => Array
                                                   (
                                                       [file] => C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Video.php
                                                       [line] => 35
                                                       [function] => __construct
                                                       [class] => PHPVideoToolkit\Media
                                                       [type] => ->
                                                       [args] => Array
                                                           (
                                                               [0] => C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4
                                                               [1] =>
                                                               [2] =>
                                                           )

                                                   )

                                               [2] => Array
                                                   (
                                                       [file] => C:\wamp\www\phpvideotoolkit-v2-master\examples\convert-to-flv.php
                                                       [line] => 9
                                                       [function] => __construct
                                                       [class] => PHPVideoToolkit\Video
                                                       [type] => ->
                                                       [args] => Array
                                                           (
                                                               [0] => C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4
                                                           )

                                                   )

                                           )

                                       [previous:Exception:private] =>
                                       [xdebug_message] => <tr><th align="left" bgcolor="#f57900" colspan="5"><span style="background-color: #cc0000; color: #fce94f; font-size: x-large;">( ! )</span> InvalidArgumentException: The file "C:\wamp\www\phpvideotoolkit-v2-master\examples/media/BigBuckBunny_320x180.mp4" cannot be found in \PHPVideoToolkit\Media::__construct. in C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php on line <i>254</i></th></tr>
    <tr><th align="left" bgcolor="#e9b96e" colspan="5">Call Stack</th></tr>
    <tr><th align="center" bgcolor="#eeeeec">#</th><th align="left" bgcolor="#eeeeec">Time</th><th align="left" bgcolor="#eeeeec">Memory</th><th align="left" bgcolor="#eeeeec">Function</th><th align="left" bgcolor="#eeeeec">Location</th></tr>
    <tr><td bgcolor="#eeeeec" align="center">1</td><td bgcolor="#eeeeec" align="center">0.0290</td><td bgcolor="#eeeeec" align="right">260072</td><td bgcolor="#eeeeec">{main}(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\examples\convert-to-flv.php" bgcolor="#eeeeec">..\convert-to-flv.php<b>:</b>0</td></tr>
    <tr><td bgcolor="#eeeeec" align="center">2</td><td bgcolor="#eeeeec" align="center">0.3640</td><td bgcolor="#eeeeec" align="right">1089856</td><td bgcolor="#eeeeec">PHPVideoToolkit\Video->__construct(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\examples\convert-to-flv.php" bgcolor="#eeeeec">..\convert-to-flv.php<b>:</b>9</td></tr>
    <tr><td bgcolor="#eeeeec" align="center">3</td><td bgcolor="#eeeeec" align="center">0.3640</td><td bgcolor="#eeeeec" align="right">1090336</td><td bgcolor="#eeeeec">PHPVideoToolkit\Media->__construct(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Video.php" bgcolor="#eeeeec">..\Video.php<b>:</b>35</td></tr>
    <tr><td bgcolor="#eeeeec" align="center">4</td><td bgcolor="#eeeeec" align="center">0.4220</td><td bgcolor="#eeeeec" align="right">1100088</td><td bgcolor="#eeeeec">PHPVideoToolkit\Media->setMediaPath(  )</td><td title="C:\wamp\www\phpvideotoolkit-v2-master\src\PHPVideoToolkit\Media.php" bgcolor="#eeeeec">..\Media.php<b>:</b>75</td></tr>

                                   )

                           )

                   )

           )

    )
  • How to stream audio from ffserver

    22 mai 2019, par Doro

    I trying to stream 2 files - 1.mkv without audio (which streaming ok) and 2.mkv with audio encoded with Vorbis codec which i can’t stream. For encoding I used

    ffmpeg -i 2.mp4 -strict -2 -c:a vorbis ex.mkv

    And it playing ok with ffplay

    Server log :

    Fri May 17 00:49:08 2019 Opening feed file '1.mkv' for stream 'test1-rtsp'
    Fri May 17 00:49:08 2019 [matroska,webm @ 0x200746c0]Unknown entry 0x55B0
    Thu Dec 14 21:35:00 1950 [h264 @ 0x2007dcc0]gray chroma
    Fri May 17 00:49:08 2019 [h264 @ 0x2007dcc0]error while decoding MB 18 1, bytestream 1989
    Fri May 17 00:49:08 2019 [h264 @ 0x2007dcc0]concealing 432 DC, 432 AC, 432 MV errors in I frame
    Fri May 17 00:49:08 2019 Opening feed file '2.mkv' for stream 'test2-rtsp'
    Fri May 17 00:49:08 2019 [matroska,webm @ 0x200746c0]Unknown entry 0x55B0
    Fri May 17 00:49:08 2019 FFserver started.
    Fri May 17 00:49:25 2019 [matroska,webm @ 0x20080de0]Unknown entry 0x55B0
    Fri May 17 00:49:25 2019 127.0.0.1:33582 - - "PLAY test2-rtsp/streamid=0 RTP/UDP"
    Fri May 17 00:49:25 2019 127.0.0.1 - - [SETUP] "rtsp://127.0.0.1:7654/test2-rtsp/ RTSP/1.0" 200 2553

    Client log :

    Bad packed header lengths (30,0,1250,2673)
    [udp @ 00000236f6318500] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 00000236f63185c0] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 00000236f633dc40] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [udp @ 00000236f634df00] 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
    [rtsp @ 00000236f63153c0] method SETUP failed: 503 Service Unavailable
    rtsp://127.0.0.1:7654/test2-rtsp: Server returned 5XX Server Error reply

    Configure ffserver file :

    Port 8090
    BindAddress 0.0.0.0
    MaxHTTPConnections 2000
    MaxClients 1000
    MaxBandwidth 500000
    CustomLog -
    NoDaemon

    RTSPPort 7654
    RTSPBindAddress 0.0.0.0

    <stream>
       Format rtp
       File "1.mkv"
    </stream>
    <stream>
       Format rtp
       Strict -2
       AudioCodec vorbis
       File "2.mkv"
    </stream>