Recherche avancée

Médias (91)

Autres articles (75)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8132)

  • Pipe video and audio to ffmpeg from OpenRTSP

    1er avril 2016, par Haris

    I am trying to record rtsp stream in HLS format using openRTSP and ffmpeg. openRTSP receives rtsp and pipe to ffmpeg to record,

    Here is the command I used and which works fine

    openRTSP -D 10 -v -t -c -b 800000 rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov | .././ffmpeg -r 15 -i - -codec copy -hls_list_size 65535 -hls_time 2 "./live.m3u8"

    Note in above commnad -v is for video only.

    But now I need to record audio also so I removed -v option, but the video is not getting recorded. It’s just creating two files named
    audio-MPEG4-GENERIC-1 and video-H264-2 no HLS video file. I think some problem with piping. Can anyone help me to solve it.

  • lavfi/scale : allocate interlaced scalers only if needed.

    18 juillet 2013, par Nicolas George
    lavfi/scale : allocate interlaced scalers only if needed.
    

    Fix "Value 0.000000 for parameter ’srch’ out of range"
    error message when source or destination height is 1.

    Note : since the av_opt_set_int() calls are not checked for
    failure and the interlaced scalers are not actually used,
    this error has no consequence apart from a frightening message
    in the log.

    • [DH] libavfilter/vf_scale.c
  • How to show Images from a video as preview for playlist

    1er février 2017, par Guruprasad Rao

    You guys Have seen Youtube right. There while you are watching a video, You will also get related videos preview alongwith link. So how we can get it from video itself.. Is it possible to do so.. I am able to get the url from database and display it.. and when the link is clicked it will be played in a jquery player.. So before that a preview of that or you can say playlist of that will be available for user.

    I have updated my code with a link I found.. But still I am not able to get the Image from Video.. Is there anything wrong in my code.. Please correct me if I am wrong..

    Below is my front end code :

    <form runat="server">
       <div runat="server" style="height:100%;width:100%">
           <div>Latest Videos</div>

       </div>

       </form>

    and I am adding all my video links from backend on page load as shown below :

      try
       {
           con.Open();
           com = new SqlCommand("Select videourl, videoname from video order by [vid] desc",con);
           DbDataReader dr = com.ExecuteReader();
           DataTable dt = new DataTable();

           if (dr.HasRows)
           {

               int i = 0;
               dt.Load(dr);
               int rows = dt.Rows.Count;


               for (i = 0; i &lt; rows; i++)
               {
                   HtmlGenericControl d = new HtmlGenericControl("div");
                   HtmlGenericControl s = new HtmlGenericControl("span");
                   string[] link = new string[rows];
                   string[] name = new string[rows];                    

                   d.Attributes.Add("class", "plst");
                   s.Attributes.Add("class", "text");
                   link[i] = dt.Rows[i]["videourl"].ToString();
                   name[i] = dt.Rows[i]["videoname"].ToString();
                   string videothumb = link[i];
                   string svthto="**Path to save Image**";
                   string imgpath=GetVideoThumbnail(videothumb, svthto, 30);

                   sb.Append("<a i="i" href=" + " class=" + ">" + name[i] + "</a>");
                   s.InnerHtml = sb.ToString();
                   d.Controls.Add(s);
                   examples.Controls.Add(d);
                   sb.Clear();


               }
           }


       }
       catch(Exception ex)
       {
           ex.Message.ToString();
       }

    public string GetVideoThumbnail(string path, string saveThumbnailTo, int seconds)
    {
       string parameters = string.Format("-ss {0} -i {1} -f image2 -vframes 1 -y {2}", seconds, path, saveThumbnailTo);
       string pathToConvertor = "C:\\Program Files\\ffmpeg\\ffmpeg.exe";
       var processInfo = new ProcessStartInfo();
       processInfo.FileName = pathToConvertor;
       processInfo.Arguments = parameters;
       processInfo.CreateNoWindow = true;
       processInfo.UseShellExecute = false;

       File.Delete(saveThumbnailTo);

       using (var process = new Process())
       {
           process.StartInfo = processInfo;
           process.Start();
           process.WaitForExit();
       }

       if (File.Exists(saveThumbnailTo))
           return saveThumbnailTo;
       else
           return "File not Found";
    }

    and here is the image of what I am getting until now :
    Sample

    Please note : I am not concentrating on you tube videos. I am questioning regarding the videos which I store in server side folder. So if there is any jquery technique or any sort of technique to do this then please let me know. :)