Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (108)

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

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (12429)

  • how to host live stream video

    21 août 2015, par Vhanjan

    Using jwplayer with html5 users can watch videos online..
    just put the source where the video file is located,, and the users can play the video that easy..

    i also tried to put a live stream source, as i remember it is rts ://sampledomain.com/video.mp4,
    then jwplayer easily play that mp4 file..

    my question is
    how can i host this kind of file "rts ://sampledomain.com/video.mp4" using my web camera or hypercam3 as my video recorder.. and send it to jwplayer so the users can play live stream in the browser using jwplayer..

    any hint are appreciated, but thank you very much for step by step tutorials..

  • Record rtsp stream to a file to be played later

    16 avril 2021, par Саня Рыбалко

    everyone.
    
I have a UWP app, which can stream rtsp streams from online ip cameras by means of FFmpegInterop NuGet package. This is how I use the FFmpegInteropMSS object to set mediaElement's source to the rtsp stream :

    


            FFmpegInteropMSS ffmpeg = await FFmpegInterop.FFmpegInteropMSS.CreateFromUriAsync("rtsp://88.84.52.66/axis-media/media.amp");
        MediaStreamSource streamSource = ffmpeg.GetMediaStreamSource();
        mediaElement.SetMediaStreamSource(streamSource);
        mediaElement.Play();


    


    But I have run into a problem - I need to make it possible to record the stream in a local file to be played later. I have found out this is possible while using ffmpeg console, but I would prefer to use some c# tools(not only FFmpegInterop library) to do it.
    
Thanks for your help in advance.

    


  • How to convert mp4 to mp3 in Android Java ?

    16 août 2023, par Akshit

    I have the mp4 link of a video but don't have a link for the mp3 version of that mp4 video. So is there any way that I can convert that mp4 video to mp3 in Android ? I saw some resources but nothing works for me. I have two ways in which I believe this can be achieved

    


      

    1. Convert the mp4 link to mp3 directly. (Not Sure if this is achievable)
    2. 


    3. Download the mp4 on the device with the help of a link and then use some code to convert that mp4 to mp3.
    4. 


    


    I also tried some solutions which are available online

    


    https://github.com/tanersener/mobile-ffmpeg

    


    I tried the above library to achieve the final goal. But got : Async command execution failed with returnCode=1.

    


    This error in the code I am using is :

    


    private class Mp4ToMp3ConverterTask extends AsyncTask {
    @Override
    protected String doInBackground(String... params) {
        String mp4FilePath = params[0];
        String mp3OutputPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/output.mp3";

        String[] ffmpegCommand = {"-i", mp4FilePath, "-vn", "-ar", "44100", "-ac", "2", "-b:a", "192k", mp3OutputPath};


        Config.enableStatisticsCallback(new StatisticsCallback() {
            public void apply(Statistics newStatistics) {
                Log.d("Dekh", String.format("frame: %d, time: %d", newStatistics.getVideoFrameNumber(), newStatistics.getTime()));
            }
        });

        long executionIdd = FFmpeg.executeAsync(ffmpegCommand, new ExecuteCallback() {
            @Override
            public void apply(final long executionId, final int returnCode) {
                if (returnCode == RETURN_CODE_SUCCESS) {
                    Log.i("Dekh", "Async command execution completed successfully.");
                } else if (returnCode == RETURN_CODE_CANCEL) {
                    Log.i("Dekh", "Async command execution cancelled by user.");
                } else {
                    Log.i("Dekh", String.format("Async command execution failed with returnCode=%d.", returnCode));
                }
            }
        });

        FFmpeg.cancel(executionIdd);

        return mp3OutputPath;
    }
}


    


    Solution number 2 which I used is :

    


    https://androidprogrammatically425516919.wordpress.com/2020/04/21/how-to-convert-video-to-audio-in-android-programmatically/

    


    But I got an error here also : Failed to instantiate extractor.
    
And another error is : java.io.FileNotFoundException: open failed: EISDIR (Is a directory)

    


    I tried the online available solution to solve these errors but nothing worked. Such as granting write permission. Providing a valid location to save the output.

    


    But nothing works so far. Please help me on this. Thank you.