Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (17)

  • 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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5460)

  • Download RTSP recording content between two dates and times, or from start seconds to end seconds

    23 septembre 2022, par holt2

    I need to download from an RTSP link the content recorded on an IP camera from a start and end date and time. It would also be valid to be able to download it from X seconds of start of the recording to seconds of end.

    


    With this ffmpeg command I download the recording content from the RTSP link only from the beginning of the recording content, with the duration in seconds passed by the -t parameter :

    


    ffmpeg -rtsp_transport tcp -i  -r 30 -t <seconds> -y -vf scale=800:-1 -c:v libx264 -crf 20 -preset fast -c:a aac -strict experimental -b:a 192k -ac 2 /path/to/video/filename.mp4&#xA;</seconds>

    &#xA;

    I tried to download with ffmpeg the content using temporary media fragment URIs (https://www.w3.org/2008/WebVideo/Fragments/wiki/UA_Server_RTSP_Communication#.281.29_Temporal_Media_Fragment_URIs) but it doesn't do it correctly :

    &#xA;

    ffmpeg -rtsp_transport tcp -i #t=10,20 -r 30 -y -vf scale=800:-1 -c:v libx264 -crf 20 -preset fast -c:a aac -strict experimental -b:a 192k -ac 2 -ss 19:09:13 -t 5 /path/to/video/filename.mp4&#xA;

    &#xA;

    I have also tried with ffmpeg to use the -ss parameter to try to extract the recording from a specific hour, minute and second (https://trac.ffmpeg.org/wiki/Seeking) but when running it gets stuck, it does not advance :

    &#xA;

    ffmpeg -rtsp_transport tcp -i  -r 30 -y -vf scale=800:-1 -c:v libx264 -crf 20 -preset fast -c:a aac -strict experimental -b:a 192k -ac 2 -ss 19:09:13 -t <seconds> /path/to/video/filename.mp4&#xA;</seconds>

    &#xA;

    In case it's helpful, to get the RTSP link, I'm using the ONVIF protocol with a NodeJS library (https://github.com/agsh/onvif). I have also reviewed the ONVIF documentation available but have not found a way to download recorded content between start and end dates and times.

    &#xA;

    Do you know how to download from an RTSP link the content recorded on an IP camera from a start date and time and end date, or download it from X seconds of recording start to seconds of end ?

    &#xA;

    I am also open to use other tools or commands that can do this.

    &#xA;

  • lavc/vvc_mc : R-V V dmvr

    15 décembre 2024, par sunyuechi
    lavc/vvc_mc : R-V V dmvr
    

    k230 banana_f3
    dmvr_8_12x20_c : 619.3 ( 1.00x) 624.1 ( 1.00x)
    dmvr_8_12x20_rvv_i32 : 128.6 ( 4.82x) 103.4 ( 6.04x)
    dmvr_8_20x12_c : 610.0 ( 1.00x) 665.6 ( 1.00x)
    dmvr_8_20x12_rvv_i32 : 137.6 ( 4.44x) 92.9 ( 7.17x)
    dmvr_8_20x20_c : 1008.0 ( 1.00x) 1082.7 ( 1.00x)
    dmvr_8_20x20_rvv_i32 : 221.1 ( 4.56x) 155.4 ( 6.97x)
    dmvr_h_8_12x20_c : 2008.0 ( 1.00x) 2009.7 ( 1.00x)
    dmvr_h_8_12x20_rvv_i32 : 239.6 ( 8.38x) 186.7 (10.77x)
    dmvr_h_8_20x12_c : 1989.5 ( 1.00x) 2009.4 ( 1.00x)
    dmvr_h_8_20x12_rvv_i32 : 230.3 ( 8.64x) 155.4 (12.93x)
    dmvr_h_8_20x20_c : 3304.1 ( 1.00x) 3342.9 ( 1.00x)
    dmvr_h_8_20x20_rvv_i32 : 378.3 ( 8.73x) 248.9 (13.43x)
    dmvr_hv_8_12x20_c : 3609.8 ( 1.00x) 3603.4 ( 1.00x)
    dmvr_hv_8_12x20_rvv_i32 : 369.1 ( 9.78x) 322.1 (11.19x)
    dmvr_hv_8_20x12_c : 3628.3 ( 1.00x) 3624.2 ( 1.00x)
    dmvr_hv_8_20x12_rvv_i32 : 322.8 (11.24x) 238.7 (15.19x)
    dmvr_hv_8_20x20_c : 5933.8 ( 1.00x) 5936.6 ( 1.00x)
    dmvr_hv_8_20x20_rvv_i32 : 526.5 (11.27x) 374.1 (15.87x)
    dmvr_v_8_12x20_c : 2156.3 ( 1.00x) 2155.4 ( 1.00x)
    dmvr_v_8_12x20_rvv_i32 : 239.6 ( 9.00x) 176.2 (12.24x)
    dmvr_v_8_20x12_c : 2137.6 ( 1.00x) 2165.9 ( 1.00x)
    dmvr_v_8_20x12_rvv_i32 : 230.3 ( 9.28x) 155.2 (13.96x)
    dmvr_v_8_20x20_c : 4183.8 ( 1.00x) 3592.9 ( 1.00x)
    dmvr_v_8_20x20_rvv_i32 : 369.3 (11.33x) 249.2 (14.42x)

    • [DH] libavcodec/riscv/vvc/vvc_mc_rvv.S
    • [DH] libavcodec/riscv/vvc/vvcdsp_init.c
  • ffmpeg streaming via rtp reorders streams

    19 juin 2023, par konovification

    I'm streaming a video using ffmpeg -i bbb.mp4 -c:v copy -c:a copy -f rtp_mpegts "rtp://239.1.1.1:8000". The command line output is :

    &#xA;

    ffmpeg version 4.3.6-0&#x2B;deb11u1 Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 10 (Debian 10.2.1-6)&#xA;  configuration: --prefix=/usr --extra-version=0&#x2B;deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared&#xA;  WARNING: library configuration mismatch&#xA;  avcodec     configuration: --prefix=/usr --extra-version=0&#x2B;deb11u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc&#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;  libavresample   4.  0.  0 /  4.  0.  0&#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;Guessed Channel Layout for Input Stream #0.1 : 5.1&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;bbb.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    title           : Big Buck Bunny, Sunflower version&#xA;    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013&#xA;    composer        : Sacha Goedegebure&#xA;    encoder         : Lavf58.45.100&#xA;    comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net&#xA;    genre           : Animation&#xA;  Duration: 00:10:34.64, start: 0.000000, bitrate: 4195 kb/s&#xA;    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4094 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : GPAC ISO Video Handler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 96 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : GPAC ISO Audio Handler&#xA;Output #0, rtp_mpegts, to &#x27;rtp://239.1.1.1:8000&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    title           : Big Buck Bunny, Sunflower version&#xA;    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013&#xA;    composer        : Sacha Goedegebure&#xA;    genre           : Animation&#xA;    comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 4094 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : GPAC ISO Video Handler&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 96 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : GPAC ISO Audio Handler&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (copy)&#xA;Press [q] to stop, [?] for help&#xA;

    &#xA;

    When I run ffprobe rtp://239.1.1.1:8000 (without restarting the stream), around one in ten times I get

    &#xA;

    Input #0, rtp, from &#x27;rtp://239.1.1.1:8000&#x27;:&#xA;  Duration: N/A, start: 411.533978, bitrate: N/A&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : Service01&#xA;      service_provider: FFmpeg&#xA;    Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc&#xA;    Stream #0:0: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 384 kb/s&#xA;

    &#xA;

    Meaning that the video and audio streams swapped indices. I'm writing a program which uses libav where I rely on this to not happen. What is the reason for this and can it be fixed ?

    &#xA;