Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (76)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

Sur d’autres sites (11821)

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

    


  • avformat/mov : base pcmC endianness on just the LSB

    4 février 2023, par Jan Ekström
    avformat/mov : base pcmC endianness on just the LSB
    

    As per 23003-5:2020, the rest of the bits are reserved, and thus
    in the future they may be utilized for something else.

    Quote :
    format_flags is a field of flags that modify the default PCM sample format.
    Undefined flags are reserved and shall be zero. The following flag is defined :
    0x01 indicates little-endian format. If not present, big-endian format is used.

    • [DH] libavformat/mov.c