Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (75)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (10801)

  • Batch-converting multimedia-files on Command-Line using find and ffmpeg (Linux)

    11 mai 2018, par free_speech

    For converting more Audio-Files (Let’s say, FLAC to MP3) in the same folder on Command-Line, I formerly used

    find ./ -name "*.flac" -exec ffmpeg -i "{}" -b:a 320k "{}".mp3 \;

    but the problem is that the resulting MP3-Files are named like Artist - Title.flac.mp3.
    This doesn’t even surprise me, but what do I have to type if I want to avoid the ".flac.mp3"-Filenames ?
    The converted Files should be named like Artist - Title.mp3, not this .flac.mp3
    I didn’t yet find a way to solve this problem ...
    Thanks.

  • How can I find video rotation and rotate the clip accordingly using moviepy ?

    28 mars 2022, par Tom Burrows

    I'm using moviepy to import some videos, but the videos that should be in portrait mode are imported in landscape. I need to check whether the rotation has been changed, and if it has, rotate it back.

    



    Is this functionality built into moviepy ? If not, how else can I check it ?

    


  • Unable to find/write moov atom in the mp4 recorded stream

    11 juillet 2014, par AnilJ

    I have written the following code to write the webcam feed into a file (.mp4) on disk. The program is successful, but when I try to play the file using player, it says "moov atom not found" and player is not showing anything. The file however is a valid mp4 file according to ffmpeg command.

    This is my main thread where I encode a picture every 30ms.

    public void run() {        

       // Set the thread rolling.
       mRunning = true;

       while (mRunning) {
           // and display it on the Java Swing window
           Record();
       }

       // clean up resources
       cleanup();
    }

    private void Record() {

       IVideoPicture picture = null;
       BufferedImage image = null;

       picture = GetNextPicture();
       image = Utils.videoPictureToImage(picture);

       if (picture != null) {  
           // If recording is enabled, record the webcam stream.
           if (mRecordStream) {

               // convert to the right image type
               BufferedImage bgrScreen = ConvertToType(image, BufferedImage.TYPE_3BYTE_BGR);

               // encode the image to stream #0
               mWriter.encodeVideo(0, bgrScreen, System.nanoTime() - mStartTime, TimeUnit.NANOSECONDS);
           }

           try {
               Thread.sleep(30);
           } catch (InterruptedException e) {
               return;
           }
       }
    }

    From the main thread, I do this when I want to stop the recording and close this recording thread. The cleanup() method is eventually called by the main thread to close the writer. The comment does says about writing the trailer (I guess moov atom), but it does not do it. Can someone please help me find where the problem is ?

    public void stopRecording() {      
       // Stop the thread loop.
       mRunning = false;
    }

    private void cleanup() {

       // tell the writer to close and write the trailer if  needed
       if (mWriter != null) {
           mWriter.close();
           mWriter = null;
       }

       if (mVideoCoder != null) {
           mVideoCoder.close();
           mVideoCoder = null;
       }

       if (mContainer != null) {
           mContainer.close();
           mContainer = null;
       }
    }