Recherche avancée

Médias (91)

Autres articles (7)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (3190)

  • How to dump RTSP to raw data file without encoding

    28 juin 2020, par Yves

    I've read this link : How to dump raw RTSP stream to file ?

    


    In this link, it seems that dumping RTSP stream to some formatted file, such as mp4, is normal.

    


    But I want to store the RTSP stream into the raw data files, instead of files like mp4, avi etc. And I should be able to extract data from the raw data files and send it out as RTSP stream too.

    


    In a word, this is what I need :

    


      

    1. receiving RTSP stream ---> 2. store RTSP data into raw data files ---> 3. read raw data files and send data as RTSP stream
    2. 


    


    Why do I need this ?

    


    Because as my understanding, storing RTSP strema into some formatted file, such as mp4, needs to do an action of encoding (encode RTSP to mp4). But for me, I don't need this action, I simply need to store RTSP data and re-send it as RTSP stream. So if I can store RTSP into the raw-data file, instead of mp4, I don't need to spend computer resources on the action of encoding.

    


  • bash : find truncates some paths [duplicate]

    17 novembre 2023, par fweber

    I'm using MacOS 13.0.1 and try to find + loop over .mov files to convert them to MP4 using FFMPEG. Many of my path contain spaces and special characters. I found a way of putting things together thanks to this post :

    


    function convert_to_mp4_then_rm() {
    while IFS= read -r -d '' file
    do
        ffmpeg -i "$file" "${file%.mov}.mp4"
    done < <(find /Users/f.weber/Downloads -type f -name "*.mov" -print0)
}


    


    This runs but I found a (random ?) error : it looks like some of the paths are truncated when they arrive to the ffmpeg CLI.

    


    Example to reproduce with a basic content :

    


    ll Downloads/
total 9472
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2538.mov
-rw-r--r--  1 f.weber  staff   2,3M 26 sep 08:56 23-09-26 08-56-50-2539.mov


    


    When I call convert_to_mp4_then_rm in a terminal, the first MOV file is properly processed then I have the following error from FFMPEG : /Downloads/23-09-26 08-56-50-2539.mov: No such file or directory. In some conditions (e.g. when the path is longer) the truncation is more obvious and can occur in the middle of a word.

    


    What is the explanation for this ? How to forward untruncated paths to my function's core ?

    


    Thanks !

    


  • Recording video report for protractor execution on a remote environment

    23 septembre 2019, par Debasish Mukherjee

    I am executing my protractor test suite from my desktop and I am using a remote selenium server. I have configured the ’protractor-video-reporter’ to capture execution for my local windows environment (using ffmpeg codec) and when I execute using my local selenium server, the video capture works fine. But when I execute on remote VMs, it captures my desktop screen.
    I understand that I need to provide the remote location path to ffmpeg codec, but I do not know how to provide appropriate user credentials so that my automation can invoke the remote plugin ?
    My present configuration is as follows :

    const VideoReporter = require('protractor-video-reporter');
    ...
    let config = {
    ...
    onPrepare: () => {
    ...
    VideoReporter.prototype.jasmineStarted = function () {
                            var self = this;
                            if (self.options.singleVideo) {
                                    var videoPath = path.join(self.options.baseDirectory, 'protractor-specs.mpg');
                                    self._startScreencast(videoPath);
                                    if (self.options.createSubtitles) {
                                            self._subtitles = [];
                                            self._jasmineStartTime = new Date();
                                    }
                            }
            };
    ...
    jasmine.getEnv().addReporter(new VideoReporter({
            baseDirectory: './test-output/videoreport',
            createSubtitles: false,
            saveSuccessVideos: true,
            singleVideo: true,
            ffmpegCmd: "C:/FFmpeg/bin/ffmpeg.exe", /*Probably some changes needed here*/
            ffmpegArgs: [
                                    '-f', 'gdigrab',
                                    '-framerate', '30',
                                    '-video_size', 'wsxga',
                                    '-i', 'desktop',
                                    '-q:v', '10',
            ]
    }));
    ...
     }
     ...
    }
    export { config };

    Considering that execution and video capture both has to happen in remote server, please suggest a suitable solution.