Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (92)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (12074)

  • avcodec/asvenc : Simplify writing extradata

    22 mai, par Andreas Rheinhardt
    avcodec/asvenc : Simplify writing extradata
    

    It is confusing, because the AV_RL32("ASUS") already
    returns an endian-independent value, so converting
    it via av_le2ne32() makes no real sense : one would need
    to transform the native value to le and write it as
    a natie endian uint32_t for it to make sense (the current
    code only works because le2ne32 and ne2le32 are the same
    for both endianness that we care about). Or one can just
    use AV_RL32 and create the number via MKTAG().

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

    • [DH] libavcodec/asvenc.c
  • FFMPEG & HW Acceleration Unable to find a suitable output format for 'cuda' ?

    10 juillet 2022, par user2522885

    I'm curious about FFMPEG and GPU hardware acceleration. My Windows 10 system uses the Asus / nVidia GTX 760 graphics card and Intel i5-2500K CPU. My graphics card claims to be of the Kepler architecture with CUDA 3.0 as shown here.

    &#xA;

    Instead of going through the hassles of compiling FFMPEG with hw acceleration support i downloaded a pre-compiled binary from here and here.

    &#xA;

    Next, i tried running a test with hw acceleration options as recommended here :

    &#xA;

    ffmpeg -y -vsync 0 -i "input.mkv" -hwaccel cuda -hwaccel_output_format cuda -c:a copy -c:v h264_nvenc "output.mp4"&#xA;

    &#xA;

    I then received the error message :

    &#xA;

    &#xA;

    [NULL @ 000002257f4af540] Unable to find a suitable output format for 'cuda'

    &#xA;

    cuda : Invalid argument

    &#xA;

    &#xA;

    What am i doing wrong ? For the record i install the CUDA setup file but it made no difference. I am using the latest nVidia drivers.

    &#xA;

    UPDATE

    &#xA;

    I modified the line to :

    &#xA;

    ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i "input.mkv" -c:a copy -c:v h264_nvenc "output.mp4" &#xA;

    &#xA;

    The new error message is :

    &#xA;

    &#xA;

    [h264_nvenc @ 00000191f5c8d400] Lossless encoding not supported

    &#xA;

    [h264_nvenc @ 00000191f5c8d400] Provided device doesn't support required NVENC features Error initializing output stream 0:0 — Error&#xA;while opening encoder for output stream #0:0 - maybe incorrect&#xA;parameters such as bit_rate, rate, width or height

    &#xA;

    &#xA;

  • couldn't render an audio after extracting the audio from the video

    3 juin 2022, par Rama Ranneh

    hi … I am trying to use FFmpegFrameRecorder to extract an audio from a video using this code

    &#xA;

            FFmpegFrameGrabber frameGrabber = new FFmpegFrameGrabber(mp4Path);&#xA;        frameGrabber.start();&#xA;        FFmpegFrameRecorder recorder = new FFmpegFrameRecorder(new &#xA;        File("C:/Users/ASUS/Desktop/audio.aac"),audioChannels);&#xA;        recorder.setAudioMetadata(frameGrabber.getAudioMetadata());&#xA;        recorder.setFrameRate(frameGrabber.getFrameRate());&#xA;        recorder.setTimestamp(frameGrabber.getTimestamp());&#xA;        recorder.start(frameGrabber.getFormatContext());&#xA;&#xA;        Frame f=null;&#xA;        //get audio sample and record it&#xA;        while ((f = frameGrabber.grabSamples()) != null) {&#xA;            recorder.record(f);&#xA;        }&#xA;        frameGrabber.stop();&#xA;        recorder.stop();&#xA;        recorder.close();&#xA;        LOGGER.info("C:/Users/ASUS/Desktop/audio.aac");&#xA;

    &#xA;

    but when I run it it gives me in terminal :

    &#xA;

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;C:/Users/ASUS/Desktop/Lou.mp4&#x27;:&#xA;Metadata:&#xA;major_brand     : isom&#xA;minor_version   : 512&#xA;compatible_brands: isomiso2avc1mp41&#xA;encoder         : Lavf58.76.100&#xA;Duration: 00:00:39.10, start: 0.000000, bitrate: 116 kb/s&#xA;Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, &#xA;progressive), 256x144 [SAR 1:1 DAR 16:9], 63 kb/s, 23.98 fps, 23.98 tbr, 90k tbn (default)&#xA;Metadata:&#xA;  handler_name    : VideoHandler&#xA;  vendor_id       : [0][0][0][0]&#xA;  Stream #0:1[0x2](und): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 46 kb/s (default)&#xA;Metadata:&#xA;  handler_name    : SoundHandler&#xA;  vendor_id       : [0][0][0][0]&#xA; [aac @ 000000001afd7080] noise_facs_q 31 is invalid&#xA; [aac @ 000000001afd7080] noise_facs_q 31 is invalid&#xA; [aac @ 000000001afd7080] noise_facs_q 31 is invalid&#xA; [aac @ 000000001afd7080] noise_facs_q 31 is invalid&#xA; [aac @ 000000001afd7080] noise_facs_q 31 is invalid&#xA; [aac @ 000000001afd7080] noise_facs_q 31 is invalid&#xA; [aac @ 000000001afd7080] noise_facs_q 31 is invalid&#xA; [h264 @ 000000001ad8bc40] mmco: unref short failure&#xA; [h264 @ 000000001ad8bc40] mmco: unref short failure&#xA; [h264 @ 000000001ad8bc40] mmco: unref short failure&#xA; [h264 @ 000000001ad8bc40] mmco: unref short failure&#xA; [h264 @ 000000001ad8bc40] mmco: unref short failure&#xA; and so on ...&#xA;  Output #0, adts, to &#x27;C:\Users\ASUS\Desktop\aud.aac&#x27;:&#xA; Metadata:&#xA; encoder         : Lavf59.16.100&#xA;  Stream #0:0: Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 46 kb/s&#xA;

    &#xA;

    and when I try to run the audio it is not running&#xA;what's the wrong thing I did ?

    &#xA;