Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (40)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

Sur d’autres sites (5440)

  • FFMPEG scale and crop in single command

    26 mars 2016, par The Hungry Androider

    I’m using FFMPEG on Android using the following lib : http://writingminds.github.io/ffmpeg-android-java/

    This is the command I’m using :

    "-i " + path + " -vf scale=480:360,crop=360:360:0:00 -strict -2  -preset ultrafast " + fileOutPath

    My goal of this is to scale the image down to 480x360, then crop it to 360x360 from (0,0) (top left corner). HOWEVER, what ends up happening is that it crops from the vertical-center. So for example if you were to take a vide of three blocks on top of each other filling the entire screen, the crop would eventually show just the middle block, whereas I desire the top block.

    Any ideas as to what I’m doing wrong ?

    My ultimate goal from all of this is to get a square video of size 360x360.

    Output log :

    03-26 12:10:16.816 17198-17198/com.noq D/FFMPEG: FFMPEG onStart
    03-26 12:10:16.900 17198-17385/com.noq D/FFmpeg: Running publishing updates method
    03-26 12:10:16.914 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: WARNING: linker: /data/user/0/com.noq/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
    03-26 12:10:17.004 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    03-26 12:10:17.004 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    03-26 12:10:17.007 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    03-26 12:10:17.021 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavutil      54.  7.100 / 54.  7.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavcodec     56.  1.100 / 56.  1.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavformat    56.  4.101 / 56.  4.101
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavdevice    56.  0.100 / 56.  0.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavfilter     5.  1.100 /  5.  1.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libswscale      3.  0.100 /  3.  0.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libswresample   1.  1.100 /  1.  1.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libpostproc    53.  0.100 / 53.  0.100
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/1459008610063.mp4':
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Metadata:
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     major_brand     : mp42
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     minor_version   : 0
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     compatible_brands: isommp42
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Duration: 00:00:02.02, start: 0.000000, bitrate: 6131 kb/s
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x480, 5926 kb/s, SAR 65536:65536 DAR 4:3, 29.87 fps, 30.17 tbr, 90k tbn, 180k tbc (default)
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       rotate          : 270
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : VideoHandle
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       encoder         : MOTO
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Side data:
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       displaymatrix: rotation of 90.00 degrees
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 130 kb/s (default)
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : SoundHandle
    03-26 12:10:17.263 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] using SAR=1/1
    03-26 12:10:17.297 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] using cpu capabilities: none!
    03-26 12:10:17.411 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] profile Constrained Baseline, level 2.1
    03-26 12:10:17.417 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Output #0, mp4, to '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/14590086100631459008616802_square.mp4':
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Metadata:
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     major_brand     : mp42
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     minor_version   : 0
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     compatible_brands: isommp42
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     encoder         : Lavf56.4.101
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 360x360 [SAR 1:1 DAR 1:1], q=-1--1, 30.17 fps, 11584 tbn, 30.17 tbc (default)
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       rotate          : 270
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : VideoHandle
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       encoder         : Lavc56.1.100 libx264
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
    03-26 12:10:17.466 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.466 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.466 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : SoundHandle
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       encoder         : Lavc56.1.100 aac
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Stream mapping:
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    03-26 12:10:17.468 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Press [q] to stop, [?] for help
    03-26 12:10:18.035 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=    3 fps=0.0 q=0.0 size=       0kB time=00:00:01.00 bitrate=   0.4kbits/s dup=1 drop=0    
    03-26 12:10:18.526 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   21 fps= 20 q=24.0 size=      48kB time=00:00:01.00 bitrate= 390.3kbits/s dup=1 drop=0    
    03-26 12:10:19.008 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   26 fps= 17 q=25.0 size=      68kB time=00:00:01.85 bitrate= 301.1kbits/s dup=1 drop=0    
    03-26 12:10:19.533 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   47 fps= 23 q=23.0 size=     165kB time=00:00:01.87 bitrate= 719.7kbits/s dup=1 drop=0    
    03-26 12:10:19.956 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   62 fps= 25 q=-1.0 Lsize=     297kB time=00:00:02.05 bitrate=1184.9kbits/s dup=1 drop=0    
    03-26 12:10:19.956 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: video:262kB audio:33kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.992648%
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] frame I:1     Avg QP:20.00  size: 18507
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] frame P:61    Avg QP:23.52  size:  4079
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] mb I  I16..4: 100.0%  0.0%  0.0%
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] mb P  I16..4:  4.4%  0.0%  0.0%  P16..4: 70.9%  0.0%  0.0%  0.0%  0.0%    skip:24.7%
    03-26 12:10:19.985 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] coded y,uvDC,uvAC intra: 44.6% 40.1% 14.8% inter: 39.1% 32.7% 0.6%
    03-26 12:10:19.985 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] i16 v,h,dc,p: 42% 24% 21% 13%
    03-26 12:10:19.986 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] i8c dc,h,v,p: 44% 24% 25%  8%
    03-26 12:10:19.987 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] kb/s:1040.60
    03-26 12:10:20.002 17198-17198/com.noq D/FFMPEG: FFMPEG onSuccess: WARNING: linker: /data/user/0/com.noq/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
                                                    ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
                                                      built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
                                                      configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                      libavutil      54.  7.100 / 54.  7.100
                                                      libavcodec     56.  1.100 / 56.  1.100
                                                      libavformat    56.  4.101 / 56.  4.101
                                                      libavdevice    56.  0.100 / 56.  0.100
                                                      libavfilter     5.  1.100 /  5.  1.100
                                                      libswscale      3.  0.100 /  3.  0.100
                                                      libswresample   1.  1.100 /  1.  1.100
                                                      libpostproc    53.  0.100 / 53.  0.100
                                                    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/1459008610063.mp4':
                                                      Metadata:
                                                        major_brand     : mp42
                                                        minor_version   : 0
                                                        compatible_brands: isommp42
                                                        creation_time   : 2016-03-26 16:10:16
                                                      Duration: 00:00:02.02, start: 0.000000, bitrate: 6131 kb/s
                                                        Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x480, 5926 kb/s, SAR 65536:65536 DAR 4:3, 29.87 fps, 30.17 tbr, 90k tbn, 180k tbc (default)
                                                        Metadata:
                                                          rotate          : 270
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : VideoHandle
                                                          encoder         : MOTO
                                                        Side data:
                                                          displaymatrix: rotation of 90.00 degrees
                                                        Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 130 kb/s (default)
                                                        Metadata:
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : SoundHandle
                                                    [libx264 @ 0xb78cde30] using SAR=1/1
                                                    [libx264 @ 0xb78cde30] using cpu capabilities: none!
                                                    [libx264 @ 0xb78cde30] profile Constrained Baseline, level 2.1
                                                    [libx264 @ 0xb78cde30] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
                                                    Output #0, mp4, to '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/14590086100631459008616802_square.mp4':
                                                      Metadata:
                                                        major_brand     : mp42
                                                        minor_version   : 0
                                                        compatible_brands: isommp42
                                                        encoder         : Lavf56.4.101
                                                        Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 360x360 [SAR 1:1 DAR 1:1], q=-1--1, 30.17 fps, 11584 tbn, 30.17 tbc (default)
                                                        Metadata:
                                                          rotate          : 270
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : VideoHandle
                                                          encoder         : Lavc56.1.100 libx264
                                                        Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
                                                        Metadata:
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : SoundHandle
                                                          encoder         : La
    03-26 12:10:20.037 17198-17198/com.noq D/FFMPEG: FFMPEG onFinish
  • Ffmpeg generated movie (png -> mp4) has no video

    21 avril 2016, par ILiveForVR

    I have a whole bunch of png’s which I would like to convert into a mp4 video.
    I am using the following command to stich them together :
    ffmpeg -i _2016-04-20_14-51-00-500_%06d.png -pix_fmt yuv420p movie.mp4

    I am getting a file, which has a size so it isn’t empty. But when I play it in VLC or Quicktime it shows the time going by, but it has no video in it. Any idea what I’m doing wrong ?
    I also tried :

    ffmpeg -framerate 1/5 -i _2016-04-20_14-51-00-500_%06d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4

    and

    ffmpeg -r 45 -f image2 -s 1920x1080 -i _2016-04-20_14-51-00-500_%06d.png -vcodec libx264 -crf 25  -pix_fmt yuv420p test.mp4

    But still no video.
    This is the commandline output :

    >ffmpeg -i _2016-04-20_14-51-00-500_%06d.png -pix_fmt yuv420p movie.mp4
    ffmpeg version N-79546-g13406b6 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.3.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
     libavutil      55. 22.100 / 55. 22.100
     libavcodec     57. 35.100 / 57. 35.100
     libavformat    57. 34.102 / 57. 34.102
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 44.100 /  6. 44.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, image2, from '_2016-04-20_14-51-00-500_%06d.png':
     Duration: 00:00:02.60, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, rgba(pc), 8192x4096 [SAR 3779:3779 DAR 2:1], 25 tbr, 25 tbn
    [libx264 @ 00000000025851e0] using SAR=1/1
    [libx264 @ 00000000025851e0] frame MB size (512x256) > level limit (36864)
    [libx264 @ 00000000025851e0] DPB size (4 frames, 524288 mbs) > level limit (1 frames, 184320 mbs)
    [libx264 @ 00000000025851e0] MB rate (3276800) > level limit (2073600)
    [libx264 @ 00000000025851e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 00000000025851e0] profile High, level 5.2
    [libx264 @ 00000000025851e0] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [mp4 @ 0000000002583fc0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Output #0, mp4, to 'movie.mp4':
     Metadata:
       encoder         : Lavf57.34.102
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 8192x4096 [SAR 1:1 DAR 2:1], q=2-31, 25 fps, 12800 tbn
       Metadata:
         encoder         : Lavc57.35.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=   65 fps=3.2 q=-1.0 Lsize=   13498kB time=00:00:02.48 bitrate=44585.2kbits/s speed=0.123x    6x
    video:13497kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.009971%
    [libx264 @ 00000000025851e0] frame I:1     Avg QP:16.71  size:1373751
    [libx264 @ 00000000025851e0] frame P:52    Avg QP:23.59  size:234822
    [libx264 @ 00000000025851e0] frame B:12    Avg QP:21.17  size: 19609
    [libx264 @ 00000000025851e0] consecutive B-frames: 73.8%  3.1%  4.6% 18.5%
    [libx264 @ 00000000025851e0] mb I  I16..4: 14.7% 73.8% 11.5%
    [libx264 @ 00000000025851e0] mb P  I16..4:  3.1%  5.9%  0.5%  P16..4: 23.2%  7.7%  2.0%  0.0%  0.0%    skip:57.5%
    [libx264 @ 00000000025851e0] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8:  9.0%  0.2%  0.0%  direct: 0.2%  skip:90.3%  L0:33.0% L1:66.6% BI: 0.4%
    [libx264 @ 00000000025851e0] 8x8 transform intra:63.5% inter:78.5%
    [libx264 @ 00000000025851e0] coded y,uvDC,uvAC intra: 33.7% 3.1% 1.0% inter: 10.1% 0.4% 0.0%
    [libx264 @ 00000000025851e0] i16 v,h,dc,p: 24% 57%  3% 17%
    [libx264 @ 00000000025851e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 31% 38%  2%  3%  2%  5%  2%  4%
    [libx264 @ 00000000025851e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 63% 10%  2%  2%  1%  5%  1%  4%
    [libx264 @ 00000000025851e0] i8c dc,h,v,p: 94%  2%  3%  0%
    [libx264 @ 00000000025851e0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 00000000025851e0] ref P L0: 71.6% 13.1% 10.8%  4.4%
    [libx264 @ 00000000025851e0] ref B L0: 69.0% 30.6%  0.4%
    [libx264 @ 00000000025851e0] ref B L1: 89.7% 10.3%
    [libx264 @ 00000000025851e0] kb/s:42522.38
  • Video encoding fail when change speed and add watermark

    24 août 2020, par Nguyễn Trọng

    I have a video needing speed change and add watermark

    


    "[-y, -i, /storage/3665-3031/DCIM/Camera/VID_20200821_195124.mp4, -i, /storage/emulated/0/FXMotion/.cache/.watermark/logo_watermark.png, -filter_complex, [1:v]scale=1920/4:-1[logo1];[0:v]trim=0.0:135.869,setpts=0.3125*(PTS-STARTPTS)[v2];[0:a]atrim=0.0:135.869,asetpts=PTS-STARTPTS,atempo=2.0,atempo=1.600000023841858[a2];[v2][a2]concat=n=1:v=1:a=1[video];[video][logo1]overlay=main_w-overlay_w-10:main_h-overlay_h-10[vw], -map, [vw], -c:v, libx264, -c:a, aac, -crf, 18, -preset, veryfast, /storage/emulated/0/FXMotion/FXMotion-200821a.mp4, -hide_banner]"


    


    However when I ran the above command, it got the error below, I tried searching on google but it didn't solve the problem,
how to resolve this error ? , Thank advance.

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/3665-3031/DCIM/Camera/VID_20200821_195124.mp4':
              Metadata:
                major_brand     : mp42
    minor_version   : 0
                compatible_brands: isommp42
    creation_time   : 2020-08-21T14:23:42.000000Z
    location        : +28.6812+077.4592/
                location-eng    : +28.6812+077.4592/
                com.android.version: 9
              Duration: 00:02:15.87, start: 0.000000, bitrate: 17160 kb/s
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown), 1920x1080, 17009 kb/s, SAR 1:1 DAR 16:9, 30.01 fps, 30 tbr, 90k tbn, 180k tbc (default)
    Metadata:
                  rotate          : 90
                  creation_time   : 2020-08-21T14:23:42.000000Z
      handler_name    : VideoHandle
    Side data:
                  displaymatrix: rotation of -90.00 degrees
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)    Metadata:      creation_time   : 2020-08-21T14:23:42.000000Z
      handler_name    : SoundHandle
Input #1, png_pipe, from '/storage/emulated/0/FXMotion/.cache/.watermark/logo_watermark.png':
              Duration: N/A, bitrate: N/A
    Stream #1:0: Video: png, rgba(pc), 335x51, 25 tbr, 25 tbn, 25 tbcStream mapping:
              Stream #0:0 (h264) -> trim
  Stream #0:1 (aac) -> atrim
  Stream #1:0 (png) -> scale
  concat:out:a0 -> Stream #0:0 (aac)
              overlay -> Stream #0:1 (libx264)
            Press [q] to stop, [?] for helpframe=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    
[graph 0 input from stream 1:0 @ 0x7c2a9520] sws_param option is deprecated and ignored
[graph 0 input from stream 0:0 @ 0x7c2a97c0] sws_param option is deprecated and ignored
[libx264 @ 0x90415c00] using SAR=1/1
[libx264 @ 0x90415c00] using cpu capabilities: ARMv6 NEON[libx264 @ 0x90415c00] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 0x90415c00] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=4 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=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
            Output #0, mp4, to '/storage/emulated/0/FXMotion/FXMotion-200821a.mp4':
              Metadata:
                major_brand     : mp42
    minor_version   : 0    compatible_brands: isommp42
    com.android.version: 9
                location        : +28.6812+077.4592/
                location-eng    : +28.6812+077.4592/
                encoder         : Lavf58.35.101
                Stream #0:0: Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 69 kb/s (default)
    Metadata:      encoder         : Lavc58.65.102 aac
    Stream #0:1: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1080x1920 [SAR 1:1 DAR 9:16], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
    Metadata:
                  encoder         : Lavc58.65.102 libx264
    Side data:
                  cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=    2 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
frame=    7 fps=6.9 q=0.0 size=       0kB time=00:00:00.10 bitrate=   3.6kbits/s dup=0 drop=7 speed=0.106x    
Video encoding failed[aac @ 0x90414800] Qavg: 126.876
            [aac @ 0x90414800] 2 frames left in the queue on closingConversion failed!