Recherche avancée

Médias (91)

Autres articles (59)

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

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (9061)

  • avfilter/vf_convolution : add x86 SIMD for filter_3x3()

    27 juin 2019, par Ruiling Song
    avfilter/vf_convolution : add x86 SIMD for filter_3x3()
    

    Tested using a simple command (apply edge enhance) :
    ./ffmpeg_g -i /Downloads/bbb_sunflower_1080p_30fps_normal.mp4 \
    -vf convolution="0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:0 0 0 -1 1 0 0 0 0:5:1:1:1:0:128:128:128" \
    -an -vframes 1000 -f null /dev/null

    The fps increase from 151 to 270 on my local machine.

    Signed-off-by : Ruiling Song <ruiling.song@intel.com>

    • [DH] libavfilter/convolution.h
    • [DH] libavfilter/vf_convolution.c
    • [DH] libavfilter/x86/Makefile
    • [DH] libavfilter/x86/vf_convolution.asm
    • [DH] libavfilter/x86/vf_convolution_init.c
  • Bot isn't playing music [closed]

    15 mai 2020, par DevTeddy

    My bot can join, but it isn't playing any music ! The code is written is Javascript, and I am using Discord.js , Node.js and FFmpeg. The prefix and token are in a seperate JSON file. There are no errors in the Console, though. Also, it says the "added song to queue" message twice, for some reason. I have already tried using VS Code's debugger and checked it for errors. Please help me !

    &#xA;&#xA;

    My code is at : https://github.com/Dev-Ted/ForestBot

    &#xA;&#xA;

    Thanks !

    &#xA;

  • ffmpeg extract first subtitle for given language or fix mismapped tracks

    11 mars 2023, par iarwain8a

    I'm developing a server to encode any given video and I need to extract its subtitles.

    &#xA;

    I've tried something like this which worked :

    &#xA;

    ffmpeg -i pipe:0 -map 0:s:1 -c:s webvtt -f segment -segment_list_flags &#x2B;live -segment_time 60 -segment_list subs_eng.m3u8 -segment_format webvtt subs_eng.vtt -loglevel debug&#xA;

    &#xA;

    This encodes from srt, into webvtt, the second track which happens to be in this video an English subtitle. But very quickly I ran into a problem in which the tracks mappings are not numbered correctly for this video, for example, the (eng) track should be "-map 0:s:2", but it's "-map 0:s:1" as I've said before, and the (bul) track, which should be "-map 0:s:4" is actually "-map 0:s:2".

    &#xA;

    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;  Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s (default)&#xA;  Stream #0:2(eng): Subtitle: subrip&#xA;    Metadata:&#xA;      title           : English&#xA;  Stream #0:3(eng): Subtitle: subrip&#xA;    Metadata:&#xA;      title           : English [SDH]&#xA;  Stream #0:4(bul): Subtitle: subrip&#xA;    Metadata:&#xA;      title           : Bulgarian (Bulgaria)&#xA;

    &#xA;

    Given said problem I tried something like this :

    &#xA;

    ffmpeg -i pipe:0 -map 0:s:m:language:eng -c:s webvtt -f segment -segment_list_flags &#x2B;live -segment_time 60 -segment_list subs_eng.m3u8 -segment_format webvtt subs_eng.vtt -loglevel debug&#xA;

    &#xA;

    Which didn't work because I can't or don't know how, to actually select the first result of this "-map 0:s:m:language:eng" if there is more than 1 "eng" sub track. Is there a way to do this ?&#xA;Or the alternative should be : Is there a reason why the metadata of this file is mismapped ? If so is there a way to detect it, to then do something about it ? or have it fixed ?

    &#xA;