Recherche avancée

Médias (3)

Mot : - Tags -/Valkaama

Autres articles (50)

  • 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

  • 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

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

  • avutil/mips : refactor msa SLDI_Bn_0 and SLDI_Bn macros.

    6 août 2019, par gxw
    avutil/mips : refactor msa SLDI_Bn_0 and SLDI_Bn macros.
    

    Changing details as following :
    1. The previous order of parameters are irregular and difficult to
    understand. Adjust the order of the parameters according to the
    rule : (RTYPE, input registers, input mask/input index/..., output registers).
    Most of the existing msa macros follow the rule.
    2. Remove the redundant macro SLDI_Bn_0 and use SLDI_Bn instead.

    Reviewed-by : Shiyou Yin <yinshiyou-hf@loongson.cn>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/mips/h264dsp_msa.c
    • [DH] libavcodec/mips/h264qpel_msa.c
    • [DH] libavcodec/mips/hevc_lpf_sao_msa.c
    • [DH] libavcodec/mips/hevcpred_msa.c
    • [DH] libavcodec/mips/hpeldsp_msa.c
    • [DH] libavcodec/mips/me_cmp_msa.c
    • [DH] libavcodec/mips/qpeldsp_msa.c
    • [DH] libavcodec/mips/vp8_mc_msa.c
    • [DH] libavcodec/mips/vp9_idct_msa.c
    • [DH] libavcodec/mips/vp9_lpf_msa.c
    • [DH] libavcodec/mips/vp9_mc_msa.c
    • [DH] libavutil/mips/generic_macros_msa.h
  • FFmpeg playable MP4 segmented video from RTSP

    5 février 2021, par Michael Novotný

    I have problem with creating playable uncomplete MP4 file created from FFMPEG. In my case I have some infinite RTSP stream (h.264) from IP camera.&#xA;My target is record this stream to MP4 files for playback. If i use FFMPEG mp4 muxer, work correctly.

    &#xA;

    /usr/bin/ffmpeg -progress pipe:5 -use_wallclock_as_timestamps 1 -analyzeduration 10000000 -probesize 10000000 -fflags &#x2B;igndts -rtsp_transport tcp -hwaccel auto -loglevel warning -i rtsp://****:****@*******:****/ -y -an -vcodec copy -strict experimental -movflags frag_keyframe&#x2B;empty_moov -f segment -segment_format mp4 -segment_format_options movflags=&#x2B;faststart -segment_atclocktime 1 -reset_timestamps 1 -strftime 1 -segment_time 15 /Shinobi/videos/bWkwjTWdRt/Rm67cYyq50/test-%S.mp4&#xA;

    &#xA;

    FFMPEG will create one MP4 file which still increasing its size. If I try copy or simply open this (uncomplete, still increased ... of course :) ) file, it's correcly play. But it's still only one file ... still bigger and bigger. For long-term recording cam (few weeks) it's not good.&#xA;I want segment this stream to multiple smaller MP4 files (as you knows from another typical NVR systems). For example : segment for 30minutes.&#xA;I used "segment" muxer.

    &#xA;

    /usr/bin/ffmpeg -progress pipe:5 -use_wallclock_as_timestamps 1 -analyzeduration 10000000 -probesize 10000000 -fflags &#x2B;igndts -rtsp_transport tcp -hwaccel auto -loglevel warning -i rtsp://*****:****@*********:****/ -y -an -vcodec copy -strict -2 -movflags frag_keyframe&#x2B;empty_moov -f mp4 -segment_atclocktime 1 -reset_timestamps 1 -strftime 1 -segment_list pipe:8 -segment_time 15 /Shinobi/videos/bWkwjTWdRt/Rm67cYyq50/test-%S.mp4&#xA;

    &#xA;

    It looks like work correctly. New file with defined mask is created every 30 minutes. If I try copy or simply open(and play) anyone "completed 30min segment file" it"s works correctly. Problem is with last file (more precisely : newest, still uncompleted last segment file) - it's not playable (moov atom not found).

    &#xA;

    I Googled my problem many time with another keywords. I was try many my wonders. I readed FFMPEG documentation maybe 5times.

    &#xA;

    Problem is with second passthroug which "segment muxer" do (which do -movflags +faststart .. for example). It's logicaly, second passthroug not be did in last(newest) file yet.

    &#xA;

    Is there way to make it work ? If I want see time for 2-3 mins ago it's no possible wait up to 30minutes for "complete segment" ... and at the same time it is not possible to have a billion files with 2-3sec segments.&#xA;How did other NVR systems solve this ? Synology, Hikvision and more has in their file system recorded MP4 soubory which one of them is still uncompleted, still growing, but normaly PLAYABLE.

    &#xA;

    A few last days I tried this with no success. I'am absolutely angry and sad. I hope that my text is understandable

    &#xA;

    Thank you

    &#xA;

    This options has no effect in my case (tried) :

    &#xA;

    -movflags frag_keyframe+empty_moov

    &#xA;

    -movflags faststart

    &#xA;

    -movflags separate_moof

    &#xA;

    -fragsize *** / -fragtime ***

    &#xA;

    -strict -2 / -strict experimental

    &#xA;

  • can't record docker selenium with ffmpeg and ubuntu 18

    1er janvier 2019, par Alex028502

    I have a script that starts a selenium/standalone-chrome container, starts recording with ffmpeg, and runs the selenium tests. However, it is not working with ubuntu 18, possibly because of the ffmpeg version (3.4.4 instead of 2.8.15).

    I have broken down the problem into a couple commands which work fine in ubuntu 16 but not ubuntu 18 :

    start selenium container in terminal #1

    docker run --network=host --shm-size=2g -e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1080 selenium/standalone-chrome:3.141.59-antimony

    start recording in terminal #2

    rm -f test.mp4
    # :99 seems to be the default for the selenium container
    ffmpeg -f x11grab -video_size 1920x1080 -i :99 -codec:v libx264 -r 4 test.mp4

    and I get something that looks like this

    frame=    2 fps=0.1 q=-1.0 Lsize=       2kB time=00:00:00.25 bitrate=  75.9kbits/s dup=0 drop=413 speed=0.0165

    the time stays at 0, and then goes up to 25msec when I stop it.

    On the other hand, if I just start regular screen buffer in terminal #1

    Xvfb :99 -screen 0 1920x1080x24

    and run the same thing as above in terminal #2, everything works

    Also, I am pretty sure that the above ffmpeg command worked in ubuntu 16, with ffmpeg-3.

    So to summarise when the above ffmpeg command seems to work :

                      | ubuntu 16 (ffmpeg 3) | ubuntu 18 (ffmpeg 4)
    just start Xvfb    | works                | works
    selenium container | works                | DOES NOT WORK

    Any ideas ?