Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (104)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • 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

Sur d’autres sites (8762)

  • JavaCV Video Player with FFmpeg and JavaFx

    2 juin 2021, par ِِYazdan Naderi

    I want to create a media player using Java CV, but I can not adjust the frame rate
And because of this, some videos play fast and some play slow

    


    Is it possible to read the information of a video through a FFmpegFrameGrraber object and set it in another object to solve the problem ?
Of course, I did this and did not get an answer, but if there is another way, please help

    


    playThread = new Thread(new Runnable() {
            public void run() {
                try {
                    final String videoFilename = "E:\\Java\\s1\\3.mp4";
                    final String videoFilename2 = "E:AudioVideo.mp4";
                    final String videoFilename3 = "E:\\1.mp4";
                    final String videoFilename4 = "E:\\Java\\s1\\3.mp4";


                     FFmpegFrameGrabber grabber = new FFmpegFrameGrabber(videoFilename);



                    grabber.start();

                    grabber.setFrameRate(30.00);


                    primaryStage.setWidth(grabber.getImageWidth());
                    primaryStage.setHeight(grabber.getImageHeight());

                    final AudioFormat audioFormat = new AudioFormat(grabber.getSampleRate(), 16, grabber.getAudioChannels(), true, true);

                    final DataLine.Info info = new DataLine.Info(SourceDataLine.class, audioFormat);
                    final SourceDataLine soundLine = (SourceDataLine) AudioSystem.getLine(info);
                    soundLine.open(audioFormat);
                    soundLine.start();

                    JavaFXFrameConverter converter = new JavaFXFrameConverter();

                    ExecutorService executor = Executors.newSingleThreadExecutor();

                    while (!Thread.interrupted()) {
                        Frame frame = grabber.grab();
                        if (frame == null) {
                            break;
                        }
                        if (frame.image != null) {
                            final Image image = converter.convert(frame);//
                            Platform.runLater(() -> {
                                
                                imageView.setImage(image);

                            });
                        }
                         else if (frame.samples != null) {
                            final ShortBuffer channelSamplesShortBuffer = (ShortBuffer) frame.samples[0];
                            channelSamplesShortBuffer.rewind();

                            final ByteBuffer outBuffer = ByteBuffer.allocate(channelSamplesShortBuffer.capacity() * 2);

                            for (int i = 0; i < channelSamplesShortBuffer.capacity(); i++) {
                                short val = channelSamplesShortBuffer.get(i);
                                outBuffer.putShort(val);
                            }

                            try {



                                executor.execute(() -> {
                                    soundLine.write(outBuffer.array(), 0, outBuffer.capacity());
                                    outBuffer.clear();
                                });
                            } catch (Exception interruptedException) {
                                Thread.currentThread().interrupt();
                            }
                        }

                    }
                    executor.shutdownNow();
                    executor.awaitTermination(10, TimeUnit.SECONDS);

                    soundLine.stop();
                    grabber.stop();
                    grabber.release();
                    Platform.exit();
                } catch (Exception exception) {
                    LOG.log(Level.SEVERE, null, exception);
                    System.exit(1);
                }
            }
        });
        playThread.start();
    }


    


  • Flutter ffmpeg_kit_flutter_full_gpl-6.0.3 PluginRegistry.Registrar flutter version 3.29

    30 avril, par Lisa

    I am using ffmpeg_kit_flutter_full_gpl-6.0.3 for flutter version 3.27 but when upgrading to flutter 3.29, with android, there is an error PluginRegistry.Registrar registrar. Is there any solution to replace the current ffmpeg_kit_flutter_full_gpl because I see this library was updated 17 months ago

    


    /Users/pamcd/.pub-cache/hosted/pub.dev/ffmpeg_kit_flutter_full_gpl-6.0.3/android/src/main/java/com/arthenica/ffmpegkit/flutter/FFmpegKitFlutterPlugin.java:157: error: cannot find symbol
    public static void registerWith(final io.flutter.plugin.common.PluginRegistry.Registrar registrar) {
                                                                                 ^
  symbol:   class Registrar
  location: interface PluginRegistry
/Users/pamcd/.pub-cache/hosted/pub.dev/ffmpeg_kit_flutter_full_gpl-6.0.3/android/src/main/java/com/arthenica/ffmpegkit/flutter/FFmpegKitFlutterPlugin.java:651: error: cannot find symbol
    protected void init(final BinaryMessenger messenger, final Context context, final Activity activity, final io.flutter.plugin.common.PluginRegistry.Registrar registrar, final ActivityPluginBinding activityBinding) {
                                                                                                                                                ^
  symbol:   class Registrar
  location: interface PluginRegistry
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ffmpeg_kit_flutter_full_gpl:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.


    


    Is there any alternative ?

    


  • Joining three videos with FFMpeg [duplicate]

    4 novembre 2016, par M. Saez

    This question is an exact duplicate of :

    I’m trying to merge/join three mp4 videos with ffmpeg ; the first one is a 5 seconds intro without an audio track, then it is the main video and at the end there is a 6 seconds mp4 video also without an audio track.

    All videos are encoded with exactly the same settings, so far i’m trying the concat option and i can join them just fine, the problem is the final video doesn’t have the audio track from the main video.

    This is the command i’m using :

    ffmpeg -f concat -i mylist.txt -c copy output.mp4

    Needless to say, the final video must respect the first 5 seconds without audio and the last 6 seconds.

    Any idea ?, if i prefer something where i don’t need to reencode at all, but if i must, i don’t really mind.

    Thanks !