Recherche avancée

Médias (91)

Autres articles (21)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (3487)

  • Does 'keyint infinite' improve overall compression with crf and mb-tree ?

    23 avril 2012, par HitomiTenshi

    After reading what intra-refresh does, I kinda got confused. I'm encoding for YouTube and YouTube will re-encode the video-file anyways, so I thought "why not removing all these heavy IDR-frames ?" I just want to compress my video as hard as possible, enabling everything that could help me getting a lower filesize, but still maintaining a high quality.

    I used to test around stuff with lossless QP encoding, but the only thing I could max out was the merange. Here is a paste of my x264 settings : Pastebin.

    I want to achieve highest compression while maintaining visually lossless quality. (using crf values around 10 - 13, and merange 32)

    Could anyone give me advice on how to compress my video super hard (without touching the crf value !). I also want to know if it's true, that keyint infinite reduces overall compression.

  • Setting qscale programmatically when using MPEG4 encoder ( for constant quality / VBR)

    14 février 2019, par Dennis

    i implemented the possibility to encode various self-rendered video-frames with MPEG4 codec and create an .mp4 video file. This works fine. Now i want to add the possibility to define a quality slider (0-100%) to parameterize a factor for constant quality (VBR). I don’t know how to do that.

    I found out that -qscale seems to do what i want, so i looked in ffmpeg_opt.c what happens there and tried the same :

    config.codecContext->flags |= AV_CODEC_FLAG_QSCALE;
    config.codecContext->global_quality = FF_QP2LAMBDA * QualityLvl;

    with :

    • "config.codecContext" being the code context
    • "FF_QP2LAMBDA" being 118
    • "QualityLvl" is the "factor for constant quality" (has to be an int between 1 and 31 according to this :
      https://trac.ffmpeg.org/wiki/Encode/MPEG-4)

    The problem is, that it actually doesn’t matter if "QualityLvl" is 1,2 or 30 it always results in the same file size and a visually same(?) video file. I would have expected file size and quality differences ?!

  • Convert mp3 to AAC with mpeg-2 container (FFMPEG)

    18 mars 2016, par jsurf

    I’m trying to convert an mp3 audio file to an AAC file with FFMPEG, and I need the audio to be wrapped in an MPEG-2 container.
    The resulting AAC file needs to be AAC-LC (Low Complexity), 1-channel, CBR mode, 44100 sample rate, and 48kb/s bitrate, so I use this command :

    ffmpeg -y -i input.mp3 -ar 44100 -ab 48k -acodec libfdk_aac -ac 1 output.aac

    But when I examine the ADTS headers, the audio file is always being wrapped in an MPEG-4 container. I have tried all the codecs listed here but I still end up with an mpeg-4 container wrapped around the audio : http://trac.ffmpeg.org/wiki/AACEncodingGuide.

    Here are the headers I get when examining the AAC output file :

    mpeg_type : ’MPEG4’,
    profile : 2,
    profile_name : ’AAC LC’,
    sample_freq : 44100,
    channel_config : 1,
    channels : 1,
    frame_length : 139,
    buffer_fullness : 157,
    number_of_frames : 1,
    frames_per_sec : 43.06640625

    Any ideas as to why ffmpeg wraps an mp4 container around the audio ? Can I get around this somehow ? Are there any other encoders I can try aside from FFMPEG ? I was giving FAAC encoder a shot and it gives me the proper encoding and ADTS headers, but alas it does not support mp3, only WAV.