Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (51)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9972)

  • 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