Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (48)

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (10736)

  • FFmpeg retrieve a specific program from TS file

    8 mai 2017, par chang jc

    I tried to retrieve a specific program from a TS file.
    Said :

    Input #0, mpegts, from 'DVB_T_good.ts':
     Duration: 00:00:48.04, start: 55045.888000, bitrate: 14521 kb/s
     Program 300
       Metadata:
         service_name    : ?l?��}�TS�
         service_provider: ?l?��
       Stream #0:0[0xbb9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0xbba]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:2[0xbbb]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 301
       Metadata:
         service_name    : ?l?��N��?S�
         service_provider: ?l?��
       Stream #0:3[0xbc3]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:9[0xbc4]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:10[0xbc5]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 302
       Metadata:
         service_name    : ?l?��e��^S�
         service_provider: ?l?��
       Stream #0:5[0xbcd]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:6[0xbce]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 304
       Metadata:
         service_name    : ?l?��S�pcS�
         service_provider: ?l?��
       Stream #0:4[0xbe1]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:7[0xbe2]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
       Stream #0:8[0xbe3]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp

    Then I tried to retrieve a specific program as :

    ffmpeg -i INPUT -map 0:p:1344 OUTPUT

    It succeeds greatly but the only thing I noticed is :

    it seems to apply transcode (decode & encode again) to the output implicitely ?

    ffmpeg version N-85693-g8de3458 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
     configuration: --prefix=/home/john/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/john/ffmpeg_build/include --extra-ldflags=-L/home/john/ffmpeg_build/lib --bindir=/home/john/bin --enable-gpl --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --disable-ffplay --disable-ffserver --disable-doc --disable-libopus
     libavutil      55. 61.100 / 55. 61.100
     libavcodec     57. 93.100 / 57. 93.100
     libavformat    57. 72.101 / 57. 72.101
     libavdevice    57.  7.100 / 57.  7.100
     libavfilter     6. 87.100 /  6. 87.100
     libswscale      4.  7.101 /  4.  7.101
     libswresample   2.  8.100 /  2.  8.100
     libpostproc    54.  6.100 / 54.  6.100
    [NULL @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [NULL @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] SPS unavailable in decode_picture_timing
    [h264 @ 0x33eb3a0] non-existing PPS 0 referenced
    [h264 @ 0x33eb3a0] decode_slice_header error
    [h264 @ 0x33eb3a0] no frame!
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
       Last message repeated 1 times
    [mpeg2video @ 0x33ea200] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
       Last message repeated 2 times
    [mpeg2video @ 0x33ec540] Invalid frame dimensions 0x0.
    [mpeg2video @ 0x33b7680] Invalid frame dimensions 0x0.
    [mpegts @ 0x33af360] PES packet size mismatch
       Last message repeated 9 times
    Input #0, mpegts, from 'DVB_T_good.ts':
     Duration: 00:00:48.04, start: 55045.888000, bitrate: 14521 kb/s
     Program 300
       Metadata:
         service_name    : ?l?��}�TS�
         service_provider: ?l?��
       Stream #0:0[0xbb9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0xbba]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:2[0xbbb]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 301
       Metadata:
         service_name    : ?l?��N��?S�
         service_provider: ?l?��
       Stream #0:3[0xbc3]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:9[0xbc4]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:10[0xbc5]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 302
       Metadata:
         service_name    : ?l?��e��^S�
         service_provider: ?l?��
       Stream #0:5[0xbcd]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
       Stream #0:6[0xbce]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
     Program 304
       Metadata:
         service_name    : ?l?��S�pcS�
         service_provider: ?l?��
       Stream #0:4[0xbe1]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:7[0xbe2]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
       Stream #0:8[0xbe3]: Audio: aac_latm (HE-AAC) ([17][0][0][0] / 0x0011), 48000 Hz, stereo, fltp
    map 0:p:304
    File '304_1800.ts' already exists. Overwrite ? [y/N] y
    Stream mapping:
     Stream #0:4 -> #0:0 (h264 (native) -> mpeg2video (native))
     Stream #0:7 -> #0:1 (aac_latm (native) -> mp2 (native))
     Stream #0:8 -> #0:2 (aac_latm (native) -> mp2 (native))
    Press [q] to stop, [?] for help
    [h264 @ 0x33d6d20] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [h264 @ 0x33d6d20] reference picture missing during reorder
    [h264 @ 0x33d6d20] Missing reference picture, default is 65784
    [h264 @ 0x33d6d20] reference picture missing during reorder
    [h264 @ 0x33d6d20] Missing reference picture, default is 65785
    Output #0, mpegts, to '304_1800.ts':
     Metadata:
       encoder         : Lavf57.72.101
       Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc57.93.100 mpeg2video
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2
       Stream #0:2: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2
    [h264 @ 0x33d6d20] mmco: unref short failureime=00:00:44.34 bitrate=3506.2kbits/s speed=1.43x    
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mpegts @ 0x33af360] PES packet size mismatch
    [aac_latm @ 0x3587360] Number of bands (59) exceeds limit (45).
    Error while decoding stream #0:7: Invalid data found when processing input
       Last message repeated 1 times
    [h264 @ 0x33d6d20] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [h264 @ 0x33d6d20] mmco: unref short failureime=00:00:45.05 bitrate=3491.2kbits/s speed=1.43x    
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [h264 @ 0x33d6d20] mmco: unref short failure
       Last message repeated 1 times
    [h264 @ 0x33d6d20] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
    [mpegts @ 0x33af360] PES packet size mismatchme=00:00:47.74 bitrate=3470.1kbits/s speed=1.43x    
       Last message repeated 1 times
    [h264 @ 0x33d6d20] error while decoding MB 97 35, bytestream -12
    Error while decoding stream #0:7: Invalid data found when processing input
    Error while decoding stream #0:8: Invalid data found when processing input
    frame= 1404 fps= 42 q=31.0 Lsize=   20396kB time=00:00:47.88 bitrate=3489.5kbits/s speed=1.42x    
    video:14144kB audio:4429kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.813825%

    You could notice by following message :

    **

    Output #0, mpegts, to '304_1800.ts':
     Metadata:
       encoder         : Lavf57.72.101
       Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
       Metadata:
         encoder         : Lavc57.93.100 mpeg2video
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
       Stream #0:1: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2
       Stream #0:2: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
       Metadata:
         encoder         : Lavc57.93.100 mp2

    **

    If so, could I avoid the transcoding by command ? Or it is a necessary ?
    It it is a need, WHY ?

  • FFmpeg rtp streaming opus file problems

    22 avril 2017, par Yuriy Aizenberg

    i have the next situation.

    1. Have file on remote VPS server.
    2. I want that this file (opus codec) can be accessible through RTP on my android phone.
    3. I tried ffmpeg with next command :

      ffmpeg -ar 44800 -i bon_jovi_loverboy.opus -acodec libopus -ac 1 -ab 96k -vn -f rtp rtp://127.0.0.1:5004 -loglevel 56

    But got next error :

    bon_jovi_loverboy.opus: Invalid data found when processing input

    Full log :

    root@cs82932 :/home/rstream/rtstream/src# ffmpeg -ar 44800 -i bon_jovi_loverboy.opus -acodec libopus -ac 1 -ab 96k -vn -f rtp rtp ://127.0.0.1:5004 -loglevel 56
    ffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1 16.04.4) 20160609
    configuration : —prefix=/usr —extra-version=0ubuntu0.16.04.1 —build-suffix=-ffmpeg —toolchain=hardened —libdir=/usr/lib/x86_64-linux-gnu —incdir=/usr/include/x86_64-linux-gnu —cc=cc —cxx=g++ —enable-gpl —enable-shared —disable-stripping —disable-decoder=libopenjpeg —disable-decoder=libschroedinger —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmodplug —enable-libmp3lame —enable-libopenjpeg —enable-libopus —enable-libpulse —enable-librtmp —enable-libschroedinger —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxvid —enable-libzvbi —enable-openal —enable-opengl —enable-x11grab —enable-libdc1394 —enable-libiec61883 —enable-libzmq —enable-frei0r —enable-libx264 —enable-libopencv
    libavutil 54. 31.100 / 54. 31.100
    libavcodec 56. 60.100 / 56. 60.100
    libavformat 56. 40.101 / 56. 40.101
    libavdevice 56. 4.100 / 56. 4.100
    libavfilter 5. 40.101 / 5. 40.101
    libavresample 2. 1. 0 / 2. 1. 0
    libswscale 3. 1.101 / 3. 1.101
    libswresample 1. 2.101 / 1. 2.101
    libpostproc 53. 3.100 / 53. 3.100
    Splitting the commandline.
    Reading option ’-ar’ ... matched as option ’ar’ (set audio sampling rate (in Hz)) with argument ’44800’.

    Reading option ’-i’ ... matched as input url with argument ’bon_jovi_loverboy.opus’.

    Reading option ’-acodec’ ... matched as option ’acodec’ (force audio codec (’copy’ to copy stream)) with argument ’libopus’.

    Reading option ’-ac’ ... matched as option ’ac’ (set number of audio channels) with argument ’1’.

    Reading option ’-ab’ ... matched as option ’ab’ (audio bitrate (please use -b:a)) with argument ’96k’.

    Reading option ’-vn’ ... matched as option ’vn’ (disable video) with argument ’1’.

    Reading option ’-f’ ... matched as option ’f’ (force format) with argument ’rtp’.

    Reading option ’rtp ://127.0.0.1:5004’ ... matched as output url.

    Reading option ’-loglevel’ ... matched as option ’loglevel’ (set logging level) with argument ’56’.

    Finished splitting the commandline.
    Parsing a group of options : global .
    Applying option loglevel (set logging level) with argument 56.

    Successfully parsed a group of options.

    Parsing a group of options : input url bon_jovi_loverboy.opus.
    Applying option ar (set audio sampling rate (in Hz)) with argument 44800.
    Successfully parsed a group of options.
    Opening an input file : bon_jovi_loverboy.opus.

    [AVIOContext @ 0x965e60] Statistics : 36389 bytes read, 0 seeks
    bon_jovi_loverboy.opus : Invalid data found when processing input

    What wrong ? Thanks

    UPD

    I update ffmpeg and streaming looks successfully.

       ffmpeg -stream_loop -1 -i 4a6u7-ptl2w.opus -acodec libopus -ac 1 -ab
              96k -vn -f rtp rtp://95.213.195.192:5004/f.opus
    ffmpeg version 3.2.4-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 5.4.1 (Ubuntu 5.4.1-5ubuntu2~16.04.york1) 20170210
     configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    Input #0, ogg, from '4a6u7-ptl2w.opus':
     Duration: 00:02:34.21, start: 0.000000, bitrate: 69 kb/s
       Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
       Metadata:
         ENCODER         : Lavc57.77.100 libopus
    Output #0, rtp, to 'rtp://95.213.195.192:5004/f.opus':
     Metadata:
       encoder         : Lavf57.56.101
       Stream #0:0: Audio: opus (libopus), 48000 Hz, mono, flt, 96 kb/s
       Metadata:
         encoder         : Lavc57.64.101 libopus
    SDP:
    v=0
    o=- 0 0 IN IP4 127.0.0.1
    s=No Name
    c=IN IP4 95.213.195.192
    t=0 0
    a=tool:libavformat 57.56.101
    m=audio 5004 RTP/AVP 97
    b=AS:96
    a=rtpmap:97 opus/48000/2

    Stream mapping:
     Stream #0:0 -> #0:0 (opus (native) -> opus (libopus))
    Press [q] to stop, [?] for help
    size=   44893kB time=00:52:18.12 bitrate= 117.2kbits/s speed=56.5x

    But when i try to connect by rtp from local PC (VLC Player) i get the exception :

            core error: socket bind error: Cannot assign requested address
            core error: open of `rtp://95.213.195.192:5004/f.opus' failed

    When i try ffplay on remote pc (same where ffmpeg) :

       ffplay rtp://95.213.195.192:5004/f.opus

    ffplay version 3.2.4-1~16.04.york1 Copyright (c) 2003-2017 the FFmpeg developers
     built with gcc 5.4.1 (Ubuntu 5.4.1-5ubuntu2~16.04.york1) 20170210
     configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    Segmentation fault

    Can you help me ? Thanks

    95.213.195.192 - IP of my remote server with file

  • 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