Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (81)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (4576)

  • Error with FFMPEG "av_interleaved_write_frame() broken pipe" While streaming in loop

    16 juin 2021, par Prateek Kalra

    Good Evening to all,

    


    Please help i am having some issue with my ffmpeg

    


        #! /bin/bash

VBR="1500k"
FPS="30"
QUAL="fast"

KEY="keyhere"


ffmpeg -re -stream_loop -1 -i /home/play/night.mp4 -deinterlace -c:v libx264 -b:v 2M -c:a copy -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 2100k -f flv rtmp://a.rtmp.you$KEY


    


    My issue is that first time steam work fine to YouTube but when video enters loop it ends with error

    


    av_interleaved_write_frame(): Broken pipeB time=00:15:23.02 bitrate=1592.9kbits/s speed=0.959x
    Last message repeated 1 times
[flv @ 0x873b40] Failed to update header with correct duration.
[flv @ 0x873b40] Failed to update header with correct filesize.


    


    Please advice

    


    Thank you so Much

    


  • Get frames from a video into a matrix

    19 juin 2019, par Nephilim

    I’m currently trying to implement a compression algorithm(frame prediction) for an assignment. I am not looking for thumbnail files, or even just a shell command to generate something for me. My problem is specifically integrating it with a golang program.

    I just started and I’m already stuck. I’m supposed to get each frame out of a video,divide it into I P and B frames and perform inter-coding(compress the frame itself), then perform intra-coding(between the frames).

    Right now I cannot even get started on the above problems, because I have no idea how to read the video as something I could use in code. Apparently, the only library I can think of is ffmpeg. FFMPEG can get separate frames, apparently even i p and b frames.

    ffmpeg -i <inputfile> -vf '[in]select=eq(pict_type\,B)[out]' b.frames.mp4
    </inputfile>

    But this is just another video output, that I do not know how to open.
    What I was thinking of was outputting frames into bitmaps(?), then reading each bitmap separately, to reconstruct three 3D matrixes, of i frames, p frames and b frames. However this seems like quite a feat. Someone, somewhere has definitely tried to parse a video into a 3D matrix and has found a better solution than what I’m thinking of.

    To be concise, I have a video, I need a 3D matrix. The 3D matrix is a matrix of 2D matrixes, which represent a frame in the video. Each point in a 3D matrix is a pixel(or whatever the equivalent is in videos).

    3D matrix

  • Process Multiple Streams using ffmpeg-python

    27 novembre 2019, par C Dorman

    I have a MPEG-2 TS with a stream of video and a steam of KLV metadata. I can use ffmpeg-python to process each of these streams independently. For example, I can get the video stream, process each frames using numpy as shown in the docs. I can also get the data stream and show it in following way (using the library klvdata) :

    process = (
       ffmpeg
           .input(in_filename)
           .output('pipe:', format='data', codec='copy', map='data-re')
           .run_async(pipe_stdout=True, pipe_stderr=True)
    )

    for packet in klvdata.StreamParser(process.stdout.read()):
       packet.structure()

    process.wait()

    How do I do these at the same time ? I need to split the TS data into its streams and process them both, keeping them in sync. ffmpeg by itself can demultiplex the streams into separate files, but how do I handle the streams in python. The KLV has information that I want to show on top of the video stream (recognition boxes).