Recherche avancée

Médias (91)

Autres articles (76)

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

  • Detect frame with incorrect poc

    3 août 2018, par Анзор Гергов

    When I try to decode packet (using this function avcodec_decode_video2) sometimes I get corrupt (gray) frame. This error is obtained because of the missed frames. ffmpeg shoes the following errors to the log :

    [hevc @ 000000000379b680] Could not find ref with POC 43 [hevc @
    000000000379b1c0] Duplicate POC in a sequence : 17. [hevc @
    000000000379b1c0] Error parsing NAL unit #0.

    I wanted to solve this problem by strictly adjusting the context of the decoder using the following flags : AV_EF_EXPLODE and AV_EF_AGGRESSIVE. Unfortunatly it didn’t help, errors continue appear in log, but avcodec_decode_video2 gives away corrupt frame.

    AVCodecContext* context = avcodec_alloc_context3(codecId);
    avctx->flags2 |= AV_CODEC_FLAG2_FAST;

    // Known encoder's bugs handling.
    avctx->workaround_bugs = AV_EF_EXPLODE | AV_EF_AGGRESSIVE;
    avctx->err_recognition = 0;
    avctx->error_concealment = 0;

    // Threads.
    avctx->thread_count = 4;
    avctx->thread_type = FF_THREAD_FRAME;
    .....
    avcodec_decode_video2(avctx, picture, got_picture_ptr, avpkt);
    ....

    What do I need to do to ensure that corrupted frames are not repeated ? Maybe I need to configure the context a little differently ?

    P.S. you can see ffmpeg version in attachment

  • concealing 8160 DC, 8160 AC, 8160 MV errors in frame error in ffmpeg

    18 mars 2019, par Talia

    I have an mp4 video and I want to convert it to yuv. This video has some errors inside. I need to convert it to yuv because the target is getting PSNR between the distorted yuv and the original yuv.

    I am using FFmpeg for this purpose. I get several of the consecutive following error :

    [h264 @ 0x1c0ce00] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
    [h264 @ 0x1bce920] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
    [h264 @ 0x1be2c80] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
    frame=14964 fps= 31 q=-0.0 size=45453150kB time=00:09:58.56
    bitrate=622080.0kbit[h264 @ 0x1b482a0] concealing 8160 DC, 8160 AC, 8160 MV
    errors in I frame
    [h264 @ 0x1be9780] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
    [h264 @ 0x1b827a0] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
    [h264 @ 0x1b89ee0] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame

    Then, in the converted yuv video, these frames are the gray scenes while these frames are fine in the mp4 video. So, I am wondering why FFmpeg can’t convert them to yuv.
    I am using the following command to convert mp4 to yuv :

    ffmpeg -i d_video.mp4 -c:v rawvideo -pix_fmt yuv420p -r 25  -s 1920x1080 -y d_yuv.yuv

    could you please guide me ?

  • ffmpeg Unrecognized option 'vcodec libx264'

    8 septembre 2021, par Mike

    I have a lambda that is trying to transcode webm files to mp4. It his the lambda using the following code to do the conversion :

    


    const args = [
    "-i",
    inputFilename,
    "-vcodec libx264",
    "-r 30",
    "-y",
    mp4Filename,
];


try {
    const { error, output } = spawnSync(ffmpeg, args);
    console.log(`output: ${output}`);
    console.log(`error: ${error}`);
} catch (error) {
    console.log("ffmpeg failed...");
    console.log(error);
}


    


    In my lambda, I'm seeing the following error :

    


    output: ,,ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Unrecognized option 'vcodec libx264'.
Error splitting the argument list: Option not found

2021-09-08T15:19:46.644Z 9477062f-6afa-4a94-9900-6b28337d8c2a INFO output: ,,ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers built with gcc 8 (Debian 8.3.0-6) configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Unrecognized option 'vcodec libx264'. Error splitting the argument list: Option not found


    


    I'm using ffmpeg-4.2.2-amd64-static