Recherche avancée

Médias (91)

Autres articles (101)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (13447)

  • colorspace : Add support for BT709

    24 avril 2016, par Jan Ekström
    colorspace : Add support for BT709
    

    BT.709 coefficients were gathered from the first two parts of BT.709
    to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2).
    They were additionally confirmed by manually calculating values.

    • [DBH] libavutil/colorspace.h
  • How to transfer video as rtp stream with least delay by FFmpeg

    2 décembre 2020, par Yasushi2019

    I use AXIS M1045-LW supporting rtsp/http access, and my Windows 10 PC can access to the camera through LAN.

    


    I would like to transfer the video as rtp with keeping H.264 codec which is supported by the camera.

    



    


    Image

    


    [Camera] == (rtsp or http) ==> [FFmpeg on Win10] == (rtp) ==>

    



    


    When I accessed the camera through Google Chrome on my Win10 PC, there is only 1 or 2 sec delay.

    


    However, when I tried access by the following command, I found over 10 sec delay.

    


    How could I reduce the delay as much as possible ?

    



    


    [Windows Command Prompt A ] (sender)

    


    
C :\Users\xxxx\ffmpeg-4.3.1-2020-11-19-full_build\bin>ffmpeg -re -i rtsp ://xxx:xxx@xxx.xxx.xxx.xxx/axis-media/media.amp -codec:v copy -f rtp rtp ://localhost:30002 -sdp_file stream.sdp

ffmpeg version 4.3.1-2020-11-19-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration : —enable-gpl —enable-version3 —enable-static —disable-w32threads —disable-autodetect —enable-fontconfig —enable-iconv —enable-gnutls —enable-libxml2 —enable-gmp —enable-lzma —enable-libsnappy —enable-zlib —enable-libsrt —enable-libssh —enable-libzmq —enable-avisynth —enable-libbluray —enable-libcaca —enable-sdl2 —enable-libdav1d —enable-libzvbi —enable-librav1e —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxvid —enable-libaom —enable-libopenjpeg —enable-libvpx —enable-libass —enable-frei0r —enable-libfreetype —enable-libfribidi —enable-libvidstab —enable-libvmaf —enable-libzimg —enable-amf —enable-cuda-llvm —enable-cuvid —enable-ffnvcodec —enable-nvdec —enable-nvenc —enable-d3d11va —enable-dxva2 —enable-libmfx —enable-libcdio —enable-libgme —enable-libmodplug —enable-libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —enable-libshine —enable-libtheora —enable-libtwolame —enable-libvo-amrwbenc —enable-libilbc —enable-libgsm —enable-libopencore-amrnb —enable-libopus —enable-libspeex —enable-libvorbis —enable-ladspa —enable-libbs2b —enable-libflite —enable-libmysofa —enable-librubberband —enable-libsoxr —enable-chromaprint
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Input #0, rtsp, from 'rtsp ://xxx:xxx@xxx.xxx.xxx.xxx/axis-media/media.amp' :
  Metadata :
    title : Session streamed with GStreamer
    comment : rtsp-server
  Duration : N/A, start : 2.979633, bitrate : N/A
    Stream #0:0 : Video : h264 (Baseline), yuvj420p(pc, bt709, progressive), 320x240 [SAR 1:1 DAR 4:3], 2 fps, 25 tbr, 90k tbn, 4 tbc
Output #0, rtp, to 'rtp ://localhost:30002' :
  Metadata :
    title : Session streamed with GStreamer
    comment : rtsp-server
    encoder : Lavf58.45.100
    Stream #0:0 : Video : h264 (Baseline), yuvj420p(pc, bt709, progressive), 320x240 [SAR 1:1 DAR 4:3], q=2-31, 2 fps, 25 tbr, 90k tbn, 2 tbc
Stream mapping :
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[rtp @ 000002da44da33c0] Non-monotonous DTS in output stream 0:0 ; previous : 0, current : -224986 ; changing to 0. This may result in incorrect timestamps in the output file.
[rtp @ 000002da44da33c0] Non-monotonous DTS in output stream 0:0 ; previous : 0, current : -178194 ; changing to 0. This may result in incorrect timestamps in the output file.
[rtp @ 000002da44da33c0] Non-monotonous DTS in output stream 0:0 ; previous : 0, current : -134998 ; changing to 0. This may result in incorrect timestamps in the output file.
[rtp @ 000002da44da33c0] Non-monotonous DTS in output stream 0:0 ; previous : 0, current : -88201 ; changing to 0. This may result in incorrect timestamps in the output file.
[rtp @ 000002da44da33c0] Non-monotonous DTS in output stream 0:0 ; previous : 0, current : -45002 ; changing to 0. This may result in incorrect timestamps in the output file.
frame=   89 fps=2.1 q=-1.0 size=     142kB time=00:00:43.01 bitrate=  27.0kbits/s speed=   1x


    


    [Windows Command Prompt B ] (receiver)

    


    
C :\Users\xxx\ffmpeg-4.3.1-2020-11-19-full_build\bin>ffplay -protocol_whitelist "file,udp,rtp" stream.sdp

ffplay version 4.3.1-2020-11-19-full_build-www.gyan.dev Copyright (c) 2003-2020 the FFmpeg developers
  built with gcc 10.2.0 (Rev5, Built by MSYS2 project)
  configuration : —enable-gpl —enable-version3 —enable-static —disable-w32threads —disable-autodetect —enable-fontconfig —enable-iconv —enable-gnutls —enable-libxml2 —enable-gmp —enable-lzma —enable-libsnappy —enable-zlib —enable-libsrt —enable-libssh —enable-libzmq —enable-avisynth —enable-libbluray —enable-libcaca —enable-sdl2 —enable-libdav1d —enable-libzvbi —enable-librav1e —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxvid —enable-libaom —enable-libopenjpeg —enable-libvpx —enable-libass —enable-frei0r —enable-libfreetype —enable-libfribidi —enable-libvidstab —enable-libvmaf —enable-libzimg —enable-amf —enable-cuda-llvm —enable-cuvid —enable-ffnvcodec —enable-nvdec —enable-nvenc —enable-d3d11va —enable-dxva2 —enable-libmfx —enable-libcdio —enable-libgme —enable-libmodplug —enable-libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —enable-libshine —enable-libtheora —enable-libtwolame —enable-libvo-amrwbenc —enable-libilbc —enable-libgsm —enable-libopencore-amrnb —enable-libopus —enable-libspeex —enable-libvorbis —enable-ladspa —enable-libbs2b —enable-libflite —enable-libmysofa —enable-librubberband —enable-libsoxr —enable-chromaprint
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[sdp @ 000001832f4ecec0] decoding for stream 0 failed    0B f=0/0
Input #0, sdp, from 'stream.sdp' :
  Metadata :
    title : Session streamed with GStreamer
  Duration : N/A, bitrate : N/A
    Stream #0:0 : Video : h264 (Baseline), yuvj420p(pc, bt709, progressive), 320x240 [SAR 1:1 DAR 4:3], 2 fps, 2 tbr, 90k tbn, 4 tbc
[swscaler @ 0000018336868d00] deprecated pixel format used, make sure you did set range correctly
 127.52 M-V : -0.021 fd=  12 aq=    0KB vq=   11KB sq=    0B f=0/0


    


  • Save live video stream .m3u8 to MP4. Video freezes for a few seconds

    11 octobre 2020, par Frodo Baggins

    I am trying to save in MP4 an .m3u8 live stream using FFMPEG.

    


    The version in use is the following : $ ffmpeg -v
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1 18.04)

    


    While the command used for saving the stream in MP4 is the the one below :

    


    ffmpeg -y -i https://stream.m3u8 —map 0 —vcodec copy -acodec copy / output.mp4

    


    The file can be successfully opened and played with VLC even though every 3-5 seconds I see that the video freezes every few seconds.

    


    I wonder if it's something that I am missing in the above command.

    


    I also verified whether the issue was related to the connection in use but it does not seem related.