Recherche avancée

Médias (91)

Autres articles (97)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (7890)

  • ffmpeg cannot generate thumbnail

    8 mai 2018, par rabbit

    In Windows to make a thumbnail with ffmpeg I use :

    ./ffmpeg -i 1.mp4 -ss 00:00:01 -f image2 1.jpg

    or :

    ./ffmpeg -ss 00:00:01 -i 1.mp4 -f image2 1.jpg

    But none can generate a thumbnail, it displays :

    ffmpeg -i input.mp4 -ss 1 -frames:v 1 output.jpg
    ffmpeg version N-91013-g8007a86363 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.1 (GCC) 20180406
     configuration:
     libavutil      56. 18.100 / 56. 18.100
     libavcodec     58. 19.101 / 58. 19.101
     libavformat    58. 13.102 / 58. 13.102
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 21.100 /  7. 21.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isom
       creation_time   : 2017-01-11T08:30:55.000000Z
       encoder         : My MP4Box GUI 0.6.0.6 /my-mp4box-gui.zymichost.com>
     Duration: 00:03:27.93, start: 0.000000, bitrate: 9345 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 2560x1440 [SAR 1:1 DAR 16:9], 9216 kb/s, 30 fps, 30 tbr, 90k tbn, 60 tbc (default)
       Metadata:
         creation_time   : 2016-10-14T14:16:02.000000Z
         handler_name    : videoplayback.mp4
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
       Metadata:
         creation_time   : 2017-01-11T08:30:56.000000Z
         handler_name    : videoplayback (1).m4a
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    [swscaler @ 0x55ad99ffe1c0] deprecated pixel format used, make sure you did set range correctly
    Output #0, image2, to 'output.jpg':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isom
       encoder         : Lavf58.13.102
       Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 2560x1440 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2016-10-14T14:16:02.000000Z
         handler_name    : videoplayback.mp4
         encoder         : Lavc58.19.101 mjpeg
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=   0x    
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    and I find that the video which encoder is

    My MP4Box GUI 0.6.0.6 /my-mp4box-gui.zymichost.com>

    the ffmpeg cannot generate thumbnail. And how can I generate the thumbnail ?

  • ffplay subscription to rtmp stream fails on first try

    2 janvier 2018, par ehouse

    I have an Electron application that does some video streaming through ffmpeg. It works fine on Windows, but I am having a small problem with it on Mac. I stream the desktop with ffmpeg, and try to subscribe to the rtmp stream. I know the rtmp stream is live because I can successfully grab a frame from it.

    The problem is, when I subscribe with ffplay, it does not work, the output looks like this :
    2018/01/01 20:57:25:618 [web]     nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

    When I subscribe again (while the previous process is still ongoing), it works : 2018/01/01 20:57:25:828 [web]  340.93 M-V:  0.001 fd=   0 aq=    0KB vq=  131KB sq=    0B f=0/0

    The only difference in output to the command line is this :

    Input #0, live_flv, from 'rtmp:{stream-url-here}':=0/0  
    2018/01/01 20:57:15:427 [web]   Metadata:
    2018/01/01 20:57:15:427 [web]     Server          : NGINX RTMP
    (github.com/sergey-dryabzhinsky/nginx-rtmp-module)
    2018/01/01 20:57:15:427 [web]     displayWidth    : 1024
    2018/01/01 20:57:15:428 [web]     displayHeight   : 640
    2018/01/01 20:57:15:429 [web]     fps             : 20
    2018/01/01 20:57:15:429 [web]     profile         :
    2018/01/01 20:57:15:430 [web]     level           :
    2018/01/01 20:57:15:430 [web]   Duration: 00:00:00.00, start:
    316.500000, bitrate: N/A
    2018/01/01 20:57:15:430 [web]     Stream #0:0: Video: h264 (Constrained
    Baseline), yuv420p(progressive), 1024x640, 20 fps, 20 tbr, 1k tbn, 40
    tbc

    I am trying to figure out why it only works on the second time subscribing, and this is the difference, which I assumes signals the it successfully received the streams info, but I am trying to figure out why it only works the second time.

    Thanks !!

  • Making a video from arbitrary named files using ffmpeg

    6 février 2018, par moo

    I have image files from a webcam, they are named in the format : 2018-02-06-16-40-05.jpg
    Is it possible to make a video out of these images without having to rename them in a format similar to image%04d.jpg, etc.