Recherche avancée

Médias (91)

Autres articles (68)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (11320)

  • ffmpeg on android : playing MPEG2 TS udp multicast stream

    27 août 2013, par user1513822

    I want to make android media player using ffmpeg.
    (catch MPEG2 TS multicast stream via WIFI network and decode it)
    I checked followings :

    • My iptime AP supports WIFI multicast protocol.
      (send multicast stream in wired PC, and wifi connected PC can receive it)
    • My Android phone can receive multicast stream via WIFI.
      I coded NDK socket programming which is join udp multicast group and receive packets
      (I added multicast access grant to AndroidManifest.xml)
    • FFMPEG library is ported to android and it can play local media file.

    But when I try to open network stream using FFMPEG library, avformat_open_input() function returns fail.

    gFormatCtx = avformat_alloc_context();
    av_register_all();
    avcodec_register_all();
    avformat_network_init();
    if(avformat_open_input(&gFormatCtx,"udp://@239.100.100.100:4000",NULL,NULL) != 0)
       return -2;

    this code always return "-2".
    If I use "av_dict_set()" api, which option should I use ?

    av_dict_set(&options, "udp_multicast", "mpegtsraw", 0);

    please let me know what should I check for avformat_open_input error ?

    thanks.

  • FFmpeg open same URL RTSP stream

    31 mars 2023, par 蔡杰廷

    I have 2 RTSP server devices, the streaming URL is rtsp ://192.168.42.1/live.
    
It needs to connect with wifi, cannot change RTSP server.

    


    I use two USB dongles to connect.
Because the URL is the same, I can only get one RTSP stream.

    


    Is there a command to specify a USB dongle (or wifi) ?
Then start streaming.

    


    I want to get multiple streams at the same time and send them out with RTP.

    


    use C/C++ code

    


    thanks.

    


  • Most efficient way to render bitmap to screen on Linux [on hold]

    22 juillet 2019, par Maximus

    My goal is to receive a video feed from wifi and display it on my screen. For this, I’ve created a couple of small programs and a bash script to automate them running. It works like this :

    UDPBitmap/Plotter & ffplay -i - < UDPBitmap/pipe & python requester.py;

    Translation : There is a C++ program called Plotter, its job is to receive packets on an assigned UDP port, process them and write it to pipe (named : UDPBitmap/pipe). The pipe is accessed by ffplay, and ffplay renders the video on screen. The python file is solely responsible for accessing and controlling the camera with various HTTP requests.

    The above command works fine, everything works as expected. However, the resulting latency and framerate is a bit lower than what I’ve wanted. The bottleneck of this program is not the pipe, it is fast enough. Wifi transmission is also fast enough. The only thing left is ffplay.

    Question :

    What is the most efficient way to render a bitmap to screen, on Linux ? Is there a de facto library for this that I can use ?

    Note :

    • Language/framework/library does not matter (C, C++, Java, Python, native linux tools and so on...)
    • I do not need a window handle, but is SDL+OpenGL the way to go ?
    • Writing directly to the framebuffer would be super cool...