Recherche avancée

Médias (91)

Autres articles (68)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (10698)

  • ffmpeg h264 interesting bright video fail ?

    23 novembre 2019, par Max Paython

    I am trying streaming with ffmpeg using the information I found here.

    • Server

      ffmpeg -f dshow -i video="john":audio="doe" -vcodec libx264
      -preset ultrafast -tune zerolatency -acodec aac -f mpegts udp://localhost:1234
    • Client

      ffmpeg -i udp://localhost:1234?listen test.mp4

    The client will actually live stream the video, but for testing purposes I am writing the output to a file for now.

    Here comes the interesting part. I began the stream(video and audio) in a dark room, everything is fine. I turn on the room’s lights and the client cries with many errors. I later checked the output, it is very corrupted indeed on the light turned-on parts. What could be the reason behind this ? I am posting the errors here if it could be of assistance.

    Some of the errors :

    udp://localhost:1234?listen: corrupt decoded frame in stream 0trate= 845.6kbits/s dup=1250 drop=0 speed=1.08x
       Last message repeated 1 times
    [h264 @ 0000026c4af69400] Invalid NAL unit 1, skipping.7.61 bitrate= 864.7kbits/s dup=1441 drop=0 speed=1.07x
    [h264 @ 0000026c4af69400] Invalid level prefix
    [h264 @ 0000026c4af69400] error while decoding MB 18 8
    [h264 @ 0000026c4af69400] concealing 911 DC, 911 AC, 911 MV errors in P frame
    [h264 @ 0000026c4af4b780] Invalid NAL unit 1, skipping.
    [h264 @ 0000026c4af4b780] negative number of zero coeffs at 10 14
    [h264 @ 0000026c4af4b780] error while decoding MB 10 14
    [h264 @ 0000026c4af4b780] concealing 679 DC, 679 AC, 679 MV errors in P frame
    udp://localhost:1234?listen: corrupt decoded frame in stream 0
       Last message repeated 1 times
    [h264 @ 0000026c4ba1e1c0] Invalid NAL unit 1, skipping.8.21 bitrate= 858.0kbits/s dup=1460 drop=0 speed=1.07x
    [h264 @ 0000026c4ba1e1c0] out of range intra chroma pred mode
    [h264 @ 0000026c4ba1e1c0] error while decoding MB 34 18
    [h264 @ 0000026c4ba1e1c0] concealing 495 DC, 495 AC, 495 MV errors in P frame
    [h264 @ 0000026c4bb16840] top block unavailable for requested intra mode
    [h264 @ 0000026c4bb16840] error while decoding MB 10 0
    [h264 @ 0000026c4bb16840] concealing 160 DC, 160 AC, 160 MV errors in P frame
    udp://localhost:1234?listen: corrupt decoded frame in stream 0
    [h264 @ 0000026c4bb16cc0] Invalid NAL unit 0, skipping.8.58 bitrate= 853.9kbits/s dup=1463 drop=0 speed=1.06x
    [h264 @ 0000026c4bb16cc0] corrupted macroblock 16 28 (total_coeff=-1)
    [h264 @ 0000026c4bb16cc0] error while decoding MB 16 28
    [h264 @ 0000026c4bb16cc0] concealing 113 DC, 113 AC, 113 MV errors in P frame
    [h264 @ 0000026c4bb17140] cbp too large (84) at 12 0
    [h264 @ 0000026c4bb17140] error while decoding MB 12 0
    [h264 @ 0000026c4bb17140] concealing 160 DC, 160 AC, 160 MV errors in P frame
    [mpegts @ 0000026c4aeb8d80] PES packet size mismatch

    Edit : As suggestion, I added these parameters to the server.

    -b:v 1M -bufsize 2M

    Now the errors are mostly gone. Except one time where it seemed like it occured just as I was turning off the lights, although I could not reproduce it after trying 4-5 times.

    Errors :

    [h264 @ 000002646f0d2f80] cbp too large (118) at 23 1422.25 bitrate= 659.5kbits/s dup=368 drop=0 speed=1.33x
    [h264 @ 000002646f0d2f80] error while decoding MB 23 14
    [mpegts @ 000002646e578d80] PES packet size mismatch
    [h264 @ 000002646f0d2f80] concealing 666 DC, 666 AC, 666 MV errors in P frame
    [h264 @ 000002646f0d0f80] concealing 160 DC, 160 AC, 160 MV errors in P frame
    [aac @ 000002646e64d640] Number of bands (59) exceeds limit (43).
    Error while decoding stream #0:1: Invalid data found when processing input
    [aac @ 000002646e64d640] Multiple frames in a packet.
    [aac @ 000002646e64d640] Reserved bit set.
    [aac @ 000002646e64d640] Number of bands (31) exceeds limit (29).
    Error while decoding stream #0:1: Invalid data found when processing input
    [h264 @ 000002646e5e11c0] concealing 160 DC, 160 AC, 160 MV errors in P frame
    udp://localhost:1234?listen: corrupt decoded frame in stream 0trate= 633.1kbits/s dup=368 drop=0 speed=1.35x
       Last message repeated 2 times

    The errors decreased because I increased the bitrate ? (I don’t know the default bitrate by the way). Bright decoding fails because it carries more information, data ? (same in raw video, but maybe file is heavier encoded bright frames)

  • How to use libvlc for low-frame-rate rtsp stream decoding

    11 mai 2017, par user1547688

    I am using libvlc for RTSP h.264 bitstream decoding and display in PC. For the best experience (i.e. low latency), I uses the following options

    :file-caching=0
    :tcp-caching=0
    :rtsp-caching=0
    :network-caching=0
    :clock-jitter=0
    :avcodec-fast

    With these parameters, the latency is acceptable in comparison to the open-source project "ONVIF device manager"(ODM) where FFMPEG is used for decoding.

    When RTSP server deliver low frame-rate RTSP stream, (1 frame/second). These configuration will freeze after displaying a few frames (3-5 frames).

    I have tried 2 different approaches

    1. Disable synchronization by

      :clock-synchro=0

    This will enable the decoding process to go on, however, an accumulated period of time lagging could be observed.

    1. Use network-cache

    My experiments shows that

    :network-caching=1200

    Will make decoding go smoothly, however, the latency is over 1-2 second in comparison to ODM.

    Is there a way to handle the low frame rate issue in libvlc without providing such big latency ?

  • Run "scrcpy" Commands And Throws Error "libopenh264.so.7 is missing" / "openh264 disabled"

    7 mai 2024, par 息子運命

    I try to run scrcpy command like what I did before, and proved if it's worked not just once.

    


    scrcpy -m 540 -S


    


    but after re-installing my OS and use Fedora OS with dnf package manager, I got errors with output below.

    


    WARN: Demuxer 'audio': stream explicitly disabled by the device
WARN: [FFmpeg] libopenh264.so.7: cannot open shared object file: No such file or directory: libopenh264.so.7 is missing, openh264 support will be disabled
ERROR: Demuxer 'video': could not open codec
ERROR: Demuxer error
[server] INFO: Device screen turned off


    


    Seems I got a problem here because [FFmpeg] libopenh264.so.7 is missing and it cause openh264 support disabled.