Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (7866)

  • Use ffmpeg for incoming youtube HLS live stream and output to rtmp

    14 avril 2018, par hrs

    I can’t get ffmpeg to work with live streams from youtube. Normal non-live videos work just fine. But with live streams ffmpeg seems like it doesn’t make enough requests for new segments. It basically downloads, say a 3 second segment, then nothing happens for 10 seconds or so, then it downloads a new segment, repeat...

    ffmpeg -i '$(./youtube-dl -f best -g https://www.youtube.com/watch?v=emGI3UrzIMc)' -f flv rtmp://192.168.0.11/myapp/mystream

    So what’s the automagic command ?

    ffmpeg version :

    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7.3.0 (Rev1, Built by MSYS2 project)
    configuration: --prefix=/mingw64 --target-os=mingw32 --arch=x86_64 --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-d3d11va --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libcaca --enable-libcelt --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libwebp --enable-openal --enable-libwavpack --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-static --enable-swresample --enable-version3 --enable-zlib --disable-doc
    libavutil      55. 78.100 / 55. 78.100
    libavcodec     57.107.100 / 57.107.100
    libavformat    57. 83.100 / 57. 83.100
    libavdevice    57. 10.100 / 57. 10.100
    libavfilter     6.107.100 /  6.107.100
    libavresample   3.  7.  0 /  3.  7.  0
    libswscale      4.  8.100 /  4.  8.100
    libswresample   2.  9.100 /  2.  9.100
    libpostproc    54.  7.100 / 54.  7.100

    youtube-dl version : 2018.03.14

    Following is the output of the command above. The <my note="note"></my> is added by me for description purposes.

    At start execution goes smoothly. It then freezes for 10 or 15 sec at <my note="note" 1="1"></my>. It then downloads the part of the stream - <my note="note" 2="2"></my>, plays is, then freezes again for some seconds. Then downloads the next part - <my note="note" 3="3"></my>, plays it, freezes, and so on...

    $ ffmpeg -i '$(./youtube-dl -f best -g https://www.youtube.com/watch?v=emGI3UrzIMc)' -f flv rtmp://192.168.0.11/myapp/mystream
    ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 7.3.0 (Rev1, Built by MSYS2 project)
     configuration: --prefix=/mingw64 --target-os=mingw32 --arch=x86_64 --disable-debug --disable-static --enable-avresample --enable-dxva2 --enable-d3d11va --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libcaca --enable-libcelt --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libvpx --enable-libwebp --enable-openal --enable-libwavpack --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-static --enable-swresample --enable-version3 --enable-zlib --disable-doc
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libavresample   3.  7.  0 /  3.  7.  0
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    [hls,applehttp @ 00000287da404cc0] Opening 'https://r4---sn-cap1vv-nv4l.googlevideo.com/videoplayback/id/emGI3UrzIMc.0/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r4---sn-cap1vv-nv4l.googlevideo.com/ei/6jiqWt7SIJKD8gPimZTACA/playlist_type/DVR/gcr/bg/initcwndbps/10410/mm/32/mn/sn-cap1vv-nv4l/ms/lv/mv/m/pcm2cms/yes/pl/16/keepalive/yes/mt/1521105015/ip/130.204.135.162/ipbits/0/expire/1521126730/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,playlist_type,gcr,initcwndbps,mm,mn,ms,mv,pcm2cms,pl/signature/503304477BD05CCC71061344F8BB23195E152A32.512A84732C501AF08AC9340181A75D34C5B2FF77/key/dg_yt0/playlist/index.m3u8/sq/1308292/goap/clen%3D48852%3Blmt%3D1520930742662673/govp/clen%3D347004%3Blmt%3D1520930742662679/dur/2.000/file/seg.ts' for reading
    Input #0, hls,applehttp, from 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/emGI3UrzIMc.0/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r4---sn-cap1vv-nv4l.googlevideo.com/ei/6jiqWt7SIJKD8gPimZTACA/playlist_type/DVR/gcr/bg/initcwndbps/10410/mm/32/mn/sn-cap1vv-nv4l/ms/lv/mv/m/pcm2cms/yes/pl/16/dover/10/keepalive/yes/mt/1521105015/ip/130.204.135.162/ipbits/0/expire/1521126730/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,playlist_type,gcr,initcwndbps,mm,mn,ms,mv,pcm2cms,pl/signature/503304477BD05CCC71061344F8BB23195E152A32.512A84732C501AF08AC9340181A75D34C5B2FF77/key/dg_yt0/playlist/index.m3u8':
     Duration: N/A, start: 39603.798400, bitrate: N/A
     Program 0
       Metadata:
         variant_bitrate : 0
       Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 0
       Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
       Metadata:
         variant_bitrate : 0
    Stream mapping:
     Stream #0:1 -> #0:0 (h264 (native) -> flv1 (flv))
     Stream #0:0 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Press [q] to stop, [?] for help
    Output #0, flv, to 'rtmp://192.168.0.11/myapp/mystream':
     Metadata:
       encoder         : Lavf57.83.100
       Stream #0:0: Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 1k tbn, 30 tbc
       Metadata:
         variant_bitrate : 0
         encoder         : Lavc57.107.100 flv
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 48000 Hz, stereo, fltp
       Metadata:
         variant_bitrate : 0
         <my note="note" 1="1">encoder         : Lavc57.107.100 libmp3lame
    <my note="note" 2="2">[hls,applehttp @ 00000287da404cc0] Opening 'https://r4---sn-cap1vv-nv4l.googlevideo.com/videoplayback/id/emGI3UrzIMc.0/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r4---sn-cap1vv-nv4l.googlevideo.com/ei/6jiqWt7SIJKD8gPimZTACA/playlist_type/DVR/gcr/bg/initcwndbps/10410/mm/32/mn/sn-cap1vv-nv4l/ms/lv/mv/m/pcm2cms/yes/pl/16/keepalive/yes/mt/1521105015/ip/130.204.135.162/ipbits/0/expire/1521126730/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,playlist_type,gcr,initcwndbps,mm,mn,ms,mv,pcm2cms,pl/signature/503304477BD05CCC71061344F8BB23195E152A32.512A84732C501AF08AC9340181A75D34C5B2FF77/key/dg_yt0/playlist/index.m3u8/sq/1308293/goap/clen%3D48853%3Blmt%3D1520930742662680/govp/clen%3D404944%3Blmt%3D1520930742662686/dur/2.000/file/seg.ts' for reading
    <my note="note" 3="3">[hls,applehttp @ 00000287da404cc0] Opening 'https://r4---sn-cap1vv-nv4l.googlevideo.com/videoplayback/id/emGI3UrzIMc.0/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r4---sn-cap1vv-nv4l.googlevideo.com/ei/6jiqWt7SIJKD8gPimZTACA/playlist_type/DVR/gcr/bg/initcwndbps/10410/mm/32/mn/sn-cap1vv-nv4l/ms/lv/mv/m/pcm2cms/yes/pl/16/keepalive/yes/mt/1521105015/ip/130.204.135.162/ipbits/0/expire/1521126730/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,playlist_type,gcr,initcwndbps,mm,mn,ms,mv,pcm2cms,pl/signature/503304477BD05CCC71061344F8BB23195E152A32.512A84732C501AF08AC9340181A75D34C5B2FF77/key/dg_yt0/playlist/index.m3u8/sq/1308294/goap/clen%3D48852%3Blmt%3D1520930742662688/govp/clen%3D403294%3Blmt%3D1520930742662693/dur/2.000/file/seg.ts' for reading
    [hls,applehttp @ 00000287da404cc0] Opening 'https://r4---sn-cap1vv-nv4l.googlevideo.com/videoplayback/id/emGI3UrzIMc.0/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r4---sn-cap1vv-nv4l.googlevideo.com/ei/6jiqWt7SIJKD8gPimZTACA/playlist_type/DVR/gcr/bg/initcwndbps/10410/mm/32/mn/sn-cap1vv-nv4l/ms/lv/mv/m/pcm2cms/yes/pl/16/keepalive/yes/mt/1521105015/ip/130.204.135.162/ipbits/0/expire/1521126730/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,playlist_type,gcr,initcwndbps,mm,mn,ms,mv,pcm2cms,pl/signature/503304477BD05CCC71061344F8BB23195E152A32.512A84732C501AF08AC9340181A75D34C5B2FF77/key/dg_yt0/playlist/index.m3u8/sq/1308295/goap/clen%3D48355%3Blmt%3D1520930742662695/govp/clen%3D358330%3Blmt%3D1520930742662700/dur/2.000/file/seg.ts' for reading
    [hls,applehttp @ 00000287da404cc0] Opening 'https://r4---sn-cap1vv-nv4l.googlevideo.com/videoplayback/id/emGI3UrzIMc.0/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D136/hls_chunk_host/r4---sn-cap1vv-nv4l.googlevideo.com/ei/6jiqWt7SIJKD8gPimZTACA/playlist_type/DVR/gcr/bg/initcwndbps/10410/mm/32/mn/sn-cap1vv-nv4l/ms/lv/mv/m/pcm2cms/yes/pl/16/keepalive/yes/mt/1521105015/ip/130.204.135.162/ipbits/0/expire/1521126730/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,ei,playlist_type,gcr,initcwndbps,mm,mn,ms,mv,pcm2cms,pl/signature/503304477BD05CCC71061344F8BB23195E152A32.512A84732C501AF08AC9340181A75D34C5B2FF77/key/dg_yt0/playlist/index.m3u8/sq/1308296/goap/clen%3D48852%3Blmt%3D1520930742662701/govp/clen%3D347658%3Blmt%3D1520930742662707/dur/2.000/file/seg.ts' for reading
    frame=  225 fps=1.8 q=31.0 size=     947kB time=00:00:07.92 bitrate= 979.2kbits/s speed=0.0625x
    </my></my></my>

    And you don’t have to output to a rtmp. Can be a local file - behavior is the same.

  • Evolution #3924 : Changer #FILE dans la boucle DATA source ls pour mettre le chemin complet

    28 février 2018, par BoOz -

    sauf cas particulier où ^v est un dir

    Le #FILE d’un répertoire serait alors avec un / à la fin. Ca va ? ou je vire le / ?

    2018-02-28 17:33:25 - File : IMG/gif/ - basename : gif

  • merge video of images(without audio) to another video(with audio) through ffmpeg in android

    28 février 2018, par Raghav Sharma

    I am using the below qwery for creating video from image

    String imageToVideo[]={"-loop","1","-i",picturePath,"-pix_fmt","yuv420p","-t","6",VideoSavePath};

    successfully created video and then i merge created video to another video but getting issue

    below is the command for merging two videos

    VideoSavePath — created video from image

    secondVideoPath — path of some random video

    String VidCommand[]={"-y","-i",VideoSavePath ,"-i", secondVideoPath, "-filter_complex","[0:0][1:0]concat=n=2:v=1:a=0", bothMerge}

    But now i am stuck with this error :

    Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.829 9364-9364/com.demovideomerge D/MainActivity : progress : libavutil 55. 17.103 / 55. 17.103
    02-27 21:14:57.830 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.830 9364-9364/com.demovideomerge D/MainActivity : progress : libavcodec 57. 24.102 / 57. 24.102
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity : progress : libavformat 57. 25.100 / 57. 25.100
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.832 9364-9364/com.demovideomerge D/MainActivity : progress : libavdevice 57. 0.101 / 57. 0.101
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity : progress : libavfilter 6. 31.100 / 6. 31.100
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity : progress : libswscale 4. 0.100 / 4. 0.100
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity : progress : libswresample 2. 0.101 / 2. 0.101
    02-27 21:14:57.835 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.835 9364-9364/com.demovideomerge D/MainActivity : progress : libpostproc 54. 0.100 / 54. 0.100
    02-27 21:14:57.857 9364-9389/com.demovideomerge V/RenderScript : Application requested CPU execution
    02-27 21:14:57.900 9364-9389/com.demovideomerge V/RenderScript : 0xb772e190 Launching thread(s), CPUs 4
    02-27 21:14:57.945 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.947 9364-9364/com.demovideomerge D/MainActivity : progress : Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Movies/Merge_Video5.mp4’ :
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.951 9364-9364/com.demovideomerge D/MainActivity : progress : major_brand : isom
    02-27 21:14:57.951 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.954 9364-9364/com.demovideomerge D/MainActivity : progress : minor_version : 512
    02-27 21:14:57.954 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.956 9364-9364/com.demovideomerge D/MainActivity : progress : compatible_brands : isomiso2avc1mp41
    02-27 21:14:57.956 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.957 9364-9364/com.demovideomerge D/MainActivity : progress : encoder : Lavf57.25.100
    02-27 21:14:57.957 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.959 9364-9364/com.demovideomerge D/MainActivity : progress : Duration : 00:00:06.00, start : 0.000000, bitrate : 80 kb/s
    02-27 21:14:57.959 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : progress : Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 540x960, 76 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:57.962 9364-9364/com.demovideomerge D/MainActivity : progress : handler_name : VideoHandler
    02-27 21:14:58.318 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.321 9364-9364/com.demovideomerge D/MainActivity : progress : Input #1, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180209_200422444.mp4’ :
    02-27 21:14:58.322 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.323 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:58.323 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.324 9364-9364/com.demovideomerge D/MainActivity : progress : major_brand : mp42
    02-27 21:14:58.324 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.325 9364-9364/com.demovideomerge D/MainActivity : progress : minor_version : 0
    02-27 21:14:58.326 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.327 9364-9364/com.demovideomerge D/MainActivity : progress : compatible_brands : isommp42
    02-27 21:14:58.327 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.329 9364-9364/com.demovideomerge D/MainActivity : progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.331 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.333 9364-9364/com.demovideomerge D/MainActivity : progress : Duration : 00:00:05.59, start : 0.000000, bitrate : 8748 kb/s
    02-27 21:14:58.334 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.338 9364-9364/com.demovideomerge D/MainActivity : progress : Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 864x480, 8283 kb/s, SAR 1:1 DAR 9:5, 29.13 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    02-27 21:14:58.339 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.340 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:58.340 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.341 9364-9364/com.demovideomerge D/MainActivity : progress : rotate : 90
    02-27 21:14:58.341 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.342 9364-9364/com.demovideomerge D/MainActivity : progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.343 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.344 9364-9364/com.demovideomerge D/MainActivity : progress : handler_name : VideoHandle
    02-27 21:14:58.345 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.346 9364-9364/com.demovideomerge D/MainActivity : progress : encoder : MOTO
    02-27 21:14:58.346 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.348 9364-9364/com.demovideomerge D/MainActivity : progress : Side data :
    02-27 21:14:58.348 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.350 9364-9364/com.demovideomerge D/MainActivity : progress : displaymatrix : rotation of -90.00 degrees
    02-27 21:14:58.351 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity : progress : Stream #1:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity : progress : Metadata :
    02-27 21:14:58.362 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.363 9364-9364/com.demovideomerge D/MainActivity : progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.365 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.366 9364-9364/com.demovideomerge D/MainActivity : progress : handler_name : SoundHandle
    02-27 21:14:58.366 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.370 9364-9364/com.demovideomerge D/MainActivity : progress : [Parsed_concat_0 @ 0xb819c8b0] Input link in1:v0 parameters (size 480x864, SAR 1:1) do not match the corresponding output link in0:v0 parameters (540x960, SAR 1:1)
    02-27 21:14:58.370 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.372 9364-9364/com.demovideomerge D/MainActivity : progress : [Parsed_concat_0 @ 0xb819c8b0] Failed to configure output pad on Parsed_concat_0
    02-27 21:14:58.372 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.376 9364-9364/com.demovideomerge D/MainActivity : progress : Error configuring complex filters.
    02-27 21:14:58.376 9364-9364/com.demovideomerge D/MainActivity : Started command : ffmpeg [Ljava.lang.String ;@8061ebb
    02-27 21:14:58.377 9364-9364/com.demovideomerge D/MainActivity : progress : Invalid argument
    02-27 21:14:58.378 9364-9364/com.demovideomerge D/MainActivity : FAILED with output : 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/Movies/Merge_Video5.mp4’ :
    Metadata :
    major_brand : isom
    minor_version : 512
    compatible_brands : isomiso2avc1mp41
    encoder : Lavf57.25.100
    Duration : 00:00:06.00, start : 0.000000, bitrate : 80 kb/s
    Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 540x960, 76 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata :
    handler_name : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180209_200422444.mp4’ :
    Metadata :
    major_brand : mp42
    minor_version : 0
    compatible_brands : isommp42
    creation_time : 2018-02-09 14:34:30
    Duration : 00:00:05.59, start : 0.000000, bitrate : 8748 kb/s
    Stream #1:0(eng) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 864x480, 8283 kb/s, SAR 1:1 DAR 9:5, 29.13 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    Metadata :
    rotate : 90
    creation_time : 2018-02-09 14:34:30
    handler_name : VideoHandle
    encoder : MOTO
    Side data :
    displaymatrix : rotation of -90.00 degrees
    Stream #1:1(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata :
    creation_time : 2018-02-09 14:34:30
    handler_name : SoundHandle
    [Parsed_concat_0 @ 0xb819c8b0] Input link in1:v0 parameters (size 480x864, SAR 1:1) do not match the corresponding output link in0:v0 parameters (540x960, SAR 1:1)
    [Parsed_concat_0 @ 0xb819c8b0] Failed to configure output pad on Parsed_concat_0
    Error configuring complex filters.
    Invalid argument
    02-27 21:14:58.378 9364-9364/com.demovideomerge D/MainActivity : Finished command : ffmpeg [Ljava.lang.String ;@8061ebb

    Any help would be appreciated. I am badly stuck in this. Thanks in Advance.