Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (78)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • 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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (7624)

  • Convert a video with content type video/quicktime to video/mp4 using ffmpeg

    25 juin 2021, par schub

    I have a strange problem. I start with a video file recored with an iPhone. The output is video.mov. I convert this to mp4 using ffmpeg :

    


    ffmpeg -i video.mov -vcodec h264 -acodec aac video.mp4

    


    If I use a tool like exiftool to show the metadata the output for content-type is video/mp4 all seems to be correct. But my backend, which receives the video, uses a library called Apache Tika to extract the content type and the result here is : video/quicktime.

    


    Scala code to retrieve the content type from the file :

    


    // byteArray: Array[Byte]

val tika        = new TikaConfig()
val metadata    = new Metadata()
val contentType = tika.getDetector.detect(TikaInputStream.get(byteArray), metadata)


    


    BTW : If I use a video editing program (DaVinci Resolve in my case) I can load the video, adjust settings and explicitly set the codec to mp4, export the video and then the resulting file works and Apache Tika extract the desired content-type. This is a workaround, but it does not scale and I like to automate this process via ffmpeg.

    


    I'm stuck here. Can anyone give me a hint what I can do ?

    


    Versions :

    


    tika : 1.22
    
ffmpeg : 4.4

    


    ffmpeg log :

    


    $ffmpeg -i video.mov -vcodec h264 -acodec aac video.mp4
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  built with Apple clang version 12.0.0 (clang-1200.0.32.29)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_2 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-avresample --enable-videotoolbox
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2021-06-24T11:19:37.000000Z
    com.apple.quicktime.location.accuracy.horizontal: 65.000000
    com.apple.quicktime.location.ISO6709: +52.5554+013.3772+042.268/
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone 8
    com.apple.quicktime.software: 14.4.2
    com.apple.quicktime.creationdate: 2021-06-24T13:19:36+0200
  Duration: 00:00:09.83, start: 0.000000, bitrate: 7954 kb/s
  Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 1920x1080, 7810 kb/s, 30.01 fps, 30 tbr, 600 tbn, 600 tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2021-06-24T11:19:37.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
      encoder         : HEVC
    Side data:
      displaymatrix: rotation of -90.00 degrees
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2021-06-24T11:19:37.000000Z
      handler_name    : Core Media Audio
      vendor_id       : [0][0][0][0]
  Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
    Metadata:
      creation_time   : 2021-06-24T11:19:37.000000Z
      handler_name    : Core Media Metadata
  Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
    Metadata:
      creation_time   : 2021-06-24T11:19:37.000000Z
      handler_name    : Core Media Metadata
  Stream #0:4(und): Data: none (mebx / 0x7862656D), 34 kb/s (default)
    Metadata:
      creation_time   : 2021-06-24T11:19:37.000000Z
      handler_name    : Core Media Metadata
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7fbe08009400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7fbe08009400] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0x7fbe08009400] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - 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
Output #0, mp4, to 'video.mp4':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    com.apple.quicktime.creationdate: 2021-06-24T13:19:36+0200
    com.apple.quicktime.location.accuracy.horizontal: 65.000000
    com.apple.quicktime.location.ISO6709: +52.5554+013.3772+042.268/
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone 8
    com.apple.quicktime.software: 14.4.2
    encoder         : Lavf58.76.100
  Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1080x1920, q=2-31, 30 fps, 15360 tbn (default)
    Metadata:
      encoder         : Lavc58.134.100 libx264
      creation_time   : 2021-06-24T11:19:37.000000Z
      handler_name    : Core Media Video
      vendor_id       : [0][0][0][0]
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
      displaymatrix: rotation of -0.00 degrees
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 69 kb/s (default)
    Metadata:
      creation_time   : 2021-06-24T11:19:37.000000Z
      handler_name    : Core Media Audio
      vendor_id       : [0][0][0][0]
      encoder         : Lavc58.134.100 aac
frame=  295 fps= 18 q=-1.0 Lsize=    9980kB time=00:00:09.82 bitrate=8323.6kbits/s speed=0.614x
video:9884kB audio:85kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.103401%
[libx264 @ 0x7fbe08009400] frame I:6     Avg QP:21.84  size: 50301
[libx264 @ 0x7fbe08009400] frame P:217   Avg QP:24.23  size: 35435
[libx264 @ 0x7fbe08009400] frame B:72    Avg QP:24.97  size: 29582
[libx264 @ 0x7fbe08009400] consecutive B-frames: 66.8%  0.7%  4.1% 28.5%
[libx264 @ 0x7fbe08009400] mb I  I16..4:  6.7% 88.9%  4.4%
[libx264 @ 0x7fbe08009400] mb P  I16..4:  4.2% 32.9%  0.5%  P16..4: 49.6%  5.0%  2.3%  0.0%  0.0%    skip: 5.5%
[libx264 @ 0x7fbe08009400] mb B  I16..4:  0.9%  6.9%  0.0%  B16..8: 51.8%  7.7%  0.8%  direct:12.2%  skip:19.6%  L0:50.1% L1:46.9% BI: 3.0%
[libx264 @ 0x7fbe08009400] 8x8 transform intra:87.7% inter:88.8%
[libx264 @ 0x7fbe08009400] coded y,uvDC,uvAC intra: 59.2% 41.2% 0.9% inter: 38.3% 57.3% 0.0%
[libx264 @ 0x7fbe08009400] i16 v,h,dc,p: 15% 23%  8% 53%
[libx264 @ 0x7fbe08009400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 14% 29%  7%  8%  7%  7%  6%  6%
[libx264 @ 0x7fbe08009400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 18%  9% 11%  7%  7%  4%  3%
[libx264 @ 0x7fbe08009400] i8c dc,h,v,p: 60% 20% 18%  1%
[libx264 @ 0x7fbe08009400] Weighted P-Frames: Y:3.2% UV:2.3%
[libx264 @ 0x7fbe08009400] ref P L0: 54.2% 10.7% 22.2% 12.5%  0.4%
[libx264 @ 0x7fbe08009400] ref B L0: 75.5% 19.6%  4.9%
[libx264 @ 0x7fbe08009400] ref B L1: 88.7% 11.3%
[libx264 @ 0x7fbe08009400] kb/s:8234.01
[aac @ 0x7fbe0802e000] Qavg: 446.889


    


  • The type or namespace name 'ImageEntitiesContainer' could not be found

    10 avril 2015, par KeithJ

    I’m trying to build a C#.NET application from the source code of a solution provided here.

    I’ve already added a reference to AForge.Video.FFMPEG.dll, but I am still getting the following error :

    Error 2 The type or namespace name ’ImageEntitiesContainer’ could not
    be found (are you missing a using directive or an assembly
    reference ?) C :\WorkSpace\Visual Studio
    2013\Projects\CSharp\ImagesToVideo\Program.cs 56 40 ImagesToVideo

    I searched for this error and found a few posts, but nothing that helps. I tried changing the target framework from my default ".NET Framework 4.5" to some other frameworks : ".NET Framework 2.0", ".NET Framework 3.0", ".NET Framework 4.0", but without any success. Does anyone have any idea why I am still getting this error ?

    Here is my full source code :

    using AForge.Video.FFMPEG;
    using System;
    using System.Collections.Generic;
    using System.Drawing;
    using System.Linq;
    using System.Threading.Tasks;
    using System.Windows.Forms;

    namespace AForge.Video.FFMPEG
    {
    public class MovieMaker
    {

       public void Start()
       {
           var startDate = DateTime.Parse("12 Mar 2012");
           var endDate = DateTime.Parse("13 Aug 2012");

           CreateMovie(startDate, endDate);
       }


       /*THIS CODE BLOCK IS COPIED*/

       public Bitmap ToBitmap(byte[] byteArrayIn)
       {
           var ms = new System.IO.MemoryStream(byteArrayIn);
           var returnImage = System.Drawing.Image.FromStream(ms);
           var bitmap = new System.Drawing.Bitmap(returnImage);

           return bitmap;
       }

       public Bitmap ReduceBitmap(Bitmap original, int reducedWidth, int reducedHeight)
       {
           var reduced = new Bitmap(reducedWidth, reducedHeight);
           using (var dc = Graphics.FromImage(reduced))
           {
               // you might want to change properties like
               dc.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
               dc.DrawImage(original, new Rectangle(0, 0, reducedWidth, reducedHeight), new Rectangle(0, 0, original.Width, original.Height), GraphicsUnit.Pixel);
           }

           return reduced;
       }

       /*END OF COPIED CODE BLOCK*/


       private void CreateMovie(DateTime startDate, DateTime endDate)
       {
           int width = 320;
           int height = 240;
           var framRate = 200;

           using (var container = new ImageEntitiesContainer())
           {
               //a LINQ-query for getting the desired images
               var query = from d in container.ImageSet
                           where d.Date >= startDate && d.Date <= endDate
                           select d;

               // create instance of video writer
               using (var vFWriter = new VideoFileWriter())
               {
                   // create new video file
                   vFWriter.Open("nameOfMyVideoFile.avi", width, height, framRate, VideoCodec.Raw);

                   var imageEntities = query.ToList();

                   //loop throught all images in the collection
                   foreach (var imageEntity in imageEntities)
                   {
                       //what's the current image data?
                       var imageByteArray = imageEntity.Data;
                       var bmp = ToBitmap(imageByteArray);
                       var bmpReduced = ReduceBitmap(bmp, width, height);

                       vFWriter.WriteVideoFrame(bmpReduced);
                   }
                   vFWriter.Close();
               }
           }

       }
    }
    }
  • Media type mismatch Error in ffmpeg-android while Concating videos

    21 mars 2017, par Karandeep Atwal

    I concat different mp4 videos with different properties like aspect ratio, SAR value, frame size using this command in ffmpeg-android-

    final String joinVideo = "-i "+Vid1+" -i "+Vid2+" -i "+Vid3+" -i "+Vid4+" -filter_complex [0]setdar=16/9[a];[1]setdar=16/9[b];[2]setdar=16/9[c];[3]setdar=16/9[d];[a][b][c][d]concat=n=4:v=1:a=1 "+Outputfile;

    My logcat shows-

    03-21 13:06:05.537 26112-26311/com.karandeepEnact I/System.out: --onStart-->
    03-21 13:06:05.545 26112-26312/com.karandeepEnact D/FFmpeg: Running publishing updates method
    03-21 13:06:05.576 26112-26112/com.karandeepEnact I/System.out: --onProgress-->ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    03-21 13:06:05.580 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  built with gcc 4.8 (GCC)
    03-21 13:06:05.580 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  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=
    03-21 13:06:05.620 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libavutil      55. 17.103 / 55. 17.103
    03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libavcodec     57. 24.102 / 57. 24.102
    03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libavformat    57. 25.100 / 57. 25.100
    03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libavdevice    57.  0.101 / 57.  0.101
    03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libavfilter     6. 31.100 /  6. 31.100
    03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libswscale      4.  0.100 /  4.  0.100
    03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libswresample   2.  0.101 /  2.  0.101
    03-21 13:06:05.621 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  libpostproc    54.  0.100 / 54.  0.100
    03-21 13:06:05.653 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid.mp4':
    03-21 13:06:05.653 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Metadata:
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    major_brand     : isom
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    minor_version   : 512
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    compatible_brands: isomiso2avc1mp41
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    title           : 1282287935171187
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    encoder         : Lavf56.40.101
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Duration: 00:12:11.52, start: 0.169000, bitrate: 292 kb/s
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 400x400, 268 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    03-21 13:06:05.654 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Metadata:
    03-21 13:06:05.655 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      handler_name    : VideoHandler
    03-21 13:06:05.655 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #0:1(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 19 kb/s (default)
    03-21 13:06:05.676 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Metadata:
    03-21 13:06:05.679 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      handler_name    : SoundHandler
    03-21 13:06:05.679 26112-26112/com.karandeepEnact I/System.out: --onProgress-->[mov,mp4,m4a,3gp,3g2,mj2 @ 0xad6b9600] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
    03-21 13:06:05.788 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid1.mp4':
    03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Metadata:
    03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    major_brand     : mp42
    03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    minor_version   : 0
    03-21 13:06:05.789 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    compatible_brands: isommp42
    03-21 13:06:05.790 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    creation_time   : 2017-03-20 09:36:26
    03-21 13:06:05.790 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    com.android.version: 7.0
    03-21 13:06:05.790 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Duration: 00:00:09.47, start: 0.000000, bitrate: 6138 kb/s
    03-21 13:06:05.815 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 720x480, 6004 kb/s, SAR 1:1 DAR 3:2, 29.99 fps, 30 tbr, 90k tbn, 180k tbc (default)
    03-21 13:06:05.815 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Metadata:
    03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      rotate          : 90
    03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      creation_time   : 2017-03-20 09:36:26
    03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      handler_name    : VideoHandle
    03-21 13:06:05.816 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Side data:
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      displaymatrix: rotation of -90.00 degrees
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Metadata:
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      creation_time   : 2017-03-20 09:36:26
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      handler_name    : SoundHandle
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid2.mp4':
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Metadata:
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    major_brand     : mp42
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    minor_version   : 1
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    compatible_brands: mp41mp42isom
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    creation_time   : 2017-02-28 04:56:18
    03-21 13:06:05.817 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Duration: 00:00:30.87, start: 0.000000, bitrate: 568 kb/s
    03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 400x400, 482 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc (default)
    03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Metadata:
    03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      creation_time   : 2017-02-28 04:56:18
    03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      handler_name    : Core Media Video
    03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #2:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 81 kb/s (default)
    03-21 13:06:05.832 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Metadata:
    03-21 13:06:05.833 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      creation_time   : 2017-02-28 04:56:18
    03-21 13:06:05.833 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      handler_name    : Core Media Audio
    03-21 13:06:05.849 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Input #3, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid3.mp4':
    03-21 13:06:05.868 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Metadata:
    03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    major_brand     : mp42
    03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    minor_version   : 0
    03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    compatible_brands: mp42isom
    03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress-->  Duration: 00:00:31.40, start: 0.000000, bitrate: 1771 kb/s
    03-21 13:06:05.869 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #3:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x368, 1644 kb/s, 30.04 fps, 30.04 tbr, 30041 tbn, 60082 tbc (default)
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Metadata:
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      rotate          : 90
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Side data:
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->      displaymatrix: rotation of -90.00 degrees
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->    Stream #3:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->[Parsed_setdar_1 @ 0xad6aa1c0] Media type mismatch between the 'Parsed_setdar_1' filter output pad 0 (video) and the 'Parsed_concat_4' filter input pad 1 (audio)
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->[AVFilterGraph @ 0xad697180] Cannot create the link setdar:0 -> concat:1
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Error initializing complex filters.
    03-21 13:06:05.870 26112-26112/com.karandeepEnact I/System.out: --onProgress-->Invalid argument
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: --onFailure-->ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   built with gcc 4.8 (GCC)
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   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=
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libavutil      55. 17.103 / 55. 17.103
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libavcodec     57. 24.102 / 57. 24.102
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libavformat    57. 25.100 / 57. 25.100
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libavdevice    57.  0.101 / 57.  0.101
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libavfilter     6. 31.100 /  6. 31.100
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libswscale      4.  0.100 /  4.  0.100
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libswresample   2.  0.101 /  2.  0.101
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   libpostproc    54.  0.100 / 54.  0.100
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid.mp4':
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   Metadata:
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     major_brand     : isom
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     minor_version   : 512
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     compatible_brands: isomiso2avc1mp41
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     title           : 1282287935171187
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     encoder         : Lavf56.40.101
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:   Duration: 00:12:11.52, start: 0.169000, bitrate: 292 kb/s
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 400x400, 268 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     Metadata:
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:       handler_name    : VideoHandler
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     Stream #0:1(und): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 19 kb/s (default)
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:     Metadata:
    03-21 13:06:05.871 26112-26112/com.karandeepEnact I/System.out:       handler_name    : SoundHandler
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xad6b9600] sample aspect ratio already set to 1:1, ignoring 'pasp' atom (65536:65536)
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid1.mp4':
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:   Metadata:
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     major_brand     : mp42
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     minor_version   : 0
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     compatible_brands: isommp42
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     creation_time   : 2017-03-20 09:36:26
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     com.android.version: 7.0
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:   Duration: 00:00:09.47, start: 0.000000, bitrate: 6138 kb/s
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     Stream #1:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m), 720x480, 6004 kb/s, SAR 1:1 DAR 3:2, 29.99 fps, 30 tbr, 90k tbn, 180k tbc (default)
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     Metadata:
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:       rotate          : 90
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:       creation_time   : 2017-03-20 09:36:26
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:       handler_name    : VideoHandle
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     Side data:
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:       displaymatrix: rotation of -90.00 degrees
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     Metadata:
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:       creation_time   : 2017-03-20 09:36:26
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:       handler_name    : SoundHandle
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out: Input #2, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid2.mp4':
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:   Metadata:
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     major_brand     : mp42
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     minor_version   : 1
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     compatible_brands: mp41mp42isom
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:     creation_time   : 2017-02-28 04:56:18
    03-21 13:06:05.872 26112-26112/com.karandeepEnact I/System.out:   Duration: 00:00:30.87, start: 0.000000, bitrate: 568 kb/s
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 400x400, 482 kb/s, 25 fps, 25 tbr, 600 tbn, 1200 tbc (default)
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Metadata:
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:       creation_time   : 2017-02-28 04:56:18
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:       handler_name    : Core Media Video
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Stream #2:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 81 kb/s (default)
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Metadata:
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:       creation_time   : 2017-02-28 04:56:18
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:       handler_name    : Core Media Audio
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Input #3, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/vid3.mp4':
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:   Metadata:
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     major_brand     : mp42
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     minor_version   : 0
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     compatible_brands: mp42isom
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:   Duration: 00:00:31.40, start: 0.000000, bitrate: 1771 kb/s
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Stream #3:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x368, 1644 kb/s, 30.04 fps, 30.04 tbr, 30041 tbn, 60082 tbc (default)
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Metadata:
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:       rotate          : 90
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Side data:
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:       displaymatrix: rotation of -90.00 degrees
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out:     Stream #3:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: [Parsed_setdar_1 @ 0xad6aa1c0] Media type mismatch between the 'Parsed_setdar_1' filter output pad 0 (video) and the 'Parsed_concat_4' filter input pad 1 (audio)
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: [AVFilterGraph @ 0xad697180] Cannot create the link setdar:0 -> concat:1
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Error initializing complex filters.
    03-21 13:06:05.873 26112-26112/com.karandeepEnact I/System.out: Invalid argument
    03-21 13:06:05.874 26112-26112/com.karandeepEnact I/System.out: --onFinish-->
    03-21 13:08:12.360 26112-26120/com.karandeepEnact I/art: Debugger is no longer active
    03-21 13:08:12.360 26112-26120/com.karandeepEnact I/art: Starting a blocking GC Instrumentation