Recherche avancée

Médias (91)

Autres articles (46)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (3500)

  • Ffmpeg - avio_open returns AVERROR -13

    10 septembre 2021, par Tolga

    In my project, I am trying to save mp4 video from frames. I am demuxing video first and then decode and save the .mp4 file beside frames. However, this mp4 file is only playable from command line with ffplay. I am trying to play it from media player. After little bit search I found that, I need to remux it to mp4 file after encoding. The examples that I reference for my project are official ffmpeg example and leandromoreira's code. However, avio_open() parts returns -13 as error. I printed out with av_make_error_string(error, sizeof(error), response) and got Permission denied. When I look for that error in the error.h
there is no such an error defined.

    


  • Intermitent Connection Issues for FFMPEG Stream capture

    22 novembre 2014, par Quentin Spottiswoode

    I intend to create a Python shell script to open a connection to an MP3 stream and record the stream over a specified period and save the file to a .mp3 file for distribution. ffmpeg will likely be involved through a shell command, rather than using any kind of python wrapper class.

    Occasionally, the source of the stream may encounter connection issues with the internet, resulting in the listening client (ffmpeg) losing it’s connection with the host. Currently ffmpeg discards the recording entirely and forgets about attempting to reconnect to the host.

    having had a look through ffmpeg’s extensive documentation, I found myself very confused...

    • Is there some method to retain the recording up to the point of the connection failure ?
    • Is there a method of automatically re-connecting to the stream when the host reappears, or do I have to catch the error and try a certain number of times ?
    • Is there a method of passing the error to the python script in order to create a suitable response ?

    Many thanks for your insight :)

  • How to make ffserver which can make a snapshots ?

    4 mai 2016, par Serge Roussak

    I need some solution to take a "good" (not corrupted) snapshots from a camera device.

    Now I try to do this using the ffserver. Here is my config :

    HTTPPort 8090
    HTTPBindAddress 0.0.0.0
    MaxHTTPConnections 20
    MaxClients 10
    MaxBandwidth 10000

    <feed>
     File /tmp/feed.ffm
     FileMaxSize 200k

     ACL allow 127.0.0.1
    </feed>

    <stream>
     Feed feed.ffm
     Format jpeg

     VideoSize 800x600
     VideoFrameRate 30
     Preroll 5
     Strict -1

     NoAudio
     NoDefaults
    </stream>

    I run ffmpeg as follows :

    ffmpeg -f video4linux2 -i /dev/video0 -qmax 2 http://localhost:8090/feed.ffm

    and it works (almost) as expected except that sometimes getting a jpeg hangs. I.e. a browser sends the GET request and... alles (de). If I in this case stop the ffmpeg then the browser reports an error, but if don’t touch anything the browser may wait a response very long time. In any case this behaviour is not acceptable for me : it could be better if the ffserver answers with any kind of error or something about this.