Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (31)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (3281)

  • ffmpeg encode video produce incorrect mediainfo encoding settings

    25 août 2021, par Foong

    I've been trying to do batch encode videos to H265 format. I am using media-autobuild_suite to build ffmpeg and have already updating ffmpeg to the latest version.

    


    ffmpeg version N-103367-g5ddb4b6a1b-g88b3e31562+1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-schannel --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --extra-libs=-liconv --enable-gpl --enable-version3 --enable-nonfree
libavutil      57.  4.101 / 57.  4.101
libavcodec     59.  5.101 / 59.  5.101
libavformat    59.  4.102 / 59.  4.102
libavdevice    59.  0.101 / 59.  0.101
libavfilter     8.  3.100 /  8.  3.100
libswscale      6.  0.100 /  6.  0.100
libswresample   4.  0.100 /  4.  0.100
libpostproc    56.  0.100 / 56.  0.100


    


    However, the Writing library and Encoding settings output is incorrect. Before update ffmpeg doesn't have this issue. I wonder what have been missing that causing this issue.

    


    encoding CLI :

    


    ffmpeg -y -hide_banner -loglevel error -stats -hwaccel dxva2 -i "input.mkv" -c:v libx265 -vsync cfr -pix_fmt yuv420p10le -preset fast -tune animation -x265-params ctu=32:min-cu-size=8:max-tu-size=16:tu-intra-depth=2:tu-inter-depth=2:me=1:subme=3:merange=44:max-merge=2:keyint=250:min-keyint=23:rc-lookahead=60:lookahead-slices=6:bframes=6:bframe-bias=0:b-adapt=2:ref=6:limit-refs=3:limit-tu=1:aq-mode=3:aq-strength=0.6:rd=3:psy-rd=1.00:psy-rdoq=1.50:rdoq-level=1:deblock=-1,-1:crf=21.0:qblur=0.50:qcomp=0.60:qpmin=0:qpmax=51:frame-threads=1:strong-intra-smoothing=1:no-lossless=1:no-cu-lossless=1:constrained-intra=1:no-fast-intra=1:no-open-gop=1:no-temporal-layers=1:no-limit-modes=1:weightp=1:no-weightb=1:no-analyze-src-pics=1:no-rd-refine=1:signhide=1:sao=1:no-sao-non-deblock=1:b-pyramid=1:no-cutree=1:no-intra-refresh=1:no-amp=1:temporal-mvp=1:no-early-skip=1:no-tskip=1:no-tskip-fast=1:no-deblock=1:no-b-intra=1:no-splitrd-skip=1:no-strict-cbr=1:no-rc-grain=1:no-const-vbv=1:no-opt-qp-pps=1:no-opt-ref-list-length-pps=1:no-multi-pass-opt-rps=1:no-opt-cu-delta-qp=1:no-hdr=1:no-hdr-opt=1:no-dhdr10-opt=1:no-idr-recovery-sei=1:no-limit-sao=1:no-lowpass-dct=1:no-dynamic-refine=1:no-single-sei=1 -c:a libfdk_aac -vf "fps=fps=29.970,setdar=16/9,scale=960:540:flags=lanczos" -map 0:v:? -map 0:a:? -map_metadata:g -1 -map_chapters 0 "output.mkv"


    


    Input video info :

    


    Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L3
Format settings             : CABAC / 5 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 5 frames
Codec ID                    : V_MPEG4/ISO/AVC
Bit rate                    : 1 595 kb/s
Nominal bit rate            : 2 030 kb/s
Width                       : 720 pixels
Height                      : 480 pixels
Display aspect ratio        : 16:9
Original display aspect rat : 3:2
Frame rate mode             : Variable
Original frame rate         : 29.970 FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.196
Writing library             : x264 core 66 r1115M 11863ac
Encoding settings           : cabac=1 / ref=5 / deblock=1:1:1 / analyse=0x3:0x133 / me=esa / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-2 / threads=1 / nr=0 / decimate=0 / mbaff=0 / bframes=1 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=2030 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Default                     : Yes
Forced                      : No


    


    Output video info :

    


    Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L3.1@Main
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 23 min 29 s
Width                       : 960 pixels
Height                      : 540 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 29.970 (29970/1000) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Writing library             : Lavc59.5.100 libx265
Encoding settings           : cabac=1 / ref=5 / deblock=1:1:1 / analyse=0x3:0x133 / me=esa / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-2 / threads=1 / nr=0 / decimate=0 / mbaff=0 / bframes=1 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=2030 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Default                     : Yes
Forced                      : No
Color range                 : Limited


    


    Expecting (from previous encoded videos) :

    


    Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L3.1@Main
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 24 min 37 s
Bit rate                    : 833 kb/s
Width                       : 960 pixels
Height                      : 720 pixels
Display aspect ratio        : 4:3
Frame rate mode             : Constant
Frame rate                  : 23.976 (23976/1000) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.050
Stream size                 : 147 MiB
Title                       : HEVC
Writing library             : x265 3.4+28-419182243:[Windows][GCC 10.2.0][64 bit] 10bit
Encoding settings           : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=960x720 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=360 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=4 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=3 / merange=16 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / no-deblock / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=0.20 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=26.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.00 / aq-mode=0 / aq-strength=0.00 / no-cutree / zone-count=0 / no-strict-cbr / qg-size=64 / no-rc-grain / qpmax=51 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Language                    : English
Default                     : Yes
Forced                      : No
Color range                 : Limited


    


    I have tried with simplest ffmpeg from official wedsite and encoding cli but the output still same.

    


    ffmpeg -i "input.mkv" -c:v libx265 "output.mkv"


    


    Update :
Tried converting video with FFmpeg 4.4 "Rao" from https://www.ffmpeg.org/ working fine. But compiled ffmpeg from media-autobuild_suite, tried with light build and full build, Writing library and Encoding settings output still incorrect.

    


  • ffmpeg encode video with incorrect output mediainfo encoding settings

    24 août 2021, par Foong

    I've been trying to do batch encode videos to H265 format. I am using media-autobuild_suite to build ffmpeg and have already updating ffmpeg to the latest version.

    


    ffmpeg version N-103367-g5ddb4b6a1b-g88b3e31562+1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-schannel --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --extra-libs=-liconv --enable-gpl --enable-version3 --enable-nonfree
libavutil      57.  4.101 / 57.  4.101
libavcodec     59.  5.101 / 59.  5.101
libavformat    59.  4.102 / 59.  4.102
libavdevice    59.  0.101 / 59.  0.101
libavfilter     8.  3.100 /  8.  3.100
libswscale      6.  0.100 /  6.  0.100
libswresample   4.  0.100 /  4.  0.100
libpostproc    56.  0.100 / 56.  0.100


    


    However, the Writing library and Encoding settings output is incorrect. Before update ffmpeg doesn't have this issue. I wonder what have been missing that causing this issue.

    


    encoding CLI :

    


    ffmpeg -y -hide_banner -loglevel error -stats -hwaccel dxva2 -i "input.mkv" -c:v libx265 -vsync cfr -pix_fmt yuv420p10le -preset fast -tune animation -x265-params ctu=32:min-cu-size=8:max-tu-size=16:tu-intra-depth=2:tu-inter-depth=2:me=1:subme=3:merange=44:max-merge=2:keyint=250:min-keyint=23:rc-lookahead=60:lookahead-slices=6:bframes=6:bframe-bias=0:b-adapt=2:ref=6:limit-refs=3:limit-tu=1:aq-mode=3:aq-strength=0.6:rd=3:psy-rd=1.00:psy-rdoq=1.50:rdoq-level=1:deblock=-1,-1:crf=21.0:qblur=0.50:qcomp=0.60:qpmin=0:qpmax=51:frame-threads=1:strong-intra-smoothing=1:no-lossless=1:no-cu-lossless=1:constrained-intra=1:no-fast-intra=1:no-open-gop=1:no-temporal-layers=1:no-limit-modes=1:weightp=1:no-weightb=1:no-analyze-src-pics=1:no-rd-refine=1:signhide=1:sao=1:no-sao-non-deblock=1:b-pyramid=1:no-cutree=1:no-intra-refresh=1:no-amp=1:temporal-mvp=1:no-early-skip=1:no-tskip=1:no-tskip-fast=1:no-deblock=1:no-b-intra=1:no-splitrd-skip=1:no-strict-cbr=1:no-rc-grain=1:no-const-vbv=1:no-opt-qp-pps=1:no-opt-ref-list-length-pps=1:no-multi-pass-opt-rps=1:no-opt-cu-delta-qp=1:no-hdr=1:no-hdr-opt=1:no-dhdr10-opt=1:no-idr-recovery-sei=1:no-limit-sao=1:no-lowpass-dct=1:no-dynamic-refine=1:no-single-sei=1 -c:a libfdk_aac -vf "fps=fps=29.970,setdar=16/9,scale=960:540:flags=lanczos" -map 0:v:? -map 0:a:? -map_metadata:g -1 -map_chapters 0 "output.mkv"


    


    Input video info :

    


    Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : High@L3
Format settings             : CABAC / 5 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 5 frames
Codec ID                    : V_MPEG4/ISO/AVC
Bit rate                    : 1 595 kb/s
Nominal bit rate            : 2 030 kb/s
Width                       : 720 pixels
Height                      : 480 pixels
Display aspect ratio        : 16:9
Original display aspect rat : 3:2
Frame rate mode             : Variable
Original frame rate         : 29.970 FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.196
Writing library             : x264 core 66 r1115M 11863ac
Encoding settings           : cabac=1 / ref=5 / deblock=1:1:1 / analyse=0x3:0x133 / me=esa / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-2 / threads=1 / nr=0 / decimate=0 / mbaff=0 / bframes=1 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=2030 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Default                     : Yes
Forced                      : No


    


    Output video info :

    


    Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L3.1@Main
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 23 min 29 s
Width                       : 960 pixels
Height                      : 540 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 29.970 (29970/1000) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Writing library             : Lavc59.5.100 libx265
Encoding settings           : cabac=1 / ref=5 / deblock=1:1:1 / analyse=0x3:0x133 / me=esa / subme=7 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=-2 / threads=1 / nr=0 / decimate=0 / mbaff=0 / bframes=1 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=2030 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Default                     : Yes
Forced                      : No
Color range                 : Limited


    


    Expecting (from previous encoded videos) :

    


    Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L3.1@Main
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 24 min 37 s
Bit rate                    : 833 kb/s
Width                       : 960 pixels
Height                      : 720 pixels
Display aspect ratio        : 4:3
Frame rate mode             : Constant
Frame rate                  : 23.976 (23976/1000) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.050
Stream size                 : 147 MiB
Title                       : HEVC
Writing library             : x265 3.4+28-419182243:[Windows][GCC 10.2.0][64 bit] 10bit
Encoding settings           : cpuid=1111039 / frame-threads=3 / numa-pools=12 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=960x720 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=360 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=4 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=3 / merange=16 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / no-deblock / sao / no-sao-non-deblock / rd=3 / selective-sao=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=0.20 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=26.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.00 / aq-mode=0 / aq-strength=0.00 / no-cutree / zone-count=0 / no-strict-cbr / qg-size=64 / no-rc-grain / qpmax=51 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.03 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass
Language                    : English
Default                     : Yes
Forced                      : No
Color range                 : Limited


    


    I have tried with simplest ffmpeg from official wedsite and encoding cli but the output still same.

    


    ffmpeg -i "input.mkv" -c:v libx265 "output.mkv"


    


  • Cannot merge VisualSampleEntry error while appending videos in MP4parser

    13 août 2021, par Abhishek Ippakayal

    I am creating four videos with ffmpeg and then i am appending them with MP4parser.
Details of four videos that i am creating with ffmpeg.

    


      

    • 1,2 video : created using one image
    • 


    


    [-loop, 1, -i, Count_1627453922.jpg, -s, 720x1280, -vf, format=yuv420p,fps=25,fade=type=in:duration=1,fade=type=out:duration=1:start_time=1, -t, 2, -preset, ultrafast, CountImageVideo_1627453922.mp4]


    


      

    • 3,4 video : trimming 3 second video from an existing mp4 video
    • 


    


    [-i, footages_5_1624263519549.mp4, -ss, 00:00:00, -to, 00:00:02, -s, 720x1280, -r, 25, -preset, ultrafast, One_1627453926.mp4]


    


    Now i am trying to append all these videos with MP4Parser and getting below error :

    


    java.io.IOException: Cannot merge VisualSampleEntry[com.googlecode.mp4parser.boxes.mp4.ESDescriptorBox@f3f76444] and VisualSampleEntry[com.googlecode.mp4parser.boxes.mp4.ESDescriptorBox@e20a2ed0]&#xA;        at com.googlecode.mp4parser.authoring.tracks.AppendTrack.mergeStsds(AppendTrack.java:116)&#xA;        at com.googlecode.mp4parser.authoring.tracks.AppendTrack.<init>(AppendTrack.java:59)&#xA;</init>

    &#xA;

    I have done some debugging and found something that can help understand error better.&#xA;Sample Description boxes of two videos

    &#xA;

    Two video tracks have different formats (MP4v & AVC1). I am new to ffmpeg and MP4parser so did not getting what i am doing wrong. Thanks ! in advance.

    &#xA;

    Logs of all video creation ffmpeg command and error of mp4parser

    &#xA;

    Copyright (c) 2000-2020 the FFmpeg developers&#xA;I:   built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)&#xA;I:   configuration: --cross-prefix=i686-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=i686 --cpu=i686 --cc=i686-linux-android16-clang --cxx=i686-linux-android16-clang&#x2B;&#x2B; --extra-libs=&#x27;-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/cpu-features/lib -lndk_compat&#x27; --target-os=android --disable-neon --disable-asm --disable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec&#xA;I:   libavutil      56. 55.100 / 56. 55.100&#xA;I:   libavcodec     58. 96.100 / 58. 96.100&#xA;I:   libavformat    58. 48.100 / 58. 48.100&#xA;I:   libavdevice    58. 11.101 / 58. 11.101&#xA;I:   libavfilter     7. 87.100 /  7. 87.100&#xA;I:   libswscale      5.  8.100 /  5.  8.100&#xA;I:   libswresample   3.  8.100 /  3.  8.100&#xA;I: Input #0, png_pipe, from &#x27;1628829731.jpg&#x27;:&#xA;I:   Duration: &#xA;I: N/A&#xA;I: , bitrate: &#xA;I: N/A&#xA;I:     Stream #0:0&#xA;I: : Video: png, rgb24(pc), 1280x592&#xA;I: , &#xA;I: 25 fps, &#xA;I: 25 tbr, &#xA;I: 25 tbn, &#xA;I: 25 tbc&#xA;I: Input #1, lavfi, from &#x27;anullsrc&#x27;:&#xA;I:   Duration: &#xA;I: N/A&#xA;I: , start: &#xA;I: 0.000000&#xA;I: , bitrate: &#xA;I: 705 kb/s&#xA;I:     Stream #1:0&#xA;I: : Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s&#xA;W: Codec AVOption preset (Configuration preset) specified for output file #0 (FootageVideo_1628829747.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;I: Stream mapping:&#xA;I:   Stream #0:0 -> #0:0&#xA;I:  (png (native) -> mpeg4 (native))&#xA;I:   Stream #1:0 -> #0:1&#xA;I:  (pcm_u8 (native) -> aac (native))&#xA;I: Press [q] to stop, [?] for help&#xA;W: [graph 0 input from stream 0:0 @ 0xbdf3a220] sws_param option is deprecated and ignored&#xA;I: Output #0, mp4, to &#x27;FootageVideo_1628829747.mp4&#x27;:&#xA;I:   Metadata:&#xA;I:     encoder         : &#xA;I: Lavf58.48.100&#xA;I:     Stream #0:0&#xA;I: : Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1280x592, q=2-31, 200 kb/s&#xA;I: , &#xA;I: 24 fps, &#xA;I: 12288 tbn, &#xA;I: 24 tbc&#xA;I:     Metadata:&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 mpeg4&#xA;I:     Side data:&#xA;I:       &#xA;I: cpb: &#xA;I: bitrate max/min/avg: 0/0/200000 buffer size: 0 &#xA;I: vbv_delay: N/A&#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I:     Stream #0:1&#xA;I: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;I:     Metadata:&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 aac&#xA;I: Background young concurrent copying GC freed 20080(1054KB) AllocSpace objects, 9(2100KB) LOS objects, 7% free, 26MB/29MB, paused 4.477ms total 113.190ms&#xA;I: frame=    9 fps=0.0 q=13.8 size=       0kB time=00:00:00.34 bitrate=   1.0kbits/s speed=0.665x    &#xA;I: frame=   24 fps= 23 q=24.9 size=       0kB time=00:00:00.97 bitrate=   0.4kbits/s speed=0.953x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   40 fps= 26 q=21.0 size=       0kB time=00:00:01.64 bitrate=   0.2kbits/s speed=1.07x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   55 fps= 27 q=23.7 size=       0kB time=00:00:02.27 bitrate=   0.2kbits/s speed= 1.1x    &#xA;I: frame=   71 fps= 28 q=31.0 size=     256kB time=00:00:02.92 bitrate= 716.9kbits/s speed=1.13x    &#xA;I: frame=   72 fps= 27 q=31.0 Lsize=     307kB time=00:00:03.01 bitrate= 832.4kbits/s speed=1.14x    &#xA;I: video:303kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: &#xA;I: 1.018265%&#xA;I: [aac @ 0xbdf43c00] Qavg: 65536.000&#xA;I: Image to video: 0 : 674960272&#xA;I: [-loop, 1, -i, Count_1628829749.jpg, -f, lavfi, -i, anullsrc, -s, 1280x592, -vf, scale=&#x27;if(gt(a,1280/592),1280,-1)&#x27;:&#x27;if(gt(a1280/592),-1,592)&#x27;,format=yuv420p,fps=24,fade=type=in:duration=1,fade=type=out:duration=1:start_time=1, -t, 2, -preset, ultrafast, CountImageVideo_1628829749.mp4]&#xA;I: [-loop, 1, -i, Count_1628829749.jpg, -f, lavfi, -i, anullsrc, -s, 1280x592, -vf, scale=&#x27;if(gt(a,1280/592),1280,-1)&#x27;:&#x27;if(gt(a1280/592),-1,592)&#x27;,format=yuv420p,fps=24,fade=type=in:duration=1,fade=type=out:duration=1:start_time=1, -t, 2, -preset, ultrafast, CountImageVideo_1628829749.mp4]&#xA;I: Image to Video: [-loop, 1, -i, Count_1628829749.jpg, -f, lavfi, -i, anullsrc, -s, 1280x592, -vf, scale=&#x27;if(gt(a,1280/592),1280,-1)&#x27;:&#x27;if(gt(a1280/592),-1,592)&#x27;,format=yuv420p,fps=24,fade=type=in:duration=1,fade=type=out:duration=1:start_time=1, -t, 2, -preset, ultrafast, CountImageVideo_1628829749.mp4]&#xA;I: ffmpeg version v4.4-dev-416&#xA;I:  Copyright (c) 2000-2020 the FFmpeg developers&#xA;I:   built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)&#xA;I:   configuration: --cross-prefix=i686-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=i686 --cpu=i686 --cc=i686-linux-android16-clang --cxx=i686-linux-android16-clang&#x2B;&#x2B; --extra-libs=&#x27;-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/cpu-features/lib -lndk_compat&#x27; --target-os=android --disable-neon --disable-asm --disable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec&#xA;I:   libavutil      56. 55.100 / 56. 55.100&#xA;I:   libavcodec     58. 96.100 / 58. 96.100&#xA;I:   libavformat    58. 48.100 / 58. 48.100&#xA;I:   libavdevice    58. 11.101 / 58. 11.101&#xA;I:   libavfilter     7. 87.100 /  7. 87.100&#xA;I:   libswscale      5.  8.100 /  5.  8.100&#xA;I:   libswresample   3.  8.100 /  3.  8.100&#xA;I: Input #0, png_pipe, from &#x27;Count_1628829749.jpg&#x27;:&#xA;I:   Duration: &#xA;I: N/A&#xA;I: , bitrate: &#xA;I: N/A&#xA;I:     Stream #0:0&#xA;I: : Video: png, rgba(pc), 1794x1080&#xA;I: , &#xA;I: 25 fps, &#xA;I: 25 tbr, &#xA;I: 25 tbn, &#xA;I: 25 tbc&#xA;I: Input #1, lavfi, from &#x27;anullsrc&#x27;:&#xA;I:   Duration: &#xA;I: N/A&#xA;I: , start: &#xA;I: 0.000000&#xA;I: , bitrate: &#xA;I: 705 kb/s&#xA;I:     Stream #1:0&#xA;I: : Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s&#xA;W: Codec AVOption preset (Configuration preset) specified for output file #0 (CountImageVideo_1628829749.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;I: Stream mapping:&#xA;I:   Stream #0:0 -> #0:0&#xA;I:  (png (native) -> mpeg4 (native))&#xA;I:   Stream #1:0 -> #0:1&#xA;I:  (pcm_u8 (native) -> aac (native))&#xA;I: Press [q] to stop, [?] for help&#xA;W: [graph 0 input from stream 0:0 @ 0xbe554440] sws_param option is deprecated and ignored&#xA;I: Output #0, mp4, to &#x27;CountImageVideo_1628829749.mp4&#x27;:&#xA;I:   Metadata:&#xA;I:     encoder         : &#xA;I: Lavf58.48.100&#xA;I:     Stream #0:0&#xA;I: : Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1280x592, q=2-31, 200 kb/s&#xA;I: , &#xA;I: 24 fps, &#xA;I: 12288 tbn, &#xA;I: 24 tbc&#xA;I:     Metadata:&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 mpeg4&#xA;I:     Side data:&#xA;I:       &#xA;I: cpb: &#xA;I: bitrate max/min/avg: 0/0/200000 buffer size: 0 &#xA;I: vbv_delay: N/A&#xA;I:     Stream #0:1&#xA;I: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;I:     Metadata:&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 aac&#xA;W: Not supplying enough data to HAL, expected position 1243219441 , only wrote 1243083210&#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=    3 fps=0.0 q=2.0 size=       0kB time=00:00:00.09 bitrate=   3.8kbits/s speed=0.289x    &#xA;I: frame=   11 fps=0.0 q=2.0 size=       0kB time=00:00:00.44 bitrate=   0.8kbits/s speed=0.521x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   18 fps= 13 q=2.0 size=       0kB time=00:00:00.71 bitrate=   0.5kbits/s speed=0.532x    &#xA;I: frame=   26 fps= 14 q=2.0 size=       0kB time=00:00:01.06 bitrate=   0.3kbits/s speed=0.571x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   35 fps= 14 q=2.0 size=       0kB time=00:00:01.43 bitrate=   0.2kbits/s speed=0.595x    &#xA;I: frame=   43 fps= 14 q=2.0 size=       0kB time=00:00:01.76 bitrate=   0.2kbits/s speed=0.593x    &#xA;D: onUnbind: Intent { act=com.google.android.gms.wallet.service.BIND pkg=com.google.android.gms }&#xA;D: onUnbind: Intent { act=com.google.android.mdd.service.START cmp=com.google.android.gms/.chimera.GmsBoundBrokerService }&#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   48 fps= 14 q=2.0 Lsize=      75kB time=00:00:02.02 bitrate= 303.7kbits/s speed=0.586x    &#xA;I: video:72kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: &#xA;I: 3.472700%&#xA;I: [aac @ 0xbdf69c00] Qavg: 65536.000&#xA;I: Count Image to video: 0 : 674963874&#xA;I: Start Video Query: [-i, iOS_footages_4_1627755471638.mp4, -ss, 00:00:02, -to, 00:00:05, -s, 1280x592, -r, 24, -preset, ultrafast, TilePartOne_1628829753.mp4]&#xA;I: ffmpeg version v4.4-dev-416&#xA;I:  Copyright (c) 2000-2020 the FFmpeg developers&#xA;I:   built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)&#xA;I:   configuration: --cross-prefix=i686-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=i686 --cpu=i686 --cc=i686-linux-android16-clang --cxx=i686-linux-android16-clang&#x2B;&#x2B; --extra-libs=&#x27;-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/cpu-features/lib -lndk_compat&#x27; --target-os=android --disable-neon --disable-asm --disable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec&#xA;I:   libavutil      56. 55.100 / 56. 55.100&#xA;I:   libavcodec     58. 96.100 / 58. 96.100&#xA;I:   libavformat    58. 48.100 / 58. 48.100&#xA;I:   libavdevice    58. 11.101 / 58. 11.101&#xA;I:   libavfilter     7. 87.100 /  7. 87.100&#xA;I:   libswscale      5.  8.100 /  5.  8.100&#xA;I:   libswresample   3.  8.100 /  3.  8.100&#xA;I: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;iOS_footages_4_1627755471638.mp4&#x27;:&#xA;I:   Metadata:&#xA;I:     major_brand     : &#xA;I: qt  &#xA;I:     minor_version   : &#xA;I: 0&#xA;I:     compatible_brands: &#xA;I: qt  &#xA;I:     creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:     com.apple.quicktime.author: &#xA;I: ReplayKitRecording&#xA;I:   Duration: &#xA;I: 00:03:34.00&#xA;I: , start: &#xA;I: 0.000000&#xA;I: , bitrate: &#xA;I: 2183 kb/s&#xA;I:     Stream #0:0&#xA;I: (und)&#xA;I: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 37 kb/s&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Audio&#xA;I:     Stream #0:1&#xA;I: (und)&#xA;I: : Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt709), 592x1280, 2139 kb/s&#xA;I: , &#xA;I: 38.89 fps, &#xA;I: 59.94 tbr, &#xA;I: 600 tbn, &#xA;I: 1200 tbc&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       rotate          : &#xA;I: 270&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Video&#xA;I:       encoder         : &#xA;I: H.264&#xA;I:     Side data:&#xA;I:       &#xA;I: displaymatrix: rotation of 90.00 degrees&#xA;W: Codec AVOption preset (Configuration preset) specified for output file #0 (TilePartOne_1628829753.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;I: Stream mapping:&#xA;I:   Stream #0:1 -> #0:0&#xA;I:  (h264 (native) -> mpeg4 (native))&#xA;I:   Stream #0:0 -> #0:1&#xA;I:  (aac (native) -> aac (native))&#xA;I: Press [q] to stop, [?] for help&#xA;I: frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    &#xA;W: [graph 0 input from stream 0:1 @ 0xedd7fca0] sws_param option is deprecated and ignored&#xA;W: [swscaler @ 0xb645a800] deprecated pixel format used, make sure you did set range correctly&#xA;I: frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;E: Couldn&#x27;t load memtrack module&#xA;W: failed to get memory consumption info: -1&#xA;I: Output #0, mp4, to &#x27;TilePartOne_1628829753.mp4&#x27;:&#xA;I:   Metadata:&#xA;I:     major_brand     : &#xA;I: qt  &#xA;I:     minor_version   : &#xA;I: 0&#xA;I:     compatible_brands: &#xA;I: qt  &#xA;I:     com.apple.quicktime.author: &#xA;I: ReplayKitRecording&#xA;I:     encoder         : &#xA;I: Lavf58.48.100&#xA;I:     Stream #0:0&#xA;I: (und)&#xA;I: : Video: mpeg4 (mp4v / 0x7634706D), yuv420p(progressive), 1280x592, q=2-31, 200 kb/s&#xA;I: , &#xA;I: 24 fps, &#xA;I: 12288 tbn, &#xA;I: 24 tbc&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 mpeg4&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Video&#xA;I:     Side data:&#xA;I:       &#xA;I: cpb: &#xA;I: bitrate max/min/avg: 0/0/200000 buffer size: 0 &#xA;I: vbv_delay: N/A&#xA;I:       &#xA;I: displaymatrix: rotation of -0.00 degrees&#xA;I:     Stream #0:1&#xA;I: (und)&#xA;I: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Audio&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 aac&#xA;I: frame=    6 fps=6.0 q=5.8 size=       0kB time=00:00:00.20 bitrate=   1.7kbits/s speed=0.208x    &#xA;I: frame=   28 fps= 18 q=31.0 size=       0kB time=00:00:01.12 bitrate=   0.3kbits/s dup=0 drop=3 speed=0.736x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   44 fps= 22 q=31.0 size=       0kB time=00:00:01.79 bitrate=   0.2kbits/s dup=0 drop=15 speed=0.881x    &#xA;I: frame=   63 fps= 25 q=31.0 size=       0kB time=00:00:02.58 bitrate=   0.1kbits/s dup=0 drop=18 speed=1.01x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   72 fps= 24 q=31.0 size=     256kB time=00:00:02.95 bitrate= 709.0kbits/s dup=0 drop=19 speed=0.968x    &#xA;I: frame=   72 fps= 21 q=31.0 Lsize=     448kB time=00:00:03.01 bitrate=1215.1kbits/s dup=0 drop=19 speed=0.873x    &#xA;I: video:398kB audio:47kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: &#xA;I: 0.696200%&#xA;I: Start video: 0 : 674967468&#xA;I: [aac @ 0xb8c6e400] Qavg: 667.684&#xA;I: End Video Query: [-i, iOS_footages_4_1627755471638.mp4, -ss, 00:00:05, -to, 00:00:08, -s, 1280x592, -r, 24, -preset, ultrafast, TilePartTwo_1628829756.mp4]&#xA;I: ffmpeg version v4.4-dev-416&#xA;I:  Copyright (c) 2000-2020 the FFmpeg developers&#xA;I:   built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)&#xA;I:   configuration: --cross-prefix=i686-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=i686 --cpu=i686 --cc=i686-linux-android16-clang --cxx=i686-linux-android16-clang&#x2B;&#x2B; --extra-libs=&#x27;-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-x86/cpu-features/lib -lndk_compat&#x27; --target-os=android --disable-neon --disable-asm --disable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec&#xA;I:   libavutil      56. 55.100 / 56. 55.100&#xA;I:   libavcodec     58. 96.100 / 58. 96.100&#xA;I:   libavformat    58. 48.100 / 58. 48.100&#xA;I:   libavdevice    58. 11.101 / 58. 11.101&#xA;I:   libavfilter     7. 87.100 /  7. 87.100&#xA;I:   libswscale      5.  8.100 /  5.  8.100&#xA;I:   libswresample   3.  8.100 /  3.  8.100&#xA;I: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;iOS_footages_4_1627755471638.mp4&#x27;:&#xA;I:   Metadata:&#xA;I:     major_brand     : &#xA;I: qt  &#xA;I:     minor_version   : &#xA;I: 0&#xA;I:     compatible_brands: &#xA;I: qt  &#xA;I:     creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:     com.apple.quicktime.author: &#xA;I: ReplayKitRecording&#xA;I:   Duration: &#xA;I: 00:03:34.00&#xA;I: , start: &#xA;I: 0.000000&#xA;I: , bitrate: &#xA;I: 2183 kb/s&#xA;I:     Stream #0:0&#xA;I: (und)&#xA;I: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 37 kb/s&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Audio&#xA;I:     Stream #0:1&#xA;I: (und)&#xA;I: : Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt709), 592x1280, 2139 kb/s&#xA;I: , &#xA;I: 38.89 fps, &#xA;I: 59.94 tbr, &#xA;I: 600 tbn, &#xA;I: 1200 tbc&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       rotate          : &#xA;I: 270&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Video&#xA;I:       encoder         : &#xA;I: H.264&#xA;I:     Side data:&#xA;I:       &#xA;I: displaymatrix: rotation of 90.00 degrees&#xA;W: Codec AVOption preset (Configuration preset) specified for output file #0 (TilePartTwo_1628829756.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.&#xA;I: Stream mapping:&#xA;I:   Stream #0:1 -> #0:0&#xA;I:  (h264 (native) -> mpeg4 (native))&#xA;I:   Stream #0:0 -> #0:1&#xA;I:  (aac (native) -> aac (native))&#xA;I: Press [q] to stop, [?] for help&#xA;W: [graph 0 input from stream 0:1 @ 0xe2c97860] sws_param option is deprecated and ignored&#xA;W: [swscaler @ 0xb5d28a80] deprecated pixel format used, make sure you did set range correctly&#xA;I: frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    &#xA;I: Output #0, mp4, to &#x27;TilePartTwo_1628829756.mp4&#x27;:&#xA;I:   Metadata:&#xA;I:     major_brand     : &#xA;I: qt  &#xA;I:     minor_version   : &#xA;I: 0&#xA;I:     compatible_brands: &#xA;I: qt  &#xA;I:     com.apple.quicktime.author: &#xA;I: ReplayKitRecording&#xA;I:     encoder         : &#xA;I: Lavf58.48.100&#xA;I:     Stream #0:0&#xA;I: (und)&#xA;I: : Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1280x592, q=2-31, 200 kb/s&#xA;I: , &#xA;I: 24 fps, &#xA;I: 12288 tbn, &#xA;I: 24 tbc&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 mpeg4&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Video&#xA;I:     Side data:&#xA;I:       &#xA;I: cpb: &#xA;I: bitrate max/min/avg: 0/0/200000 buffer size: 0 &#xA;I: vbv_delay: N/A&#xA;I:       &#xA;I: displaymatrix: rotation of -0.00 degrees&#xA;I:     Stream #0:1&#xA;I: (und)&#xA;I: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;I:  (default)&#xA;I:     Metadata:&#xA;I:       creation_time   : &#xA;I: 2021-07-31T18:17:18.000000Z&#xA;I:       handler_name    : &#xA;I: Core Media Audio&#xA;I:       encoder         : &#xA;I: Lavc58.96.100 aac&#xA;I: frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    &#xA;I: frame=   10 fps=4.9 q=18.5 size=       0kB time=00:00:00.37 bitrate=   0.9kbits/s speed=0.183x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   31 fps= 12 q=31.0 size=       0kB time=00:00:01.25 bitrate=   0.3kbits/s dup=0 drop=2 speed=0.491x    &#xA;I: frame=   52 fps= 17 q=31.0 size=       0kB time=00:00:02.12 bitrate=   0.2kbits/s dup=0 drop=5 speed=0.692x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   72 fps= 20 q=31.0 size=       0kB time=00:00:02.95 bitrate=   0.1kbits/s dup=0 drop=7 speed=0.827x    &#xA;I: frame=   72 fps= 18 q=31.0 size=     256kB time=00:00:02.95 bitrate= 709.0kbits/s dup=0 drop=7 speed=0.725x    &#xA;E: gnssSvStatusCb: a: input svInfo.flags is 8&#xA;E: gnssSvStatusCb: b: input svInfo.flags is 8&#xA;I: frame=   72 fps= 16 q=31.0 Lsize=     543kB time=00:00:03.01 bitrate=1472.6kbits/s dup=0 drop=7 speed=0.689x    &#xA;I: video:493kB audio:47kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: &#xA;I: 0.573798%&#xA;I: [aac @ 0xc2f20000] Qavg: 669.561&#xA;I: Movie paths: [CountImageVideo_1628829749.mp4, TilePartTwo_1628829756.mp4, FootageVideo_1628829747.mp4]&#xA;    &#xA;    --------- beginning of crash&#xA;E: FATAL EXCEPTION: Thread-8&#xA;    Process: com.wev.app, PID: 21310&#xA;    java.io.IOException: Cannot merge VisualSampleEntry[com.googlecode.mp4parser.boxes.mp4.ESDescriptorBox@ed48a2a8] and VisualSampleEntry[com.googlecode.mp4parser.boxes.mp4.ESDescriptorBox@dc387090]&#xA;        at com.googlecode.mp4parser.authoring.tracks.AppendTrack.mergeStsds(AppendTrack.java:116)&#xA;        at com.googlecode.mp4parser.authoring.tracks.AppendTrack.<init>(AppendTrack.java:59)&#xA;        at Mp4Cutter2.combineClips(Mp4Cutter2.kt:208)&#xA;        at com.wev.app.ui.activity.videoplayer.PlayVideoActivity.finalVideoGenerate(PlayVideoActivity.kt:3457)&#xA;        at com.wev.app.ui.activity.videoplayer.PlayVideoActivity.endVideoCreate(PlayVideoActivity.kt:3383)&#xA;        at com.wev.app.ui.activity.videoplayer.PlayVideoActivity.startVideoCreate(PlayVideoActivity.kt:3298)&#xA;        at com.wev.app.ui.activity.videoplayer.PlayVideoActivity.countImageToVideo(PlayVideoActivity.kt:3220)&#xA;        at com.wev.app.ui.activity.videoplayer.PlayVideoActivity.imageToVideo(PlayVideoActivity.kt:3158)&#xA;        at com.wev.app.ui.activity.videoplayer.PlayVideoActivity$createWev$1$getVideo$imageToVideo$1.run(PlayVideoActivity.kt:3056)&#xA;    &#xA;</init>

    &#xA;