Recherche avancée

Médias (91)

Autres articles (11)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (2471)

  • How to run ffmpeg on demand when someone opens my website with the player where a remote IP camera is displayed ?

    8 mai 2023, par alexiter

    I set up an nginx server to stream from an IP camera located elsewhere, I used a windows server because it was the one I had no use for (I usually prefer linux), I would need to know how I can make the ffmpeg command run only when someone opens the website where the player is located.

    


    This is my nginx.conf server code :

    


    worker_processes  1;

error_log  logs/error.log info;

events {
    worker_connections  1024;
}
rtmp {
    server {
        listen 1935;
        ping 30s;
        notify_method get;
        application live {
            live on;
            on_publish http://*******:8080/auth;
            dash on; 
            dash_path tmp/dash;
            
            
        }
    }
}
http{

   server {
        listen 8080;
        location /auth {
        if ($arg_psk = '*****') {
    return 201;
    }
  return 404;
  }
}
   
   server {
        listen 8443 ssl;
        server_name stream.*****.com;
        
        ssl on;
        ssl_certificate C:/Certbot/live/stream.*****.com/fullchain.pem;
        ssl_certificate_key C:/Certbot/live/stream.****.com/privkey.pem;
        ssl_session_timeout 5m;
        charset utf-8;
        location /dash {
            root tmp;
            add_header Cache-Control no-cache;
        }
        location / {
            root www;
        }
        

   }
}



    


    The command that I use from the DOS console in windows is this :

    


    ffmpeg -rtsp_transport tcp -i rtsp://*****:******@******.com:557/Streaming/Channels/101 -c copy -f flv -y -t 35 rtmp://********:1935/live/stream?psk=********


    


    Basically what I need is that ffmpeg is not running constantly, only when someone wants to view the video from the IP camera. (I have programmed ffmpeg to finish after 35 seconds, although I will put five minutes later)

    


  • sdl 1.2 & ffmpeg 1.09 flickering when overlays a picture during a video is playing

    29 septembre 2014, par Alberto Martín

    Iḿ developing a media player using SDL1.2 & ffmpeg 1.09.(C programming over VS2010, win7)

    I have flickering when i try to overlay an image in the screen during the video is playing.(Like full screen buttons or an ad).

    To display the video i’m creating overlay using SDL_CreateYUVoverlay function. Then I set the rectangle and call SDL_DisplayYUVOverlay.

    I’m trying to show a picture while the video is playing.
    For showing the picture i tried YUV overlays(SDL_CreateYUVoverlay + SDL_DisplayYUVOverlay ) and also with surfaces(SDL_BlitSurface + SDL_UpdateRect or SDL_Flip) but it always flickers.

    I use ffplay.c as an example.

    I read something about merge two YUV overlays in one (2 input to 1 output), but i could not found information or examples about that.

    Does anyone knows how to do this ?

  • Files of ffmpeg after installation on mac

    31 janvier 2018, par Hélder

    While reading this post on motion vector on SO, I went to my mac system files and tried to find the vf_codecview.c and frame.c files but without success.

    Does anyone know where they are located after we install ffmpeg ?