Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (65)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (7280)

  • avformat/mxfenc : Write Mastering Display Colour Volume to MXF

    9 septembre 2020, par Harry Mallon
    avformat/mxfenc : Write Mastering Display Colour Volume to MXF
    

    Described in Annex B SMPTE ST 2067-21:2020

    Signed-off-by : Harry Mallon <harry.mallon@codex.online>

    • [DH] libavformat/mxfenc.c
  • ffmpeg seems to output a video with a wrong codec ?

    12 septembre 2020, par asored

    I´m using ffmpeg with flutter and I create a video from a lot of images. The problem : ffmpeg seems to not create a video with a right codec or something else.... please check my description below for concrete informations.

    &#xA;

    First the code parts :

    &#xA;

    Creating video from images

    &#xA;

    -r $settings_fps -i $tempPath/img%04d.jpg -vcodec libx264 -y -an -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -shortest  $tempPath/$videoFileName.mp4

    &#xA;

    Adding audio to the created video

    &#xA;

    -i ${finalSong.path} -i $videoPath -c:a aac -shortest $tempPath/$newVideoFileName.mp4

    &#xA;

    This is my video output from console on creating this video :

    &#xA;

    flutter: ffmpeg version git-2020-01-25-fd11dd500 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;  configuration: --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/ios-arm64-apple-darwin/ffmpeg --enable-version3 --arch=aarch64 --cpu=armv8 --target-os=darwin --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang&#x2B;&#x2B; --as=&#x27;/Users/taner/Projects/mobile-ffmpeg/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target aarch64-ios-darwin -march=armv8-a&#x2B;crc&#x2B;crypto -mcpu=generic -DMOBILE_FFMPEG_ARM64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -fembed-bitcode -DIOS -DMOBILE_FFMPEG_BUILD_DATE=20200125 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -Oz -miphoneos-version-min=12.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include&#x27; --ranlib=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --enable-neon --enable-cross-compile --enable-pic --enable-asm --enable-inline-asm --enable-optimizations --enable-swscale --enable-static --disable-shared --enable-small --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-gmp --enable-gnutls --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --disable-sdl2 --enable-zlib --enable-audiotoolbox --enable-coreimage --enable-bzlib --enable-videotoolbox --enable-avfoundation --enable-iconv&#xA;  libavutil      56. 38.100 / 56. 38.100&#xA;  libavcodec     58. 65.102 / 58. 65.102&#xA;  libavformat    58. 35.101 / 58. 35.101&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 70.101 /  7. 70.101&#xA;  libswscale      5.  6.100 /  5.  6.100&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;Input #0, mp3, from &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/melodic_slow.mp3&#x27;:&#xA;  Metadata:&#xA;    encoder         : LAME 32bits version 3.99.5 (http://lame.sf.net)&#xA;    TLEN            : 134072&#xA;  Duration: 00:02:14.11, start: 0.025057, bitrate: 320 kb/s&#xA;    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s&#xA;    Metadata:&#xA;      encoder         : LAME3.99r&#xA;Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/Memories_163dfbf0-f4cf-11ea-86c6-cd08c5621e56.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.35.101&#xA;  Duration: 00:00:03.50, start: 0.000000, bitrate: 10069 kb/s&#xA;    Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuvj422p(pc), 1920x1080 [SAR 1:1 DAR 16:9], 10065 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;Stream mapping:&#xA;  Stream #1:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;  Stream #0:0 -> #0:1 (mp3 (mp3float) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A&#xA;sws_param option is deprecated and ignored&#xA;using SAR=1/1&#xA;using cpu capabilities: ARMv8 NEON&#xA;profile High 4:2:2, level 4.0, 4:2:2, 8-bit&#xA;264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/Memories_191007b0-f4cf-11ea-9024-c9fcef51db39.mp4&#x27;:&#xA;  Metadata:&#xA;    TLEN            : 134072&#xA;    encoder         : Lavf58.35.101&#xA;    Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 24 fps, 12288 tbn, 24 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;      encoder         : Lavc58.65.102 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;    Stream #0:1: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc58.65.102 aac&#xA;frame=   47 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x&#xA;frame=   61 fps= 49 q=28.0 size=     256kB time=00:00:00.23 bitrate=9033.3kbits/s speed=0.187x&#xA;frame=   73 fps= 42 q=28.0 size=     512kB time=00:00:00.71 bitrate=5827.4kbits/s speed=0.411x&#xA;frame=   84 fps= 21 q=-1.0 Lsize=    3418kB time=00:00:03.50 bitrate=7986.4kbits/s speed=0.856x&#xA;video:3359kB audio:55kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.117042%&#xA;frame I:1     Avg QP:22.78  size:170700&#xA;frame P:22    Avg QP:23.95  size: 83595&#xA;frame B:61    Avg QP:28.22  size: 23428&#xA;consecutive B-frames:  2.4%  2.4%  0.0% 95.2%&#xA;mb I  I16..4:  1.8% 97.3%  0.9%&#xA;mb P  I16..4:  0.4% 13.4%  1.0%  P16..4: 39.0% 21.7% 14.2%  0.0%  0.0%    skip:10.3%&#xA;mb B  I16..4:  0.1%  2.4%  0.2%  B16..8: 27.0%  6.3%  2.1%  direct: 2.4%  skip:59.5%  L0:39.3% L1:47.8% BI:12.9%&#xA;8x8 transform intra:91.6% inter:83.1%&#xA;coded y,uvDC,uvAC intra: 88.4% 97.3% 40.9% inter: 21.1% 26.6% 1.7%&#xA;i16 v,h,dc,p: 18% 27%  7% 48%&#xA;i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 18% 16%  5%  8%  8%  9%  7%  9%&#xA;i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 16% 13%  7% 11% 10% 10%  7%  8%&#xA;i8c dc,h,v,p: 41% 19% 28% 12%&#xA;Weighted P-Frames: Y:0.0% UV:0.0%&#xA;ref P L0: 53.9% 22.4% 18.3%  5.4%&#xA;ref B L0: 86.7%  9.9%  3.4%&#xA;ref B L1: 96.1%  3.9%&#xA;kb/s:7860.37&#xA;Qavg: 149.884&#xA;flutter: ffmpeg version git-2020-01-25-fd11dd500&#xA;flutter:  Copyright (c) 2000-2020 the FFmpeg developers&#xA;flutter:&#xA;flutter:   built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;flutter:   configuration: --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/ios-arm64-apple-darwin/ffmpeg --enable-version3 --arch=aarch64 --cpu=armv8 --target-os=darwin --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang&#x2B;&#x2B; --as=&#x27;/Users/taner/Projects/mobile-ffmpeg/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target aarch64-ios-darwin -march=armv8-a&#x2B;crc&#x2B;crypto -mcpu=generic -DMOBILE_FFMPEG_ARM64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -fembed-bitcode -DIOS -DMOBILE_FFMPEG_BUILD_DATE=20200125 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -Oz -miphoneos-version-min=12.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include&#x27; --ranlib=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --enable-neon --enable-cross-compile --enable-pic --enable-asm --enable-inline-asm --enable-optimizations --enable-swscale --enable-static --disable-shared --enable-small --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-gmp --enable-gnutls --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --disable-sdl2 --enable-zlib --enable-audiotoolbox --enable-coreimage --enable-bzlib --enable-videotoolbox --enable-avfoundation --enable-iconv&#xA;flutter:   libavutil      56. 38.100 / 56. 38.100&#xA;flutter:   libavcodec     58. 65.102 / 58. 65.102&#xA;flutter:   libavformat    58. 35.101 / 58. 35.101&#xA;flutter:   libavdevice    58.  9.103 / 58.  9.103&#xA;flutter:   libavfilter     7. 70.101 /  7. 70.101&#xA;flutter:   libswscale      5.  6.100 /  5.  6.100&#xA;flutter:   libswresample   3.  6.100 /  3.  6.100&#xA;flutter: Input #0, image2, from &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/img%04d.jpg&#x27;:&#xA;flutter:   Duration:&#xA;flutter: 00:00:03.40&#xA;flutter: , start:&#xA;flutter: 0.000000&#xA;flutter: , bitrate:&#xA;flutter: N/A&#xA;flutter:&#xA;flutter:     Stream #0:0&#xA;flutter: : Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9]&#xA;flutter: ,&#xA;flutter: 25 fps,&#xA;flutter: 25 tbr,&#xA;flutter: 25 tbn,&#xA;flutter: 25 tbc&#xA;flutter:&#xA;flutter: Stream mapping:&#xA;flutter:   Stream #0:0 -> #0:0&#xA;flutter:  (mjpeg (native) -> h264 (libx264))&#xA;flutter:&#xA;flutter: Press [q] to stop, [?] for help&#xA;flutter: sws_param option is deprecated and ignored&#xA;flutter: using SAR=1/1&#xA;flutter: using cpu capabilities: ARMv8 NEON&#xA;flutter: profile High 4:2:2, level 4.0, 4:2:2, 8-bit&#xA;flutter: 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;flutter: Output #0, mp4, to &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/Memories_f578a1c0-f4d0-11ea-9e60-5b43394b2511.mp4&#x27;:&#xA;flutter:   Metadata:&#xA;flutter:     encoder         :&#xA;flutter: Lavf58.35.101&#xA;flutter:&#xA;flutter:     Stream #0:0&#xA;flutter: : Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1&#xA;flutter: ,&#xA;flutter: 24 fps,&#xA;flutter: 12288 tbn,&#xA;flutter: 24 tbc&#xA;flutter:&#xA;flutter:     Metadata:&#xA;flutter:       encoder         :&#xA;flutter: Lavc58.65.102 libx264&#xA;flutter:&#xA;flutter:     Side data:&#xA;flutter:&#xA;flutter: cpb:&#xA;flutter: bitrate max/min/avg: 0/0/0 buffer size: 0&#xA;flutter: vbv_delay: N/A&#xA;flutter:&#xA;flutter: frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=N/A&#xA;flutter: frame=   47 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x&#xA;flutter: frame=   60 fps= 53 q=28.0 size=     256kB time=00:00:00.16 bitrate=12579.1kbits/s speed=0.147x&#xA;flutter: frame=   72 fps= 43 q=28.0 size=     768kB time=00:00:00.66 bitrate=9436.6kbits/s speed=0.401x&#xA;flutter: frame=   84 fps= 38 q=28.0 size=    1280kB time=00:00:01.16 bitrate=8987.5kbits/s speed=0.527x&#xA;flutter: frame=   85 fps= 19 q=-1.0 Lsize=    4334kB time=00:00:03.41 bitrate=10391.1kbits/s speed=0.773x&#xA;flutter: video:4332kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:&#xA;flutter: 0.043800%&#xA;flutter:&#xA;flutter: frame I:1     Avg QP:22.19  size:178746&#xA;flutter: frame P:21    Avg QP:23.69  size:106999&#xA;flutter: frame B:63    Avg QP:28.13  size: 31899&#xA;flutter: consecutive B-frames:  1.2%  0.0%  0.0% 98.8%&#xA;flutter: mb I  I16..4:  2.4% 97.0%  0.6%&#xA;flutter: mb P  I16..4:  0.7% 38.2%  0.8%  P16..4: 22.6% 19.2% 15.1%  0.0%  0.0%    skip: 3.3%&#xA;flutter: mb B  I16..4:  0.2%  6.7%  0.2%  B16..8: 24.6%  8.6%  3.0%  direct: 4.2%  skip:52.5%  L0:47.8% L1:36.8% BI:15.4%&#xA;flutter: 8x8 transform intra:95.8% inter:86.8%&#xA;flutter: coded y,uvDC,uvAC intra: 89.3% 95.1% 22.5% inter: 26.3% 28.9% 3.0%&#xA;flutter: i16 v,h,dc,p: 20% 33% 22% 24%&#xA;flutter: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 24% 33%  3%  4%  3%  4%  4%  5%&#xA;flutter: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 20% 16%  6% 10%  7%  9%  6%  7%&#xA;flutter: i8c dc,h,v,p: 44% 22% 29%  5%&#xA;flutter: Weighted P-Frames: Y:0.0% UV:0.0%&#xA;flutter: ref P L0: 43.8% 18.2% 23.0% 15.0%&#xA;flutter: ref B L0: 69.6% 22.3%  8.1%&#xA;flutter: ref B L1: 86.1% 13.9%&#xA;flutter: kb/s:10018.70&#xA;flutter: Video erfolgreich erstellt&#xA;flutter: Ja. Video existiert im Pfad!&#xA;flutter: ffmpeg version git-2020-01-25-fd11dd500&#xA;flutter:  Copyright (c) 2000-2020 the FFmpeg developers&#xA;flutter:&#xA;flutter:   built with Apple clang version 11.0.0 (clang-1100.0.33.17)&#xA;flutter:   configuration: --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk --prefix=/Users/taner/Projects/mobile-ffmpeg/prebuilt/ios-arm64-apple-darwin/ffmpeg --enable-version3 --arch=aarch64 --cpu=armv8 --target-os=darwin --ar=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar --cc=clang --cxx=clang&#x2B;&#x2B; --as=&#x27;/Users/taner/Projects/mobile-ffmpeg/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target aarch64-ios-darwin -march=armv8-a&#x2B;crc&#x2B;crypto -mcpu=generic -DMOBILE_FFMPEG_ARM64 -Wno-unused-function -Wno-deprecated-declarations -fstrict-aliasing -fembed-bitcode -DIOS -DMOBILE_FFMPEG_BUILD_DATE=20200125 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -Oz -miphoneos-version-min=12.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include&#x27; --ranlib=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib --strip=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip --enable-neon --enable-cross-compile --enable-pic --enable-asm --enable-inline-asm --enable-optimizations --enable-swscale --enable-static --disable-shared --enable-small --disable-v4l2-m2m --disable-outdev=v4l2 --disable-outdev=fbdev --disable-indev=v4l2 --disable-indev=fbdev --disable-openssl --disable-xmm-clobber-test --disable-debug --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-gmp --enable-gnutls --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --disable-sdl2 --enable-zlib --enable-audiotoolbox --enable-coreimage --enable-bzlib --enable-videotoolbox --enable-avfoundation --enable-iconv&#xA;flutter:   libavutil      56. 38.100 / 56. 38.100&#xA;flutter:   libavcodec     58. 65.102 / 58. 65.102&#xA;flutter:   libavformat    58. 35.101 / 58. 35.101&#xA;flutter:   libavdevice    58.  9.103 / 58.  9.103&#xA;flutter:   libavfilter     7. 70.101 /  7. 70.101&#xA;flutter:   libswscale      5.  6.100 /  5.  6.100&#xA;flutter:   libswresample   3.  6.100 /  3.  6.100&#xA;flutter: Input #0, mp3, from &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/melodic_slow.mp3&#x27;:&#xA;flutter:   Metadata:&#xA;flutter:     encoder         :&#xA;flutter: LAME 32bits version 3.99.5 (http://lame.sf.net)&#xA;flutter:&#xA;flutter:     TLEN            :&#xA;flutter: 134072&#xA;flutter:&#xA;flutter:   Duration:&#xA;flutter: 00:02:14.11&#xA;flutter: , start:&#xA;flutter: 0.025057&#xA;flutter: , bitrate:&#xA;flutter: 320 kb/s&#xA;flutter:&#xA;flutter:     Stream #0:0&#xA;flutter: : Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s&#xA;flutter:&#xA;flutter:     Metadata:&#xA;flutter:       encoder         :&#xA;flutter: LAME3.99r&#xA;flutter:&#xA;flutter: Input #1, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/Memories_f578a1c0-f4d0-11ea-9e60-5b43394b2511.mp4&#x27;:&#xA;flutter:   Metadata:&#xA;flutter:     major_brand     :&#xA;flutter: isom&#xA;flutter:&#xA;flutter:     minor_version   :&#xA;flutter: 512&#xA;flutter:&#xA;flutter:     compatible_brands:&#xA;flutter: isomiso2avc1mp41&#xA;flutter:&#xA;flutter:     encoder         :&#xA;flutter: Lavf58.35.101&#xA;flutter:&#xA;flutter:   Duration:&#xA;flutter: 00:00:03.54&#xA;flutter: , start:&#xA;flutter: 0.000000&#xA;flutter: , bitrate:&#xA;flutter: 10023 kb/s&#xA;flutter:&#xA;flutter:     Stream #1:0&#xA;flutter: (und)&#xA;flutter: : Video: h264 (avc1 / 0x31637661), yuvj422p(pc), 1920x1080 [SAR 1:1 DAR 16:9], 10020 kb/s&#xA;flutter: ,&#xA;flutter: 24 fps,&#xA;flutter: 24 tbr,&#xA;flutter: 12288 tbn,&#xA;flutter: 48 tbc&#xA;flutter:  (default)&#xA;flutter:&#xA;flutter:     Metadata:&#xA;flutter:       handler_name    :&#xA;flutter: VideoHandler&#xA;flutter:&#xA;flutter: Stream mapping:&#xA;flutter:   Stream #1:0 -> #0:0&#xA;flutter:  (h264 (native) -> h264 (libx264))&#xA;flutter:&#xA;flutter:   Stream #0:0 -> #0:1&#xA;flutter:  (mp3 (mp3float) -> aac (native))&#xA;flutter:&#xA;flutter: Press [q] to stop, [?] for help&#xA;flutter: frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A&#xA;flutter: sws_param option is deprecated and ignored&#xA;flutter: using SAR=1/1&#xA;flutter: using cpu capabilities: ARMv8 NEON&#xA;flutter: profile High 4:2:2, level 4.0, 4:2:2, 8-bit&#xA;flutter: 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;flutter: Output #0, mp4, to &#x27;/var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/Memories_f81f09a0-f4d0-11ea-983d-0b683ab874e3.mp4&#x27;:&#xA;flutter:   Metadata:&#xA;flutter:     TLEN            :&#xA;flutter: 134072&#xA;flutter:&#xA;flutter:     encoder         :&#xA;flutter: Lavf58.35.101&#xA;flutter:&#xA;flutter:     Stream #0:0&#xA;flutter: (und)&#xA;flutter: : Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1&#xA;flutter: ,&#xA;flutter: 24 fps,&#xA;flutter: 12288 tbn,&#xA;flutter: 24 tbc&#xA;flutter:  (default)&#xA;flutter:&#xA;flutter:     Metadata:&#xA;flutter:       handler_name    :&#xA;flutter: VideoHandler&#xA;flutter:&#xA;flutter:       encoder         :&#xA;flutter: Lavc58.65.102 libx264&#xA;flutter:&#xA;flutter:     Side data:&#xA;flutter:&#xA;flutter: cpb:&#xA;flutter: bitrate max/min/avg: 0/0/0 buffer size: 0&#xA;flutter: vbv_delay: N/A&#xA;flutter:&#xA;flutter:     Stream #0:1&#xA;flutter: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s&#xA;flutter:&#xA;flutter:     Metadata:&#xA;flutter:       encoder         :&#xA;flutter: Lavc58.65.102 aac&#xA;flutter:&#xA;flutter: frame=   47 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x&#xA;flutter: frame=   61 fps= 57 q=28.0 size=     256kB time=00:00:00.23 bitrate=9033.3kbits/s speed=0.218x&#xA;flutter: frame=   74 fps= 46 q=28.0 size=     768kB time=00:00:00.78 bitrate=7969.6kbits/s speed=0.489x&#xA;flutter: frame=   85 fps= 22 q=-1.0 Lsize=    3440kB time=00:00:03.55 bitrate=7933.2kbits/s speed=0.902x&#xA;flutter: video:3380kB audio:56kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:&#xA;flutter: 0.117084%&#xA;flutter:&#xA;flutter: frame I:1     Avg QP:22.68  size:174045&#xA;flutter: frame P:22    Avg QP:23.88  size: 84065&#xA;flutter: frame B:62    Avg QP:28.21  size: 23184&#xA;flutter: consecutive B-frames:  1.2%  4.7%  0.0% 94.1%&#xA;flutter: mb I  I16..4:  2.0% 97.3%  0.7%&#xA;flutter: mb P  I16..4:  0.4% 13.4%  0.9%  P16..4: 39.3% 21.6% 14.6%  0.0%  0.0%    skip: 9.7%&#xA;flutter: mb B  I16..4:  0.1%  2.4%  0.2%  B16..8: 26.7%  6.3%  2.0%  direct: 2.5%  skip:59.8%  L0:41.1% L1:45.7% BI:13.1%&#xA;flutter: 8x8 transform intra:91.8% inter:83.1%&#xA;flutter: coded y,uvDC,uvAC intra: 88.3% 97.2% 41.4% inter: 21.0% 26.5% 1.7%&#xA;flutter: i16 v,h,dc,p: 18% 25%  5% 52%&#xA;flutter: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 19% 16%  5%  8%  8%  9%  7%  9%&#xA;flutter: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 16% 13%  7% 12%  9% 10%  7%  8%&#xA;flutter: i8c dc,h,v,p: 41% 19% 28% 12%&#xA;flutter: Weighted P-Frames: Y:0.0% UV:0.0%&#xA;flutter: ref P L0: 53.4% 22.2% 18.9%  5.5%&#xA;flutter: ref B L0: 86.6% 10.3%  3.2%&#xA;flutter: ref B L1: 95.8%  4.2%&#xA;flutter: kb/s:7817.54&#xA;flutter: Qavg: 149.529&#xA;flutter: Speichern mit GallerySaver: /var/mobile/Containers/Data/Application/AEEF7BB8-36F3-4ECD-824B-B294E9DF7294/Library/Caches/Memories_f81f09a0-f4d0-11ea-983d-0b683ab874e3.mp4&#xA;flutter: Speichern mit GallerySaver nicht erfolgreich&#xA;

    &#xA;

    In general the created video works, but : If i try to save it as video with flutter gallery_saver to the device, this video will not saved. Other videos for example works well. But not the created with ffmpeg.

    &#xA;

    Can you find any reason for this in the ffmpeg output log ? Thank you !

    &#xA;

  • Invalid NAL unit size for MP4 created from NALU with 3-byte start code (0x000001)

    9 septembre 2020, par rsc

    I have a mp4 muxer that works fine when the H264 NALU has the 4-byte start code (0x00000001). I am adapting it to support 3-byte start code (0x000001) but I am stuck with a bug that I am not able to identify. The MP4 generated open in VLC and MediaPlayer but no video is displayed. In VLC statistics shows that it is decoding blocks but stays with 0 frames displayed.

    &#xA;

    I then ran a error analyzer using ffmpeg (ffmpeg -v error -i myvideo.mp4 -f null - 2>error.log that shows me the following output :

    &#xA;

    [h264 @ 0x7fa3b5003200] Invalid NAL unit size (158559 > 158558).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9338 > 9337).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (6582 > 6581).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (8300 > 8299).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9336 > 9335).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9422 > 9421).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (10448 > 10447).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9208 > 9207).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (8776 > 8775).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (11376 > 11375).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (158311 > 158310).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9164 > 9163).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (7994 > 7993).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9974 > 9973).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9282 > 9281).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa3b5003200] Invalid NAL unit size (9656 > 9655).&#xA;[h264 @ 0x7fa3b5003200] Error splitting the input into NAL units.&#xA;

    &#xA;

    I am trying to find why it is complaining about 1 byte difference in all mdat boxes. Also, the smaller values (e.g : 158558) are 12 bytes lower than the size written inside the mdat header.

    &#xA;

    Anyone could help indicate why that error is happening ? The same code is working fine to create MP4 with 4-byte NALU start code.

    &#xA;

    UPDATE : I ran ffprobe and it provides a few more details, more specifically saying that couldn't find the "codec parameters" :

    &#xA;

    $ ffprobe -analyzeduration 2147483647 -probesize 2147483647 -i myvideo.mp4 &#xA;ffprobe version 4.3.1 Copyright (c) 2007-2020 the FFmpeg developers&#xA;  built with Apple clang version 11.0.3 (clang-1103.0.32.62)&#xA;  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147087 > 147086).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8104 > 8103).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9752 > 9751).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12058 > 12057).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9026 > 9025).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12032 > 12031).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12566 > 12565).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7906 > 7905).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9758 > 9757).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12840 > 12839).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (146771 > 146770).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7708 > 7707).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9524 > 9523).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12230 > 12229).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9080 > 9079).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12164 > 12163).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12650 > 12649).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7916 > 7915).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9736 > 9735).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (13086 > 13085).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147143 > 147142).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8218 > 8217).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9908 > 9907).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12450 > 12449).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7806 > 7805).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9598 > 9597).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12692 > 12691).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9782 > 9781).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12930 > 12929).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12750 > 12749).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (146911 > 146910).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8182 > 8181).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9494 > 9493).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12268 > 12267).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8898 > 8897).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11946 > 11945).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12622 > 12621).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8108 > 8107).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9754 > 9753).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12110 > 12109).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147067 > 147066).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7726 > 7725).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9424 > 9423).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12078 > 12077).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8976 > 8975).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11686 > 11685).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11940 > 11939).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9274 > 9273).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11950 > 11949).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11702 > 11701).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147021 > 147020).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7686 > 7685).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9572 > 9571).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11810 > 11809).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11584 > 11583).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9116 > 9115).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11986 > 11985).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11390 > 11389).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9008 > 9007).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11768 > 11767).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147347 > 147346).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7618 > 7617).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9266 > 9265).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12046 > 12045).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11562 > 11561).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8898 > 8897).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11672 > 11671).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11458 > 11457).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8850 > 8849).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11452 > 11451).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147213 > 147212).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7540 > 7539).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9610 > 9609).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12302 > 12301).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9154 > 9153).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11868 > 11867).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12054 > 12053).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7508 > 7507).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9136 > 9135).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11812 > 11811).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147089 > 147088).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7800 > 7799).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9482 > 9481).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12244 > 12243).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9198 > 9197).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11962 > 11961).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12386 > 12385).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7618 > 7617).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (8996 > 8995).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11800 > 11799).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147135 > 147134).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7934 > 7933).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9742 > 9741).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12398 > 12397).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7540 > 7539).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9130 > 9129).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12482 > 12481).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12002 > 12001).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11710 > 11709).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11886 > 11885).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147303 > 147302).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7620 > 7619).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9316 > 9315).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12138 > 12137).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9056 > 9055).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11968 > 11967).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11942 > 11941).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9072 > 9071).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11546 > 11545).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (11368 > 11367).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (147363 > 147362).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (7578 > 7577).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9466 > 9465).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (12230 > 12229).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[h264 @ 0x7fa85f800e00] Invalid NAL unit size (9248 > 9247).&#xA;[h264 @ 0x7fa85f800e00] Error splitting the input into NAL units.&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa85f000000] decoding for stream 0 failed&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fa85f000000] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x960, 1717 kb/s): unspecified pixel format&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;myvideo.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : iso5&#xA;    minor_version   : 512&#xA;    compatible_brands: iso6mp41&#xA;  Duration: 00:00:13.22, start: 0.000000, bitrate: 1726 kb/s&#xA;    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 1280x960, 1717 kb/s, 8.70 fps, 9.25 tbr, 90k tbn, 180k tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandle&#xA;

    &#xA;