Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (97)

  • 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

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (6960)

  • avutil/frame : Add a flag to discard frame after decode.

    15 septembre 2016, par Sasi Inguva
    avutil/frame : Add a flag to discard frame after decode.
    

    Signed-off-by : Sasi Inguva <isasi@google.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavutil/frame.c
    • [DH] libavutil/frame.h
    • [DH] libavutil/version.h
  • Is it possible to force a key frame 2 seconds after the time of the last key frame by using FFMPEG ?

    13 octobre 2015, par Alexandr

    I know that prev_forced_t returns time of the last forced key frame. But I need something that return time of the last key frame (not forced but any).

    This parameter will work only with forced frames :
    -force_key_frames "expr:gte(t,prev_forced_t+2)"

    I need something like :
    -force_key_frames "expr:gte(t,${LAST_KEY_FRAME_T}+2)"

  • ffmpeg output to stdout is a black box (python)

    27 juillet 2022, par dwilliams

    Project Background :&#xA;The project I'm working on takes an image from a UE simulation camera, uses OpenCV to convert the image to .jpg, and streams the .jpg to a localhost port so that a second program can retrieve the images and annotate the objects in the simulation. I am attempting to convert these to a suitable format for UE4's WmfMediaPlayer via ffmpeg so that it can be streamed to another localhost port.

    &#xA;

    Problem :&#xA;I have managed to get a the stream active but the video at the end of stream is a black square. I'm confident but not 100% certain that I've setup the ffmpeg correctly. The output to console seem to imply that the conversion is working but I've been fooled before. It could also be the flask yield component.

    &#xA;

    ffmpeg declaration/setup :

    &#xA;

    process = (&#xA;        ffmpeg&#xA;        .input(&#x27;C:/MOT/test.jpg&#x27;)   &#xA;        .output(&#x27;pipe:1&#x27;, vcodec=&#x27;libx264&#x27;, format=&#x27;avi&#x27;)   &#xA;        .overwrite_output()&#xA;        .run_async(pipe_stdin=True, pipe_stdout=True)&#xA;    )&#xA;

    &#xA;

    Flask Integration :

    &#xA;

    @app.route(&#x27;/annotated&#x27;)&#xA;def annotated():&#xA;    return Response(&#xA;        frame_generator_annotated(),&#xA;        mimetype=&#x27;multipart/x-mixed-replace; boundary=frame&#x27;&#xA;    )&#xA;&#xA;&#xA;def frame_generator_annotated():&#xA;    global process&#xA;    while (True):&#xA;        frame = process.stdout.read()&#xA;        yield (b&#x27;--frame\r\n&#x27;&#xA;               b&#x27;Content-Type: video/avi\r\n\r\n&#x27; &#x2B; frame &#x2B; b&#x27;\r\n\r\n&#x27;)&#xA;

    &#xA;

    stream view :&#xA;http://localhost:5001/annotated

    &#xA;

    ffmpeg console output :

    &#xA;

    Running on all addresses.&#xA;   WARNING: This is a development server. Do not use it in a production deployment.&#xA; * Running on http://192.168.1.220:5001/ (Press CTRL&#x2B;C to quit)&#xA;ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 10.2.1 (GCC) 20200726&#xA;  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;[mjpeg @ 00000269be0faec0] EOI missing, emulating&#xA;Input #0, image2, from &#x27;C:/MOT/test.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 1968 kb/s&#xA;    Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1024x576 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 00000269be0fc240] using SAR=1/1&#xA;[libx264 @ 00000269be0fc240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2&#xA;[libx264 @ 00000269be0fc240] profile High, level 3.1, 4:2:0, 8-bit&#xA;Output #0, avi, to &#x27;pipe:1&#x27;:&#xA;  Metadata:&#xA;    ISFT            : Lavf58.45.100&#xA;    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuvj420p(pc), 1024x576 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 25 tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;frame=    1 fps=0.0 q=28.0 Lsize=       2kB time=00:00:00.04 bitrate= 447.2kbits/s speed= 2.9x    &#xA;video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 157.307251%&#xA;[libx264 @ 00000269be0fc240] frame I:1     Avg QP:13.00  size:   869&#xA;[libx264 @ 00000269be0fc240] mb I  I16..4: 100.0%  0.0%  0.0%&#xA;[libx264 @ 00000269be0fc240] 8x8 transform intra:0.0%&#xA;[libx264 @ 00000269be0fc240] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%&#xA;[libx264 @ 00000269be0fc240] i16 v,h,dc,p: 97%  0%  3%  0%&#xA;[libx264 @ 00000269be0fc240] i8c dc,h,v,p: 100%  0%  0%  0%&#xA;[libx264 @ 00000269be0fc240] kb/s:173.80&#xA;

    &#xA;