Recherche avancée

Médias (91)

Autres articles (56)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (9927)

  • Trim video in Android using ffmpeg, audio and video not in sync

    8 novembre 2017, par Nidhin Radh

    I’m creating an Android application which process video files and I’ve used VideoKit library (https://github.com/inFullMobile/videokit-ffmpeg-android) to integrate ffmpeg with the application.
    I used the following snippet to trim a video,

                       Command command= videoKit.createCommand()
                                       .overwriteOutput()
                                       .inputPath(ipfile.getAbsolutePath())
                                       .outputPath(opfile.getAbsolutePath())
                                       .customCommand("-ss 10 -t 30 -vcodec "+
                                        "copy -acodec copy -async 1")
                                       .copyVideoCodec()
                                       .experimentalFlag()
                                       .build();
                               command.execute();

    Sometimes the output seems to be okay, but sometimes the video and audio are not in sync, i.e. video ends before audio. Most of the time this happens with videos downloaded from YouTube.
    Can someone give me an idea to trim videos in android without any problems ?

  • ffmpeg play short video during playing another video

    10 mai 2016, par Szymek Świderski

    I want put and play scrap of short video during play another video in ffmpeg. I use this : ffmpeg -i 0.mp4 -i "prawo.mp4" -filter_complex "blend=all_mode='heat':all_opacity=0.3" output.mp4

    and i get this :

    First input link top parameters (size 1280x720, SAR 0:1) do not match the corresponding second input link bottom parameters (1920x1080, SAR 1:1)

    What should i do ? Any help ?

  • Command of FFMPEG to make a video from Image(JPEG) + Audio(.mp3) & Share video in Whatsapp

    22 novembre 2018, par Neel Mevada

    I am trying to create a video .mp4 file from .mp3 audio & .jpeg image.

    I am able to make a video and able to play in Video Players in Android devices.

    But after creation of file when i tried to Share that Video in Whatsapp, at that time it shows a message "The file format not supported".

    I am using below FFMPEG Command :

    "-loop 1 -r 1 -i " + imageFilePath + " -i " + audioFilePath + " -c:v libx264 -crf 27 -tune stillimage -c:a copy -pix_fmt yuv420p -preset ultrafast -shortest " + pathOutputVideo(sectionName);

    And for Sharing video , i am using below Code :

     MediaScannerConnection.scanFile(ShareQuestionAudioActivity.this, new String[]{FfmpegController.pathOutputVideo(qModel.getSectionName().toUpperCase().replaceAll(" ", "_"))},
                   null, new MediaScannerConnection.OnScanCompletedListener() {
                       public void onScanCompleted(String path, Uri uri) {
                           Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
                           shareIntent.setType("video/*");
                           shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(FfmpegController.pathOutputVideo(qModel.getSectionName().toUpperCase().replaceAll(" ", "_"))));
                           startActivity(Intent.createChooser(shareIntent, "Share Question"));
                       }
                   });

    From this Link I found that i need to use H264 + AAC. but still not able to share video with supported file format