Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (108)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (9889)

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

  • Show video length in HLS player before all TS files are created

    14 novembre 2022, par WilliamTaco

    I have a spring-boot backend which on request (on demand) uses ffmpeg to create a m3u8 playlist with its ts files from a mp4 file. So basically my react frontend requests the index.m3u8 from the backend and if it doesnt already exist it creates it and then start serving it with its ts files. This causes the frontend HLS player to show the length of the video to the combined length of the generated chunks which gets longer as time goes on until its fully there. It totally makes sense but was wondering what the correct way of showing the full length in the player even though its not fully created yet ?

    &#xA;

    Im using react-hls-player for playing the stream and spring-boot + a java ffmpeg wrapper to transcode the video.

    &#xA;

    Might be thinking about this the wrong way so feel free to correct me if im in the wrong path !

    &#xA;

  • Show progress bar of a ffmpeg video convertion

    13 juin 2022, par stackexchange.com-upvm25mz

    I'm trying to print a progress bar while executing ffmpeg but I'm having trouble getting the total number of frames and the current frame being processed. The error I get is AttributeError: &#x27;NoneType&#x27; object has no attribute &#x27;groups&#x27;. I've copied the function from this program and for some reason it works there but not here, even though I haven't changed that part.

    &#xA;

    main.py

    &#xA;

    pattern_duration = re.compile(&#xA;    &#x27;duration[ \t\r]?:[ \t\r]?(.&#x2B;?),[ \t\r]?start&#x27;, re.IGNORECASE)&#xA;pattern_progress = re.compile(&#x27;time=(.&#x2B;?)[ \t\r]?bitrate&#x27;, re.IGNORECASE)&#xA;&#xA;def execute_ffmpeg(self, manager, cmd):&#xA;    proc = expect.spawn(cmd, encoding=&#x27;utf-8&#x27;)&#xA;    self.update_progress_bar(proc, manager)&#xA;    self.raise_ffmpeg_error(proc)&#xA;&#xA;def update_progress_bar(self, proc, manager):&#xA;    total = self.get_total_frames(proc)&#xA;    cont = 0&#xA;    pbar = self.initialize_progress_bar(manager)&#xA;    try:&#xA;        proc.expect(pattern_duration)&#xA;        while True:&#xA;            progress = self.get_current_frame(proc)&#xA;            percent = progress / total * 100&#xA;            pbar.update(percent - cont)&#xA;            cont = percent&#xA;    except expect.EOF:&#xA;        pass&#xA;    finally:&#xA;        if pbar is not None:&#xA;            pbar.close()&#xA;&#xA;def raise_ffmpeg_error(self, proc):&#xA;    proc.expect(expect.EOF)&#xA;    res = proc.before&#xA;    res &#x2B;= proc.read()&#xA;    exitstatus = proc.wait()&#xA;    if exitstatus:&#xA;        raise ffmpeg.Error(&#x27;ffmpeg&#x27;, &#x27;&#x27;, res)&#xA;&#xA;def initialize_progress_bar(self, manager):&#xA;    pbar = None&#xA;    pbar = manager.counter(&#xA;        total=100,&#xA;        desc=self.path.rsplit(os.path.sep, 1)[-1],&#xA;        unit=&#x27;%&#x27;,&#xA;        bar_format=BAR_FMT,&#xA;        counter_format=COUNTER_FMT,&#xA;        leave=False&#xA;    )&#xA;    return pbar&#xA;&#xA;def get_total_frames(self, proc):&#xA;    return sum(map(lambda x: float(&#xA;        x[1])*60**x[0], enumerate(reversed(proc.match.groups()[0].strip().split(&#x27;:&#x27;)))))&#xA;&#xA;def get_current_frame(self, proc):&#xA;    proc.expect(pattern_progress)&#xA;    return sum(map(lambda x: float(&#xA;                x[1])*60**x[0], enumerate(reversed(proc.match.groups()[0].strip().split(&#x27;:&#x27;)))))&#xA;

    &#xA;