Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (56)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (9930)

  • 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