Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (34)

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

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

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

  • Convert YUV420 to BGR without using videoconvert in GStreamer

    23 septembre 2019, par AnD Max

    I am using GSteamer, and I want to convert I420 to BGR format.
    Pipeline :

    gst-launch-1.0 filesrc location= ./Big_Buck_Bunny_1080_10s_1MB.mp4 ! qtdemux ! h264parse ! avdec_h264 ! fakesink

    I don’t use videoconvert plugin because it takes many CPU workload.
    I saw that avdec_h264 plugins has support BGR format and I tried to chose BGR format but the output always give I420 format ("avdec_h264 ! video/x-raw, format=BGR !").

    I tried to cast it to BGR format in source code (gst-libav/ext/libav/gstavvidec.c\gst_ffmpeg_pixfmt_to_videoformat()) but I got an error in (gst-libav/gst-libs/ext/libav/libavcodec/decode.c), 1606

    for (i = 0; i < num_planes; i++) {
               av_assert0(frame->data[i]);
           }

    Does my way correct ? Should I modify num_planes in deocode.c ?
    If it’s not a right way, can I convert format by using OpenCV with GStreamer pipeline ?

    If you have any good way, please tell me also.

  • avcodec/apedec : Fix several integer overflows in predictor_update_filter() and do_app...

    2 septembre 2019, par Michael Niedermayer
    avcodec/apedec : Fix several integer overflows in predictor_update_filter() and do_apply_filter()
    

    Fixes : negation of -2147483648 cannot be represented in type 'int' ; cast to an unsigned type to negate this value to itself
    Fixes : signed integer overflow : -14527961 - 2147483425 cannot be represented in type 'int'
    Fixes : 16380/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5645957131141120
    Fixes : 16968/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5716169901735936
    Fixes : 17074/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5198710497083392

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/apedec.c
  • php ffmpeg exec & shell_exec process stops after few seconds

    6 octobre 2019, par Salem

    I’m using PHP script file with simple html interface to control FFMPEG process start and stop from the browser , the script goal is start live streaming on my server that usually runs for hours without stop (using ffmpeg and nginx-rtmp )
    my script were working perfectly until I notice recently This is strange behaviors
    here is my php script variables

    $cast =" /usr/sbin/ffmpeg -loglevel 0 -thread_queue_size 32768 -re -i '".$src."' -i /var/www/example/logo.png -r 23.976 -strict -2 480x360 -aspect 16:9 -filter_complex 'overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)-23' -vcodec libx264 -x264opts colormatrix=bt709 -profile:v high444 4 -b:v 290k -maxrate 290k -bufsize 250k  -af "aresample=async=1:min_hard_comp=0.100000:first_pts=0" -acodec libfdk_aac -profile:a aac_he_v2 -b:a 16k -map_metadata -1 -f flv  rtmp://localhost/hls/live 2>/dev/null >/dev/null  &amp; " ;
    $output =  shell_exec( $cast   )    ;

    It’s like FFMPEG process continue until original php process ( that call it ) die , at first I thought this issue with the sorce or ffmpeg command but I test the same command on the sell and it works perfectly .
    My suspicion are with on STDIO etc were not redirected right . even when I excute the same php script from the shell it’s do the same stops after few seconds .

    =Edit=

    Even when I tried to run ffmpeg from the command line and make it run on the background , I got same behavior the process stop after few seconds , ffmpeg continue running only if I wait for it output .

    Here my OS details :-

    DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
    NAME="Ubuntu"
    VERSION="18.04.3 LTS (Bionic Beaver)"