Recherche avancée

Médias (0)

Mot : - Tags -/tags

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (93)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (5493)

  • Streaming live video with avconv/ffmped on nginx rtmp server player error

    6 juin 2014, par user3715403

    Good morning,
    My current project involves playing live video (testing using a usb webcam for now). I compiled and installed nginx server with the rtmp module (obtained from https://github.com/arut/nginx-rtmp-module). The nginx configuration file is as :

    worker_processes  1;

    error_log  logs/error.log debug;

    events {
       worker_connections  1024;
    }

    rtmp {
       server {
           listen 1935;

           application myapp {
               live on;

               #record keyframes;
               #record_path /tmp;
               #record_max_size 128K;
               #record_interval 30s;
               #record_suffix .this.is.flv;

               #on_publish http://localhost:8080/publish;
               #on_play http://localhost:8080/play;
               #on_record_done http://localhost:8080/record_done;
           }
       }
    }

    http {
       server {
           listen      8080;

           location /stat {
               rtmp_stat all;
               rtmp_stat_stylesheet stat.xsl;
           }

           location /stat.xsl {
               root /path/to/nginx-rtmp-module/;
           }

           location /control {
               rtmp_control all;
           }

           #location /publish {
           #    return 201;
           #}

           #location /play {
           #    return 202;
           #}

           #location /record_done {
           #    return 203;
           #}

           location /rtmp-publisher {
               root /path/to/nginx-rtmp-module/test;
           }

           location / {
               root /path/to/nginx-rtmp-module/test/www;
           }
       }
    }

    The command line to start streaming is as :

    avconv -s vga -f video4linux2 -i /dev/video0 -vcodec libx264 -an -f flv -b 800k -r 30 rtmp://localhost/myapp/live

    While streaming, the following stats are displayed :

    avconv version 10.1, Copyright (c) 2000-2014 the Libav developers
     built on May 13 2014 15:13:23 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
    [video4linux2 @ 0x2f06220] Estimating duration from bitrate, this may be inaccurate
    Input #0, video4linux2, from '/dev/video0':
     Duration: N/A, start: 112393.305806, bitrate: 73728 kb/s
       Stream #0.0: Video: rawvideo, yuyv422, 640x480, 73728 kb/s, 15 fps, 1000k tbn
    [libx264 @ 0x2f187a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x2f187a0] profile High, level 3.0
    [libx264 @ 0x2f187a0] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - 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=1 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=abr mbtree=1 bitrate=800 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, flv, to 'rtmp://localhost/myapp/live':
     Metadata:
       encoder         : Lavf55.12.0
       Stream #0.0: Video: libx264, yuv420p, 640x480, q=-1--1, 800 kb/s, 1k tbn, 30 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo -> libx264)
    Press ctrl-c to stop encoding
    frame= 3283 fps= 30 q=26.0 size=   10592kB time=108.33 bitrate= 810.5kbits/s

    Before embedding the stream onto a web page using, say videojs, I am using avplay which returns the error : rtmp ://localhost/myapp/live : Input/output error while VLC returns the error
    Your input can’t be opened :
    VLC is unable to open the MRL ’rtmp ://localhost/myapp/live’. Check the log for details.

    Any suggestions about what would cause the errors displayed by VLC/avplay ?

    Thanks
    Daniel

  • Problems with frame rate on video conversion using ffmpeg with libx264

    29 mai 2013, par Lars Schroeter

    I have problems with transcoding some videos. I ran the most simple ffmpeg command and it takes very long time and the output file is about 10 times bigger. If I provide the frame rate parameter -r it works well (small file, fast transcoding). What is the problem and how can I solve it ? I don't want to set a fixed frame rate because I guess it's better to leave it the same as source, isn't it ?.

    Maybe the problem is something else, because I found many examples in web where the -r option isn't used. Also transcoding to a different format or with a different source works well without -r option (I tried with ffmpeg 0.7.15 and also 1.2.1). The videos are provided by the users of my website and automatically converted to be suitable for the web. So I need the most general command for automatic conversion.

    In the following ffmpeg output you will find this two suspicious messages :

    • Frame rate very high for a muxer not effciciently supporting it. Please consider specifiying a lower framerate, a different muxer or -vsync 2
    • MB rate (36000000) > level limit (983040)

    The ffmpeg command and output (without -r option) :

    ffmpeg -i '/tmp/standort_aquarium.mp4' -vcodec libx264 output.mp4
    ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers built on Feb 22 2013 07:18:58 with gcc 4.4.5 configuration : —enable-libdc1394 —prefix=/usr —extra-cflags='-Wall -g ' —cc='ccache cc' —enable-shared —enable-libmp3lame —enable-gpl —enable-libvorbis —enable-pthreads —enable-libfaac —enable-libxvid —enable-postproc —enable-x11grab —enable-libgsm —enable-libtheora —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-libspeex —enable-nonfree —disable-stripping —enable-avfilter —enable-libdirac —disable-decoder=libdirac —enable-libfreetype —enable-libschroedinger —disable-encoder=libschroedinger —enable-version3 —enable-libopenjpeg —enable-libvpx —enable-librtmp —extra-libs=-lgcrypt —disable-altivec —disable-armv5te —disable-armv6 —disable-vis
    libavutil 50. 43. 0 / 50. 43. 0
    libavcodec 52.123. 0 / 52.123. 0
    libavformat 52.111. 0 / 52.111. 0
    libavdevice 52. 5. 0 / 52. 5. 0
    libavfilter 1. 80. 0 / 1. 80. 0
    libswscale 0. 14. 1 / 0. 14. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/standort_aquarium.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    Duration : 00:00:18.24, start : 0.000000, bitrate : 2095 kb/s
    Stream #0.0(und) : Video : mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 2001 kb/s, 14.97 fps, 30k tbr, 30k tbn, 30k tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : aac, 48000 Hz, mono, s16, 96 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    [mp4 @ 0x20eed80] Frame rate very high for a muxer not effciciently supporting it.
    Please consider specifiying a lower framerate, a different muxer or -vsync 2
    [buffer @ 0x20f8820] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param :
    [libx264 @ 0x20efde0] Default settings detected, using medium profile
    [libx264 @ 0x20efde0] using SAR=1/1
    [libx264 @ 0x20efde0] MB rate (36000000) > level limit (983040)
    [libx264 @ 0x20efde0] using cpu capabilities : MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x20efde0] profile High, level 5.1
    [libx264 @ 0x20efde0] 264 - core 118 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - 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=1 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
    Output #0, mp4, to 'output.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    encoder : Lavf52.111.0
    Stream #0.0(und) : Video : libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 30k tbn, 30k tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : libfaac, 48000 Hz, mono, s16, 64 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream mapping :
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop, [?] for help
    frame=542630 fps=132 q=33.0 Lsize= 77226kB time=00:00:18.08 bitrate=34976.2kbits/s dup=542358 drop=0
    video:68604kB audio:143kB global headers:0kB muxing overhead 12.333275%
    frame I:2174 Avg QP:18.72 size : 25040
    [libx264 @ 0x20efde0] frame P:136846 Avg QP:25.27 size : 56
    [libx264 @ 0x20efde0] frame B:403610 Avg QP:32.99 size : 20
    [libx264 @ 0x20efde0] consecutive B-frames : 0.8% 0.0% 0.1% 99.1%
    [libx264 @ 0x20efde0] mb I I16..4 : 5.5% 83.3% 11.1%
    [libx264 @ 0x20efde0] mb P I16..4 : 0.0% 0.0% 0.0% P16..4 : 0.5% 0.0% 0.0% 0.0% 0.0% skip:99.4%
    [libx264 @ 0x20efde0] mb B I16..4 : 0.0% 0.0% 0.0% B16..8 : 0.0% 0.0% 0.0% direct : 0.0% skip:100.0% L0:21.2% L1:78.8% BI : 0.0%
    [libx264 @ 0x20efde0] 8x8 transform intra:83.1% inter:85.2%
    [libx264 @ 0x20efde0] coded y,uvDC,uvAC intra : 91.2% 95.8% 80.7% inter : 0.0% 0.1% 0.0%
    [libx264 @ 0x20efde0] i16 v,h,dc,p : 13% 40% 12% 35%
    [libx264 @ 0x20efde0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 19% 34% 15% 4% 4% 5% 6% 7% 8%
    [libx264 @ 0x20efde0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 20% 38% 6% 4% 6% 6% 8% 6% 6%
    [libx264 @ 0x20efde0] i8c dc,h,v,p : 39% 32% 19% 10%
    [libx264 @ 0x20efde0] Weighted P-Frames : Y:0.0% UV:0.0%
    [libx264 @ 0x20efde0] ref P L0 : 91.5% 5.2% 2.8% 0.4% 0.0%
    [libx264 @ 0x20efde0] ref B L0 : 55.7% 43.5% 0.8%
    [libx264 @ 0x20efde0] ref B L1 : 97.9% 2.1%
    [libx264 @ 0x20efde0] kb/s:31071.04

    The ffmpeg command and output with the -r 24 option :

    ffmpeg -i '/tmp/standort_aquarium.mp4' -r 30000/1001 -vcodec libx264 output.mp4
    ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers
    built on Feb 22 2013 07:18:58 with gcc 4.4.5
    configuration : —enable-libdc1394 —prefix=/usr —extra-cflags='-Wall -g ' —cc='ccache cc' —enable-shared —enable-libmp3lame —enable-gpl —enable-libvorbis —enable-pthreads —enable-libfaac —enable-libxvid —enable-postproc —enable-x11grab —enable-libgsm —enable-libtheora —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libx264 —enable-libspeex —enable-nonfree —disable-stripping —enable-avfilter —enable-libdirac —disable-decoder=libdirac —enable-libfreetype —enable-libschroedinger —disable-encoder=libschroedinger —enable-version3 —enable-libopenjpeg —enable-libvpx —enable-librtmp —extra-libs=-lgcrypt —disable-altivec —disable-armv5te —disable-armv6 —disable-vis
    libavutil 50. 43. 0 / 50. 43. 0
    libavcodec 52.123. 0 / 52.123. 0
    libavformat 52.111. 0 / 52.111. 0
    libavdevice 52. 5. 0 / 52. 5. 0
    libavfilter 1. 80. 0 / 1. 80. 0
    libswscale 0. 14. 1 / 0. 14. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/standort_aquarium.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    Duration : 00:00:18.24, start : 0.000000, bitrate : 2095 kb/s
    Stream #0.0(und) : Video : mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 2001 kb/s, 14.97 fps, 30k tbr, 30k tbn, 30k tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : aac, 48000 Hz, mono, s16, 96 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    File 'output.mp4' already exists. Overwrite ? [y/N] y
    [buffer @ 0x132e820] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param :
    [libx264 @ 0x1325de0] Default settings detected, using medium profile
    [libx264 @ 0x1325de0] using SAR=1/1
    [libx264 @ 0x1325de0] using cpu capabilities : MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x1325de0] profile High, level 3.0
    [libx264 @ 0x1325de0] 264 - core 118 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - 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=1 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
    Output #0, mp4, to 'output.mp4' :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : mp423gp4isom
    creation_time : 2013-04-19 15:04:05
    encoder : Lavf52.111.0
    Stream #0.0(und) : Video : libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 30k tbn, 29.97 tbc
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream #0.1(und) : Audio : libfaac, 48000 Hz, mono, s16, 64 kb/s
    Metadata :
    creation_time : 2013-04-19 15:04:05
    Stream mapping :
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop, [?] for help
    frame= 542 fps= 36 q=29.0 Lsize= 2059kB time=00:00:18.01 bitrate= 936.3kbits/s dup=270 drop=0
    video:1904kB audio:143kB global headers:0kB muxing overhead 0.609224%
    frame I:3 Avg QP:22.39 size : 14773
    [libx264 @ 0x1325de0] frame P:514 Avg QP:23.98 size : 3675
    [libx264 @ 0x1325de0] frame B:25 Avg QP:27.44 size : 643
    [libx264 @ 0x1325de0] consecutive B-frames : 93.7% 0.0% 1.1% 5.2%
    [libx264 @ 0x1325de0] mb I I16..4 : 16.4% 78.3% 5.3%
    [libx264 @ 0x1325de0] mb P I16..4 : 1.6% 6.3% 0.3% P16..4 : 30.8% 8.6% 3.1% 0.0% 0.0% skip:49.4%
    [libx264 @ 0x1325de0] mb B I16..4 : 0.4% 0.7% 0.0% B16..8 : 13.2% 1.6% 0.2% direct : 0.3% skip:83.6% L0:50.0% L1:47.1% BI : 2.9%
    [libx264 @ 0x1325de0] 8x8 transform intra:77.1% inter:83.1%
    [libx264 @ 0x1325de0] coded y,uvDC,uvAC intra : 62.0% 76.4% 24.4% inter : 17.9% 26.3% 2.3%
    [libx264 @ 0x1325de0] i16 v,h,dc,p : 14% 60% 13% 13%
    [libx264 @ 0x1325de0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 15% 35% 33% 2% 3% 3% 3% 3% 4%
    [libx264 @ 0x1325de0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu : 15% 40% 12% 4% 7% 7% 7% 5% 4%
    [libx264 @ 0x1325de0] i8c dc,h,v,p : 46% 34% 16% 4%
    [libx264 @ 0x1325de0] Weighted P-Frames : Y:8.0% UV:4.5%
    [libx264 @ 0x1325de0] ref P L0 : 65.6% 16.7% 8.8% 7.9% 0.9%
    [libx264 @ 0x1325de0] ref B L0 : 85.9% 13.3% 0.8%
    [libx264 @ 0x1325de0] ref B L1 : 88.7% 11.3%
    [libx264 @ 0x1325de0] kb/s:862.28

    The video source is temporarily available under : https://www.dropbox.com/s/4xg147z77u40g87/standort_aquarium.mp4

  • FFMpeg frame drop when merging a image sequence and overlaying during video creation process

    29 juillet 2018, par Killer

    I have reviewed both the answer as mentioned in Similar Issue But still, I am having some frame drops.

    Here is what I was doing :
    Question 1
    Question 2

    Currently, I am showing a few images (one after another each with
    duration ’x’) on a sample background along with a music playing in the
    background.

    This is the command I am using to get the desired functionality :

    ffmpeg
    -hide_banner
    -y
    -loop 1
    -r 1
    -i /data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_WEDDING_FRAME.png
    -r 1/4
    -i /data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_SELECTED_IMAGE_%d.png
    -filter_complex overlay=(W-w)/2:(H-h)/2,drawtext=text=WedMojo:fontcolor=white:fontfile=/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Files/FONT_WED_MOJO_WEDDING.ttf:fontsize=30:x=w-tw-20:y=h-th-20
    -c:v libx264
    -profile:v high
    -crf 17 -pix_fmt yuv420p
    -preset ultrafast
    -t 16 -strict experimental
    -r 24
    /data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Videos/VID_WED_MOJO_WEDDING_OUTPUT.mp4

    note : -r 1/4 for each image to be shown for 4 sec.

    I have checked the format of the images. All are the same. Also on changing preset and other values, the problem seems to be same. Log states drop=0, however, there are gaps as the overlay image is removed in between.

    Video sample with the duration set to 4 i.e each image to be set for 4 seconds.

    -> -> Video Output with 4 sec duration for each image

    However, there are no frame drops when the duration set to 1 or 2.

    -> -> Video Output with 2 sec duration for each image, ignore zoompan

    Log details :

    D/CreateVideoActivity: COMMAND: -hide_banner -y -loop 1 -r 1 -i /data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_WEDDING_FRAME.png -r 1/4 -i /data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_SELECTED_IMAGE_%d.png -filter_complex overlay=(W-w)/2:(H-h)/2,drawtext=text=WedMojo:fontcolor=white:fontfile=/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Files/FONT_WED_MOJO_WEDDING.ttf:fontsize=30:x=w-tw-20:y=h-th-20 -c:v libx264 -profile:v high -crf 17 -pix_fmt yuv420p -preset ultrafast -t 16 -strict experimental -r 24 /data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Videos/VID_WED_MOJO_WEDDING_OUTPUT.mp4
    D/SurfaceUtils: disconnecting from surface 0x8a091008, reason disconnectFromSurface
    D/FFmpeg: Running publishing updates method
    D/CreateVideoActivity: onProgress() => Input #0, png_pipe, from '/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_WEDDING_FRAME.png':
       onProgress() =>   Duration: N/A, bitrate: N/A
       onProgress() =>     Stream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc
       onProgress() => Input #1, image2, from '/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_SELECTED_IMAGE_%d.png':
       onProgress() =>   Duration: 00:00:00.16, start: 0.000000, bitrate: N/A
    D/CreateVideoActivity: onProgress() =>     Stream #1:0: Video: png, rgb24(pc), 600x600 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
       onProgress() => Stream mapping:
       onProgress() =>   Stream #0:0 (png) -> overlay:main
       onProgress() =>   Stream #1:0 (png) -> overlay:overlay
       onProgress() =>   drawtext -> Stream #0:0 (libx264)
       onProgress() => Press [q] to stop, [?] for help
    D/CreateVideoActivity: onProgress() => [libx264 @ 0xb0857c00] using cpu capabilities: none!
    D/CreateVideoActivity: onProgress() => [libx264 @ 0xb0857c00] profile Constrained Baseline, level 3.1
       onProgress() => [libx264 @ 0xb0857c00] 264 - core 152 r2851M ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=24 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
       onProgress() => Output #0, mp4, to '/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Videos/VID_WED_MOJO_WEDDING_OUTPUT.mp4':
    D/CreateVideoActivity: onProgress() =>   Metadata:
    D/CreateVideoActivity: onProgress() =>     encoder         : Lavf58.12.100
       onProgress() =>     Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720, q=-1--1, 24 fps, 12288 tbn, 24 tbc (default)
       onProgress() =>     Metadata:
    D/CreateVideoActivity: onProgress() =>       encoder         : Lavc58.18.100 libx264
       onProgress() =>     Side data:
       onProgress() =>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    D/CreateVideoActivity: onProgress() => frame=   96 fps=0.0 q=6.0 size=     256kB time=00:00:03.79 bitrate= 553.2kbits/s dup=93 drop=0 speed=3.94x    
    D/CreateVideoActivity: onProgress() => frame=  120 fps= 79 q=6.0 size=     512kB time=00:00:04.79 bitrate= 875.4kbits/s dup=116 drop=0 speed=3.13x    
    D/CreateVideoActivity: onProgress() => frame=  192 fps= 91 q=6.0 size=     512kB time=00:00:07.79 bitrate= 538.4kbits/s dup=185 drop=0 speed=3.68x    
    D/CreateVideoActivity: onProgress() => frame=  216 fps= 79 q=6.0 size=     768kB time=00:00:08.79 bitrate= 715.7kbits/s dup=208 drop=0 speed=3.21x    
    D/CreateVideoActivity: onProgress() => frame=  288 fps= 88 q=6.0 size=    1024kB time=00:00:11.79 bitrate= 711.4kbits/s dup=278 drop=0 speed= 3.6x    
    D/CreateVideoActivity: onProgress() => frame=  312 fps= 82 q=6.0 size=    1536kB time=00:00:12.79 bitrate= 983.7kbits/s dup=301 drop=0 speed=3.37x    
    D/CreateVideoActivity: onProgress() => frame=  384 fps= 86 q=6.0 size=    1536kB time=00:00:15.79 bitrate= 796.8kbits/s dup=370 drop=0 speed=3.52x    
    D/CreateVideoActivity: onProgress() => frame=  384 fps= 78 q=-1.0 Lsize=    1783kB time=00:00:15.95 bitrate= 915.4kbits/s dup=393 drop=0 speed=3.24x    
    D/CreateVideoActivity: onProgress() => video:1781kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.130068%
    D/CreateVideoActivity: onProgress() => [libx264 @ 0xb0857c00] frame I:2     Avg QP: 9.00  size:152054
       onProgress() => [libx264 @ 0xb0857c00] frame P:382   Avg QP: 6.69  size:  3976
       onProgress() => [libx264 @ 0xb0857c00] mb I  I16..4: 100.0%  0.0%  0.0%
       onProgress() => [libx264 @ 0xb0857c00] mb P  I16..4:  0.5%  0.0%  0.0%  P16..4: 10.7%  0.0%  0.0%  0.0%  0.0%    skip:88.7%
       onProgress() => [libx264 @ 0xb0857c00] coded y,uvDC,uvAC intra: 56.4% 68.7% 52.5% inter: 4.2% 2.0% 1.5%
       onProgress() => [libx264 @ 0xb0857c00] i16 v,h,dc,p: 49% 25% 15% 11%
       onProgress() => [libx264 @ 0xb0857c00] i8c dc,h,v,p: 38% 28% 23% 11%
       onProgress() => [libx264 @ 0xb0857c00] kb/s:911.53
    D/CreateVideoActivity: onSuccess() => Input #0, png_pipe, from '/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_WEDDING_FRAME.png':
         Duration: N/A, bitrate: N/A
           Stream #0:0: Video: png, rgb24(pc), 1280x720, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Input #1, image2, from '/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Images/IMG_WED_MOJO_SELECTED_IMAGE_%d.png':
         Duration: 00:00:00.16, start: 0.000000, bitrate: N/A
           Stream #1:0: Video: png, rgb24(pc), 600x600 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
       Stream mapping:
         Stream #0:0 (png) -> overlay:main
         Stream #1:0 (png) -> overlay:overlay
         drawtext -> Stream #0:0 (libx264)
       Press [q] to stop, [?] for help
       [libx264 @ 0xb0857c00] using cpu capabilities: none!
       [libx264 @ 0xb0857c00] profile Constrained Baseline, level 3.1
       [libx264 @ 0xb0857c00] 264 - core 152 r2851M ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=24 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
       Output #0, mp4, to '/data/user/0/mojo.wed.com.wedmojo/cache/wedding_video/Videos/VID_WED_MOJO_WEDDING_OUTPUT.mp4':
         Metadata:
           encoder         : Lavf58.12.100
           Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x720, q=-1--1, 24 fps, 12288 tbn, 24 tbc (default)
           Metadata:
             encoder         : Lavc58.18.100 libx264
           Side data:
             cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
       frame=   96 fps=0.0 q=6.0 size=     256kB time=00:00:03.79 bitrate= 553.2kbits/s dup=93 drop=0 speed=3.94x    
       frame=  120 fps= 79 q=6.0 size=     512kB time=00:00:04.79 bitrate= 875.4kbits/s dup=116 drop=0 speed=3.13x    
       frame=  192 fps= 91 q=6.0 size=     512kB time=00:00:07.79 bitrate= 538.4kbits/s dup=185 drop=0 speed=3.68x    
       frame=  216 fps= 79 q=6.0 size=     768kB time=00:00:08.79 bitrate= 715.7kbits/s dup=208 drop=0 speed=3.21x    
       frame=  288 fps= 88 q=6.0 size=    1024kB time=00:00:11.79 bitrate= 711.4kbits/s dup=278 drop=0 speed= 3.6x    
       frame=  312 fps= 82 q=6.0 size=    1536kB time=00:00:12.79 bitrate= 983.7kbits/s dup=301 drop=0 speed=3.37x    
       frame=  384 fps= 86 q=6.0 size=    1536kB time=00:00:15.79 bitrate= 796.8kbits/s dup=370 drop=0 speed=3.52x    
       frame=  384 fps= 78 q=-1.0 Lsize=    1783kB time=00:00:15.95 bitrate= 915.4kbits/s dup=393 drop=0 speed=3.24x    
       video:1781kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.130068%
       [libx264 @ 0xb0857c00] frame I:2     Avg QP: 9.00  size:152054
       [libx264 @ 0xb0857c00] frame P:382   Avg QP: 6.69  size:  3976
       [libx264 @ 0xb0857c00] mb I  I16..4: 100.0%  0.0%  0.0%
       [libx264 @ 0xb0857c00] mb P  I16..4:  0.5%  0.0%  0.0%  P16..4: 10.7%  0.0%  0.0%  0.0%  0.0%    skip:88.7%
       [libx264 @ 0xb0857c00] coded y,uvDC,uvAC intra: 56.4% 68.7% 52.5% inter: 4.2% 2.0% 1.5%
       [libx264 @ 0xb0857c00] i16 v,h,dc,p: 49% 25% 15% 11%
       [libx264 @ 0xb0857c00] i8c dc,h,v,p: 38% 28% 23% 11%
       [libx264 @ 0xb0857c00] kb/s:911.53
    I/OMXClient: Treble IOmx obtained
    D/SurfaceUtils: connecting to surface 0x8c6ef008, reason connectToSurface
    I/MediaCodec: [OMX.google.h264.decoder] setting surface generation to 23113736
    D/SurfaceUtils: disconnecting from surface 0x8c6ef008, reason connectToSurface(reconnect)
    D/SurfaceUtils: connecting to surface 0x8c6ef008, reason connectToSurface(reconnect)
    E/ACodec: [OMX.google.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010
    I/ACodec: codec does not support config priority (err -1010)
    D/MediaCodec: [OMX.google.h264.decoder] setting dataspace on output surface to #104
    D/SoftwareRenderer: setting dataspace on output surface to #104

    Let me know if any details required from my side. Your valuable suggestions are welcomed.