Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (70)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (12368)

  • RTP Stream shows gray background then crashes

    5 novembre 2019, par Carlo

    I’m trying to play some RTP stream in python using opencv and an SDP file. I’m getting a gray window with some distorted images at the top(see attached image) and after a few seconds the program would crash and the gray window would close.

    output

    I also tried to capture the packets of the stream via wireshark and extract the video information using media info.

    Note:The extracted video was playing smoothly.

    capture

    Media information using GSpot

    another

    The SDP file contains :

    v=0
    m=video 5000 RTP/AVP 103
    c=IN IP4 239.194.115.71
    a=rtpmap:103 H264/90000

    These are the error codes shown in the terminal :

    [h264 @ 0000029d3c8d85c0] non-existing PPS 2 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] no frame!
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] no frame!
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] no frame!
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] no frame!
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c8d85c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3c8d85c0] decode_slice_header error
    [h264 @ 0000029d3c8d85c0] no frame!
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c8d85c0] top block unavailable for requested intra mode
    [h264 @ 0000029d3c8d85c0] error while decoding MB 2 0, bytestream 353
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] error while decoding MB 58 2, bytestream -11
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c8d85c0] error while decoding MB 13 3, bytestream -9
    [h264 @ 0000029d3393e540] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3393e9c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3393e9c0] decode_slice_header error
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c952300] non-existing PPS 0 referenced
    [h264 @ 0000029d3c952300] decode_slice_header error
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3cf7c940] non-existing PPS 0 referenced
    [h264 @ 0000029d3cf7c940] decode_slice_header error
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3393e540] non-existing PPS 0 referenced
    [h264 @ 0000029d3393e540] decode_slice_header error
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e9c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3393e9c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3393e9c0] decode_slice_header error
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c952300] non-existing PPS 0 referenced
    [h264 @ 0000029d3c952300] decode_slice_header error
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3cf7c940] non-existing PPS 0 referenced
    [h264 @ 0000029d3cf7c940] decode_slice_header error
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3393e540] non-existing PPS 0 referenced
    [h264 @ 0000029d3393e540] decode_slice_header error
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3393e9c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3393e9c0] decode_slice_header error
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c952300] non-existing PPS 0 referenced
    [h264 @ 0000029d3c952300] decode_slice_header error
    [h264 @ 0000029d3c952300] no frame!
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3cf7c940] non-existing PPS 0 referenced
    [h264 @ 0000029d3cf7c940] decode_slice_header error
    [h264 @ 0000029d3cf7c940] no frame!
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3393e540] non-existing PPS 0 referenced
    [h264 @ 0000029d3393e540] decode_slice_header error
    [h264 @ 0000029d3393e540] no frame!
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3393e9c0] non-existing PPS 0 referenced
    [h264 @ 0000029d3393e9c0] decode_slice_header error
    [h264 @ 0000029d3393e9c0] no frame!
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] SPS unavailable in decode_picture_timing
    [h264 @ 0000029d3c952300] non-existing PPS 0 referenced
    [h264 @ 0000029d3c952300] decode_slice_header error
    [h264 @ 0000029d3c952300] no frame!
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3cf7c940] top block unavailable for requested intra mode
    [h264 @ 0000029d3cf7c940] error while decoding MB 2 0, bytestream 353
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e9c0] error while decoding MB 58 2, bytestream -11
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e9c0] error while decoding MB 13 3, bytestream -9
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] cabac decode of qscale diff failed at 59 2
    [h264 @ 0000029d3c952300] error while decoding MB 59 2, bytestream 217
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] cabac decode of qscale diff failed at 70 1
    [h264 @ 0000029d3cf7c940] error while decoding MB 70 1, bytestream 337
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] error while decoding MB 71 2, bytestream -17
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] error while decoding MB 33 2, bytestream -11
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] top block unavailable for requested intra mode
    [h264 @ 0000029d3c952300] error while decoding MB 2 0, bytestream 371
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 11, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3393e540] cabac decode of qscale diff failed at 118 1
    [h264 @ 0000029d3393e540] error while decoding MB 118 1, bytestream 379
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3c952300] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3c952300] cabac decode of qscale diff failed at 70 1
    [h264 @ 0000029d3c952300] error while decoding MB 70 1, bytestream 377
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3cf7c940] Invalid NAL unit 12, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e540] Invalid NAL unit 10, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] Invalid NAL unit 0, skipping.
    [h264 @ 0000029d3393e9c0] top block unavailable for requested intra mode -1
    [h264 @ 0000029d3393e9c0] error while decoding MB 4 0, bytestream 291
    [h264 @ 0000029d3c952300] Invalid NAL unit 12, skipping.
    [h264 @ 00
    Process finished with exit code -1

    Python code :

    vcap = cv2.VideoCapture('test.sdp')

    while (1):
       ret, frame = vcap.read()
       cv2.imshow('VIDEO', frame)
       cv2.waitKey(1)

    wireshark dump :

    https://drive.google.com/open?id=1zppjXVgEcL8Ws-xP3e1J7NJF1UGdPzMA

    Am I using a wrong codec code or clock-rate inside the SDP file for it to display the stream properly ?

  • Xcode shows error when trying to use FFMpeg

    8 octobre 2019, par Tony.Lee

    I try to use FFMpeg in my iOS project. It’s weird when I import libavcodec/avcodec.h and
    libavformat/avformat.h, Xcode show error : " ’TestViewController’ cannot use ’super’ because it is a root class ".

    Everything is OK before I import the two file above and even I comment these two line codes, it shows this error still. And one more thing, Xcode cannot autocomplete to NSLog when I type nsl.

    Codes can run without any problem, but when writing codes it show those annoying error messages.

  • Streaming a video to /dev/video0 using gstreamer and v4l2 shows a black screen [on hold]

    24 septembre 2019, par Lawliet

    I’ve been trying to use a video as a webcam for quite a while now. The command

    gst-launch-1.0 filesrc location=newflag.webm ! decodebin ! videoconvert ! v4l2sink device=/dev/video0

    Using this command, i’m able to watch the stream using VLC but Discord and Firefox display a black screen when using /dev/video0 as a webcam.

    I got it working using ffmpeg to stream the video in yuv420p so I suspect videoconvert converts the stream to YUY2 which is I guess not supported by Discord nor Firefox.

    Any idea on how to get this to work ?