Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (56)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8980)

  • Streaming Video from RTMP to EMGUCV

    22 juillet 2017, par Isuru

    I’m trying to stream a webcam using RTMP to an EMGUCV project in order to process the video. I have set up a private RTMP server in a linux box using this tutorial,
    https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/

    I’m testing the webcam stream using ffmpeg with the following commands,

    • Write to the rtmp server using,

      ffmpeg -y -f vfwcap -framerate 25 -video_size 640x480 -i 0 -an -f flv rtmp://rtmp-server:1935/live/stream
    • Read from the rtmp server using,
      ffplay -fflags nobuffer rtmp ://rtmp-server:1935/live/stream -loglevel verbose

    I’m able to write a simple OpenCV C++ application to read the stream and display it. Code below,

       cv::VideoCapture vcap;
       cv::Mat image;
       const std::string videoStreamAddress = "rtmp://rtmp-server:1935/live/stream";
       if(!vcap.open(videoStreamAddress)) {
           printf("Error opening video stream or file");
           return -1;
       }

       cv::namedWindow("Output Window");
       cv::Mat edges;
       for(;;) {
           if(!vcap.read(image)) {
               printf("No frame");
               cv::waitKey();
           }
           cv::imshow("Output Window", image);
           if(cv::waitKey(1) >= 0) break;
       }
    return 0;

    The above code works properly. However when I try it using EMGUCV C#, I get the error message
    unable to create to capture from rtmp://rtmp-server:1935/live/stream

    This is my C# Code,

       public partial class MainForm : Form
       {
           private static Capture _cameraCapture;

           public MainForm()
           {
               InitializeComponent();
               Run();
           }

           void Run()
           {
               try
               {
                   _cameraCapture = new Capture("rtmp://192.168.56.101:1935/live/stream");                
               }
               catch (Exception e)
               {
                   MessageBox.Show(e.Message);
                   return;
               }            
           }
      }

    Do I need a specific build of EMGUCV with FFMPEG or is RTMP capturing not available in EMGUCV ?

  • Can't run exec('ffmpeg') ; ffmpeg, wamp & windows 2008 server

    15 mars 2015, par Nicholas Walker

    i’ve installed FFMPEG on my windows server. If i go to cmd and type ffmpeg -version i get the version, available commands etc. I use WAMP server with php 5.4.12

    The reason i am not using ffmpeg-php is because i have installed it with no errors and i cant use the extension for php even tho it says it is installed.

    When i try to do

    <?php
    echo exec('ffmpeg -version');
    ?>

    its totally blank, no errors or nothing.

    If i run

    <?php
    echo exec('whoami');
    ?>

    i get : nt authority\system

    So i can run exec in my php.

    I’ve also tried the same with shell_exec() ; ffmpeg not working with either of them.

    After looking at other stackoverflow questions i’ve seen people fixing this problem by allowing IIS user to use ffmpeg.exe. But i am using Wamp so i don’t know what to do.

    Any ideas ?

  • use AForge.video.FFMPEG in c# 2008

    23 décembre 2013, par user2922938

    i work in visual studio 2008 in c# language, when run the program the error :

    $exception "Could not load file or assembly 'AForge.Video.FFMPEG,
    Version=2.2.5.0,

    Culture=neutral, PublicKeyToken=03563089b1be05dd' or one of its
    dependencies. An attempt

    was made to load a program with an incorrect format."

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using AForge.Video.FFMPEG;


    namespace WindowsFormsApplication9
    {

    public partial class Form1 : Form
    {

       public Form1()
       {
           InitializeComponent();
       }


       private void button1_Click(object sender, EventArgs e)
       {
           VideoFileReader video = new VideoFileReader();
       }


    }

    what is wrong in program ??