Recherche avancée

Médias (91)

Autres articles (58)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (2354)

  • What is the best way to merge (concat) mp4 files in android ?

    26 mars 2017, par Glimpse

    I am build an camera app which will allow users to pause & resume recording of an video. Currently pause & resume is possible using MediaRecorder but only for SDK >= 24.

    For version SDK < 24 I am using mediaRecorder.stop() & mediaRecorder.start(). Now I must merge those separate mp4 files into one.

    This is the current approach using FFMPEG (but with no luck) :

    private void mergeVideos() {

       if (filePaths.size() == 1) {
           cropVideoToSquare();
           return;
       }

       List<string> cmdList = new ArrayList&lt;>();

       StringBuilder sb = new StringBuilder();
       for (int i = 0; i &lt; filePaths.size(); i++) {
           cmdList.add("-i");
           cmdList.add(filePaths.get(i));

           sb.append("[").append(i).append(":0] [").append(i).append(":1]");
       }
       sb.append(" concat=n=").append(filePaths.size()).append(":v=1:a=1 [v] [a]");
       cmdList.add("-filter_complex");
       cmdList.add("\'" + sb.toString() + "\'");
       cmdList.add("-map");
       cmdList.add("\'[v]\'");
       cmdList.add("-map");
       cmdList.add("\'[a]\'");
       cmdList.add("-preset");
       cmdList.add("ultrafast");
       final String mergedVideoLocation = CameraHelper.generateVideoNameWithPath();
       cmdList.add(mergedVideoLocation);

       sb = new StringBuilder();
       for (String str : cmdList) {
           sb.append(str).append(" ");
       }

       String[] cmd = cmdList.toArray(new String[cmdList.size()]);

       try {
           ffmpeg = FFmpeg.getInstance(this);
           ffmpeg.execute(cmd, new MergingHandler() {
               @Override
               public void onSuccess(String message) {
                   Log.d("mergeVideos", "onSuccess");
                   currentFilePath = mergedVideoLocation;
                   cropVideoToSquare();
               }

               @Override
               public void onFailure(String message) {
                   Log.d("mergeVideos", "onFailure: " + message);
                   pDialog.dismiss();
               }

               @Override
               public void onStart() {
                   Log.d("mergeVideos", "onStart");
                   pDialog.show();
               }
           });

       } catch (FFmpegCommandAlreadyRunningException e) {
           e.printStackTrace();
       }

    }
    </string>

    The exception that I am getting :

    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (GCC)
    configuration : —target-os=linux —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags=’-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all’ —extra-ldflags=’-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags=
    libavutil 55. 17.103 / 55. 17.103
    libavcodec 57. 24.102 / 57. 24.102
    libavformat 57. 25.100 / 57. 25.100
    libavdevice 57. 0.101 / 57. 0.101
    libavfilter 6. 31.100 / 6. 31.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Pictures/CameraFeatures/VID_20170326_100318.mp4’ :
    Metadata :
    major_brand : 3gp4
    minor_version : 0
    compatible_brands : isom3gp4
    creation_time : 2017-03-26 08:03:24
    Duration : 00:00:04.82, start : 0.000000, bitrate : N/A
    Stream #0:0(eng) : Video : mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 7764 kb/s, 30.02 fps, 30 tbr, 90k tbn, 300 tbc (default)
    Metadata :
    rotate : 90
    creation_time : 2017-03-26 08:03:24
    handler_name : VideoHandle
    Side data :
    displaymatrix : rotation of -90.00 degrees
    Stream #0:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata :
    creation_time : 2017-03-26 08:03:24
    handler_name : SoundHandle
    /storage/emulated/0/Pictures/CameraFeatures/VID_20170326_100328.mp4 : No such file or directory

    Can someone point out what am I doing wrong ?

  • why it is taking a lot of time to convert image to video in ffmpeg ?

    20 avril 2021, par al pacino

    Below is a snippet of code i am using to convert images into videos but It is taking around 3 minutes to convert image to 5 second video.&#xA;If I run the command on Image present on a directory then it converts images to videos very swiftly. but i need to use try except to catch ConnectionError..&#xA;can anyone tell what I am doing wrong ?

    &#xA;

    video = []&#xA;video_list = []&#xA;for video in videos:&#xA;    try:&#xA;        r = requests.get(video, stream=True)&#xA;        print(r.status_code)&#xA;        if not r.status_code == 200:&#xA;            message = "broken url process could not be completed"&#xA;            return message&#xA;        if r.status_code == 200:&#xA;            if video.endswith(".jpg") or video.endswith(".png") or video.endswith(".jpeg"):&#xA;                filename = str(uuid.uuid4())&#xA;                url2 = download_path &#x2B; filename &#x2B;".webm"&#xA;                #cmd = "ffmpeg -loop 1 -i &#x27;{}&#x27; -c:v libx264 -t 5 -pix_fmt yuv420p -vf scale={}:{} ".format(video, width, height)&#x2B; url2&#xA;                cmd = "ffmpeg -loop 1 -i &#x27;{}&#x27; -t 5 -vf scale={}:{} ".format(video, width, height) &#x2B; url2&#xA;                os.system(cmd)&#xA;                path_remover(video)&#xA;                video_list.append(url2)&#xA;            else:&#xA;                video_list.append(video)&#xA;    except ConnectionError:&#xA;        for i in video_list:&#xA;            path_remover(i)&#xA;        message = "broken url process could not be completed"&#xA;        return message&#xA;

    &#xA;

    full log after running the command with online url :

    &#xA;

    ffmpeg -loop 1 -i &#x27;https://cdn.pixabay.com/photo/2020/10/23/12/03/arch-5678549__340.jpg&#x27; -t 5 -vf scale=1280:780 output.mp4 &#xA;&#xA;&#xA;ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib&#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;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, image2, from &#x27;https://cdn.pixabay.com/photo/2021/04/17/18/26/woman-6186493__340.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 5538 kb/s&#xA;    Stream #0:0: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 511x340 [SAR 1:1 DAR 511:340], 25 fps, 25 tbr, 25 tbn, 25 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x5580ac8e7c40] deprecated pixel format used, make sure you did set range correctly&#xA;[libx264 @ 0x5580ac186b40] using SAR=1034/1129&#xA;[libx264 @ 0x5580ac186b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512&#xA;[libx264 @ 0x5580ac186b40] profile High, level 3.2&#xA;[libx264 @ 0x5580ac186b40] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc), 1280x780 [SAR 19929:21760 DAR 511:340], q=-1--1, 25 fps, 12800 tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;frame=  100 fps=0.0 q=28.0 size=       0kB time=00:00:01.64 bitrate=   0.2kbits/frame=  125 fps=0.0 q=-1.0 Lsize=      90kB time=00:00:04.88 bitrate= 151.7kbits/s speed=6.79x    &#xA;video:88kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.618829%&#xA;[libx264 @ 0x5580ac186b40] frame I:1     Avg QP:16.31  size: 75247&#xA;[libx264 @ 0x5580ac186b40] frame P:31    Avg QP:16.13  size:   314&#xA;[libx264 @ 0x5580ac186b40] frame B:93    Avg QP:31.33  size:    49&#xA;[libx264 @ 0x5580ac186b40] consecutive B-frames:  0.8%  0.0%  0.0% 99.2%&#xA;[libx264 @ 0x5580ac186b40] mb I  I16..4: 10.6% 77.6% 11.8%&#xA;[libx264 @ 0x5580ac186b40] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  2.5%  0.2%  0.2%  0.0%  0.0%    skip:97.2%&#xA;[libx264 @ 0x5580ac186b40] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.4%  0.0%  0.0%  direct: 0.0%  skip:99.6%  L0: 8.3% L1:91.7% BI: 0.0%&#xA;[libx264 @ 0x5580ac186b40] 8x8 transform intra:77.5% inter:98.7%&#xA;[libx264 @ 0x5580ac186b40] coded y,uvDC,uvAC intra: 88.4% 95.3% 79.5% inter: 0.1% 0.5% 0.0%&#xA;[libx264 @ 0x5580ac186b40] i16 v,h,dc,p:  2%  3%  0% 95%&#xA;[libx264 @ 0x5580ac186b40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18%  7%  6% 11% 10% 10%  8%  8%&#xA;[libx264 @ 0x5580ac186b40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18%  7%  5% 16% 11%  9%  6%  4%&#xA;[libx264 @ 0x5580ac186b40] i8c dc,h,v,p: 33% 21% 22% 24%&#xA;[libx264 @ 0x5580ac186b40] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0x5580ac186b40] ref P L0: 85.7%  0.1% 13.2%  1.0%&#xA;[libx264 @ 0x5580ac186b40] ref B L0: 53.6% 46.4%&#xA;[libx264 @ 0x5580ac186b40] ref B L1: 92.8%  7.2%&#xA;[libx264 @ 0x5580ac186b40] kb/s:143.20&#xA;aman@aman:~/Desktop/a$ ffmpeg -loop 1 -i &#x27;https://cdn.pixabay.com/photo/2021/04/17/18/26/woman-6186493__340.jpg&#x27; -t 5 -vf scale=1280:780 output.webm&#xA;ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib&#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;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, image2, from &#x27;https://cdn.pixabay.com/photo/2021/04/17/18/26/woman-6186493__340.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 5538 kb/s&#xA;    Stream #0:0: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 511x340 [SAR 1:1 DAR 511:340], 25 fps, 25 tbr, 25 tbn, 25 tbc&#xA;File &#x27;output.webm&#x27; already exists. Overwrite? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mjpeg (native) -> vp9 (libvpx-vp9))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x5630553879c0] deprecated pixel format used, make sure you did set range correctly&#xA;[libvpx-vp9 @ 0x563054cd2500] v1.7.0&#xA;[libvpx-vp9 @ 0x563054cd2500] Neither bitrate nor constrained quality specified, using default CRF of 32&#xA;Output #0, webm, to &#x27;output.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 1280x780 [SAR 19929:21760 DAR 511:340], q=-1--1, 25 fps, 1k tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 libvpx-vp9&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;frame=   57 fps=0.0 q=0.0 size=       1kB time=00:00:01.28 bitrate=   3.3kbits/sframe=  103 fps=102 q=0.0 size=       1kB time=00:00:03.12 bitrate=   1.3kbits/sframe=  125 fps= 85 q=0.0 Lsize=      51kB time=00:00:04.96 bitrate=  84.0kbits/s speed=3.37x    &#xA;video:50kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.571023%&#xA;

    &#xA;

  • why it is taking a lot of time to convert image via HTTP to video in ffmpeg ?

    20 avril 2021, par al pacino

    Below is the ffmpeg i am using to convert images into videos but It is taking around 3 minutes to convert image to 5 second video.&#xA;If I run the command on Image present on a directory then it converts images to videos very swiftly.

    &#xA;

    can anyone tell what I am doing wrong ?

    &#xA;

    ffmpeg -loop 1 -i &#x27;https://cdn.pixabay.com/photo/2020/10/23/12/03/arch-5678549__340.jpg&#x27; -t 5 -vf scale=1280:780 output.mp4 &#xA;&#xA;ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib&#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;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, image2, from &#x27;https://cdn.pixabay.com/photo/2021/04/17/18/26/woman-6186493__340.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 5538 kb/s&#xA;    Stream #0:0: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 511x340 [SAR 1:1 DAR 511:340], 25 fps, 25 tbr, 25 tbn, 25 tbc&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x5580ac8e7c40] deprecated pixel format used, make sure you did set range correctly&#xA;[libx264 @ 0x5580ac186b40] using SAR=1034/1129&#xA;[libx264 @ 0x5580ac186b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512&#xA;[libx264 @ 0x5580ac186b40] profile High, level 3.2&#xA;[libx264 @ 0x5580ac186b40] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc), 1280x780 [SAR 19929:21760 DAR 511:340], q=-1--1, 25 fps, 12800 tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;frame=  100 fps=0.0 q=28.0 size=       0kB time=00:00:01.64 bitrate=   0.2kbits/frame=  125 fps=0.0 q=-1.0 Lsize=      90kB time=00:00:04.88 bitrate= 151.7kbits/s speed=6.79x    &#xA;video:88kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.618829%&#xA;[libx264 @ 0x5580ac186b40] frame I:1     Avg QP:16.31  size: 75247&#xA;[libx264 @ 0x5580ac186b40] frame P:31    Avg QP:16.13  size:   314&#xA;[libx264 @ 0x5580ac186b40] frame B:93    Avg QP:31.33  size:    49&#xA;[libx264 @ 0x5580ac186b40] consecutive B-frames:  0.8%  0.0%  0.0% 99.2%&#xA;[libx264 @ 0x5580ac186b40] mb I  I16..4: 10.6% 77.6% 11.8%&#xA;[libx264 @ 0x5580ac186b40] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  2.5%  0.2%  0.2%  0.0%  0.0%    skip:97.2%&#xA;[libx264 @ 0x5580ac186b40] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.4%  0.0%  0.0%  direct: 0.0%  skip:99.6%  L0: 8.3% L1:91.7% BI: 0.0%&#xA;[libx264 @ 0x5580ac186b40] 8x8 transform intra:77.5% inter:98.7%&#xA;[libx264 @ 0x5580ac186b40] coded y,uvDC,uvAC intra: 88.4% 95.3% 79.5% inter: 0.1% 0.5% 0.0%&#xA;[libx264 @ 0x5580ac186b40] i16 v,h,dc,p:  2%  3%  0% 95%&#xA;[libx264 @ 0x5580ac186b40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18%  7%  6% 11% 10% 10%  8%  8%&#xA;[libx264 @ 0x5580ac186b40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18%  7%  5% 16% 11%  9%  6%  4%&#xA;[libx264 @ 0x5580ac186b40] i8c dc,h,v,p: 33% 21% 22% 24%&#xA;[libx264 @ 0x5580ac186b40] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 0x5580ac186b40] ref P L0: 85.7%  0.1% 13.2%  1.0%&#xA;[libx264 @ 0x5580ac186b40] ref B L0: 53.6% 46.4%&#xA;[libx264 @ 0x5580ac186b40] ref B L1: 92.8%  7.2%&#xA;[libx264 @ 0x5580ac186b40] kb/s:143.20&#xA;aman@aman:~/Desktop/a$ ffmpeg -loop 1 -i &#x27;https://cdn.pixabay.com/photo/2021/04/17/18/26/woman-6186493__340.jpg&#x27; -t 5 -vf scale=1280:780 output.webm&#xA;ffmpeg version n4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-cuda --enable-cuda-sdk --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libnpp --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib&#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;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, image2, from &#x27;https://cdn.pixabay.com/photo/2021/04/17/18/26/woman-6186493__340.jpg&#x27;:&#xA;  Duration: 00:00:00.04, start: 0.000000, bitrate: 5538 kb/s&#xA;    Stream #0:0: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 511x340 [SAR 1:1 DAR 511:340], 25 fps, 25 tbr, 25 tbn, 25 tbc&#xA;File &#x27;output.webm&#x27; already exists. Overwrite? [y/N] y&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mjpeg (native) -> vp9 (libvpx-vp9))&#xA;Press [q] to stop, [?] for help&#xA;[swscaler @ 0x5630553879c0] deprecated pixel format used, make sure you did set range correctly&#xA;[libvpx-vp9 @ 0x563054cd2500] v1.7.0&#xA;[libvpx-vp9 @ 0x563054cd2500] Neither bitrate nor constrained quality specified, using default CRF of 32&#xA;Output #0, webm, to &#x27;output.webm&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.45.100&#xA;    Stream #0:0: Video: vp9 (libvpx-vp9), yuv420p, 1280x780 [SAR 19929:21760 DAR 511:340], q=-1--1, 25 fps, 1k tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.91.100 libvpx-vp9&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;frame=   57 fps=0.0 q=0.0 size=       1kB time=00:00:01.28 bitrate=   3.3kbits/sframe=  103 fps=102 q=0.0 size=       1kB time=00:00:03.12 bitrate=   1.3kbits/sframe=  125 fps= 85 q=0.0 Lsize=      51kB time=00:00:04.96 bitrate=  84.0kbits/s speed=3.37x    &#xA;video:50kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.571023%&#xA;

    &#xA;