Recherche avancée

Médias (91)

Autres articles (24)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

Sur d’autres sites (4955)

  • FFmpeg font file loading through web url

    15 octobre 2020, par Konduri Sai Aditya

    Can anyone help me to drawText with font file through web URL ?
If I am loading through a web URL, I am getting the error "Cannot find a valid font for the family, No such file or directory".As of now, I am using google font as a web URL.

    


  • ffmpeg : Stream from rstp to http

    16 janvier 2019, par Gorka Sanz Monllor

    I am trying to transcode from rstp to http using ffmpeg and I do not know exactly the comand . I execute the following comand :
    ffmpeg -re -i rtsp ://***********************/Streaming/Channels/101 ?transportmode=unicast -c copy -f mpegts http://localhost:8081
    and have the following result :

    av_interleaved_write_frame() : Broken pipe
    Error writing trailer of http://localhost:8081 : Broken pipe
    Any idea on what options to use ? Any idea on another way of converting from rstp streaming to http
    Thanks
    Gorka

  • Concatenate MOV files without re-encoding on iOS with ffmpeg libs

    2 juillet 2013, par Developer82

    I would like to concatenate MOV files without re-encoding. I want to do it on iOS (iPhone). All the MOV files are recorded with the same settings, no difference in dimensions or encoding profiles.

    I have succeeded to do it with the command line ffmpeg :
    ffmpeg -re -f concat -i files.txt -c copy ...
    But I have difficulties using the libraries.

    I think the demuxing part is ok, I have the h.264+AAC packets. After demuxing I shift the PTS and DTS info of each packet to have ascending values in the joined MOV file.
    The hard part is the muxing.

    I have built the ffmpeg libs with x264 lib, so it can be used if necessary, but I am not sure whether I need the x264 codec since I don't want to re-encode the MOV files, I just want to join them.

    Problems I have encountered :

    1. In this case I do not use x264 codec. At muxing I create the stream with NULL codec parameter. I have successful writing of header, packets and trailer. All the function calls return with zero error code. However, the output can be opened, but black "screen" is displayed during playback. FFprobe report is attached. I have also examined the output with MediaInfo tool. I have attached that report as well (MediaInfo report - without x264 codec.txt). As you can see there is no h.264 profile or pixel info found that might be a problem.

    2. In this case I use x264 codec with functions : avcodec_find_encoder, avformat_new_stream and avcodec_open2. Again : no decode-encode ! In this case I have much more metadata in the output file like h.264 profile and pixel info (YUV), but the av_interleaved_write_frame call simply does nothing but returns success code (0). No packet is written to the file. :( I don't know how this could happen. fwrite works, but results in un-openable file. I have also attached the MediaInfo report of this output (MediaInfo report - with x264 codec.txt).

    Questions :

    • How should I process the demuxed packets to feed the muxer ?
    • What format context and codec context setting should be done including AVOption settings ?
    • Should I use the x264 codec to do this ? I just vant to re-mux the chunks into a single joined file.
    • The chunks have their own header/trailer. Should I somehow filter the demuxed packets to skip them ?
    • The final goal is creating a network stream (RTP or RTMP) - also with re-muxing and without re-encoding. It works with command line ffmpeg :
      ffmpeg -re -f concat -i files.txt -vcodec copy -an -f rtp rtp://127.0.0.1:20000 -vn -acodec copy -f rtp rtp://127.0.0.1:30000

    Concatenating to MOV format is only an intermediate pilot. Is it recommended to work on the network format since it is so different task that there is no benefit of solving the MOV format muxing ?

    Any help, advice, suggestion is greatly appreciated.
    I can reveal code to make deeper investigation possible.

    Thanks !