Recherche avancée

Médias (91)

Autres articles (72)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (13217)

  • Scaling and stacking 2 videos

    31 octobre 2019, par Gambit2007

    I have 2 inputs and I want to scale, crop and put them on top of each other at the same time. My command should look something like this :

    ffmpeg -i input1 -i input2 -filter_complex crop=10000:5000:1000:0,scale=3840:1536 vstack output.mp4

    I know I need to use chaining (?) but I tried to look it up online and couldn’t really get it to work.

    So what would be the correct syntax the scale and crop both inputs and then put them vertically on top of each other while using ’-filter_complex’ only once ?

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

  • using uploaded filename for ffmpeg input in php script

    12 mars 2015, par Markjose

    I am looking for a solution to pull the filename recently uploaded and into this ffmpeg syntax

       shell_exec("ffmpeg -re -i ( Uploaded filename) -vcodec copy -acodec copy -f mpegts udp://239.1.1.1:5000");

    The above syntax works fine if I replace "(uploaded filename)" with a .ts video file.
    I have had a look around but there is nothing which fits this description.

    my upload.php script

    if(isset($_FILES['uploadedfile']) && !empty($_FILES['uploadedfile'])){
     $target_path = "upload/";
     $target = $target_path . basename($_FILES['uploadedfile']['name']);
     }
     if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'] , $target))
     {
      $_SESSION['upload_success'] = "File successfully uploaded.";

      shell_exec("ffmpeg -re -i /var/www/html/upload/x265manual.ts -vcodec copy -acodec copy -f mpegts udp://239.1.1.1:5000");  

    This works fine for playing back x265manual.ts after file upload, but i would like the system to obtain the file name from the uploaded filename.

    Is this possible ?
    Would it be easier for me to create a new php file for the ffmpeg syntax ?

    Thanks

    Mark