Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (70)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (6912)

  • Installing FFMPEG on my EC2 instance takes too long ; what am I doing wrong ? [closed]

    24 août 2023, par Shaban Khawar

    I found a good article on how to download onto my EC2 instance : link
Here's the issue. It takes forever ! It takes around 15 minutes to install.

    


    I'm running my EC2 instance on Amazon Linux 2023, so no apt-get for me.
Also my EC2 instance is created by my EB environment, so if auto-scaling occurs, my instance will be terminated and a new one will be created. I can set .ebextensions to run all the commands to install FFMPEG again but as mentioned above, it takes forever ! That means for 15-20 minutes, my server is down because of one dependancy. I feel like I'm going about this the wrong way, so any advice is appreciated.

    


  • lavc/qsvenc_hevc : restore the default gop size

    11 août 2023, par Haihao Xiang
    lavc/qsvenc_hevc : restore the default gop size
    

    commit a3c0a3e changed the default settings and expected the runtime can
    choose a best value. However the runtime doesn't set a valid gop size
    for hevc encoder, hence the output steam is non-seekable, which is
    inconvenient to user [1][2]

    [1] https://github.com/intel/media-driver/issues/1576
    [2] https://ffmpeg.org/pipermail/ffmpeg-user/2023-August/056716.html

    Signed-off-by : Haihao Xiang <haihao.xiang@intel.com>

    • [DH] libavcodec/qsvenc_hevc.c
  • Pydub : How to ave audio after convert it to aac ?

    4 août 2023, par suvodipMondal

    I am using django admin form to recieve a audio input, and I am trying to convert it into aac format with pydub.&#xA;I have installed ffmpeg in my system and also added pydub and ffmpeg-python as dependencies.

    &#xA;

    Here is the django ModelAdmin :

    &#xA;

    class AudioAdmin(admin.ModelAdmin):&#xA;    fields = (&#x27;file&#x27;, &#x27;bit_rate&#x27;, &#x27;format&#x27;)&#xA;    list_display = (&#x27;id&#x27;, &#x27;file&#x27;, &#x27;bit_rate&#x27;, &#x27;format&#x27;, &#x27;content_type&#x27;)&#xA;&#xA;    def save_model(self, request, obj, form, change):&#xA;        audio_file = form.cleaned_data[&#x27;file&#x27;]&#xA;        _, file_extension = os.path.splitext(audio_file.name)&#xA;        curr_audio = AudioSegment.from_file(file=audio_file, format=file_extension.replace(&#x27;.&#x27;, &#x27;&#x27;))&#xA;        new_audio = curr_audio.export(out_f=audio_file.name, format="aac")&#xA;        obj.file = new_audio&#xA;        obj.save()&#xA;&#xA;

    &#xA;

    I am still getting this error while converting an mp3 file in aac format.

    &#xA;

        raise CouldntEncodeError(&#xA;pydub.exceptions.CouldntEncodeError: Encoding failed. ffmpeg/avlib returned error code: 1&#xA;Command:[&#x27;ffmpeg&#x27;, &#x27;-y&#x27;, &#x27;-f&#x27;, &#x27;wav&#x27;, &#x27;-i&#x27;, &#x27;/var/folders/8g/230x9vx55p7c0bdwx0cmzx9r0000gq/T/tmpxaetjjk0&#x27;, &#x27;-f&#x27;, &#x27;aac&#x27;, &#x27;/var/folders/8g/230x9vx55p7c0bdwx0cmzx9r0000gq/T/tmpa3ae8nn1&#x27;]&#xA;Output from ffmpeg/avlib:&#xA;ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with Apple clang version 14.0.0 (clang-1400.0.29.202)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/6.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox&#xA;  libavutil      58.  2.100 / 58.  2.100&#xA;  libavcodec     60.  3.100 / 60.  3.100&#xA;  libavformat    60.  3.100 / 60.  3.100&#xA;  libavdevice    60.  1.100 / 60.  1.100&#xA;  libavfilter     9.  3.100 /  9.  3.100&#xA;  libswscale      7.  1.100 /  7.  1.100&#xA;  libswresample   4. 10.100 /  4. 10.100&#xA;  libpostproc    57.  1.100 / 57.  1.100&#xA;Guessed Channel Layout for Input Stream #0.0 : stereo&#xA;Input #0, wav, from &#x27;/var/folders/8g/230x9vx55p7c0bdwx0cmzx9r0000gq/T/tmpxaetjjk0&#x27;:&#xA;  Duration: 00:03:14.72, bitrate: 1411 kb/s&#xA;  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s&#xA;[NULL @ 0x7fe40da072c0] Requested output format &#x27;aac&#x27; is not a suitable output format&#xA;/var/folders/8g/230x9vx55p7c0bdwx0cmzx9r0000gq/T/tmpa3ae8nn1: Invalid argument&#xA;

    &#xA;