Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (98)

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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (10854)

  • FFmpeg : Continuously download X minutes video from livestream ?

    16 février 2017, par Dorin Pleava

    I want to download X minutes from a livestream continuously and overwrite the same file, meaning the file will always have the latest X minutes from the livestream.

    Is there a way without calling the following command over and over again in a batch file ? Something that runs continuously from FFMPEG ?

    -i http://iphone-streaming.ustream.tv/uhls/17074538/streams/live/iphone/playlist.m3u8 -t 60 -y -c:a copy MyVideo.mp4
  • Java merge ? mix ? 2 audio files(mp3) parallely and download it

    4 février 2024, par JoonSeo Yang

    is there any way to mix 2 audio files parallely and let user download it ?

    


    I was trying it by ffmpeg

    


    FFmpegBuilder builder = new FFmpegBuilder()
                .overrideOutputFiles(true)
                .setInput(audioInputPath1)
                .addInput(audioInputPath2)
                .addOutput(outputFilePath)
                .setFormat("mp3")
                .setAudioCodec("libmp3lame")
                .setAudioBitRate(256000)
                .done();

        executor.createJob(builder).run();


    


    but it doesnt work by codec problem, so i want to know if there any other way to reach my goal, or fix my ffmpeg code to make it work ?

    


  • download rtmp live stream video secondly

    15 juillet 2024, par Chenguang He

    I'm working on a java project to create a rtmp server and download the real-time flv video every second(need to download multiple recording frame secondly instead of download entire recording after live stream finished)
This is my logic, firstly listen to the rtmp channel to write video and audio into file

    


    if(msg instanceof VideoMessage vm){
byteArrayOutputStream = new ByteArrayOutputStream();
 byteArrayOutputStream.writeBytes(vm.getVideoData());
            File file = new File("tmp/video_" + i);
            FileOutputStream fos = new FileOutputStream(file);
            fos.write(byteArrayOutputStream.toByteArray());
            fos.close();

}


    


    Then decode to H264 to get playable flv file

    


    FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(input);
grabber.setFormat("h264");
        grabber.start();
FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(outputFilePath, grabber.getImageWidth(), grabber.getImageHeight());
recorder.start();
while ((frame = grabber.grab()) != null) {
            recorder.record(frame);
        }
grabber.stop();
        grabber.release();
        recorder.stop();
        recorder.release();
}


    


    But this login was failed. I met this issue when I implemented the ffmpeg

    


    data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.


    


    Is there any other idea to solve this or other way to achieve the logic ? Thanks