Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (96)

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

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

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (10848)

  • fftools/ffmpeg_dec : restructure audio/video decoding loop

    17 mai 2023, par Anton Khirnov
    fftools/ffmpeg_dec : restructure audio/video decoding loop
    

    It currently emulates the long-removed
    avcodec_decode_audio4/avcodec_decode_video2 APIs, which obfuscates the
    actual decoding flow. Restructure the decoding calls so that they
    naturally follow the new avcodec_send_packet()/avcodec_receive_frame()
    design.

    This is not only significantly easier to read, but also shorter.

    • [DH] fftools/ffmpeg_dec.c
  • avformat/matroskaenc : Warn that WebM doesn't support Attachments

    2 novembre 2019, par Andreas Rheinhardt
    avformat/matroskaenc : Warn that WebM doesn't support Attachments
    

    As WebM doesn't support Attachments, the Matroska muxer drops them when
    in WebM mode. This happened silently until this commit which adds a
    warning for this.

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

    • [DH] libavformat/matroskaenc.c
  • python opencv + ffmpeg makes cpu more busy

    15 juillet 2022, par shao wenzhi

    I use cv2 to read frames of local video, then use ffmpeg to push the stream to remote rtmp server.

    &#xA;

    The command is :

    &#xA;

    command = [&#x27;ffmpeg&#x27;,&#xA;           &#x27;-y&#x27;, &#x27;-an&#x27;,&#xA;           &#x27;-f&#x27;, &#x27;rawvideo&#x27;,&#xA;           # &#x27;-vcodec&#x27;, &#x27;rawvideo&#x27;,&#xA;           &#x27;-pix_fmt&#x27;, &#x27;bgr24&#x27;,&#xA;           &#x27;-s&#x27;, sizeStr,&#xA;           &#x27;-r&#x27;, &#x27;25&#x27;,&#xA;           &#x27;-i&#x27;, &#x27;-&#x27;,&#xA;           # &#x27;-c:v&#x27;, &#x27;libx264&#x27;,&#xA;           # &#x27;-pix_fmt&#x27;, &#x27;yuv420p&#x27;,&#xA;           &#x27;-preset&#x27;, &#x27;ultrafast&#x27;,&#xA;           &#x27;-f&#x27;, &#x27;flv&#x27;,&#xA;           rtmp]&#xA;

    &#xA;

    I found that compared with pushing the video directly through ffmpeg, the CPU occupation of "cv2 + ffmpeg" is much more higher. which is : ffmpeg : 5% CPU, cv2 + ffmpeg : 18% CPU

    &#xA;

    One possible cause is that cv2 turns the frame into BGR, and the ffmpeg turns it into RBG back again, because I found when I removed the option '-pix_fmt', 'bgr24', the CPU occupation drops into 5%, but the video pulled from server turns out to be strange, like this :

    &#xA;

    enter image description here

    &#xA;

    Is there any method to reduce the cost of converting BGR into RGB ??

    &#xA;