Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (84)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (9582)

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