Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (98)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (9468)

  • Pulseaudio record multiple xfbv screens with python

    10 octobre 2020, par Eric Lagarda

    I’m trying to do something complicated and I need some help.

    


    I’m able to record a session (video and audio) with python using xvfb and ffmpeg.

    


    I just want to visit a page using selenium and record the video and audio. It’s working but when I try to run multiple instances, the audio is mixing between records.

    


    How can achieve that ? I’m using pulseaudio. I know that with alsa you can set like a interface per instance, but I don’t know how to do it.

    


    Thanks for you support and comments.

    


  • FFMPEG extract h264 video (can't see video)

    28 décembre 2015, par Marco Ronchi

    I’m trying to extract a portion of video from another video with FFMPEG. I use this command line :

    ffmpeg -i C:\Temp\test.avi -ss 00:00:30.0 -c copy -t 00:00:10.0 C:\Temp\out.avi

    and this is the output messages :

    ffmpeg version N-77504-gbaf4c48 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 5.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
     libavutil      55. 11.100 / 55. 11.100
     libavcodec     57. 20.100 / 57. 20.100
     libavformat    57. 20.100 / 57. 20.100
     libavdevice    57.  0.100 / 57.  0.100
     libavfilter     6. 22.100 /  6. 22.100
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    [h264 @ 0000024bf533c6c0] illegal aspect ratio
    [h264 @ 0000024bf533c6c0] AVC: nal size 1296048104
    [h264 @ 0000024bf533c6c0] missing picture in access unit with size 4382
    [h264 @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 18 times
    Input #0, avi, from 'C:\Temp\test.avi':
     Metadata:
       encoder         : Lavf56.25.101
     Duration: 00:01:51.48, start: 0.000000, bitrate: 864 kb/s
       Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 719 kb/s, 59.94 fps, 29.97 tbr, 59.94 tbn, 59.94 tbc
       Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, fltp, 125 kb/s
    Output #0, avi, to 'C:\Temp\out.avi':
     Metadata:
       ISFT            : Lavf57.20.100
       Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-31, 719 kb/s, 59.94 fps, 29.97 tbr, 59.94 tbn, 59.94 tbc
       Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, 125 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 11 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 22411
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 25 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 41687
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 16 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 44957
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 20 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 63683
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 39 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 39072
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 32 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 31894
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 37 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 44447
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 19 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 29614
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 20 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 33664
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 20 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 26399
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 23 times
    frame=    0 fps=0.0 q=-1.0 size=      10kB time=00:00:02.02 bitrate=  39.7kbits/[NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 44 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 58844
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 3 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 72293
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 92 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 40496
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 10 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 47336
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 19 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 46490
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 45 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 59161
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 43 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 30588
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 6 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 35601
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 4 times
    frame=    0 fps=0.0 q=-1.0 size=      10kB time=00:00:02.02 bitrate=  39.7kbits/[NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 21 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 42018
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 28 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 55838
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 25 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 17035
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 21226
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 17 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 44613
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 48 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 29342
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 8 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 30664
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 32 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 67394
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 57 times
    frame=    0 fps=0.0 q=-1.0 size=      10kB time=00:00:02.02 bitrate=  39.7kbits/[NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 4 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 35793
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 7 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 38809
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 12 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 63104
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 35 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 39476
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 30 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 27844
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 2 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 31435
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 20 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 40483
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 29 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 29305
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 12 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 34270
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 25 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 74136
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 53 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 63513
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 8 times
    frame=    0 fps=0.0 q=-1.0 size=      10kB time=00:00:02.02 bitrate=  39.7kbits/[NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 29 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 45954
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 3 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 52952
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 20 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 78552
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 39 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 33986
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 27 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 32874
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 70 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 63801
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 12 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 78008
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 44 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 21138
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 20 times
    frame=    0 fps=0.0 q=-1.0 size=      10kB time=00:00:02.02 bitrate=  39.7kbits/[NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 17 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 63108
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 8 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 57850
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 43 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 20832
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 37 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 32282
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 12 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 38413
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 46 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 24824
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 24 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 31691
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 57 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 25181
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 14 times
    frame=    0 fps=0.0 q=-1.0 size=      10kB time=00:00:02.02 bitrate=  39.7kbits/[NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 16 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 11491
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 79 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 65374
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 74 times
    [NULL @ 0000024bf533c6c0] AVC: nal size 100779136
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 18231
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 1 times
    [NULL @ 0000024bf533c6c0] illegal aspect ratio
    [NULL @ 0000024bf533c6c0] AVC: nal size 1296048104
    [NULL @ 0000024bf533c6c0] missing picture in access unit with size 17750
    [NULL @ 0000024bf533c6c0] illegal reordering_of_pic_nums_idc 13
       Last message repeated 62 times
    frame=    0 fps=0.0 q=-1.0 Lsize=      43kB time=00:00:02.02 bitrate= 173.8kbits/s speed= 0.6x
    video:0kB audio:31kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 38.359665%

    The audio was extracted correctly, but I can’t see video (it’s all black). Can someone help me ?

    Thanks in advance

  • Freeze frames at a time on videos and slow down videos

    24 avril 2020, par Nguyễn Trọng

    Suppose I have an mp4 video with a duration of 60 seconds.

    



    I want to freeze 1 frame at the 10th second and 40th second and then extend them to about 3 seconds.
At the same time I want to increase the speed of the video to 2 times from the 1 to 20 seconds and 2 times the video slow from 30 to 60 seconds.
The video output I received was 3 + 3 + (20 - 1) * 2 + (30 - 20) + (60-30) * 2 = 108 seconds
Is there a way to do it in one statement ?

    



    Thank in advance and sorry for my bad english.