Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (31)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

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

Sur d’autres sites (5115)

  • Imageio unable to read webcam at correct framerate

    28 mai 2019, par Jason Nick Porter

    I’m trying to read frames from a webcam and analyze them in realtime, but since my function AnalyzeFrame() is faster than the framerate, it ends up pulling the same frame 1-4 times in a row, messing up my data. Here’s basically what I’m running.

    import imageio

    cam = imageio.get_reader('<video0>', fps=30)

    while not cam.closed:
       print(AnalyzeFrame(cam.get_next_data()))
    </video0>

    A few notes : My webcam should be able to handle 30fps, but I’m averaging 12-14 fps. I’ve timed each individual process and there’s very little regularity to the framerate. Some frames only get analyzed once, because they’re in the buffer for 20 or so milliseconds. Others get analyzed 4 times over a span of 100+ ms. Is there something in my code that’s causing this framerate problem ?

  • Unable to get a frame using ffmpeg [closed]

    24 mars 2023, par Prakhar

    I have an SRT stream, which I am listening on an Ubuntu server. I want to be able to take a frame as a PNG at any given time, so that I can analyze that image. Given that it's a live stream, I should not be defining time of when do I want to download the frame, it should be instantaneous.

    &#xA;

    I tried following but in vain

    &#xA;

    ffmpeg -i &#x27;srt://10.174.190.221:5000?streamid=ABCDE&#x27; %04d.png&#xA;

    &#xA;

    This just starts the streaming, and does not produce the PNG files. Output which I get on screen

    &#xA;

        Last message repeated 1 times&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] no frame!&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] no frame!&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] no frame!&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] no frame!&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] no frame!&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;    Last message repeated 1 times&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] non-existing PPS 0 referenced&#xA;[h264 @ 0x7317c80] decode_slice_header error&#xA;[h264 @ 0x7317c80] no frame!&#xA;&#xA;Input #0, mpegts, from &#x27;srt://10.174.190.221:5000?streamid=ABCDE&#x27;:&#xA;  Duration: N/A, start: 61221.726022, bitrate: N/A&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : ABCDE&#xA;      service_provider: VITEC&#xA;  Stream #0:0[0x4da]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn&#xA;  Stream #0:1[0x2d](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> png (native))&#xA;Press [q] to stop, [?] for help&#xA;Finishing stream 0:0 without any data written to it.&#xA;Output #0, image2, to &#x27;%04d.png&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf59.27.100&#xA;  Stream #0:0: Video: png, rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 59.94 fps, 59.94 tbn&#xA;    Metadata:&#xA;      encoder         : Lavc59.37.100 png&#xA;frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown&#xA;

    &#xA;

    Would appreciate any help

    &#xA;

  • Wrong second count for blackdetect filter in ffprobe

    10 avril 2016, par Jabb

    I issue this command on a 8 minutes 20 seconds video in order to detect blackframes.

    root@ubuntu:/home/hts# ffprobe -f lavfi -i "movie=test.ts,blackdetect[out0]" -show_entries tags=lavfi.black_start,lavfi.black_end -of default=nw=1

    I am expecting to get proper seconds back from ffprobe indicating where the blackframes are.

    Instead I receive very very high numbers.

    I need to mention that I cut this video from the end of a larger stream using tail. The stream is configured to add a keyframe every 0.5 seconds. Could this be the reason ? And how could I cope with this ?

    ffprobe version git-2016-03-31-54ccaae Copyright (c) 2007-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
     configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-libmfx
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 33.100 / 57. 33.100
     libavformat    57. 29.101 / 57. 29.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 40.102 /  6. 40.102
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    [h264 @ 0x3222100] non-existing PPS 0 referenced
       Last message repeated 1 times
    [h264 @ 0x3222100] decode_slice_header error
    [h264 @ 0x3222100] no frame!
    Input #0, lavfi, from 'movie=test.ts,blackdetect[out0]':
     Duration: N/A, start: 78576.400000, bitrate: N/A
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x256 [SAR 1:1 DAR 5:4], 25 fps, 25 tbr, 90k tbn, 90k tbc
    TAG:lavfi.black_start=78681.9
    TAG:lavfi.black_end=78682
    TAG:lavfi.black_start=78720.5
    TAG:lavfi.black_end=78721.1
    TAG:lavfi.black_start=78761.4
    TAG:lavfi.black_end=78762.6
    TAG:lavfi.black_start=78770.9
    TAG:lavfi.black_end=78771
    TAG:lavfi.black_start=78781
    TAG:lavfi.black_end=78781.2
    TAG:lavfi.black_start=78801.2
    TAG:lavfi.black_end=78801.4
    TAG:lavfi.black_start=78821.4
    TAG:lavfi.black_end=78821.5
    TAG:lavfi.black_start=78851.5
    TAG:lavfi.black_end=78851.7
    TAG:lavfi.black_start=78871.7
    TAG:lavfi.black_end=78871.8
    TAG:lavfi.black_start=78891.8
    TAG:lavfi.black_end=78892
    TAG:lavfi.black_start=78919
    TAG:lavfi.black_end=78919.2
    TAG:lavfi.black_start=78949.2
    TAG:lavfi.black_end=78949.3
    TAG:lavfi.black_start=78979.3
    TAG:lavfi.black_end=78979.5
    TAG:lavfi.black_start=78999.5
    TAG:lavfi.black_end=78999.6
    TAG:lavfi.black_start=79022.6
    TAG:lavfi.black_end=79022.8
    TAG:lavfi.black_start=79042.8
    TAG:lavfi.black_end=79043
    TAG:lavfi.black_start=79063
    TAG:lavfi.black_end=79063.1
    [h264 @ 0x3260360] concealing 284 DC, 284 AC, 284 MV errors in P frame