Recherche avancée

Médias (91)

Autres articles (80)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

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

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (4512)

  • Create a video with other videos at certain points

    7 mars 2020, par Antique Chariot

    I’ve never used ffmpeg before, and I need to do something quite complicated (in my opinion at least, this could be easy).

    Basically I need to have a black video but at certain points concatenate other videos.
    For example, at 0.00 a 3 second video, then black until 10.0 and then another video, etc etc

    The finished videos will consist of hundreds of videos and be anywhere from 1-5 minutes long.

    I’m working in Node.js, ideally using a wrapper would be best (I’m using fluent-ffmpeg currently but any will suffice), although raw commands are also an option.

    Any ideas are appreciated !

    Edit : also, say a 5 second video is at 0.00, and a 10 second video is at 1.00, I’d like it to overwrite the original 5 second video

  • What is the best ffmpeg command keeping the best quality to convert a m3u8 file into a mp4 file ?

    16 novembre 2019, par Nicryc

    Ok so I downloaded a .m3u8 file on the Internet. I saw that this file extension corresponds to a HTTP Live Streaming protocol also called HLS. This protocol consists of an index file (the m3u8 file) that is a text file containing several URL redirecting to .ts files. Those .ts files are video files where each one are a little part of the whole video. Then I searched and found on Wikipedia and on the Apple website that this protocol embeds the MPEG-4 (H.264) video format.

    If I’m not mistaken .mp4 is the file extension of the MPEG-4 (H.264) video format. So a mp4 file is always a MPEG-4 (H.264) video. I use ffmpeg to convert this .m3u8 file into a "normal" video file. Currently I use this command :

    ffmpeg -protocol_whitelist "file,http,https,tcp,tls" -i input.m3u8 output.mp4

    Although even if the video quality is almost perfect it’s a little below the quality of the original m3u8 file. I know I’m really pernickety but is there a better command to keep the original quality ? Or does the ffmpeg convertion command involve inevitably a quality loss ?

  • RTP over TCP without RTSP (for receiving in FFmpeg)

    23 avril 2019, par Iñaki Baz Castillo

    Let me please a basic question that I cannot resolve by reading the FFmpeg / libavformat documentation.

    FFmpeg can consume audio/video from a RTP input over UDP protocol. And it can also consume a RTSP stream. At the end, RTSP is a control protocol (over TCP) which negotiates the media by means of a SDP. Audio/video can be transmitted :

    1. By using a separate UDP "connection" to send RTP packets.

    2. By sharing the TCP connection for both, control protocol and RTP. In this case each RTP packet is encapsulated by prepending it with some bytes as follows :

    | magic number | channel number | embedded data length | RTP packet |

    And it seems that FFmpeg supports both methods 1 and 2 above.

    My specific questions are the following :

    a. Can FFmpeg receive RTP over TCP without RTSP ? I mean : just RTP packets over a TCP connection, encapsulated as above in RTSP or by using RFC 4571 "Framing RTP over TCP" (which just requires prepending each RTP packet with two bytes that indicate the packet length).

    b. If the answer to a. is "yes", can FFmpeg behave as TCP client (and connect to the remote endpoint from which it will receive RTP over TCP) ? or must it behave as TCP server for receiving RTP ?