Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (47)

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

    5 septembre 2013, par

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

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Ecrire une actualité

    21 juin 2013, par

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

Sur d’autres sites (7594)

  • Generated ffmpeg video seems to be not a real video file

    18 septembre 2020, par asored

    I try to create a video with ffmpeg and save it to the device with gallery_saver package for Flutter.

    


    The ffmpeg command works well and the video is created. But GallerySaver does not save it. As result I get no error, but a false boolean for the success argument.

    


    This is the ffmpeg output. Is this a valid video mp4 file ?

    


    Restarted application in 683ms.
[38;5;244m[Easy Localization] [39;49mStart
[38;5;244m[Easy Localization] [39;49mInit state
[38;5;244m[Easy Localization] [39;49mBuild
[38;5;244m[Easy Localization] [39;49mDevice locale de_DE
[38;5;244m[Easy Localization] [39;49mLoad asset from assets/translations
[38;5;244m[Easy Localization] [39;49mInit Localization Delegate
[38;5;244m[Easy Localization] [39;49mInit provider
[38;5;244m[Easy Localization] [39;49mLoad Localization Delegate
flutter: Loading flutter-ffmpeg.
flutter: Loaded flutter-ffmpeg-ios-arm64.
flutter: ffmpeg version git-2020-01-25-fd11dd500 Copyright (c) 2000-2020 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1100.0.33.17)
  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++ --as='/Users/taner/Projects/mobile-ffmpeg/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target aarch64-ios-darwin -march=armv8-a+crc+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' --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
  libavutil      56. 38.100 / 56. 38.100
  libavcodec     58. 65.102 / 58. 65.102
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 70.101 /  7. 70.101
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
Input #0, mp3, from '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/melodic_slow.mp3':
  Metadata:
    encoder         : LAME 32bits version 3.99.5 (http://lame.sf.net)
    TLEN            : 134072
  Duration: 00:02:14.11, start: 0.025057, bitrate: 320 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
    Metadata:
      encoder         : LAME3.99r
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/Memories-8c4a9c20-f9b8-11ea-b262-853cab0c1dfa.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.101
  Duration: 00:00:00.17, start: 0.000000, bitrate: 55269 kb/s
    Stream #1:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 4032x3024 [SAR 1:1 DAR 4:3], 55338 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #1:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:0 -> #0:1 (mp3 (mp3float) -> aac (native))
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
sws_param option is deprecated and ignored
using SAR=1/1
using cpu capabilities: ARMv8 NEON
profile High, level 6.0, 4:2:0, 8-bit
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
Output #0, mp4, to '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/Memories-8da54a20-f9b8-11ea-b216-7df10c3fe45b.mp4':
  Metadata:
    TLEN            : 134072
    encoder         : Lavf58.35.101
    Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 4032x3024 [SAR 1:1 DAR 4:3], q=-1--1, 24 fps, 12288 tbn, 24 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc58.65.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:1: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 aac
frame=    4 fps=2.5 q=-1.0 Lsize=    1028kB time=00:00:00.18 bitrate=45323.6kbits/s speed=0.115x
video:1023kB audio:3kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.143686%
frame I:1     Avg QP:24.74  size:488633
frame P:3     Avg QP:23.50  size:186193
mb I  I16..4:  3.0% 90.0%  7.1%
mb P  I16..4: 28.7% 67.4%  3.8%  P16..4:  0.2%  0.0%  0.0%  0.0%  0.0%    skip: 0.0%
8x8 transform intra:73.1% inter:60.0%
coded y,uvDC,uvAC intra: 41.8% 29.7% 8.7% inter: 3.7% 1.7% 0.3%
i16 v,h,dc,p: 53% 33%  3% 11%
i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 22% 22%  4%  4%  3%  7%  4%  5%
i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 30% 12%  4%  5%  4%  8%  4%  5%
i8c dc,h,v,p: 70% 18%  9%  3%
Weighted P-Frames: Y:33.3% UV:33.3%
ref P L0:  1.4%  0.0% 95.5%  0.0%  3.1%
kb/s:50266.18
Qavg: 134.735
flutter: ffmpeg version git-2020-01-25-fd11dd500
flutter:  Copyright (c) 2000-2020 the FFmpeg developers
flutter:
flutter:   built with Apple clang version 11.0.0 (clang-1100.0.33.17)
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++ --as='/Users/taner/Projects/mobile-ffmpeg/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target aarch64-ios-darwin -march=armv8-a+crc+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' --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
flutter:   libavutil      56. 38.100 / 56. 38.100
flutter:   libavcodec     58. 65.102 / 58. 65.102
flutter:   libavformat    58. 35.101 / 58. 35.101
flutter:   libavdevice    58.  9.103 / 58.  9.103
flutter:   libavfilter     7. 70.101 /  7. 70.101
flutter:   libswscale      5.  6.100 /  5.  6.100
flutter:   libswresample   3.  6.100 /  3.  6.100
flutter: Input #0, image2, from '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/img%04d.jpg':
flutter:   Duration:
flutter: 00:00:00.20
flutter: , start:
flutter: 0.000000
flutter: , bitrate:
flutter: N/A
flutter:
flutter:     Stream #0:0
flutter: : Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 4032x3024 [SAR 72:72 DAR 4:3]
flutter: ,
flutter: 25 tbr,
flutter: 25 tbn,
flutter: 25 tbc
flutter:
flutter: Stream mapping:
flutter:   Stream #0:0 -> #0:0
flutter:  (mjpeg (native) -> h264 (libx264))
flutter:
flutter: Press [q] to stop, [?] for help
flutter: sws_param option is deprecated and ignored
flutter: deprecated pixel format used, make sure you did set range correctly
flutter: using SAR=1/1
flutter: using cpu capabilities: ARMv8 NEON
flutter: profile High, level 6.0, 4:2:0, 8-bit
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
flutter: Output #0, mp4, to '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/Memories-f2ae4f70-f9b8-11ea-bb69-c999fb23197b.mp4':
flutter:   Metadata:
flutter:     encoder         :
flutter: Lavf58.35.101
flutter:
flutter:     Stream #0:0
flutter: : Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 4032x3024 [SAR 1:1 DAR 4:3], q=-1--1
flutter: ,
flutter: 24 fps,
flutter: 12288 tbn,
flutter: 24 tbc
flutter:
flutter:     Metadata:
flutter:       encoder         :
flutter: Lavc58.65.102 libx264
flutter:
flutter:     Side data:
flutter:
flutter: cpb:
flutter: bitrate max/min/avg: 0/0/0 buffer size: 0
flutter: vbv_delay: N/A
flutter:
flutter: frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
flutter: sws_param option is deprecated and ignored
flutter: deprecated pixel format used, make sure you did set range correctly
flutter: sws_param option is deprecated and ignored
flutter: deprecated pixel format used, make sure you did set range correctly
flutter: frame=    4 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
flutter: frame=    5 fps=1.8 q=-1.0 Lsize=    1485kB time=00:00:00.08 bitrate=145828.4kbits/s speed=0.0305x
flutter: video:1484kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
flutter: 0.059291%
flutter:
flutter: frame I:1     Avg QP:24.93  size:366082
flutter: frame P:4     Avg QP:24.17  size:288219
flutter: mb I  I16..4:  8.6% 81.4% 10.1%
flutter: mb P  I16..4: 21.7% 71.4%  6.6%  P16..4:  0.2%  0.0%  0.0%  0.0%  0.0%    skip: 0.0%
flutter: 8x8 transform intra:73.6% inter:79.9%
flutter: coded y,uvDC,uvAC intra: 48.6% 33.8% 12.6% inter: 33.4% 41.4% 0.0%
flutter: i16 v,h,dc,p: 53% 31%  4% 12%
flutter: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 18% 24%  5%  4%  4%  6%  5%  5%
flutter: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 23% 14%  7%  6%  5%  7%  5%  5%
flutter: i8c dc,h,v,p: 67% 17% 12%  4%
flutter: Weighted P-Frames: Y:25.0% UV:25.0%
flutter: ref P L0: 43.6%  0.2% 55.0%  0.0%  1.1%
flutter: kb/s:58327.98
flutter: ffmpeg version git-2020-01-25-fd11dd500
flutter:  Copyright (c) 2000-2020 the FFmpeg developers
flutter:
flutter:   built with Apple clang version 11.0.0 (clang-1100.0.33.17)
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++ --as='/Users/taner/Projects/mobile-ffmpeg/.tmp/gas-preprocessor.pl -arch aarch64 -- clang -arch arm64 -target aarch64-ios-darwin -march=armv8-a+crc+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' --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
flutter:   libavutil      56. 38.100 / 56. 38.100
flutter:   libavcodec     58. 65.102 / 58. 65.102
flutter:   libavformat    58. 35.101 / 58. 35.101
flutter:   libavdevice    58.  9.103 / 58.  9.103
flutter:   libavfilter     7. 70.101 /  7. 70.101
flutter:   libswscale      5.  6.100 /  5.  6.100
flutter:   libswresample   3.  6.100 /  3.  6.100
flutter: Input #0, mp3, from '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/melodic_slow.mp3':
flutter:   Metadata:
flutter:     encoder         :
flutter: LAME 32bits version 3.99.5 (http://lame.sf.net)
flutter:
flutter:     TLEN            :
flutter: 134072
flutter:
flutter:   Duration:
flutter: 00:02:14.11
flutter: , start:
flutter: 0.025057
flutter: , bitrate:
flutter: 320 kb/s
flutter:
flutter:     Stream #0:0
flutter: : Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
flutter:
flutter:     Metadata:
flutter:       encoder         :
flutter: LAME3.99r
flutter:
flutter: Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/Memories-f2ae4f70-f9b8-11ea-bb69-c999fb23197b.mp4':
flutter:   Metadata:
flutter:     major_brand     :
flutter: isom
flutter:
flutter:     minor_version   :
flutter: 512
flutter:
flutter:     compatible_brands:
flutter: isomiso2avc1mp41
flutter:
flutter:     encoder         :
flutter: Lavf58.35.101
flutter:
flutter:   Duration:
flutter: 00:00:00.21
flutter: , start:
flutter: 0.000000
flutter: , bitrate:
flutter: 58202 kb/s
flutter:
flutter:     Stream #1:0
flutter: (und)
flutter: : Video: h264 (avc1 / 0x31637661), yuv420p, 4032x3024 [SAR 1:1 DAR 4:3], 58353 kb/s
flutter: ,
flutter: 24 fps,
flutter: 24 tbr,
flutter: 12288 tbn,
flutter: 48 tbc
flutter:  (default)
flutter:
flutter:     Metadata:
flutter:       handler_name    :
flutter: VideoHandler
flutter:
flutter: Stream mapping:
flutter:   Stream #1:0 -> #0:0
flutter:  (h264 (native) -> h264 (libx264))
flutter:
flutter:   Stream #0:0 -> #0:1
flutter:  (mp3 (mp3float) -> aac (native))
flutter:
flutter: Press [q] to stop, [?] for help
flutter: frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
flutter: sws_param option is deprecated and ignored
flutter: using SAR=1/1
flutter: using cpu capabilities: ARMv8 NEON
flutter: profile High, level 6.0, 4:2:0, 8-bit
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
flutter: Output #0, mp4, to '/var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/Memories-f475c900-f9b8-11ea-9b26-639f1e3575c9.mp4':
flutter:   Metadata:
flutter:     TLEN            :
flutter: 134072
flutter:
flutter:     encoder         :
flutter: Lavf58.35.101
flutter:
flutter:     Stream #0:0
flutter: (und)
flutter: : Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 4032x3024 [SAR 1:1 DAR 4:3], q=-1--1
flutter: ,
flutter: 24 fps,
flutter: 12288 tbn,
flutter: 24 tbc
flutter:  (default)
flutter:
flutter:     Metadata:
flutter:       handler_name    :
flutter: VideoHandler
flutter:
flutter:       encoder         :
flutter: Lavc58.65.102 libx264
flutter:
flutter:     Side data:
flutter:
flutter: cpb:
flutter: bitrate max/min/avg: 0/0/0 buffer size: 0
flutter: vbv_delay: N/A
flutter:
flutter:     Stream #0:1
flutter: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
flutter:
flutter:     Metadata:
flutter:       encoder         :
flutter: Lavc58.65.102 aac
flutter:
flutter: frame=    5 fps=2.4 q=-1.0 Lsize=    1328kB time=00:00:00.20 bitrate=52040.4kbits/s speed= 0.1x
flutter: video:1323kB audio:3kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
flutter: 0.112379%
flutter:
flutter: frame I:1     Avg QP:23.27  size:307048
flutter: frame P:4     Avg QP:23.71  size:261707
flutter: mb I  I16..4: 12.0% 84.4%  3.6%
flutter: mb P  I16..4: 21.8% 73.5%  4.6%  P16..4:  0.2%  0.0%  0.0%  0.0%  0.0%    skip: 0.0%
flutter: 8x8 transform intra:75.8% inter:82.6%
flutter: coded y,uvDC,uvAC intra: 43.8% 33.2% 11.5% inter: 18.9% 20.3% 0.2%
flutter: i16 v,h,dc,p: 52% 33%  4% 11%
flutter: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 20% 24%  4%  4%  3%  6%  4%  5%
flutter: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 28% 12%  4%  5%  4%  7%  5%  5%
flutter: i8c dc,h,v,p: 67% 18% 12%  4%
flutter: Weighted P-Frames: Y:25.0% UV:25.0%
flutter: ref P L0: 24.0%  0.4% 73.9%  0.0%  1.8%
flutter: kb/s:51988.88
flutter: Qavg: 137.086
flutter: /var/mobile/Containers/Data/Application/2F90BA97-59E6-4632-B86A-2B0C1C552273/Library/Caches/Memories-f475c900-f9b8-11ea-9b26-639f1e3575c9.mp4
flutter: Success argument is: false


    


    This are my ffmpeg commands :

    


    First I create a video from images in a folder

    


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

    


    Than I add audio to the video

    


    -i ${finalSong.path} -i $videoPath -shortest $tempPath/$newVideoFileName.mp4

    


  • FFMPEG - Multi Track, Multi Channel file to discrete mono files

    26 novembre 2020, par vade

    I have files which are multi track, and multi channel (ie, track 1 may be 5.1, track 2 may be stereo, track 3 may be stereo etc)

    


    I am looking to output every channel from every track into its own 'unrolled' discrete mono file.

    


    example media :

    


    ffprobe version 4.3.1-0york0~18.04 Copyright (c) 2007-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/usr --extra-version='0york0~18.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libzimg --enable-pocketsphinx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[mxf @ 0x55d3e7fc2680] wrapping of stream 0 is unknown
[jpeg2000 @ 0x55d3e805ce00] End mismatch 1
    Last message repeated 1 times
Input #0, mxf, from 'redacted.mxf':
  Metadata:
    operational_pattern_ul: 060e2b34.04010101.0d010201.01010900
    modification_date: 2019-10-03T09:58:16.368000Z
    uid             : f6267ae2-680e-4357-9b1d-c77c045d3cd7
    generation_uid  : e7e6f5a1-6f15-4df5-aea8-a41f3ef535d6
    company_name    : redacted
    product_name    : redacted
    product_version : 11.6.1.5.301404
    product_uid     : 84ae5ffc-4710-11dd-a6fe-0010c629ec73
    application_platform: 4KICR1
    material_package_umid: 0x060A2B340101010501010D2013000000BE3608F3135E48AD99E4340643E47F22
    timecode        : 00:59:20:00
  Duration: 00:26:16.07, start: 0.000000, bitrate: 139194 kb/s
    Stream #0:0: Video: jpeg2000, yuv422p10le(progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000091A43E578B86490698045924FA9EECC5
      track_name      : Picture
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 6 channels, s32 (24 bit), 6912 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000091A43E578B86490698045924FA9EECC5
      track_name      : Sound
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000091A43E578B86490698045924FA9EECC5
      track_name      : Sound
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000091A43E578B86490698045924FA9EECC5
      track_name      : Sound
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 2 channels, s32 (24 bit), 2304 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000091A43E578B86490698045924FA9EECC5
      track_name      : Sound
    Stream #0:5: Data: none
    Metadata:
      file_package_umid: 0x060A2B340101010501010D201300000091A43E578B86490698045924FA9EECC5
      track_name      : Auxiliary Data
      data_type       : vbi_vanc_smpte_436M
Unsupported codec with id 0 for input stream 5


    


    These files are vendor qualified masters, and the track / channel combinations vary between vendors, so some might be stereo, 5.1, 7.1 order, some might be all discrete mono already, some might be discrete stereo, 5.1, and mono tracks. Its all a mix. So im looking for some general strategy that gracefully handles all channels from all tracks.

    


    Now I have seen various strategies documented to handle discretizing audio via ffmpeg docs, but none of them seem to show how to target different channels from different tracks. Im sure its a pebkac error, but I'd love some guidance.

    


    I have tried both a map_channel approach as well as a -filtercomplex channelsplit approach.

    


    ffmpeg -i redacted.mxf -ss 60 \
-map_channel 0.1.0 -t 10 track_1_0.wav \
-map_channel 0.1.1 -t 10 track_1_1.wav \
-map_channel 0.1.2 -t 10 track_1_2.wav \
-map_channel 0.1.3 -t 10 track_1_3.wav \
-map_channel 0.1.4 -t 10 track_1_4.wav \
-map_channel 0.1.5 -t 10 track_1_5.wav \
-map_channel 0.2.0 -t 10 track_2_0.wav \
-map_channel 0.2.1 -t 10 track_2_1.wav \
-map_channel 0.3.0 -t 10 track_3_0.wav \
-map_channel 0.3.1 -t 10 track_3_1.wav \
-map_channel 0.4.0 -t 10 track_4_0.wav \
-map_channel 0.4.1 -t 10 track_4_1.wav 


    


    However, the output files are not all mono, some are marked as 5.1. I dont believe they are inheriting a sane / correct channel layout (mono) - but the output files that are marked 5.1 are nonsensical, as they are all sourced from stereo tracks. ie track_2_0.wav track_2_1.wav, track_3_0.wav, track_3_1.wav, track_4_0.wav, track_4_1.wav. Which seems odd. Track 1_0 from the above command outputs a sane media info :

    


    File size                                : 938 KiB
Duration                                 : 10s 0ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 768 Kbps
Writing application                      : Lavf58.45.100

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 10s 0ms
Bit rate mode                            : Constant
Bit rate                                 : 768 Kbps
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 938 KiB (100%)



    


    However the second and 3rd track have the wrong channel layout and an unexpected codec id :

    


    Format                                   : Wave
File size                                : 5.49 MiB
Duration                                 : 10s 0ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 4 608 Kbps
Writing application                      : Lavf58.45.100

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 00000001-0000-0010-8000-00AA00389B71
Duration                                 : 10s 0ms
Bit rate mode                            : Constant
Bit rate                                 : 4 608 Kbps
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Lb Rb
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Stream size                              : 5.49 MiB (100%)



    


    Additionally re : map_channel, there are some docs that cast doubt that its the right approach :

    


    


    Note that currently each output stream can only contain channels from a single input stream ; you can’t for example use "-map_channel" to pick multiple input audio channels contained in different streams (from the same or different files) and merge them into a single output stream. It is therefore not currently possible, for example, to turn two separate mono streams into a single stereo stream. However splitting a stereo stream into two single channel mono streams is possible.

    


    


    Using filter complex, the docs/bug tracker have an example of discretizing 5.1 and marking mono. I can target the tracks I want, and get a valid filter chain as seen in debug log reporting, however I only get audio for the 1st track :

    


    ffmpeg -y -v 40 -i redacted.mxf -ss 60 \
    -disposition:a default \
    -filter_complex \
    "[0:a:0]channelsplit=channel_layout=5.1[c1][c2][c3][c4][c5][c6],\
    [c1]aformat=channel_layouts=mono[c1],\
    [c2]aformat=channel_layouts=mono[c2],\
    [c3]aformat=channel_layouts=mono[c3],\
    [c4]aformat=channel_layouts=mono[c4],\
    [c5]aformat=channel_layouts=mono[c5],\
    [c6]aformat=channel_layouts=mono[c6],\
    [0:a:1]channelsplit=channel_layout=stereo[c7][c8],\
    [c7]aformat=channel_layouts=mono[c7],\
    [c8]aformat=channel_layouts=mono[c8],\
    [0:a:2]channelsplit=channel_layout=stereo[c9][c10],\
    [c9]aformat=channel_layouts=mono[c9],\
    [c10]aformat=channel_layouts=mono[c10],\
    [0:a:3]channelsplit=channel_layout=stereo[c11][c12],\
    [c11]aformat=channel_layouts=mono[c11],\
    [c12]aformat=channel_layouts=mono[c12]"\
     -map  "[c1]" -t 10 1.wav\
     -map  "[c2]" -t 10 2.wav\
     -map  "[c3]" -t 10 3.wav\
     -map  "[c4]" -t 10 4.wav\
     -map  "[c5]" -t 10 5.wav\
     -map  "[c6]" -t 10 6.wav\
     -map  "[c7]" -t 10 7.wav\
     -map  "[c8]" -t 10 8.wav\
     -map  "[c9]" -t 10 9.wav\
     -map  "[c10]" -t 10 10.wav\
     -map  "[c11]" -t 10 11.wav\
     -map  "[c12]" -t 10 12.wav


    


    TL/DR ;

    


    In short, how does one export every channel of every track as a discrete mono audio track (regardless of the channel layouts ?)

    


    Thank you !

    


  • ffmpeg h264_amf error : CreateComponent(AMFVideoEncoderVCE_AVC) failed with error 10

    18 septembre 2023, par Poiter

    Trying to transcode a video on a Azure VM with Windows 2019 and with a AMD Radeon instinct MI25 GPU gives this error :

    


    


    CreateComponent(AMFVideoEncoderVCE_AVC) failed with error 10

    


    


    Command used : ffmpeg -i input.mp4 -c:v h264_amf output.mp4

    


    (ffmpeg is compiled with h264_amf support)

    


    I could not find any info on this specific error. Any ideas ?