Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (40)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

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

Sur d’autres sites (6583)

  • Mixing two audio inputs together as fast as possible ffmpeg

    23 septembre 2016, par Jeremy

    Currently trying to mix two audio streams together to perform an overlay. (Vocals over Instruments). I have two M4A files and I want to combine them together. If the vocal track is 30 seconds, it takes roughly 32 seconds to mix them together, but was hoping for significantly faster processing.

    Here is the code I’m using

    -ss 0.300 -i /data/user/0/me.rapchat.rapchat/cache/recording.m4a -i /data/user/0/me.rapchat.rapchat/cache/beats/cc3613da-849b-47a5-97b1-b9bf3f1136db.m4a -filter_complex [0:a][1:a]amerge=inputs=2,pan=stereo|c0data/user/0/me.rapchat.rapchat/cache/rap.m4a

    I’ve read about using the preset Ultrafast but not sure how it would fit in as I’ve tried adding it and gotten errors about it’s placement in the command. I’ve also read about copying the stream "as is" and not worrying about encoding/decoding which I was curious if that would speed up the whole process.

    And here are my logs for a succesful mix

       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   built with gcc 4.8 (GCC)
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libavutil      55. 17.103 / 55. 17.103
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libavcodec     57. 24.102 / 57. 24.102
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libavformat    57. 25.100 / 57. 25.100
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libavdevice    57.  0.101 / 57.  0.101
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libavfilter     6. 31.100 /  6. 31.100
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libswscale      4.  0.100 /  4.  0.100
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libswresample   2.  0.101 /  2.  0.101
       09-23 15:08:08.412 13909-13909/me.rapchat.rapchat E/Studio Process:   libpostproc    54.  0.100 / 54.  0.100
       09-23 15:08:08.442 13909-13909/me.rapchat.rapchat E/Studio Process: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/user/0/me.rapchat.rapchat/cache/recording.m4a':
       09-23 15:08:08.442 13909-13909/me.rapchat.rapchat E/Studio Process:   Metadata:
       09-23 15:08:08.442 13909-13909/me.rapchat.rapchat E/Studio Process:     major_brand     : mp42
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     minor_version   : 0
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     compatible_brands: isommp42
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     creation_time   : 2016-09-23 20:08:08
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     com.android.version: 6.0.1
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:   Duration: 00:00:34.74, start: 0.000000, bitrate: 64 kb/s
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     Stream #0:0(eng): Audio: aac (HE-AAC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default)
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     Metadata:
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:       creation_time   : 2016-09-23 20:08:08
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:       handler_name    : SoundHandle
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process: Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/data/user/0/me.rapchat.rapchat/cache/beats/cc3613da-849b-47a5-97b1-b9bf3f1136db.m4a':
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:   Metadata:
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     major_brand     : M4A
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     minor_version   : 0
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     compatible_brands: M4A mp42isom
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     creation_time   : 2016-06-21 20:00:19
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     artist          :
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     album           : Rapchat
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     date            : 2016
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     composer        :
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     title           : wrist - beat
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     encoder         : 10.2.0
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     iTunSMPB        :  00000000 00000840 000003BF 00000000004A0001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:   Duration: 00:01:50.04, start: 0.000000, bitrate: 110 kb/s
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     Stream #1:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 259 kb/s (default)
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:     Metadata:
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process:       creation_time   : 2016-06-21 20:00:19
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process: [Parsed_amerge_0 @ 0xf6f57140] No channel layout for input 1
       09-23 15:08:08.452 13909-13909/me.rapchat.rapchat E/Studio Process: [Parsed_amerge_0 @ 0xf6f57140] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
       09-23 15:08:08.472 13909-13909/me.rapchat.rapchat E/Studio Process: Output #0, ipod, to '/data/user/0/me.rapchat.rapchat/cache/rap.m4a':
       09-23 15:08:08.472 13909-13909/me.rapchat.rapchat E/Studio Process:   Metadata:
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:     major_brand     : mp42
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:     minor_version   : 0
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:     compatible_brands: isommp42
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:     com.android.version: 6.0.1
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:     encoder         : Lavf57.25.100
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:     Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:     Metadata:
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:       encoder         : Lavc57.24.102 aac
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process: Stream mapping:
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:   Stream #0:0 (aac) -> amerge:in0
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:   Stream #1:0 (aac) -> amerge:in1
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process:   pan -> Stream #0:0 (aac)
       09-23 15:08:08.482 13909-13909/me.rapchat.rapchat E/Studio Process: Press [q] to stop, [?] for help
       09-23 15:08:09.022 13909-13909/me.rapchat.rapchat E/Studio Process: size=       9kB time=00:00:00.62 bitrate= 115.8kbits/s speed=1.22x    
       09-23 15:08:09.532 13909-13909/me.rapchat.rapchat E/Studio Process: size=      21kB time=00:00:01.41 bitrate= 122.7kbits/s speed=1.39x    
       09-23 15:08:10.032 13909-13909/me.rapchat.rapchat E/Studio Process: size=      34kB time=00:00:02.20 bitrate= 124.6kbits/s speed=1.45x    
       09-23 15:08:10.532 13909-13909/me.rapchat.rapchat E/Studio Process: size=      47kB time=00:00:03.04 bitrate= 125.6kbits/s speed= 1.5x    
       09-23 15:08:11.052 13909-13909/me.rapchat.rapchat E/Studio Process: size=      59kB time=00:00:03.83 bitrate= 126.1kbits/s speed=1.51x    
       09-23 15:08:11.552 13909-13909/me.rapchat.rapchat E/Studio Process: size=      71kB time=00:00:04.62 bitrate= 126.4kbits/s speed=1.51x    
       09-23 15:08:12.062 13909-13909/me.rapchat.rapchat E/Studio Process: size=      84kB time=00:00:05.41 bitrate= 126.6kbits/s speed=1.52x    
       09-23 15:08:12.582 13909-13909/me.rapchat.rapchat E/Studio Process: size=      97kB time=00:00:06.24 bitrate= 126.8kbits/s speed=1.53x    
       09-23 15:08:13.072 13909-13909/me.rapchat.rapchat E/Studio Process: size=     109kB time=00:00:07.03 bitrate= 126.9kbits/s speed=1.54x    
       09-23 15:08:13.572 13909-13909/me.rapchat.rapchat E/Studio Process: size=     121kB time=00:00:07.82 bitrate= 127.1kbits/s speed=1.54x    

       09-23 15:08:14.092 13909-13909/me.rapchat.rapchat E/Studio Process: size=     134kB time=00:00:08.61 bitrate= 127.1kbits/s speed=1.54x    
       09-23 15:08:14.602 13909-13909/me.rapchat.rapchat E/Studio Process: size=     146kB time=00:00:09.40 bitrate= 127.2kbits/s speed=1.54x    
       09-23 15:08:15.122 13909-13909/me.rapchat.rapchat E/Studio Process: size=     159kB time=00:00:10.24 bitrate= 127.3kbits/s speed=1.55x    
       09-23 15:08:15.592 13909-13909/me.rapchat.rapchat E/Studio Process: size=     171kB time=00:00:10.98 bitrate= 127.3kbits/s speed=1.55x    
       09-23 15:08:16.112 13909-13909/me.rapchat.rapchat E/Studio Process: size=     183kB time=00:00:11.77 bitrate= 127.4kbits/s speed=1.55x    
       09-23 15:08:16.612 13909-13909/me.rapchat.rapchat E/Studio Process: size=     195kB time=00:00:12.56 bitrate= 127.4kbits/s speed=1.55x    
       09-23 15:08:17.122 13909-13909/me.rapchat.rapchat E/Studio Process: size=     208kB time=00:00:13.39 bitrate= 127.4kbits/s speed=1.55x    
       09-23 15:08:17.692 13909-13909/me.rapchat.rapchat E/Studio Process: size=     217kB time=00:00:13.90 bitrate= 127.9kbits/s speed=1.52x    
       09-23 15:08:18.162 13909-13909/me.rapchat.rapchat E/Studio Process: size=     223kB time=00:00:14.28 bitrate= 127.8kbits/s speed=1.48x    
       09-23 15:08:18.662 13909-13909/me.rapchat.rapchat E/Studio Process: size=     229kB time=00:00:14.65 bitrate= 127.8kbits/s speed=1.44x    
       09-23 15:08:19.202 13909-13909/me.rapchat.rapchat E/Studio Process: size=     235kB time=00:00:15.06 bitrate= 127.7kbits/s speed=1.41x    
       09-23 15:08:19.792 13909-13909/me.rapchat.rapchat E/Studio Process: size=     240kB time=00:00:15.39 bitrate= 127.8kbits/s speed=1.38x    
       09-23 15:08:20.192 13909-13909/me.rapchat.rapchat E/Studio Process: size=     244kB time=00:00:15.67 bitrate= 127.8kbits/s speed=1.34x    
       09-23 15:08:20.712 13909-13909/me.rapchat.rapchat E/Studio Process: size=     252kB time=00:00:16.13 bitrate= 127.7kbits/s speed=1.32x    
       09-23 15:08:21.242 13909-13909/me.rapchat.rapchat E/Studio Process: size=     257kB time=00:00:16.46 bitrate= 127.8kbits/s speed=1.29x    
       09-23 15:08:21.752 13909-13909/me.rapchat.rapchat E/Studio Process: size=     260kB time=00:00:16.64 bitrate= 127.8kbits/s speed=1.25x    
       09-23 15:08:22.272 13909-13909/me.rapchat.rapchat E/Studio Process: size=     264kB time=00:00:16.92 bitrate= 127.7kbits/s speed=1.23x    
       09-23 15:08:22.882 13909-13909/me.rapchat.rapchat E/Studio Process: size=     269kB time=00:00:17.29 bitrate= 127.6kbits/s speed=1.21x    
       09-23 15:08:23.352 13909-13909/me.rapchat.rapchat E/Studio Process: size=     274kB time=00:00:17.62 bitrate= 127.5kbits/s speed=1.19x    
       09-23 15:08:23.952 13909-13909/me.rapchat.rapchat E/Studio Process: size=     282kB time=00:00:18.13 bitrate= 127.6kbits/s speed=1.18x    
       09-23 15:08:24.372 13909-13909/me.rapchat.rapchat E/Studio Process: size=     285kB time=00:00:18.32 bitrate= 127.6kbits/s speed=1.15x    
       09-23 15:08:24.892 13909-13909/me.rapchat.rapchat E/Studio Process: size=     290kB time=00:00:18.59 bitrate= 127.6kbits/s speed=1.13x    
       09-23 15:08:25.402 13909-13909/me.rapchat.rapchat E/Studio Process: size=     293kB time=00:00:18.85 bitrate= 127.5kbits/s speed=1.12x    
       09-23 15:08:26.032 13909-13909/me.rapchat.rapchat E/Studio Process: size=     300kB time=00:00:19.24 bitrate= 127.5kbits/s speed= 1.1x    
       09-23 15:08:26.462 13909-13909/me.rapchat.rapchat E/Studio Process: size=     304kB time=00:00:19.57 bitrate= 127.4kbits/s speed=1.09x    
       09-23 15:08:27.042 13909-13909/me.rapchat.rapchat E/Studio Process: size=     309kB time=00:00:19.89 bitrate= 127.4kbits/s speed=1.07x    
       09-23 15:08:27.622 13909-13909/me.rapchat.rapchat E/Studio Process: size=     312kB time=00:00:20.08 bitrate= 127.4kbits/s speed=1.05x    
       09-23 15:08:28.182 13909-13909/me.rapchat.rapchat E/Studio Process: size=     317kB time=00:00:20.36 bitrate= 127.4kbits/s speed=1.03x    
       09-23 15:08:28.702 13909-13909/me.rapchat.rapchat E/Studio Process: size=     322kB time=00:00:20.68 bitrate= 127.3kbits/s speed=1.02x    
       09-23 15:08:29.262 13909-13909/me.rapchat.rapchat E/Studio Process: size=     326kB time=00:00:20.96 bitrate= 127.3kbits/s speed=1.01x    
       09-23 15:08:29.762 13909-13909/me.rapchat.rapchat E/Studio Process: size=     332kB time=00:00:21.38 bitrate= 127.3kbits/s speed=1.01x    
       09-23 15:08:30.282 13909-13909/me.rapchat.rapchat E/Studio Process: size=     339kB time=00:00:21.80 bitrate= 127.3kbits/s speed=   1x    
       09-23 15:08:30.892 13909-13909/me.rapchat.rapchat E/Studio Process: size=     345kB time=00:00:22.22 bitrate= 127.3kbits/s speed=0.995x    
       09-23 15:08:31.392 13909-13909/me.rapchat.rapchat E/Studio Process: size=     352kB time=00:00:22.63 bitrate= 127.3kbits/s speed=0.989x    
       09-23 15:08:31.942 13909-13909/me.rapchat.rapchat E/Studio Process: size=     359kB time=00:00:23.10 bitrate= 127.3kbits/s speed=0.986x    
       09-23 15:08:32.452 13909-13909/me.rapchat.rapchat E/Studio Process: size=     363kB time=00:00:23.38 bitrate= 127.3kbits/s speed=0.977x    
       09-23 15:08:32.932 13909-13909/me.rapchat.rapchat E/Studio Process: size=     367kB time=00:00:23.61 bitrate= 127.4kbits/s speed=0.966x    
       09-23 15:08:33.542 13909-13909/me.rapchat.rapchat E/Studio Process: size=     372kB time=00:00:23.93 bitrate= 127.3kbits/s speed=0.96x    
       09-23 15:08:33.942 13909-13909/me.rapchat.rapchat E/Studio Process: size=     378kB time=00:00:24.31 bitrate= 127.3kbits/s speed=0.955x    
       09-23 15:08:34.462 13909-13909/me.rapchat.rapchat E/Studio Process: size=     384kB time=00:00:24.68 bitrate= 127.3kbits/s speed=0.951x    
       09-23 15:08:35.022 13909-13909/me.rapchat.rapchat E/Studio Process: size=     389kB time=00:00:25.05 bitrate= 127.3kbits/s speed=0.945x    
       09-23 15:08:35.542 13909-13909/me.rapchat.rapchat E/Studio Process: size=     392kB time=00:00:25.24 bitrate= 127.3kbits/s speed=0.933x    
       09-23 15:08:36.082 13909-13909/me.rapchat.rapchat E/Studio Process: size=     399kB time=00:00:25.65 bitrate= 127.3kbits/s speed=0.931x    
       09-23 15:08:36.572 13909-13909/me.rapchat.rapchat E/Studio Process: size=     405kB time=00:00:26.07 bitrate= 127.3kbits/s speed=0.929x    
       09-23 15:08:37.082 13909-13909/me.rapchat.rapchat E/Studio Process: size=     410kB time=00:00:26.40 bitrate= 127.3kbits/s speed=0.924x    
       09-23 15:08:37.632 13909-13909/me.rapchat.rapchat E/Studio Process: size=     417kB time=00:00:26.81 bitrate= 127.3kbits/s speed=0.921x    
       09-23 15:08:37.862 13909-16848/me.rapchat.rapchat I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
       09-23 15:08:37.862 13909-16848/me.rapchat.rapchat I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
       09-23 15:08:38.172 13909-13909/me.rapchat.rapchat E/Studio Process: size=     422kB time=00:00:27.14 bitrate= 127.3kbits/s speed=0.915x    
       09-23 15:08:38.672 13909-13909/me.rapchat.rapchat E/Studio Process: size=     427kB time=00:00:27.51 bitrate= 127.3kbits/s speed=0.912x    
       09-23 15:08:39.182 13909-13909/me.rapchat.rapchat E/Studio Process: size=     432kB time=00:00:27.79 bitrate= 127.4kbits/s speed=0.906x    
       09-23 15:08:39.692 13909-13909/me.rapchat.rapchat E/Studio Process: size=     440kB time=00:00:28.25 bitrate= 127.5kbits/s speed=0.906x    
       09-23 15:08:40.202 13909-13909/me.rapchat.rapchat E/Studio Process: size=     449kB time=00:00:28.81 bitrate= 127.6kbits/s speed=0.909x    
       09-23 15:08:40.702 13909-13909/me.rapchat.rapchat E/Studio Process: size=     456kB time=00:00:29.28 bitrate= 127.7kbits/s speed=0.909x    
       09-23 15:08:41.222 13909-13909/me.rapchat.rapchat E/Studio Process: size=     463kB time=00:00:29.69 bitrate= 127.8kbits/s speed=0.908x    
       09-23 15:08:41.782 13909-13909/me.rapchat.rapchat E/Studio Process: size=     471kB time=00:00:30.16 bitrate= 127.9kbits/s speed=0.907x    
       09-23 15:08:42.282 13909-13909/me.rapchat.rapchat E/Studio Process: size=     477kB time=00:00:30.53 bitrate= 128.0kbits/s speed=0.905x    
       09-23 15:08:42.782 13909-13909/me.rapchat.rapchat E/Studio Process: size=     485kB time=00:00:31.04 bitrate= 128.1kbits/s speed=0.906x    
       09-23 15:08:43.292 13909-13909/me.rapchat.rapchat E/Studio Process: size=     494kB time=00:00:31.55 bitrate= 128.2kbits/s speed=0.907x    
       09-23 15:08:43.872 13909-13909/me.rapchat.rapchat E/Studio Process: size=     501kB time=00:00:31.97 bitrate= 128.4kbits/s speed=0.905x    
       09-23 15:08:44.472 13909-13909/me.rapchat.rapchat E/Studio Process: size=     510kB time=00:00:32.48 bitrate= 128.5kbits/s speed=0.906x    
       09-23 15:08:44.872 13909-13909/me.rapchat.rapchat E/Studio Process: size=     516kB time=00:00:32.85 bitrate= 128.6kbits/s speed=0.904x    
       09-23 15:08:45.442 13909-13909/me.rapchat.rapchat E/Studio Process: size=     524kB time=00:00:33.36 bitrate= 128.7kbits/s speed=0.903x    
       09-23 15:08:46.012 13909-13909/me.rapchat.rapchat E/Studio Process: size=     529kB time=00:00:33.69 bitrate= 128.7kbits/s speed=0.898x    
       09-23 15:08:46.512 13909-13909/me.rapchat.rapchat E/Studio Process: size=     532kB time=00:00:33.87 bitrate= 128.7kbits/s speed=0.891x    
       09-23 15:08:47.072 13909-13909/me.rapchat.rapchat E/Studio Process: size=     536kB time=00:00:34.11 bitrate= 128.7kbits/s speed=0.885x    
       09-23 15:08:47.572 13909-13909/me.rapchat.rapchat E/Studio Process: size=     540kB time=00:00:34.38 bitrate= 128.7kbits/s speed=0.88x    
       09-23 15:08:47.722 13909-13909/me.rapchat.rapchat E/Studio Process: size=     547kB time=00:00:34.45 bitrate= 130.2kbits/s speed=0.878x    
       09-23 15:08:47.722 13909-13909/me.rapchat.rapchat E/Studio Process: video:0kB audio:541kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.207577%
       09-23 15:08:47.722 13909-13909/me.rapchat.rapchat E/Studio Process: [aac @ 0xf6f43400] Qavg: 12320.994

    The problem is that there is some time delay on this and i’m not sure how to go about optimizing this. I’m pretty new to FFMPEG and the syntax has quite the learning curve when throwing in presets, and codecs. Will the preset ultrafast be what i’m looking for, and how do I add it to this ?

    Thank you in advance !

  • Video HLS with AVPlayer

    5 octobre 2016, par Charlie227

    I’ve converted .MOV video using this command line :

    ffmpeg -re -i 123.mov -vcodec copy -map 0 -f segment -segment_list 123.m3u8 \-segment_list_flags +live -segment_time 3 123%03d.ts

    output :

       ffmpeg version N-81872-gbe1d324 Copyright (c) 2000-2016 the FFmpeg developers
         built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
         configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
         libavutil      55. 32.100 / 55. 32.100
         libavcodec     57. 60.101 / 57. 60.101
         libavformat    57. 51.102 / 57. 51.102
         libavdevice    57.  0.102 / 57.  0.102
         libavfilter     6. 63.100 /  6. 63.100
         libswscale      4.  1.100 /  4.  1.100
         libswresample   2.  2.100 /  2.  2.100
         libpostproc    54.  0.100 / 54.  0.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '123.mov':
         Metadata:
           major_brand     : qt  
           minor_version   : 0
           compatible_brands: qt  
           creation_time   : 2016-09-26T19:34:01.000000Z
         Duration: 00:00:20.00, start: 0.000000, bitrate: 1210 kb/s
           Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, 1088 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
           Metadata:
             creation_time   : 2016-09-26T19:34:01.000000Z
             handler_name    : Core Media Data Handler
             encoder         : H.264
           Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 114 kb/s (default)
           Metadata:
             creation_time   : 2016-09-26T19:34:01.000000Z
             handler_name    : Core Media Data Handler
       Output #0, segment, to '123%03d.ts':
         Metadata:
           major_brand     : qt  
           minor_version   : 0
           compatible_brands: qt  
           encoder         : Lavf57.51.102
           Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, q=2-31, 1088 kb/s, 30 fps, 30 tbr, 90k tbn, 600 tbc (default)
           Metadata:
             creation_time   : 2016-09-26T19:34:01.000000Z
             handler_name    : Core Media Data Handler
             encoder         : H.264
           Stream #0:1(und): Audio: mp2, 44100 Hz, stereo, s16, 384 kb/s (default)
           Metadata:
             creation_time   : 2016-09-26T19:34:01.000000Z
             handler_name    : Core Media Data Handler
             encoder         : Lavc57.60.101 mp2
       Stream mapping:
         Stream #0:0 -> #0:0 (copy)
         Stream #0:1 -> #0:1 (aac (native) -> mp2 (native))
       Press [q] to stop, [?] for help
       frame=    1 fps=1.0 q=-1.0 size=N/A time=00:00:01.00 bitrate=N/A speed=0.996x  
    frame=   32 fps= 16 q=-1.0 size=N/A time=00:00:02.00 bitrate=N/A speed=0.987x  
    frame=   47 fps= 19 q=-1.0 size=N/A time=00:00:02.52 bitrate=N/A speed=0.996x  
    frame=   63 fps= 21 q=-1.0 size=N/A time=00:00:03.01 bitrate=N/A speed=0.993x  
     frame=   77 fps= 22 q=-1.0 size=N/A time=00:00:03.54 bitrate=N/A speed=0.998x  
    frame=   93 fps= 23 q=-1.0 size=N/A time=00:00:04.03 bitrate=N/A speed=0.995x  
     frame=  108 fps= 24 q=-1.0 size=N/A time=00:00:04.56 bitrate=N/A speed=0.999x  
    frame=  123 fps= 24 q=-1.0 size=N/A time=00:00:05.05 bitrate=N/A speed=0.997x  
     frame=  139 fps= 25 q=-1.0 size=N/A time=00:00:05.55 bitrate=N/A speed=0.996x  
    frame=  154 fps= 25 q=-1.0 size=N/A time=00:00:06.04 bitrate=N/A speed=0.994x  
     frame=  169 fps= 26 q=-1.0 size=N/A time=00:00:06.57 bitrate=N/A speed=0.997x  
     frame=  184 fps= 26 q=-1.0 size=N/A time=00:00:07.09 bitrate=N/A speed=0.999x  
     frame=  199 fps= 26 q=-1.0 size=N/A time=00:00:07.59 bitrate=N/A speed=0.998x  
     frame=  230 fps= 27 q=-1.0 size=N/A time=00:00:08.58 bitrate=N/A speed=0.995x  
     frame=  261 fps= 27 q=-1.0 size=N/A time=00:00:09.60 bitrate=N/A speed=0.996x  
     frame=  275 fps= 27 q=-1.0 size=N/A time=00:00:10.12 bitrate=N/A speed=0.998x  
     frame=  306 fps= 27 q=-1.0 size=N/A time=00:00:11.14 bitrate=N/A speed=0.999x  
     frame=  337 fps= 28 q=-1.0 size=N/A time=00:00:12.13 bitrate=N/A speed=0.997x  
     frame=  352 fps= 28 q=-1.0 size=N/A time=00:00:12.65 bitrate=N/A speed=0.998x  
     frame=  367 fps= 28 q=-1.0 size=N/A time=00:00:13.15 bitrate=N/A speed=0.997x  
     frame=  382 fps= 28 q=-1.0 size=N/A time=00:00:13.67 bitrate=N/A speed=0.999x  
     frame=  412 fps= 28 q=-1.0 size=N/A time=00:00:14.69 bitrate=N/A speed=0.999x  
     frame=  428 fps= 28 q=-1.0 size=N/A time=00:00:15.19 bitrate=N/A speed=0.998x  
     frame=  443 fps= 28 q=-1.0 size=N/A time=00:00:15.68 bitrate=N/A speed=0.998x  
     frame=  473 fps= 28 q=-1.0 size=N/A time=00:00:16.70 bitrate=N/A speed=0.998x  
     frame=  488 fps= 28 q=-1.0 size=N/A time=00:00:17.22 bitrate=N/A speed=0.999x  
     frame=  519 fps= 28 q=-1.0 size=N/A time=00:00:18.24 bitrate=N/A speed=0.999x  
     frame=  550 fps= 29 q=-1.0 size=N/A time=00:00:19.24 bitrate=N/A speed=0.998x  
     frame=  565 fps= 29 q=-1.0 size=N/A time=00:00:19.76 bitrate=N/A speed=0.999x  
     frame=  601 fps= 30 q=-1.0 Lsize=N/A time=00:00:20.02 bitrate=N/A speed=   1x    
       video:2663kB audio:939kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

    The final video is available here, i’m able to read it from Safari on Mac OS, but it doesn’t work on iOS using AVPlayer or Safari.

    I also tried to play it using this sample code provided by Apple, however i get the following error :
    "The decoder required for this media cannot be found"

    Any help is appreciated


    edit 1

    I’ve edit the command line, and now i’m able to play the video using AVPlayer, but there is no sound...

    ffmpeg -i 123.mov -c:a libfdk_aac -profile:a aac_he -b:a 64k -c:v h264 -preset slow -map 0 -an -flags -global_header -f hls -hls_time 2 123%03d.ts

    OUTPUT :

       ffmpeg version N-81883-gbeb877b Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
     configuration: --enable-gpl --enable-nonfree --enable-shared --enable-libfdk-aac --enable-libx264 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
     libavutil      55. 32.100 / 55. 32.100
     libavcodec     57. 60.101 / 57. 60.101
     libavformat    57. 51.102 / 57. 51.102
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 63.100 /  6. 63.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  2.100 /  2.  2.100
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '123.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2016-09-26T19:34:01.000000Z
     Duration: 00:00:20.00, start: 0.000000, bitrate: 1210 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 540x960, 1088 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         creation_time   : 2016-09-26T19:34:01.000000Z
         handler_name    : Core Media Data Handler
         encoder         : H.264
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 114 kb/s (default)
       Metadata:
         creation_time   : 2016-09-26T19:34:01.000000Z
         handler_name    : Core Media Data Handler
    Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (123%03d.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    Codec AVOption profile () specified for output file #0 (123%03d.ts) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
    [libx264 @ 0x14ca8a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x14ca8a0] profile High, level 3.1
    Output #0, hls, to '123%03d.ts':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       encoder         : Lavf57.51.102
       Stream #0:0(und): Video: h264 (libx264), yuv420p, 540x960, q=-1--1, 30 fps, 90k tbn, 30 tbc (default)
       Metadata:
         creation_time   : 2016-09-26T19:34:01.000000Z
         handler_name    : Core Media Data Handler
         encoder         : Lavc57.60.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=  600 fps= 79 q=-1.0 Lsize=N/A time=00:00:19.90 bitrate=N/A dup=1 drop=0 speed=2.63x    
    video:3542kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    [libx264 @ 0x14ca8a0] frame I:18    Avg QP:21.70  size: 13958
    [libx264 @ 0x14ca8a0] frame P:326   Avg QP:23.78  size:  7702
    [libx264 @ 0x14ca8a0] frame B:256   Avg QP:24.83  size:  3380
    [libx264 @ 0x14ca8a0] consecutive B-frames: 26.8% 46.0%  8.5% 18.7%
    [libx264 @ 0x14ca8a0] mb I  I16..4: 21.5% 71.7%  6.9%
    [libx264 @ 0x14ca8a0] mb P  I16..4: 14.9% 29.6%  1.5%  P16..4: 32.2%  5.4%  2.2%  0.0%  0.0%    skip:14.1%
    [libx264 @ 0x14ca8a0] mb B  I16..4:  3.0%  4.4%  0.3%  B16..8: 37.9%  4.5%  0.4%  direct: 5.0%  skip:44.6%  L0:50.0% L1:47.1% BI: 2.9%
    [libx264 @ 0x14ca8a0] 8x8 transform intra:64.3% inter:82.5%
    [libx264 @ 0x14ca8a0] direct mvs  spatial:97.7% temporal:2.3%
    [libx264 @ 0x14ca8a0] coded y,uvDC,uvAC intra: 30.0% 44.4% 4.9% inter: 10.1% 20.7% 0.4%
    [libx264 @ 0x14ca8a0] i16 v,h,dc,p: 29% 33% 13% 26%
    [libx264 @ 0x14ca8a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 24% 18%  4%  5%  6%  8%  5%  6%
    [libx264 @ 0x14ca8a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 35% 11%  4%  6%  5%  9%  4%  6%
    [libx264 @ 0x14ca8a0] i8c dc,h,v,p: 36% 29% 23% 12%
    [libx264 @ 0x14ca8a0] Weighted P-Frames: Y:0.9% UV:0.3%
    [libx264 @ 0x14ca8a0] ref P L0: 80.5%  9.7%  6.1%  2.0%  1.3%  0.2%
    [libx264 @ 0x14ca8a0] ref B L0: 92.2%  5.5%  2.0%  0.3%
    [libx264 @ 0x14ca8a0] ref B L1: 99.0%  1.0%
    [libx264 @ 0x14ca8a0] kb/s:1450.98
  • FFmpeg Android Video cropping speed and perfomance [duplicate]

    5 octobre 2016, par kishore jethava

    This question already has an answer here :

    FFmpeg 15 seconds video takes 15 seconds to crop.
    How can we reduce this cropping time with command or some other tricks ?

    I have refereed this question but didn’t helped.

    Here is code

    final FFmpeg ffmpeg = FFmpeg.getInstance(getActivity());
           try {
               ffmpeg.loadBinary(new LoadBinaryResponseHandler() {

                   @Override
                   public void onStart() {}
                   @Override
                   public void onFailure() {}
                   @Override
                   public void onSuccess() {
                       Log.i(TAG, "FFMPEG Success ");
                       try {

                           /*Logic for cropping the original video to a square video depending of the                                           orientation of the original video*/

                           //Command for cropping square video
                           String[] cmd = {"-i", "path/source.mp4", "-vf", "scale=720:ih*720/iw, crop="720:720:0:0, "-preset","ultrafast","-strict","experimental","-vcodec","libx264","-preset","ultrafast","path/destination.mp4"};
                           // Execute cropping of video
                           ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

                               @Override
                               public void onStart() {

                               }

                               @Override
                               public void onProgress(String message) {
                                   Log.i("Square", "progress : " +message);
                               }

                               @Override
                               public void onFailure(String message) {
                                   Log.i("Square", "total fail : " + message);
                               }
                               @Override
                               public void onSuccess(String message) {
                                   Log.i("Square", "Cropped video created.");

                               }
                               @Override
                               public void onFinish() {
                               }
                           });
                       } catch (FFmpegCommandAlreadyRunningException e) {
                           // Handle if FFmpeg is already running
                       }
                   }
               });
           } catch (FFmpegNotSupportedException e) {
               // Handle if FFmpeg is not supported by device
           }

    Logcat

    D/FFmpeg: Running publishing updates method
    I/Square: progress : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    I/Square: progress :   built with gcc 4.8 (GCC)
    I/Square: progress :   configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    I/Square: progress :   libavutil      55. 17.103 / 55. 17.103
    I/Square: progress :   libavcodec     57. 24.102 / 57. 24.102
    I/Square: progress :   libavformat    57. 25.100 / 57. 25.100
    I/Square: progress :   libavdevice    57.  0.101 / 57.  0.101
    I/Square: progress :   libavfilter     6. 31.100 /  6. 31.100
    I/Square: progress :   libswscale      4.  0.100 /  4.  0.100
    I/Square: progress :   libswresample   2.  0.101 /  2.  0.101
    I/Square: progress :   libpostproc    54.  0.100 / 54.  0.100
    I/Square: progress : Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Content/source.mp4':
    I/Square: progress :   Metadata:
    I/Square: progress :     major_brand     : mp42
    I/Square: progress :     minor_version   : 0
    I/Square: progress :     compatible_brands: isommp42
    I/Square: progress :     creation_time   : 2016-10-05 05:19:12
    I/Square: progress :     com.android.version: 6.0.1
    I/Square: progress :   Duration: 00:00:15.91, start: 0.000000, bitrate: 6174 kb/s
    I/Square: progress :     Stream #0:0(eng): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 326 kb/s, 1.59 fps, 30 tbr, 90k tbn, 15 tbc (default)
    I/Square: progress :     Metadata:
    I/Square: progress :       rotate          : 90
    I/Square: progress :       creation_time   : 2016-10-05 05:19:12
    I/Square: progress :       handler_name    : VideoHandle
    I/Square: progress :     Side data:
    I/Square: progress :       displaymatrix: rotation of -90.00 degrees
    I/Square: progress :     Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 12 kb/s (default)
    I/Square: progress :     Metadata:
    I/Square: progress :       creation_time   : 2016-10-05 05:19:12
    I/Square: progress :       handler_name    : SoundHandle
    I/Square: progress : [libx264 @ 0xf7544400] using SAR=1/1
    I/Square: progress : [libx264 @ 0xf7544400] using cpu capabilities: none!
    I/Square: progress : [libx264 @ 0xf7544400] profile Constrained Baseline, level 3.1
    I/Square: progress : [libx264 @ 0xf7544400] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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
    I/Square: progress : [aac @ 0xf7544c00] Too many bits 8832.000000 > 6144 per frame requested, clamping to max
    I/Square: progress : Output #0, mp4, to '/storage/emulated/0/Content/destination.mp4':
    I/Square: progress :   Metadata:
    I/Square: progress :     major_brand     : mp42
    I/Square: progress :     minor_version   : 0
    I/Square: progress :     compatible_brands: isommp42
    I/Square: progress :     com.android.version: 6.0.1
    I/Square: progress :     encoder         : Lavf57.25.100
    I/Square: progress :     Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 638x638 [SAR 1:1 DAR 1:1], q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)
    I/Square: progress :     Metadata:
    I/Square: progress :       handler_name    : VideoHandle
    I/Square: progress :       creation_time   : 2016-10-05 05:19:12
    I/Square: progress :       encoder         : Lavc57.24.102 libx264
    I/Square: progress :     Side data:
    I/Square: progress :       unknown side data type 10 (24 bytes)
    I/Square: progress :     Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 8000 Hz, mono, fltp, 48 kb/s (default)
    I/Square: progress :     Metadata:
    I/Square: progress :       creation_time   : 2016-10-05 05:19:12
    I/Square: progress :       handler_name    : SoundHandle
    I/Square: progress :       encoder         : Lavc57.24.102 aac
    I/Square: progress : Stream mapping:
    I/Square: progress :   Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
    I/Square: progress :   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    I/Square: progress : Press [q] to stop, [?] for help
    I/Square: progress : frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:05.24 bitrate=   0.1kbits/s speed=10.2x    
    I/Square: progress : frame=    0 fps=0.0 q=0.0 size=       0kB time=00:00:10.24 bitrate=   0.1kbits/s speed=  10x    
    I/Square: progress : frame=    0 fps=0.0 q=0.0 size=      19kB time=00:00:14.84 bitrate=  10.5kbits/s speed=9.73x    
    I/Square: progress : frame= 8519 fps=205 q=23.0 size=    3734kB time=00:04:43.53 bitrate= 107.9kbits/s dup=8516 drop=0 speed=6.84x    
    I/Square: progress : frame= 8537 fps=203 q=25.0 size=    3734kB time=00:04:44.13 bitrate= 107.7kbits/s dup=8516 drop=0 speed=6.77x    
    I/Square: progress : frame= 8556 fps=201 q=25.0 size=    3735kB time=00:04:44.76 bitrate= 107.4kbits/s dup=8516 drop=0 speed= 6.7x    
    I/Square: progress : frame= 8575 fps=199 q=25.0 size=    3843kB time=00:04:45.40 bitrate= 110.3kbits/s dup=8516 drop=0 speed=6.64x    
    I/Square: progress : frame= 8594 fps=198 q=25.0 size=    3844kB time=00:04:46.03 bitrate= 110.1kbits/s dup=8516 drop=0 speed=6.58x    
    I/Square: progress : frame= 8614 fps=196 q=25.0 size=    3844kB time=00:04:46.70 bitrate= 109.8kbits/s dup=8516 drop=0 speed=6.52x    
    I/Square: progress : frame= 8633 fps=194 q=25.0 size=    3844kB time=00:04:47.33 bitrate= 109.6kbits/s dup=8516 drop=0 speed=6.45x    
    I/Square: progress : frame= 8652 fps=192 q=25.0 size=    3844kB time=00:04:47.96 bitrate= 109.4kbits/s dup=8516 drop=0 speed= 6.4x    
    I/Square: progress : frame= 8672 fps=190 q=26.0 size=    3844kB time=00:04:48.63 bitrate= 109.1kbits/s dup=8516 drop=0 speed=6.34x    
    I/Square: progress : frame= 8691 fps=189 q=25.0 size=    3845kB time=00:04:49.26 bitrate= 108.9kbits/s dup=8516 drop=0 speed=6.28x    
    I/Square: progress : frame= 8711 fps=187 q=26.0 size=    3845kB time=00:04:49.93 bitrate= 108.6kbits/s dup=8516 drop=0 speed=6.23x    
    I/Square: progress : frame= 8731 fps=185 q=26.0 size=    3845kB time=00:04:50.60 bitrate= 108.4kbits/s dup=8516 drop=0 speed=6.17x    
    I/Square: progress : frame= 8750 fps=184 q=26.0 size=    3845kB time=00:04:51.23 bitrate= 108.2kbits/s dup=8516 drop=0 speed=6.12x    
    I/Square: progress : frame= 8770 fps=182 q=26.0 size=    3846kB time=00:04:51.90 bitrate= 107.9kbits/s dup=8516 drop=0 speed=6.07x    
    I/Square: progress : frame= 8791 fps=181 q=26.0 size=    3846kB time=00:04:52.60 bitrate= 107.7kbits/s dup=8516 drop=0 speed=6.02x    
    I/Square: progress : frame= 8811 fps=179 q=26.0 size=    3846kB time=00:04:53.26 bitrate= 107.4kbits/s dup=8516 drop=0 speed=5.97x    
    I/Square: progress : frame= 8831 fps=178 q=26.0 size=    3971kB time=00:04:53.93 bitrate= 110.7kbits/s dup=8516 drop=0 speed=5.92x    
    I/Square: progress : frame= 8851 fps=177 q=26.0 size=    4214kB time=00:04:54.60 bitrate= 117.2kbits/s dup=8516 drop=0 speed=5.88x    
    I/Square: progress : frame= 8871 fps=175 q=25.0 size=    4451kB time=00:04:55.26 bitrate= 123.5kbits/s dup=8516 drop=0 speed=5.83x    
    I/Square: progress : frame= 8891 fps=174 q=26.0 size=    4705kB time=00:04:55.93 bitrate= 130.2kbits/s dup=8516 drop=0 speed=5.78x    
    I/Square: progress : frame= 8911 fps=172 q=26.0 size=    4963kB time=00:04:56.60 bitrate= 137.1kbits/s dup=8516 drop=0 speed=5.74x    
    I/Square: progress : frame= 8932 fps=171 q=26.0 size=    5226kB time=00:04:57.30 bitrate= 144.0kbits/s dup=8516 drop=0 speed= 5.7x    
    I/Square: progress : frame= 8952 fps=170 q=26.0 size=    5475kB time=00:04:57.96 bitrate= 150.5kbits/s dup=8516 drop=0 speed=5.65x    
    I/Square: progress : frame= 8972 fps=169 q=26.0 size=    5730kB time=00:04:58.63 bitrate= 157.2kbits/s dup=8516 drop=0 speed=5.61x    
    I/Square: progress : frame= 8992 fps=167 q=26.0 size=    5970kB time=00:04:59.30 bitrate= 163.4kbits/s dup=8516 drop=0 speed=5.57x    
    I/Square: progress : frame= 8993 fps=167 q=-1.0 Lsize=    9456kB time=00:04:59.76 bitrate= 258.4kbits/s dup=8516 drop=0 speed=5.56x    
    I/Square: progress : video:9350kB audio:68kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.404826%
    I/Square: progress : [libx264 @ 0xf7544400] frame I:36    Avg QP:10.64  size:107101
    I/Square: progress : [libx264 @ 0xf7544400] frame P:8957  Avg QP:13.80  size:   638
    I/Square: progress : [libx264 @ 0xf7544400] mb I  I16..4: 100.0%  0.0%  0.0%
    I/Square: progress : [libx264 @ 0xf7544400] mb P  I16..4:  0.4%  0.0%  0.0%  P16..4:  4.3%  0.0%  0.0%  0.0%  0.0%    skip:95.3%
    I/Square: progress : [libx264 @ 0xf7544400] coded y,uvDC,uvAC intra: 78.5% 24.5% 12.4% inter: 2.6% 0.2% 0.0%
    I/Square: progress : [libx264 @ 0xf7544400] i16 v,h,dc,p: 28% 12% 42% 18%
    I/Square: progress : [libx264 @ 0xf7544400] i8c dc,h,v,p: 59% 15% 22%  4%
    I/Square: progress : [libx264 @ 0xf7544400] kb/s:255.50
    I/Square: progress : [aac @ 0xf7544c00] Qavg: 65536.000
    I/Square: Cropped video created.
    I/Square: finished