Recherche avancée

Médias (91)

Autres articles (59)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (8944)

  • Send ffmpeg input from python variable

    27 septembre 2016, par Roney rogerio

    I need send continuouns date to ffmpeg from python, I have tried but really dont know the best solution to make this, i have tried :

    import subprocess as sp
    import time

    command = ["/usr/bin/ffmpeg",
              '-f', 'hls',
              '-c', 'copy',
              '-hls_time', '10',
              '-hls_flags', 'delete_segments',
              '-i', '-', # The imput comes from a pipe
              'index.m3u8' ]

    proc = sp.Popen(command, stdin=sp.PIPE)

    proc.stdin.write(open("video.ts", 'r').read())

    proc.stdin.close()
    proc.wait()

    I get the error :

    ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 47.100 /  6. 47.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    pipe:: Invalid data found when processing input
    Traceback (most recent call last):
     File "teste.py", line 15, in <module>
       proc.stdin.write(open("video.ts", 'r').read())
    IOError: [Errno 32] Broken pipe
    </module>
  • Configuring install path : prefix=[PREFIX] not fully understood

    29 septembre 2019, par whatshisface

    I think this is simply a general c++ question :

    I’m attempting to compile a local version of ffmpeg on Linux Fedora using the gnu c++ compiler. I have source code in a bunch of folders under :

    ~/<username>/Downloads/Code/ffmpeg_sources/
    </username>

    which is where I’m attempting to set the config flags to install the build to a target not under this tree but at a root level directory with local shared libraries :

    /usr/local/

    There is this following section near the beginning of the configuration file :

    Standard options:

    --prefix=PREFIX          install in PREFIX []
    --bindir=DIR             install binaries in DIR [PREFIX/bin]
    --datadir=DIR            install data files in DIR [PREFIX/share/ffmpeg]
    --docdir=DIR             install documentation in DIR [PREFIX/share/doc/ffmpeg]
    --libdir=DIR             install libs in DIR [PREFIX/lib]
    --shlibdir=DIR           install shared libs in DIR [PREFIX/lib]
    --incdir=DIR             install includes in DIR [PREFIX/include]
    --mandir=DIR             install man page in DIR [PREFIX/share/man]
    --enable-rpath           use rpath to allow installing libraries in paths
                             not part of the dynamic linker search path

    I may have completely misunderstood this, but I thought that setting a value like

    --prefix=/usr/local

    or

    --prefix=[/usr/local]

    might work, but it appears not to, as once the ./config, make&&make install is complete, it has done a bunch of stuff but there’s nothing installed at the target. There are a LOT of new executable files built in the source directory, so presumably the build is working but I’m simply specifying the paths incorrectly ? A part of the same problem is that it’s unclear whether, once I’ve set the

    --prefix=[PREFIX]

    correctly, I need to set all of the further

    --datadir, --libdir

    etc. or whether the first —prefix value is enough ?

    What is the above configuration syntax trying to show me ?

  • Configuring install path : prefix=[PREFIX] not fully understood

    3 mai 2016, par whatshisface

    I think this is simply a general c++ question :

    I’m attempting to compile a local version of ffmpeg on Linux Fedora using the gnu c++ compiler. I have source code in a bunch of folders under :

    ~/<username>/Downloads/Code/ffmpeg_sources/
    </username>

    which is where I’m attempting to set the config flags to install the build to a target not under this tree but at a root level directory with local shared libraries :

    /usr/local/

    There is this following section near the beginning of the configuration file :

    Standard options:

    --prefix=PREFIX          install in PREFIX []
    --bindir=DIR             install binaries in DIR [PREFIX/bin]
    --datadir=DIR            install data files in DIR [PREFIX/share/ffmpeg]
    --docdir=DIR             install documentation in DIR [PREFIX/share/doc/ffmpeg]
    --libdir=DIR             install libs in DIR [PREFIX/lib]
    --shlibdir=DIR           install shared libs in DIR [PREFIX/lib]
    --incdir=DIR             install includes in DIR [PREFIX/include]
    --mandir=DIR             install man page in DIR [PREFIX/share/man]
    --enable-rpath           use rpath to allow installing libraries in paths
                             not part of the dynamic linker search path

    I may have completely misunderstood this, but I thought that setting a value like

    --prefix=/usr/local

    or

    --prefix=[/usr/local]

    might work, but it appears not to, as once the ./config, make&&make install is complete, it has done a bunch of stuff but there’s nothing installed at the target. There are a LOT of new executable files built in the source directory, so presumably the build is working but I’m simply specifying the paths incorrectly ? A part of the same problem is that it’s unclear whether, once I’ve set the

    --prefix=[PREFIX]

    correctly, I need to set all of the further

    --datadir, --libdir

    etc. or whether the first —prefix value is enough ?

    What is the above configuration syntax trying to show me ?