Recherche avancée

Médias (91)

Autres articles (39)

  • 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

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

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

  • How to increase the audio length using FFMPEG ?

    22 janvier 2016, par Rama Lingam

    I have the MP3 audio file output.mp3 with 00:00:01 length.
    I want to convert the audio file to output_test.mp3 with 00:00:50 length.
    The audio file should be play repeat at end of length 00:00:50. How to do it ?

    $imgDir     = 'upload/2016/01/tmp_81332';
    $ffmpeg     = '/usr/bin/ffmpeg';

    // Convert Audio Length Path
    $convAudioPath  = $imgDir."/output.mp3";
    $convAudioPath_test = $imgDir."/output_test.mp3";

    exec("$ffmpeg -i $convAudioPath -vcodec copy -acodec copy -ss 00:00:00.000 -t 00:00:50.000 $convAudioPath_test");

    Advise any idea !

  • javafx show FFmpegFrameGrabber javacv

    26 mai 2017, par Anastasia Sisordia

    I use org.bytedeco.javacv. Created

    FFmpegFrameGrabber streamGrabber = new FFmpegFrameGrabber(filename);

    When I use CanvasFrame i just grab the streamGrabber and convert this frame to BufferedImage and show this image canvas.showImage(bi);

    And this works perfect.

    But if I want to show this image inside the GridPane , I convert BufferedImage to javafx.scene.image.Image :

    Image image= SwingFXUtils.toFXImage(bi, null);

    And my programm catch OutOfMemoryError .

    May I add Frame (org.bytedeco.javacv.Frame) or BufferedImage to my GridPane without conver to image ? What need to do ?

  • How to show subtitle on video in ffmpeg

    19 février 2023, par Ammara

    I am working with ffmpeg. I use below code to show subtitle on video. I create video but subtitle did not show. Please help me
Here is my code. here is my abc.srt file. I store this to my download folder of mobile

    


    1&#xA;00:00:00,000 --> 00:00:01,500&#xA;This an example subtitle&#xA;&#xA;2&#xA;00:00:01,600 --> 00:00:02,500&#xA;<i>Italic style</i>&#xA;&#xA;3   &#xA;00:00:03,000 --> 00:00:15,000&#xA; Video by Tiger Lily on pexels.com&#xA;

    &#xA;

    here is ffmpeg command

    &#xA;

    String srt=BASE_PATH&#x2B;&#x27;abc.srt&#x27;;&#xA;  String CommandOverlay=&#x27; -i ${video1} -i "$srt" -c:v copy -c:a copy -c:s mov_text ${OUTPUT_PATH}&#x27;;&#xA;  await FFmpegKit.execute(CommandOverlay).then((session) async {&#xA;    final returnCode = await session.getReturnCode();&#xA;    if (ReturnCode.isSuccess(returnCode)) {print("Task Completed");}&#xA;    else if (ReturnCode.isCancel(returnCode)) {print("cancel");}&#xA;    else {print("error ");}&#xA;  });&#xA;}else if (await Permission.storage.isPermanentlyDenied) {&#xA;  openAppSettings();&#xA;}&#xA;

    &#xA;

    It generates video without any subtitle

    &#xA;