Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (62)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

  • How to live stream generative video via ffmpeg

    24 septembre 2021, par Ken

    I would like to live-stream generative audio and generative video on the web. It would be an "autonomous" setup, without anyone in front of a camera to address the audience, etc. But it needs to be "live" because it will be interactive (the audience can change parameters that will impact the stream), so it can't all come from a pre-generated file.

    


    Generative audio would come from Reaper, be sent to a virtual audio device and grabbed by ffmpeg, which would then send it to a live streaming platform (say, Youtube).

    


    I think I understand the audio part and got it mostly working.

    


    But what about the video part ? Most examples only mention either a video file or the output of a webcam.

    


    But how does one send the direct output of a program that generates video, such as Processing for example ? Can it be done with piping ? Or should one use a virtual video device ?

    


    Ideally this should work on an Raspberry-Pi but any pointer would be welcome.

    


    This question is related but it's quite old, what would be the best setup for this ?

    


  • avformat/evcdec : Avoid nonsense casts

    6 juillet 2023, par Andreas Rheinhardt
    avformat/evcdec : Avoid nonsense casts
    

    For uint8_t buf[EVC_NALU_LENGTH_PREFIX_SIZE], &buf still points
    to the beginning of buf, but it is of type "pointer to array of
    EVC_NALU_LENGTH_PREFIX_SIZE uint8_t" (i.e. pointer arithmetic
    would operate on blocks of size EVC_NALU_LENGTH_PREFIX_SIZE).
    This is of course a different type than uint8_t*, which is why
    there have been casts in evc_read_packet(). But these are unnecessary
    if one justs removes the unnecessary address-of operator.

    Reviewed-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavformat/evcdec.c
  • FFmpeg - can't pick up the rtsp-stream

    26 avril 2021, par Pivoter

    I am trying to get a single frame through ffmpeg, but I run into an error :

    &#xA;

    ffmpeg -rtsp_transport tcp -i rtsp://5.101.8.197/11 -vframes 1 -q:v 2 /home/test/video/example.jpg&#xA;

    &#xA;

    Output :

    &#xA;

      [rtsp @ 0x560d28b23900] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size&#xA;  Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;  Guessed Channel Layout for Input Stream #0.1 : mono&#xA;  Input #0, rtsp, from &#x27;rtsp://5.101.8.197/11&#x27;:&#xA;    Metadata:&#xA;      title           : WUHAN Ants RtspServer&#xA;    Duration: N/A, start: 0.000000, bitrate: 64 kb/s&#xA;      Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc&#xA;      Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s&#xA;  Output #0, image2, to &#x27;/home/test/video/example.jpg&#x27;:&#xA;  Output file #0 does not contain any stream&#xA;

    &#xA;

    Changing the parameters analyzability and dimension do not give a result. Noticed that this happens with WUHAN Ants RtspServer, others are fine.&#xA;Any ideas ?

    &#xA;

    UPD : Can try to get the stream at the specified address.

    &#xA;