Recherche avancée

Médias (0)

Mot : - Tags -/xml-rpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (68)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11239)

  • libav :0: : cabac decode of qscale diff failed at 4 26 ? While UDP Streaming in Gstreamer

    28 juin 2016, par Prasanth Kumar Arisetti

    I would like to stream the webcam data over UDP in mpegts format.

    At Sending End: :

    gst-launch-1.0 -v v4l2src device=/dev/video1 ! videoconvert ! video/x-raw,width=720,height=576,framerate=25/1,format=I420 ! videoparse width=720 height=576 framerate=25/1 ! x264enc bitrate=2048 ref=4 key-int-max=20 byte-stream=true tune=zerolatency speed-preset=3 sliced-threads=true threads=4  ! video/x-h264,stream-format=byte-stream,profile=main ! queue ! mpegtsmux ! rtpmp2tpay ! udpsink host=192.168.2.149 port=8888 sync=true async=false qos=true qos-dscp=46

    At Receiving End: :

    GST_DEBUG=4 gst-launch-1.0 -v udpsrc port=8888 caps=application/x-rtp,media=video,encoding-name=MP2T buffer-size=524288 ! rtpmp2tdepay ! tsdemux name=demuxer  demuxer. !  queue max-size-buffers=0 max-size-time=0 ! h264parse ! avdec_h264 ! videoconvert ! xvimagesink qos=true sync=true async=false

    For few seconds, video is coming good, but after that it is getting disturbed, and not at all coming, struck at single frame.

    And when i used GST_DEBUG=4, i observed below error :

    0:00.000000000, position 0:00:10.397114020, duration 99:99:99.999999999
    0:00:10.396195300   536 0x7f1328001300 ERROR                  libav :0:: cabac decode of qscale diff failed at 4 26
    0:00:10.396212221   536 0x7f1328001300 ERROR                  libav :0:: error while decoding MB 4 26, bytestream -1
    0:00:10.396255836   536       0xe03320 INFO                   libav :0:: concealing 1215 DC, 1215 AC, 1215 MV errors

    But, if I stream the Data to localhost, then it is perfectly working.

    After setting cabac=false on x264enc,

    0:00.000000000, position 0:00:14.796602703, duration 99:99:99.999999999
    0:00:15.020440888 15449 0x7f69dc4fe2c0 ERROR                  libav :0:: out of range intra chroma pred mode at 18 14
    0:00:15.020464168 15449 0x7f69dc4fe2c0 ERROR                  libav :0:: error while decoding MB 18 14
    0:00:15.020694828 15449      0x2513320 INFO                   libav :0:: concealing 1215 DC, 1215 AC, 1215 MV errors

    What is the problem here ? is this because of network bandwidth or any other else ? And how to solve this problem ?

  • fmpeg piped output is always providing an empty frame

    10 juin 2024, par sar5050

    I am trying to capture a webcam using the ffmpeg command in a Python script and process the frame for my work. For my work, I need to capture and forward through the pipe to my function, but I always get an empty frame. I tried many SO solutions, but they are not helping.

    


      ffmpeg_command = 'ffmpeg -f v4l2 -framerate 25 -video_size 960x540
  -pix_fmt yuyv422 -i /dev/video0     \
  -f rawvideo \
  -pix_fmt yuyv422 \
   pipe:'

  pro = subprocess.Popen(ffmpeg_command.split(),stdout=subprocess.PIPE,shell=True)
            
  while True:
        raw_frame = pro.stdout.read(960*540*3)  #i tried all possible values here
        frame = np.frombuffer(raw_frame,dtype=np.uint8)
        frame = frame.reshape((960,540, 3)) # getting error here as empty 


    


    I am not sure what mistake I am making.

    


    Any help is appreciated. 

    


  • Crop being ignored when added with resize filter

    18 février 2020, par BN83

    Using the following :

    $video -> filters()
       -> resize(new FFMpeg\Coordinate\Dimension(480, 854))
       -> crop(new FFMpeg\Coordinate\Point("t*100", 0, true), new FFMpeg\Coordinate\Dimension(480, 640))
       ->watermark('watermark.png', array(
               'position' => 'relative',
               'bottom' => 10,
               'right' => 10,
       ));

    I get a resized video but doesn’t crop the to the proportions set. Resulting video is 480x854, with a watermark but not cropped.

    If I use :

    $video -> filters()
       -> crop(new FFMpeg\Coordinate\Point("t*100", 0, true), new FFMpeg\Coordinate\Dimension(480, 640))
       ));

    It crops the image to the right size, but only a portion of the video, as you’d expect.