Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (76)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (3774)

  • 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 !

  • FFMPEG Unable to Decode Quicktime QDMC Stream (No decoder for stream)

    9 janvier 2017, par mbmast

    We are using FFMPEG to convert iPhone video to MP4. This requires an AAC decoder which is not included in any binary distributions of FFMPEG (due to licensing issues). The solution is to download the FFMPEG source and compile it yourself. I’ve done this, apparently incorrectly, as I cannot decode the audio stream. I am getting this error :

    /usr/ffmpeg_builds/ffmpeg -y -i /home/domain/public_html/wp-content/uploads/celebs/main/step-2.mov -threads 12 -vcodec libx264 -acodec libfdk_aac -b:v 1000k -refs 6 -coder 1 -sc_threshold 40 -flags +loop -me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -trellis 1 -b:a 128k -pass 1 -passlogfile /tmp/ffmpeg-passes57a054ee917c4ahl3t/pass-57a054ee91965 /home/domain/public_html/wp-content/uploads/celebs/main/testing-5.mp4
    ffmpeg version N-81827-g81bab10 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
     configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libx264
     libavutil      55. 32.100 / 55. 32.100
     libavcodec     57. 60.100 / 57. 60.100
     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
    Guessed Channel Layout for Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/domain/public_html/wp-content/uploads/celebs/main/step-2.mov':
     Metadata:
       creation_time   : 1998-11-04T16:40:13.000000Z
     Duration: 00:01:00.83, start: 0.000000, bitrate: 110 kb/s
       Stream #0:0(eng): Video: svq1 (SVQ1 / 0x31515653), yuv410p, 160x120, 90 kb/s, 7.51 fps, 7.50 tbr, 600 tbn, 600 tbc (default)
       Metadata:
         creation_time   : 1998-11-04T16:40:13.000000Z
         handler_name    : Apple Alias Data Handler
         encoder         : Sorenson Video
       Stream #0:1(eng): Audio: qdmc (QDMC / 0x434D4451), 44100 Hz, mono (default)
       Metadata:
         creation_time   : 1998-11-04T16:40:13.000000Z
         handler_name    : Apple Alias Data Handler
    No decoder for stream #0:1, filtering impossible
    Error opening filters!

    I suspect that I failed to compile and include the correct codec library when I built FFMPEG. The problem is I don’t know which library I should have built/included. I haven’t found anything that says to decode QDMC audio in FFMPEG you need the XXXXX library.

    Here’s the complete list of decoders that my build supports :

    /usr/ffmpeg_builds/ffmpeg -decoders
    ffmpeg version N-81827-g81bab10 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
     configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libx264
     libavutil      55. 32.100 / 55. 32.100
     libavcodec     57. 60.100 / 57. 60.100
     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
    Decoders:
    V..... = Video
    A..... = Audio
    S..... = Subtitle
    .F.... = Frame-level multithreading
    ..S... = Slice-level multithreading
    ...X.. = Codec is experimental
    ....B. = Supports draw_horiz_band
    .....D = Supports direct rendering method 1
    ------
    V....D 012v                 Uncompressed 4:2:2 10-bit
    V....D 4xm                  4X Movie
    V....D 8bps                 QuickTime 8BPS video
    V....D aasc                 Autodesk RLE
    VF...D aic                  Apple Intermediate Codec
    V....D alias_pix            Alias/Wavefront PIX image
    V....D amv                  AMV Video
    V....D anm                  Deluxe Paint Animation
    V....D ansi                 ASCII/ANSI art
    VF...D apng                 APNG (Animated Portable Network Graphics) image
    V....D asv1                 ASUS V1
    V....D asv2                 ASUS V2
    V....D aura                 Auravision AURA
    V....D aura2                Auravision Aura 2
    V....D avrn                 Avid AVI Codec
    V....D avrp                 Avid 1:1 10-bit RGB Packer
    V....D avs                  AVS (Audio Video Standard) video
    V....D avui                 Avid Meridien Uncompressed
    V....D ayuv                 Uncompressed packed MS 4:4:4:4
    V....D bethsoftvid          Bethesda VID video
    V....D bfi                  Brute Force & Ignorance
    V....D binkvideo            Bink video
    V....D bintext              Binary text
    V....D bmp                  BMP (Windows and OS/2 bitmap)
    V....D bmv_video            Discworld II BMV video
    V....D brender_pix          BRender PIX image
    V....D c93                  Interplay C93
    V....D cavs                 Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)
    V....D cdgraphics           CD Graphics video
    V....D cdxl                 Commodore CDXL video
    VF...D cfhd                 Cineform HD
    V....D cinepak              Cinepak
    V....D cljr                 Cirrus Logic AccuPak
    V....D cllc                 Canopus Lossless Codec
    V....D eacmv                Electronic Arts CMV video (codec cmv)
    V....D cpia                 CPiA video format
    V....D camstudio            CamStudio (codec cscd)
    V....D cyuv                 Creative YUV (CYUV)
    V.S..D dds                  DirectDraw Surface image decoder
    V....D dfa                  Chronomaster DFA
    V.S..D dirac                BBC Dirac VC-2
    VFS..D dnxhd                VC3/DNxHD
    V....D dpx                  DPX (Digital Picture Exchange) image
    V....D dsicinvideo          Delphine Software International CIN video
    V.S..D dvvideo              DV (Digital Video)
    V....D dxa                  Feeble Files/ScummVM DXA
    V....D dxtory               Dxtory
    VFS..D dxv                  Resolume DXV
    V....D escape124            Escape 124
    V....D escape130            Escape 130
    VFS..D exr                  OpenEXR image
    VFS..D ffv1                 FFmpeg video codec #1
    VF..BD ffvhuff              Huffyuv FFmpeg variant
    V.S..D fic                  Mirillis FIC
    V....D flashsv              Flash Screen Video v1
    V....D flashsv2             Flash Screen Video v2
    V....D flic                 Autodesk Animator Flic video
    V...BD flv                  FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (codec flv1)
    VF...D fraps                Fraps
    V....D frwu                 Forward Uncompressed
    V....D g2m                  Go2Meeting
    V....D gif                  GIF (Graphics Interchange Format)
    V....D h261                 H.261
    V...BD h263                 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
    V...BD h263i                Intel H.263
    V...BD h263p                H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
    VFS..D h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
    VFS..D hap                  Vidvox Hap decoder
    VFS..D hevc                 HEVC (High Efficiency Video Coding)
    V....D hnm4video            HNM 4 video
    V....D hq_hqa               Canopus HQ/HQA
    V.S..D hqx                  Canopus HQX
    VF..BD huffyuv              Huffyuv / HuffYUV
    V....D idcinvideo           id Quake II CIN video (codec idcin)
    V....D idf                  iCEDraw text
    V....D iff                  IFF ACBM/ANIM/DEEP/ILBM/PBM/RGB8/RGBN (codec iff_ilbm)
    V....D indeo2               Intel Indeo 2
    V....D indeo3               Intel Indeo 3
    V....D indeo4               Intel Indeo Video Interactive 4
    V....D indeo5               Intel Indeo Video Interactive 5
    V....D interplayvideo       Interplay MVE video
    VFS..D jpeg2000             JPEG 2000
    V....D jpegls               JPEG-LS
    V....D jv                   Bitmap Brothers JV video
    V....D kgv1                 Kega Game Video
    V....D kmvc                 Karl Morton's video codec
    VF...D lagarith             Lagarith lossless
    V....D loco                 LOCO
    V....D m101                 Matrox Uncompressed SD
    V....D eamad                Electronic Arts Madcow Video (codec mad)
    VFS..D magicyuv             MagicYUV video
    VF...D mdec                 Sony PlayStation MDEC (Motion DECoder)
    VF...D mimic                Mimic
    V....D mjpeg                MJPEG (Motion JPEG)
    V....D mjpegb               Apple MJPEG-B
    V....D mmvideo              American Laser Games MM Video
    V....D motionpixels         Motion Pixels video
    V.S.BD mpeg1video           MPEG-1 video
    V.S.BD mpeg2video           MPEG-2 video
    V.S.BD mpegvideo            MPEG-1 video (codec mpeg2video)
    VF..BD mpeg4                MPEG-4 part 2
    V....D msa1                 MS ATC Screen
    V...BD msmpeg4v1            MPEG-4 part 2 Microsoft variant version 1
    V...BD msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
    V...BD msmpeg4              MPEG-4 part 2 Microsoft variant version 3 (codec msmpeg4v3)
    V....D msrle                Microsoft RLE
    V....D mss1                 MS Screen 1
    V....D mss2                 MS Windows Media Video V9 Screen
    V....D msvideo1             Microsoft Video 1
    V....D mszh                 LCL (LossLess Codec Library) MSZH
    V....D mts2                 MS Expression Encoder Screen
    V....D mvc1                 Silicon Graphics Motion Video Compressor 1
    V....D mvc2                 Silicon Graphics Motion Video Compressor 2
    V....D mxpeg                Mobotix MxPEG video
    V....D nuv                  NuppelVideo/RTJPEG
    V....D paf_video            Amazing Studio Packed Animation File Video
    V....D pam                  PAM (Portable AnyMap) image
    V....D pbm                  PBM (Portable BitMap) image
    V....D pcx                  PC Paintbrush PCX image
    V....D pgm                  PGM (Portable GrayMap) image
    V....D pgmyuv               PGMYUV (Portable GrayMap YUV) image
    V....D pictor               Pictor/PC Paint
    VF...D png                  PNG (Portable Network Graphics) image
    V....D ppm                  PPM (Portable PixelMap) image
    V.S..D prores               ProRes
    V.S..D prores_lgpl          Apple ProRes (iCodec Pro) (codec prores)
    V....D ptx                  V.Flash PTX image
    V....D qdraw                Apple QuickDraw
    V....D qpeg                 Q-team QPEG
    V....D qtrle                QuickTime Animation (RLE) video
    V....D r10k                 AJA Kona 10-bit RGB Codec
    V....D r210                 Uncompressed RGB 10-bit
    V..... rawvideo             raw video
    V....D rl2                  RL2 video
    V....D roqvideo             id RoQ video (codec roq)
    V....D rpza                 QuickTime video (RPZA)
    V....D rscc                 innoHeim/Rsupport Screen Capture Codec
    V....D rv10                 RealVideo 1.0
    V....D rv20                 RealVideo 2.0
    VF...D rv30                 RealVideo 3.0
    VF...D rv40                 RealVideo 4.0
    V....D sanm                 LucasArts SANM/Smush video
    V....D screenpresso         Screenpresso
    V....D sgi                  SGI image
    V....D sgirle               Silicon Graphics RLE 8-bit video
    VF...D sheervideo           BitJazz SheerVideo
    V....D smackvid             Smacker video (codec smackvideo)
    V....D smc                  QuickTime Graphics (SMC)
    V..... smvjpeg              SMV JPEG
    V....D snow                 Snow
    V....D sp5x                 Sunplus JPEG (SP5X)
    V....D sunrast              Sun Rasterfile image
    V....D svq1                 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
    V...BD svq3                 Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3
    V....D targa                Truevision Targa image
    V....D targa_y216           Pinnacle TARGA CineWave YUV16
    V....D tdsc                 TDSC
    V....D eatgq                Electronic Arts TGQ video (codec tgq)
    V....D eatgv                Electronic Arts TGV video (codec tgv)
    VF..BD theora               Theora
    V....D thp                  Nintendo Gamecube THP video
    V....D tiertexseqvideo      Tiertex Limited SEQ video
    VF...D tiff                 TIFF image
    V....D tmv                  8088flex TMV
    V....D eatqi                Electronic Arts TQI Video (codec tqi)
    V....D truemotion1          Duck TrueMotion 1.0
    V....D truemotion2          Duck TrueMotion 2.0
    V....D truemotion2rt        Duck TrueMotion 2.0 Real Time
    V....D camtasia             TechSmith Screen Capture Codec (codec tscc)
    V....D tscc2                TechSmith Screen Codec 2
    V....D txd                  Renderware TXD (TeXture Dictionary) image
    V....D ultimotion           IBM UltiMotion (codec ulti)
    VF...D utvideo              Ut Video
    V....D v210                 Uncompressed 4:2:2 10-bit
    V....D v210x                Uncompressed 4:2:2 10-bit
    V....D v308                 Uncompressed packed 4:4:4
    V....D v408                 Uncompressed packed QT 4:4:4:4
    V....D v410                 Uncompressed 4:4:4 10-bit
    V....D vb                   Beam Software VB
    VF...D vble                 VBLE Lossless Codec
    V....D vc1                  SMPTE VC-1
    V....D vc1image             Windows Media Video 9 Image v2
    V....D vcr1                 ATI VCR1
    V....D xl                   Miro VideoXL (codec vixl)
    V....D vmdvideo             Sierra VMD video
    V....D vmnc                 VMware Screen Codec / VMware Video
    VF..BD vp3                  On2 VP3
    V....D vp5                  On2 VP5
    V....D vp6                  On2 VP6
    V.S..D vp6a                 On2 VP6 (Flash version, with alpha channel)
    V....D vp6f                 On2 VP6 (Flash version)
    V....D vp7                  On2 VP7
    VFS..D vp8                  On2 VP8
    VF...D vp9                  Google VP9
    VF...D webp                 WebP image
    V...BD wmv1                 Windows Media Video 7
    V...BD wmv2                 Windows Media Video 8
    V....D wmv3                 Windows Media Video 9
    V....D wmv3image            Windows Media Video 9 Image
    V....D wnv1                 Winnov WNV1
    V....D vqavideo             Westwood Studios VQA (Vector Quantized Animation) video (codec ws_vqa)
    V....D xan_wc3              Wing Commander III / Xan
    V....D xan_wc4              Wing Commander IV / Xxan
    V....D xbin                 eXtended BINary text
    V....D xbm                  XBM (X BitMap) image
    V..... xface                X-face image
    V....D xwd                  XWD (X Window Dump) image
    V....D y41p                 Uncompressed YUV 4:1:1 12-bit
    V....D ylc                  YUY2 Lossless Codec
    V..... yop                  Psygnosis YOP Video
    V....D yuv4                 Uncompressed packed 4:2:0
    V....D zerocodec            ZeroCodec Lossless Video
    V....D zlib                 LCL (LossLess Codec Library) ZLIB
    V....D zmbv                 Zip Motion Blocks Video
    A....D 8svx_exp             8SVX exponential
    A....D 8svx_fib             8SVX fibonacci
    A....D aac                  AAC (Advanced Audio Coding)
    A....D aac_fixed            AAC (Advanced Audio Coding) (codec aac)
    A....D libfdk_aac           Fraunhofer FDK AAC (codec aac)
    A....D aac_latm             AAC LATM (Advanced Audio Coding LATM syntax)
    A....D ac3                  ATSC A/52A (AC-3)
    A....D ac3_fixed            ATSC A/52A (AC-3) (codec ac3)
    A....D adpcm_4xm            ADPCM 4X Movie
    A....D adpcm_adx            SEGA CRI ADX ADPCM
    A....D adpcm_afc            ADPCM Nintendo Gamecube AFC
    A....D adpcm_aica           ADPCM Yamaha AICA
    A....D adpcm_ct             ADPCM Creative Technology
    A....D adpcm_dtk            ADPCM Nintendo Gamecube DTK
    A....D adpcm_ea             ADPCM Electronic Arts
    A....D adpcm_ea_maxis_xa    ADPCM Electronic Arts Maxis CDROM XA
    A....D adpcm_ea_r1          ADPCM Electronic Arts R1
    A....D adpcm_ea_r2          ADPCM Electronic Arts R2
    A....D adpcm_ea_r3          ADPCM Electronic Arts R3
    A....D adpcm_ea_xas         ADPCM Electronic Arts XAS
    A....D g722                 G.722 ADPCM (codec adpcm_g722)
    A....D g726                 G.726 ADPCM (codec adpcm_g726)
    A....D g726le               G.726 ADPCM little-endian (codec adpcm_g726le)
    A....D adpcm_ima_amv        ADPCM IMA AMV
    A....D adpcm_ima_apc        ADPCM IMA CRYO APC
    A....D adpcm_ima_dat4       ADPCM IMA Eurocom DAT4
    A....D adpcm_ima_dk3        ADPCM IMA Duck DK3
    A....D adpcm_ima_dk4        ADPCM IMA Duck DK4
    A....D adpcm_ima_ea_eacs    ADPCM IMA Electronic Arts EACS
    A....D adpcm_ima_ea_sead    ADPCM IMA Electronic Arts SEAD
    A....D adpcm_ima_iss        ADPCM IMA Funcom ISS
    A....D adpcm_ima_oki        ADPCM IMA Dialogic OKI
    A....D adpcm_ima_qt         ADPCM IMA QuickTime
    A....D adpcm_ima_rad        ADPCM IMA Radical
    A....D adpcm_ima_smjpeg     ADPCM IMA Loki SDL MJPEG
    A....D adpcm_ima_wav        ADPCM IMA WAV
    A....D adpcm_ima_ws         ADPCM IMA Westwood
    A....D adpcm_ms             ADPCM Microsoft
    A....D adpcm_mtaf           ADPCM MTAF
    A....D adpcm_psx            ADPCM Playstation
    A....D adpcm_sbpro_2        ADPCM Sound Blaster Pro 2-bit
    A....D adpcm_sbpro_3        ADPCM Sound Blaster Pro 2.6-bit
    A....D adpcm_sbpro_4        ADPCM Sound Blaster Pro 4-bit
    A....D adpcm_swf            ADPCM Shockwave Flash
    A....D adpcm_thp            ADPCM Nintendo THP
    A....D adpcm_thp_le         ADPCM Nintendo THP (little-endian)
    A....D adpcm_vima           LucasArts VIMA audio
    A....D adpcm_xa             ADPCM CDROM XA
    A....D adpcm_yamaha         ADPCM Yamaha
    AF...D alac                 ALAC (Apple Lossless Audio Codec)
    A....D amrnb                AMR-NB (Adaptive Multi-Rate NarrowBand) (codec amr_nb)
    A....D amrwb                AMR-WB (Adaptive Multi-Rate WideBand) (codec amr_wb)
    A....D ape                  Monkey's Audio
    A....D atrac1               ATRAC1 (Adaptive TRansform Acoustic Coding)
    A....D atrac3               ATRAC3 (Adaptive TRansform Acoustic Coding 3)
    A....D atrac3plus           ATRAC3+ (Adaptive TRansform Acoustic Coding 3+) (codec atrac3p)
    A....D on2avc               On2 Audio for Video Codec (codec avc)
    A....D binkaudio_dct        Bink Audio (DCT)
    A....D binkaudio_rdft       Bink Audio (RDFT)
    A....D bmv_audio            Discworld II BMV audio
    A....D comfortnoise         RFC 3389 comfort noise generator
    A....D cook                 Cook / Cooker / Gecko (RealAudio G2)
    A..... dsd_lsbf             DSD (Direct Stream Digital), least significant bit first
    A..... dsd_lsbf_planar      DSD (Direct Stream Digital), least significant bit first, planar
    A..... dsd_msbf             DSD (Direct Stream Digital), most significant bit first
    A..... dsd_msbf_planar      DSD (Direct Stream Digital), most significant bit first, planar
    A....D dsicinaudio          Delphine Software International CIN audio
    A....D dss_sp               Digital Speech Standard - Standard Play mode (DSS SP)
    A....D dst                  DST (Digital Stream Transfer)
    A....D dca                  DCA (DTS Coherent Acoustics) (codec dts)
    A....D dvaudio              Ulead DV Audio
    A....D eac3                 ATSC A/52B (AC-3, E-AC-3)
    A....D evrc                 EVRC (Enhanced Variable Rate Codec)
    AF...D flac                 FLAC (Free Lossless Audio Codec)
    A....D g723_1               G.723.1
    A....D g729                 G.729
    A....D gsm                  GSM
    A....D gsm_ms               GSM Microsoft variant
    A....D iac                  IAC (Indeo Audio Coder)
    A....D imc                  IMC (Intel Music Coder)
    A....D interplay_dpcm       DPCM Interplay
    A....D interplayacm         Interplay ACM
    A....D mace3                MACE (Macintosh Audio Compression/Expansion) 3:1
    A....D mace6                MACE (Macintosh Audio Compression/Expansion) 6:1
    A....D metasound            Voxware MetaSound
    A....D mlp                  MLP (Meridian Lossless Packing)
    A....D mp1                  MP1 (MPEG audio layer 1)
    A....D mp1float             MP1 (MPEG audio layer 1) (codec mp1)
    A....D mp2                  MP2 (MPEG audio layer 2)
    A....D mp2float             MP2 (MPEG audio layer 2) (codec mp2)
    A....D mp3                  MP3 (MPEG audio layer 3)
    A....D mp3float             MP3 (MPEG audio layer 3) (codec mp3)
    A....D mp3adu               ADU (Application Data Unit) MP3 (MPEG audio layer 3)
    A....D mp3adufloat          ADU (Application Data Unit) MP3 (MPEG audio layer 3) (codec mp3adu)
    A....D mp3on4               MP3onMP4
    A....D mp3on4float          MP3onMP4 (codec mp3on4)
    A....D als                  MPEG-4 Audio Lossless Coding (ALS) (codec mp4als)
    A....D mpc7                 Musepack SV7 (codec musepack7)
    A....D mpc8                 Musepack SV8 (codec musepack8)
    A....D nellymoser           Nellymoser Asao
    A....D opus                 Opus
    A....D paf_audio            Amazing Studio Packed Animation File Audio
    A....D pcm_alaw             PCM A-law / G.711 A-law
    A....D pcm_bluray           PCM signed 16|20|24-bit big-endian for Blu-ray media
    A....D pcm_dvd              PCM signed 16|20|24-bit big-endian for DVD media
    A....D pcm_f32be            PCM 32-bit floating point big-endian
    A....D pcm_f32le            PCM 32-bit floating point little-endian
    A....D pcm_f64be            PCM 64-bit floating point big-endian
    A....D pcm_f64le            PCM 64-bit floating point little-endian
    A....D pcm_lxf              PCM signed 20-bit little-endian planar
    A....D pcm_mulaw            PCM mu-law / G.711 mu-law
    A....D pcm_s16be            PCM signed 16-bit big-endian
    A....D pcm_s16be_planar     PCM signed 16-bit big-endian planar
    A....D pcm_s16le            PCM signed 16-bit little-endian
    A....D pcm_s16le_planar     PCM signed 16-bit little-endian planar
    A....D pcm_s24be            PCM signed 24-bit big-endian
    A....D pcm_s24daud          PCM D-Cinema audio signed 24-bit
    A....D pcm_s24le            PCM signed 24-bit little-endian
    A....D pcm_s24le_planar     PCM signed 24-bit little-endian planar
    A....D pcm_s32be            PCM signed 32-bit big-endian
    A....D pcm_s32le            PCM signed 32-bit little-endian
    A....D pcm_s32le_planar     PCM signed 32-bit little-endian planar
    A....D pcm_s64be            PCM signed 64-bit big-endian
    A....D pcm_s64le            PCM signed 64-bit little-endian
    A....D pcm_s8               PCM signed 8-bit
    A....D pcm_s8_planar        PCM signed 8-bit planar
    A....D pcm_u16be            PCM unsigned 16-bit big-endian
    A....D pcm_u16le            PCM unsigned 16-bit little-endian
    A....D pcm_u24be            PCM unsigned 24-bit big-endian
    A....D pcm_u24le            PCM unsigned 24-bit little-endian
    A....D pcm_u32be            PCM unsigned 32-bit big-endian
    A....D pcm_u32le            PCM unsigned 32-bit little-endian
    A....D pcm_u8               PCM unsigned 8-bit
    A....D pcm_zork             PCM Zork
    A....D qcelp                QCELP / PureVoice
    A....D qdm2                 QDesign Music Codec 2
    A....D real_144             RealAudio 1.0 (14.4K) (codec ra_144)
    A....D real_288             RealAudio 2.0 (28.8K) (codec ra_288)
    A....D ralf                 RealAudio Lossless
    A....D roq_dpcm             DPCM id RoQ
    A....D s302m                SMPTE 302M
    A....D sdx2_dpcm            DPCM Squareroot-Delta-Exact
    A....D shorten              Shorten
    A....D sipr                 RealAudio SIPR / ACELP.NET
    A....D smackaud             Smacker audio (codec smackaudio)
    A....D sol_dpcm             DPCM Sol
    A..X.D sonic                Sonic
    AF...D tak                  TAK (Tom's lossless Audio Kompressor)
    A....D truehd               TrueHD
    A....D truespeech           DSP Group TrueSpeech
    AF...D tta                  TTA (True Audio)
    A....D twinvq               VQF TwinVQ
    A....D vmdaudio             Sierra VMD audio
    A....D vorbis               Vorbis
    A....D wavesynth            Wave synthesis pseudo-codec
    AF...D wavpack              WavPack
    A....D ws_snd1              Westwood Audio (SND1) (codec westwood_snd1)
    A....D wmalossless          Windows Media Audio Lossless
    A....D wmapro               Windows Media Audio 9 Professional
    A....D wmav1                Windows Media Audio 1
    A....D wmav2                Windows Media Audio 2
    A....D wmavoice             Windows Media Audio Voice
    A....D xan_dpcm             DPCM Xan
    A....D xma1                 Xbox Media Audio 1
    A....D xma2                 Xbox Media Audio 2
    S..... ssa                  ASS (Advanced SubStation Alpha) subtitle (codec ass)
    S..... ass                  ASS (Advanced SubStation Alpha) subtitle
    S..... dvbsub               DVB subtitles (codec dvb_subtitle)
    S..... dvdsub               DVD subtitles (codec dvd_subtitle)
    S..... cc_dec               Closed Caption (EIA-608 / CEA-708) Decoder (codec eia_608)
    S..... pgssub               HDMV Presentation Graphic Stream subtitles (codec hdmv_pgs_subtitle)
    S..... jacosub              JACOsub subtitle
    S..... microdvd             MicroDVD subtitle
    S..... mov_text             3GPP Timed Text subtitle
    S..... mpl2                 MPL2 subtitle
    S..... pjs                  PJS subtitle
    S..... realtext             RealText subtitle
    S..... sami                 SAMI subtitle
    S..... stl                  Spruce subtitle format
    S..... srt                  SubRip subtitle (codec subrip)
    S..... subrip               SubRip subtitle
    S..... subviewer            SubViewer subtitle
    S..... subviewer1           SubViewer1 subtitle
    S..... text                 Raw text subtitle
    S..... vplayer              VPlayer subtitle
    S..... webvtt               WebVTT subtitle
    S..... xsub                 XSUB

    Any idea what I did wrong when building FFMPEG ?

    Here’s a link to the video file that caused the problem : step-2.mov

  • 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