Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (42)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (5285)

  • How do I live transcode a wmv file for playback in html5 player ?

    14 octobre 2018, par steven

    I’ve been working at this for quite awhile and still haven’t found a solution that works. I need a way to live convert (transcode) a .wmv file for playback in a html5 web player.

    I have a linux server (Apache) setup to stream video files through an html5 web player (Video.js) designed for Chrome and Firefox browsers. The file types I am dealing with are .mp4 (H.264), .mkv, and .wmv. The good news for me is that I can deal with mp4 and mkv natively, however I can’t play wmv. Also, I have to deal with a lot of files, change periodically, and can be quite large.

    After doing a lot of research and reading many times how you can’t stream wmv directly, I came to the realization that I had two options. Either convert the file to a supported format or live transcode a file for use in the web player. Due to the amount of files and their size (and periodically changing) converting the file is simply not feasible. So I am stuck with live streaming/transcoding. I figured ffmpeg would be the way to go, but I have yet to figure out how to get ffmpeg to live stream into the html5 player.

    So how do I take an existing .wmv file and live stream it in an html5 player ?

    The things I’ve tried so far :

    Tried creating a m3u8 playlist and hoping it would magically work.

    ffmpeg -i "hello.wmv" -s 640x480 -c:v libx264 -f ssegment -hls_flags delete_segments -segment_list playlist.m3u8 -segment_list_type hls -segment_list_size 10 -segment_list_flags +live -segment_time 10 out_%6d.ts

    Simply copying to mp4 and streaming while ffmpeg still progressing. Obviously didn’t work.

    ffmpeg -i "hello.wmv"  -vcodec copy video.mp4

    Converting to webm format and streaming webm while ffmpeg still progressing. This actually did show the video for a few seconds in the html player :

    ffmpeg -i "hello.wmv" -codec:a libvorbis -codec:v libvpx -b:a 128k -b:v 1200k video.webm

    Ffmpeg is not required to be used (was thinking of vlc as well), the html5 player is required. Completely converting then streaming isn’t a viable option because file sizes can be too large and change periodically. What command/program can I use to stream the file for playback in the html player ?

  • Capturing and processing a live RTMP stream

    8 février 2018, par Yantor

    I’m trying to download a live stream (not a file) coming from a live camera feed available at the following website : http://www.dot.ca.gov/video/.

    I used Wireshark for sniffing the TCP packets and was able to extract the RTMP parameters, but wasn’t able to use them with FFMPEG/VLC for downloading / playing the stream on VLC (I guess I didn’t construct the URL correctly).

    for example, for the camera feed available here, I got the following parameters :

    swfUrl : http://www.dot.ca.gov/research/its/StrobeMediaPlayback.swf

    pageUrl : http://www.dot.ca.gov/d4/d4cameras/ct-cam-pop- N17_at_Saratoga_Rd.html

    tcUrl : rtmp ://wzmedia.dot.ca.gov:1935/D4
    Play : E37_at_Lakeville_Rd.stream.

    Is there a chance someone is familiar with this and can help with understanding how I can use the above for downloading the stream ?

    Thanks a lot ! Yaniv

  • How to encode Live Streaming using NReco.VideoConverter ?

    11 janvier 2016, par Siva Prasanna

    I’m developing an application to encode a live stream using NReco.VideoConverter component. I’m getting a live video stream from one of my IP cameras, and it uses rtsp. The url is "rtsp ://test.vaprtech.com/vid/show.sav ?[PARAMETERS]". Now the code I use is given below.

    private void button1_Click(object sender, EventArgs e)
    {
           String path="rtsp://test.vaprtech.com/vid/show.sav?[PARAMETERS]";
           String pathToSave="C:\\Videos\\LiveVideo.mp4";
           var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
           ConvertLiveMediaTask task=ffMpeg.ConvertLiveMedia(path, Format.mp4, pathToSave, Format.mp4, new ConvertSettings(){VideoCodec="h264"});
           task.Start();
    }

    But I’m getting an error saying

    "The best overloaded method match for
    ’...ConvertLiveMedia(string,string,System.IO.Stream,string,ConvertSettings)’
    has some invalid arguments".