Recherche avancée

Médias (91)

Autres articles (56)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (10404)

  • ffmpeg flac or mp3 to m4a - exactly the same length possible ?

    17 février 2021, par Rumpl

    I'm converting .flac and .mp3 audio files to .m4a using ffmpeg with libfdk_aac (Fraunhofer AAC encoder) like this :

    


    ffmpeg -i "001.flac" -c:a libfdk_aac "001.m4a"

    


    This works fine, but in case of .flac the resulting .m4a files include 0.046 seconds of silence at the start and sometimes a few extra milliseconds at the end. Though, I need the .m4a files to be of exactly(!) the same length without any extra silence. Is there a way to achieve this ?

    


    EDIT : At the moment I'm using an additional step, i.e. cutting the resulting .m4a file works at least in the beginning of the track, but there are still some (varying) extra ms in the end :

    


    ffmpeg -i 001.m4a -ss 0.047 -c:a libfdk_aac 001cut.m4a

    


  • avcodec/ljpegenc : Allow full range yuv420p, yuv422p, yuv444p by default

    6 avril 2021, par Andreas Rheinhardt
    avcodec/ljpegenc : Allow full range yuv420p, yuv422p, yuv444p by default
    

    The documentation for AV_PIX_FMT_YUVJ420P reads :
    "planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of
    AV_PIX_FMT_YUV420P and setting color_range"
    Yet the LJPEG encoder only accepts full scale yuv420p when strictness is
    set to unofficial or lower ; with default strictness it emits a nonsense
    error message that says that limit range YUV is unofficial. This has
    been changed to allow full range yuv420p, yuv422p and yuv444p irrespective
    of the level of strictness.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/ljpegenc.c
  • Merge two videos with different HTTP Range header bytes

    5 avril 2022, par Mohammad Momeni

    I want to save 10 seconds from any part of a video by using its URL (without downloading it completely).&#xA;the server supports the Range header and it's possible to get specific byte ranges, the video is ok when I save it with something like Range: bytes=0-102400 but when I change the start byte and save a video with Range: bytes=307200-614400 it's no longer playable.

    &#xA;

    I know maybe it lacks a MIME/header type that should be at the beginning of a file, but the first bytes are not in this response to specify the correct format of the file.&#xA;so I saved the video from 0-102400, which is ok and playable, and wanted to get that specific range and somehow append it after the first file to have both a correct file header (less than 1 sec) and that middle part of the video.

    &#xA;

    first.webm Range : bytes=0-102400 (valid playable file)

    &#xA;

    middle.webm Range : bytes=307200-614400 (not playable file)

    &#xA;

    I tried to merge them using this command recommended by this answer

    &#xA;

    ffmpeg -f concat -i list.txt -c copy merged.webm&#xA;

    &#xA;

    logs :

    &#xA;

    [matroska,webm @ 000002143c3e77c0] File ended prematurely00 bitrate=3752.0kbits/s speed=N/A&#xA;[matroska,webm @ 000002143c429e40] Format matroska,webm detected only with low score of 1, misdetection possible!&#xA;[matroska,webm @ 000002143c429e40] EBML header parsing failed&#xA;[concat @ 000002143c3dda80] Impossible to open &#x27;middle.webm&#x27;&#xA;list.txt: Invalid data found when processing input&#xA;frame=   42 fps=0.0 q=-1.0 Lsize=      10kB time=00:00:01.64 bitrate=  48.7kbits/s speed= 231x    &#xA;video:9kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.500000%&#xA;

    &#xA;

    generated video only shows the first video (which was already playable before merging) and ends.&#xA;I inspired this idea from this answer and don't want to download the complete video. If I can't merge them is it possible and how to write a MIME/header for the middle.webm manually to make it a valid playable video ?

    &#xA;