Recherche avancée

Médias (91)

Autres articles (106)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • 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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (8610)

  • Wrong video duration when recording with ffmpeg

    4 octobre 2018, par lulas

    I am trying to record a H264 video using ffmpeg.

    In order to do this, I am grabbing frames from a video source and pushing them into a pipe that FFmpeg reads from and afterwards writes to a file.

    My problem is that when I record a 10 second video, the file contains the full video sped up, being the final duration 3 seconds...

    I believe the problem I am having might be related with the frame rate, since I am saying to record with 30 FPS, but I can only provide 10 FPS.

    These are the options I use with FFmpeg :

    -thread_queue_size 512 -framerate 30 -f rawvideo -pix_fmt rgb32 -video_size 1920x1080 -i \.\pipe\pipe_name -vcodec libx264 -crf 23 -pix_fmt yuv420p -preset ultrafast -r 30 "output.mp4"

    And these are the FFmpeg logs :

    2018-10-04 15:56:11.9342 | INFO  | ffmpeg version N-91715-gd71dfc087b Copyright (c) 2000-2018 the FFmpeg developers
    2018-10-04 15:56:11.9402 | INFO  |   built with gcc 8.2.1 (GCC) 20180813
    2018-10-04 15:56:11.9402 | INFO  |   configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
    2018-10-04 15:56:11.9402 | INFO  |   libavutil      56. 19.100 / 56. 19.100
    2018-10-04 15:56:11.9542 | INFO  |   libavcodec     58. 27.100 / 58. 27.100
    2018-10-04 15:56:11.9542 | INFO  |   libavformat    58. 17.103 / 58. 17.103
    2018-10-04 15:56:11.9728 | INFO  |   libavdevice    58.  4.101 / 58.  4.101
    2018-10-04 15:56:11.9728 | INFO  |   libavfilter     7. 26.100 /  7. 26.100
    2018-10-04 15:56:11.9999 | INFO  |   libswscale      5.  2.100 /  5.  2.100
    2018-10-04 15:56:12.0239 | INFO  |   libswresample   3.  2.100 /  3.  2.100
    2018-10-04 15:56:12.0239 | INFO  |   libpostproc    55.  2.100 / 55.  2.100
    2018-10-04 15:56:12.0350 | INFO  | Input #0, rawvideo, from '\\.\pipe\pipe_name':
    2018-10-04 15:56:12.0350 | INFO  |   Duration: N/A, start: 0.000000, bitrate: 1990656 kb/s
    2018-10-04 15:56:12.0350 | INFO  |     Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 1920x1080, 1990656 kb/s, 30 tbr, 30 tbn, 30 tbc
    2018-10-04 15:56:12.0481 | INFO  | Stream mapping:
    2018-10-04 15:56:12.0481 | INFO  |   Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    2018-10-04 15:56:12.0691 | INFO  | Press [q] to stop, [?] for help
    2018-10-04 15:56:12.0881 | INFO  | [libx264 @ 000001bceea618c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    2018-10-04 15:56:12.0881 | INFO  | [libx264 @ 000001bceea618c0] profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
    2018-10-04 15:56:12.0951 | INFO  | [libx264 @ 000001bceea618c0] 264 - core 157 r2932 303c484 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 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=30.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    2018-10-04 15:56:12.0951 | INFO  | Output #0, mp4, to 'output.mp4':
    2018-10-04 15:56:12.0951 | INFO  |   Metadata:
    2018-10-04 15:56:12.0951 | INFO  |     encoder         : Lavf58.17.103
    2018-10-04 15:56:12.0951 | INFO  |     Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1920x1080, q=-1--1, 30 fps, 15360 tbn, 30 tbc
    2018-10-04 15:56:12.1171 | INFO  |     Metadata:
    2018-10-04 15:56:12.1171 | INFO  |       encoder         : Lavc58.27.100 libx264
    2018-10-04 15:56:12.1531 | INFO  |     Side data:
    2018-10-04 15:56:12.1691 | INFO  |       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    2018-10-04 15:56:12.8750 | INFO  | frame=    8 fps=0.0 q=31.0 size=       0kB time=00:00:00.00 bitrate=5907.7kbits/s speed=0.000121x    
    2018-10-04 15:56:13.3238 | INFO  | frame=   11 fps=9.9 q=31.0 size=       0kB time=00:00:00.10 bitrate=   3.8kbits/s speed=0.0904x    
    2018-10-04 15:56:13.7782 | INFO  | frame=   16 fps=9.5 q=31.0 size=       0kB time=00:00:00.26 bitrate=   1.4kbits/s speed=0.159x    
    2018-10-04 15:56:14.2346 | INFO  | frame=   21 fps=9.5 q=31.0 size=       0kB time=00:00:00.43 bitrate=   0.9kbits/s speed=0.197x    
    2018-10-04 15:56:14.8011 | INFO  | frame=   27 fps=9.7 q=31.0 size=       0kB time=00:00:00.63 bitrate=   0.6kbits/s speed=0.229x    
    2018-10-04 15:56:15.4266 | INFO  | frame=   33 fps=9.7 q=32.0 size=       0kB time=00:00:00.83 bitrate=   0.5kbits/s speed=0.246x    
    2018-10-04 15:56:16.0827 | INFO  | frame=   39 fps=9.6 q=31.0 size=     256kB time=00:00:01.03 bitrate=2029.7kbits/s speed=0.255x    
    2018-10-04 15:56:16.7291 | INFO  | frame=   47 fps= 10 q=31.0 size=     256kB time=00:00:01.30 bitrate=1613.4kbits/s speed=0.277x    
    2018-10-04 15:56:17.4279 | INFO  | frame=   54 fps= 10 q=31.0 size=     256kB time=00:00:01.53 bitrate=1367.9kbits/s speed=0.284x    
    2018-10-04 15:56:18.0562 | INFO  | frame=   61 fps= 10 q=31.0 size=     512kB time=00:00:01.76 bitrate=2374.3kbits/s speed=0.298x    
    2018-10-04 15:56:18.5401 | INFO  | frame=   64 fps=9.9 q=31.0 size=     512kB time=00:00:01.86 bitrate=2247.1kbits/s speed=0.287x    
    2018-10-04 15:56:19.2106 | INFO  | frame=   70 fps=9.9 q=32.0 size=     512kB time=00:00:02.06 bitrate=2029.6kbits/s speed=0.293x    
    2018-10-04 15:56:19.6653 | INFO  | frame=   75 fps=9.9 q=31.0 size=     512kB time=00:00:02.23 bitrate=1878.2kbits/s speed=0.294x    
    2018-10-04 15:56:20.1512 | INFO  | frame=   78 fps=9.6 q=31.0 size=     512kB time=00:00:02.33 bitrate=1797.7kbits/s speed=0.287x    
    2018-10-04 15:56:21.0577 | INFO  | frame=   84 fps=9.3 q=31.0 size=     768kB time=00:00:02.53 bitrate=2483.6kbits/s speed=0.281x    
    2018-10-04 15:56:21.6416 | INFO  | frame=   91 fps=9.5 q=31.0 size=     768kB time=00:00:02.76 bitrate=2274.1kbits/s speed=0.29x    
    2018-10-04 15:56:22.1779 | INFO  | frame=   97 fps=9.6 q=31.0 size=     768kB time=00:00:02.96 bitrate=2120.8kbits/s speed=0.295x    
    2018-10-04 15:56:22.6571 | INFO  | frame=  101 fps=9.5 q=-1.0 Lsize=    1015kB time=00:00:03.33 bitrate=2495.6kbits/s speed=0.313x    
    2018-10-04 15:56:22.6571 | INFO  | video:1014kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.117556%
    2018-10-04 15:56:22.6571 | INFO  | [libx264 @ 000001bceea618c0] frame I:1     Avg QP:27.00  size: 60682
    2018-10-04 15:56:22.6571 | INFO  | [libx264 @ 000001bceea618c0] frame P:100   Avg QP:31.09  size:  9774
    2018-10-04 15:56:22.6571 | INFO  | [libx264 @ 000001bceea618c0] mb I  I16..4: 100.0%  0.0%  0.0%
    2018-10-04 15:56:22.6736 | INFO  | [libx264 @ 000001bceea618c0] mb P  I16..4: 10.6%  0.0%  0.0%  P16..4: 15.2%  0.0%  0.0%  0.0%  0.0%    skip:74.3%
    2018-10-04 15:56:22.6736 | INFO  | [libx264 @ 000001bceea618c0] coded y,uvDC,uvAC intra: 15.8% 24.4% 1.4% inter: 4.8% 6.8% 0.0%
    2018-10-04 15:56:22.6736 | INFO  | [libx264 @ 000001bceea618c0] i16 v,h,dc,p: 39% 20% 15% 26%
    2018-10-04 15:56:22.6736 | INFO  | [libx264 @ 000001bceea618c0] i8c dc,h,v,p: 54% 19% 20%  7%
    2018-10-04 15:56:22.6896 | INFO  | [libx264 @ 000001bceea618c0] kb/s:2466.66

    So, through the logs I can see that I provided around 100 frames in 10 seconds, but FFmpeg wrote all those 100 frames in 3 seconds...

    What can I do to write the 100 frames spread in the 10 seconds ?

    I looked into a FFmpeg option called -vsync, but haven’t had any success with it.

  • Ruby on Rails - Paperclip - ffmpeg - throws error when adding style to "has_attached_file"

    4 octobre 2018, par TamerB

    I’m working on image and video upload in a rails app using paperclip and ffmpeg.

    The following code in models/image.rb is working fine :

    has_attached_file :image,
    processors: [:ffmpeg]
    validates_attachment_content_type :image, content_type: /.*/

    But, when I add styling to the code as follows, it throws an error on (page loading) :

    has_attached_file :image, styles: lambda {|a| if a.instance.is_image? then {original: {}, medium: "300x300>"} end},
    processors: [:ffmpeg]
    validates_attachment_content_type :image, content_type: /.*/

    def is_image?
     return false unless @attachment_image.content_type
     ['image/jpeg', 'image/pjpeg', 'image/gif', 'image/png', 'image/x-png', 'image/jpg'].include?(@attachment_image.content_type)
    end

    The error is as follows :

    F, [2018-10-04T15:04:47.381706 #9836] FATAL -- : [643e7428-d41e-4000-9a48-566d85e7b109]  
    F, [2018-10-04T15:04:47.381906 #9836] FATAL -- : [643e7428-d41e-4000-9a48-566d85e7b109] ActionView::Template::Error (undefined method `each_pair' for nil:NilClass):
    F, [2018-10-04T15:04:47.382186 #9836] FATAL -- : [643e7428-d41e-4000-9a48-566d85e7b109]     1: insert_tag renderer_for(:show)
    F, [2018-10-04T15:04:47.382345 #9836] FATAL -- : [643e7428-d41e-4000-9a48-566d85e7b109]  
    F, [2018-10-04T15:04:47.382441 #9836] FATAL -- : [643e7428-d41e-4000-9a48-566d85e7b109] app/admin/resorts.rb:46:in `block (5 levels) in <top>'
    </top>

    How can I solve this ?

    Update

    This error is displayed only when trying to upload a video or or trying to load a page containing a video.

    The code in pp/admin/resorts.rb mentioned in the error message is the following (I’m using activeadmin gem) :

    if im.itype == 'video-slider' then
       video_tag im.image, class: 'my_image_size' # line 46
    else
       image_tag im.image, class: 'my_image_size'
    end

    When trying to upload an image, the error changed to be as follows () :

    Input #0, image2, from '/tmp/dcdc7c452102ec2b9255973f59b40ee320181004-23173-fx7vzi.jpg':
    Duration: 00:00:00.04, start: 0.000000, bitrate: 35614 kb/s
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1920x1080, 25 tbr, 25 tbn, 25 tbc
    [NULL @ 0x564aeb7df580] Unable to find a suitable output format for '/tmp/dcdc7c452102ec2b9255973f59b40ee320181004-23173-fx7vzi20181004-23173-zurkvx'
    /tmp/dcdc7c452102ec2b9255973f59b40ee320181004-23173-fx7vzi20181004-23173-zurkvx: Invalid argument
    ):
    F, [2018-10-04T19:13:02.028565 #23173] FATAL -- : [c267e57b-7e06-4624-be1c-0d9aa4b71e00]  
    F, [2018-10-04T19:13:02.028730 #23173] FATAL -- : [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip-ffmpeg (1.2.0) lib/paperclip_processors/ffmpeg.rb:175:in `rescue in make'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip-ffmpeg (1.2.0) lib/paperclip_processors/ffmpeg.rb:171:in `make'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/processor.rb:34:in `make'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:533:in `block in post_process_style'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:532:in `each'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:532:in `reduce'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:532:in `post_process_style'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:519:in `post_process_styles'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:512:in `block (2 levels) in post_process'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/callbacks.rb:131:in `run_callbacks'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/callbacks.rb:38:in `run_paperclip_callbacks'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:510:in `block in post_process'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/callbacks.rb:97:in `run_callbacks'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/callbacks.rb:38:in `run_paperclip_callbacks'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:509:in `post_process'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:465:in `post_process_file'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/attachment.rb:113:in `assign'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] paperclip (5.2.1) lib/paperclip/has_attached_file.rb:66:in `block in define_setter'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activemodel (5.1.5) lib/active_model/attribute_assignment.rb:46:in `public_send'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activemodel (5.1.5) lib/active_model/attribute_assignment.rb:46:in `_assign_attribute'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activemodel (5.1.5) lib/active_model/attribute_assignment.rb:40:in `block in _assign_attributes'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activemodel (5.1.5) lib/active_model/attribute_assignment.rb:39:in `each'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activemodel (5.1.5) lib/active_model/attribute_assignment.rb:39:in `_assign_attributes'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activerecord (5.1.5) lib/active_record/attribute_assignment.rb:26:in `_assign_attributes'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activemodel (5.1.5) lib/active_model/attribute_assignment.rb:33:in `assign_attributes'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activerecord (5.1.5) lib/active_record/core.rb:337:in `initialize'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activerecord (5.1.5) lib/active_record/inheritance.rb:66:in `new'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activerecord (5.1.5) lib/active_record/inheritance.rb:66:in `new'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activeadmin (1.1.0) lib/active_admin/resource_controller/data_access.rb:130:in `build_new_resource'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activeadmin (1.1.0) lib/active_admin/resource_controller/data_access.rb:116:in `build_resource'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] inherited_resources (1.8.0) lib/inherited_resources/actions.rb:31:in `create'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/abstract_controller/base.rb:186:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal/rendering.rb:30:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/callbacks.rb:131:in `run_callbacks'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/abstract_controller/callbacks.rb:19:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal/rescue.rb:20:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/notifications.rb:166:in `block in instrument'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/notifications.rb:166:in `instrument'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] searchkick (3.0.0) lib/searchkick/logging.rb:209:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activerecord (5.1.5) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/abstract_controller/base.rb:124:in `process'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionview (5.1.5) lib/action_view/rendering.rb:30:in `process'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal.rb:189:in `dispatch'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_controller/metal.rb:253:in `dispatch'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/routing/route_set.rb:31:in `serve'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/journey/router.rb:50:in `block in serve'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/journey/router.rb:33:in `each'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/journey/router.rb:33:in `serve'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/routing/route_set.rb:844:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] omniauth (1.8.1) lib/omniauth/strategy.rb:190:in `call!'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] omniauth (1.8.1) lib/omniauth/strategy.rb:168:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] omniauth (1.8.1) lib/omniauth/strategy.rb:190:in `call!'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] omniauth (1.8.1) lib/omniauth/strategy.rb:168:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] omniauth (1.8.1) lib/omniauth/strategy.rb:190:in `call!'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] omniauth (1.8.1) lib/omniauth/strategy.rb:168:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] warden (1.2.7) lib/warden/manager.rb:35:in `catch'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] warden (1.2.7) lib/warden/manager.rb:35:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/etag.rb:25:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/conditional_get.rb:38:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/head.rb:12:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/cookies.rb:613:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activerecord (5.1.5) lib/active_record/migration.rb:556:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/callbacks.rb:97:in `run_callbacks'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] web-console (3.5.1) lib/web_console/middleware.rb:135:in `call_app'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] web-console (3.5.1) lib/web_console/middleware.rb:28:in `block in call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] web-console (3.5.1) lib/web_console/middleware.rb:18:in `catch'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] web-console (3.5.1) lib/web_console/middleware.rb:18:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] railties (5.1.5) lib/rails/rack/logger.rb:36:in `call_app'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] railties (5.1.5) lib/rails/rack/logger.rb:24:in `block in call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/tagged_logging.rb:69:in `block in tagged'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/tagged_logging.rb:26:in `tagged'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/tagged_logging.rb:69:in `tagged'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] railties (5.1.5) lib/rails/rack/logger.rb:24:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] request_store (1.4.0) lib/request_store/middleware.rb:19:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/request_id.rb:25:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/method_override.rb:22:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/runtime.rb:22:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] activesupport (5.1.5) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/executor.rb:12:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] actionpack (5.1.5) lib/action_dispatch/middleware/static.rb:125:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] railties (5.1.5) lib/rails/engine.rb:522:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] puma (3.11.2) lib/puma/configuration.rb:225:in `call'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] puma (3.11.2) lib/puma/server.rb:624:in `handle_request'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] puma (3.11.2) lib/puma/server.rb:438:in `process_client'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] puma (3.11.2) lib/puma/server.rb:302:in `block in run'
    [c267e57b-7e06-4624-be1c-0d9aa4b71e00] puma (3.11.2) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
  • Failing to build ffmpeg for Android

    3 octobre 2018, par Hamed Momeni

    I’m trying build the ffmpeg sources for Android using two different approaches :

    1. https://yesimroy.gitbooks.io/android-note/content/compile_ffmpeg_for_android.html
    2. https://github.com/Khang-NT/ffmpeg-binary-android

    The problem here is that I am facing a somewhat similar problem in both the approaches so I guess the problem lies not with those scripts but there is some thing off in my environment. Here are the outputs of both build scripts :

    For approach #1 :

    /home/hamed/dev/android-tools/android-sdk-linux/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/bin/i686-linux-android-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from Git.  If the latest version fails, report the problem to the
    ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "conflog.txt" produced by configure as this will help
    solve the problem.
    Makefile:2: ffbuild/config.mak: No such file or directory
    Makefile:40: /tools/Makefile: No such file or directory
    Makefile:41: /ffbuild/common.mak: No such file or directory
    Makefile:90: /libavutil/Makefile: No such file or directory
    Makefile:90: /ffbuild/library.mak: No such file or directory
    Makefile:92: /fftools/Makefile: No such file or directory
    Makefile:93: /doc/Makefile: No such file or directory
    Makefile:94: /doc/examples/Makefile: No such file or directory
    Makefile:159: /tests/Makefile: No such file or directory
    make: *** No rule to make target '/tests/Makefile'.  Stop.
    Makefile:2: ffbuild/config.mak: No such file or directory
    Makefile:40: /tools/Makefile: No such file or directory
    Makefile:41: /ffbuild/common.mak: No such file or directory
    Makefile:90: /libavutil/Makefile: No such file or directory
    Makefile:90: /ffbuild/library.mak: No such file or directory
    Makefile:92: /fftools/Makefile: No such file or directory
    Makefile:93: /doc/Makefile: No such file or directory
    Makefile:94: /doc/examples/Makefile: No such file or directory
    Makefile:159: /tests/Makefile: No such file or directory
    make: *** No rule to make target '/tests/Makefile'.  Stop.
    Makefile:2: ffbuild/config.mak: No such file or directory
    Makefile:40: /tools/Makefile: No such file or directory
    Makefile:41: /ffbuild/common.mak: No such file or directory
    Makefile:90: /libavutil/Makefile: No such file or directory
    Makefile:90: /ffbuild/library.mak: No such file or directory
    Makefile:92: /fftools/Makefile: No such file or directory
    Makefile:93: /doc/Makefile: No such file or directory
    Makefile:94: /doc/examples/Makefile: No such file or directory
    Makefile:159: /tests/Makefile: No such file or directory
    make: *** No rule to make target '/tests/Makefile'.  Stop.
    Android X86 builds finished

    And for approach #2 :

    checking how to print strings... printf
    checking for style of include used by make... GNU
    checking for arm-linux-androideabi-gcc... /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
    checking whether the C compiler works... no
    configure: error: in `/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5':
    configure: error: C compiler cannot create executables

    I even tried redownloading the NDK fearing that the gcc compiler was corrupt but still the same error line appears.

    And this is the config.log file from the OPUS module of the second approach :

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by opus configure 1.1.5, which was
    generated by GNU Autoconf 2.69.  Invocation command line was

     $ ./configure -v --prefix=/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir --host=arm-linux-androideabi --enable-static --disable-shared --disable-doc --disable-extra-programs

    ## --------- ##
    ## Platform. ##
    ## --------- ##

    hostname = putech-laptop
    uname -m = x86_64
    uname -r = 4.15.0-36-generic
    uname -s = Linux
    uname -v = #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018

    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown

    /bin/arch              = unknown
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown

    PATH: /home/hamed/.local/bin
    PATH: /home/hamed/.local/bin
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/games
    PATH: /usr/local/games
    PATH: /snap/bin
    PATH: /home/hamed/dev/go/bin
    PATH: /home/hamed/dev/android-tools/android-sdk-linux/platform-tools/
    PATH: /home/hamed/dev/go/bin
    PATH: /home/hamed/dev/android-tools/android-sdk-linux/platform-tools/
    PATH: /home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir/bin/


    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##

    configure:2354: checking whether make supports nested variables
    configure:2371: result: yes
    configure:2437: checking for a BSD-compatible install
    configure:2505: result: /usr/bin/install -c
    configure:2516: checking whether build environment is sane
    configure:2571: result: yes
    configure:2630: checking for arm-linux-androideabi-strip
    configure:2657: result: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
    configure:2722: checking for a thread-safe mkdir -p
    configure:2761: result: /bin/mkdir -p
    configure:2768: checking for gawk
    configure:2798: result: no
    configure:2768: checking for mawk
    configure:2784: found /usr/bin/mawk
    configure:2795: result: mawk
    configure:2806: checking whether make sets $(MAKE)
    configure:2828: result: yes
    configure:2953: checking whether to enable maintainer-specific portions of Makefiles
    configure:2962: result: yes
    configure:2980: checking build system type
    configure:2994: result: x86_64-unknown-linux-gnu
    configure:3014: checking host system type
    configure:3027: result: arm-unknown-linux-androideabi
    configure:3099: checking how to print strings
    configure:3126: result: printf
    configure:3159: checking for style of include used by make
    configure:3187: result: GNU
    configure:3218: checking for arm-linux-androideabi-gcc
    configure:3245: result: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
    configure:3514: checking for C compiler version
    configure:3523: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --version >&amp;5
    Android (4751641 based on r328903) clang version 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) (based on LLVM 7.0.2svn)
    Target: arm--linux-android
    Thread model: posix
    InstalledDir: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../../../../llvm/prebuilt/linux-x86_64/bin
    configure:3534: $? = 0
    configure:3523: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -v >&amp;5
    Android (4751641 based on r328903) clang version 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) (based on LLVM 7.0.2svn)
    Target: arm--linux-android
    Thread model: posix
    InstalledDir: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../../../../llvm/prebuilt/linux-x86_64/bin
    configure:3534: $? = 0
    configure:3523: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -V >&amp;5
    clang: error: argument to '-V' is missing (expected 1 value)
    clang: error: no input files
    configure:3534: $? = 1
    configure:3523: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -qversion >&amp;5
    clang: error: unknown argument '-qversion', did you mean '--version'?
    clang: error: no input files
    configure:3534: $? = 1
    configure:3554: checking whether the C compiler works
    configure:3576: /home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -mfloat-abi=softfp -marm -march=armv7-a -Os -O3   -I/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir/include --sysroot=/home/hamed/dev/android-tools/android-ndk-r18/platforms/android-16/arch-arm/ -fPIE  --sysroot=/home/hamed/dev/android-tools/android-ndk-r18/platforms/android-16/arch-arm/  -L/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir/lib -fPIE -pie  conftest.c  >&amp;5
    /usr/bin/ld: unrecognised emulation mode: armelf_linux_eabi
    Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om i386pep i386pe
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    configure:3580: $? = 1
    configure:3618: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "opus"
    | #define PACKAGE_TARNAME "opus"
    | #define PACKAGE_VERSION "1.1.5"
    | #define PACKAGE_STRING "opus 1.1.5"
    | #define PACKAGE_BUGREPORT "opus@xiph.org"
    | #define PACKAGE_URL ""
    | /* end confdefs.h.  */
    |
    | int
    | main ()
    | {
    |
    |   ;
    |   return 0;
    | }
    configure:3623: error: in `/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5':
    configure:3625: error: C compiler cannot create executables
    See `config.log' for more details

    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##

    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_ARM_NEON_INTR_CFLAGS_set=
    ac_cv_env_ARM_NEON_INTR_CFLAGS_value=
    ac_cv_env_CCASFLAGS_set=
    ac_cv_env_CCASFLAGS_value=
    ac_cv_env_CCAS_set=
    ac_cv_env_CCAS_value=
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value=/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-mfloat-abi=softfp -marm -march=armv7-a -Os -O3   -I/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir/include --sysroot=/home/hamed/dev/android-tools/android-ndk-r18/platforms/android-16/arch-arm/ -fPIE '
    ac_cv_env_CPPFLAGS_set=set
    ac_cv_env_CPPFLAGS_value='--sysroot=/home/hamed/dev/android-tools/android-ndk-r18/platforms/android-16/arch-arm/ '
    ac_cv_env_CPP_set=set
    ac_cv_env_CPP_value=/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-cpp
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-L/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir/lib -fPIE -pie '
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_LT_SYS_LIBRARY_PATH_set=
    ac_cv_env_LT_SYS_LIBRARY_PATH_value=
    ac_cv_env_X86_AVX_CFLAGS_set=
    ac_cv_env_X86_AVX_CFLAGS_value=
    ac_cv_env_X86_SSE2_CFLAGS_set=
    ac_cv_env_X86_SSE2_CFLAGS_value=
    ac_cv_env_X86_SSE4_1_CFLAGS_set=
    ac_cv_env_X86_SSE4_1_CFLAGS_value=
    ac_cv_env_X86_SSE_CFLAGS_set=
    ac_cv_env_X86_SSE_CFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=set
    ac_cv_env_host_alias_value=arm-linux-androideabi
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=arm-unknown-linux-androideabi
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=mawk
    ac_cv_prog_CC=/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
    ac_cv_prog_STRIP=/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip
    ac_cv_prog_make_make_set=yes
    am_cv_make_support_nested_variables=yes

    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##

    ACLOCAL='${SHELL} /home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5/missing aclocal-1.15'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='$${TAR-tar}'
    AM_BACKSLASH='\'
    AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
    AM_DEFAULT_VERBOSITY='0'
    AM_V='$(V)'
    AR='/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar'
    ARM2GNU_PARAMS=''
    ARM_NEON_INTR_CFLAGS=''
    AUTOCONF='${SHELL} /home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5/missing autoconf'
    AUTOHEADER='${SHELL} /home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5/missing autoheader'
    AUTOMAKE='${SHELL} /home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5/missing automake-1.15'
    AWK='mawk'
    CC='/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc'
    CCAS=''
    CCASDEPMODE=''
    CCASFLAGS=''
    CCDEPMODE=''
    CFLAGS='-mfloat-abi=softfp -marm -march=armv7-a -Os -O3   -I/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir/include --sysroot=/home/hamed/dev/android-tools/android-ndk-r18/platforms/android-16/arch-arm/ -fPIE '
    CPP='/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-cpp'
    CPPFLAGS='--sysroot=/home/hamed/dev/android-tools/android-ndk-r18/platforms/android-16/arch-arm/ '
    CPU_ARM_FALSE=''
    CPU_ARM_TRUE=''
    CUSTOM_MODES_FALSE=''
    CUSTOM_MODES_TRUE=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    DISABLE_FLOAT_API_FALSE=''
    DISABLE_FLOAT_API_TRUE=''
    DLLTOOL=''
    DSYMUTIL=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    EXTRA_PROGRAMS_FALSE=''
    EXTRA_PROGRAMS_TRUE=''
    FGREP=''
    FIXED_POINT_FALSE=''
    FIXED_POINT_TRUE=''
    GREP=''
    HAVE_ARM_NE10=''
    HAVE_ARM_NE10_FALSE=''
    HAVE_ARM_NE10_TRUE=''
    HAVE_ARM_NEON_INTR_FALSE=''
    HAVE_ARM_NEON_INTR_TRUE=''
    HAVE_AVX_FALSE=''
    HAVE_AVX_TRUE=''
    HAVE_DOXYGEN=''
    HAVE_DOXYGEN_FALSE=''
    HAVE_DOXYGEN_TRUE=''
    HAVE_PERL=''
    HAVE_SSE2_FALSE=''
    HAVE_SSE2_TRUE=''
    HAVE_SSE4_1_FALSE=''
    HAVE_SSE4_1_TRUE=''
    HAVE_SSE_FALSE=''
    HAVE_SSE_TRUE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LD='/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ld'
    LDFLAGS='-L/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir/lib -fPIE -pie '
    LIBM=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LN_S=''
    LTLIBOBJS=''
    LT_SYS_LIBRARY_PATH=''
    MAINT=''
    MAINTAINER_MODE_FALSE='#'
    MAINTAINER_MODE_TRUE=''
    MAKEINFO='${SHELL} /home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5/missing makeinfo'
    MANIFEST_TOOL=''
    MKDIR_P='/bin/mkdir -p'
    NE10_CFLAGS=''
    NE10_LIBS=''
    NM='/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm'
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OPUS_ARM_EXTERNAL_ASM_FALSE=''
    OPUS_ARM_EXTERNAL_ASM_TRUE=''
    OPUS_ARM_INLINE_ASM_FALSE=''
    OPUS_ARM_INLINE_ASM_TRUE=''
    OPUS_ARM_MAY_HAVE_EDSP=''
    OPUS_ARM_MAY_HAVE_MEDIA=''
    OPUS_ARM_MAY_HAVE_NEON=''
    OPUS_ARM_NEON_INTR_CFLAGS=''
    OPUS_HAVE_RTCD=''
    OPUS_LT_AGE='5'
    OPUS_LT_CURRENT='5'
    OPUS_LT_REVISION='5'
    OPUS_X86_AVX_CFLAGS=''
    OPUS_X86_SSE2_CFLAGS=''
    OPUS_X86_SSE4_1_CFLAGS=''
    OPUS_X86_SSE_CFLAGS=''
    OTOOL64=''
    OTOOL=''
    PACKAGE='opus'
    PACKAGE_BUGREPORT='opus@xiph.org'
    PACKAGE_NAME='opus'
    PACKAGE_STRING='opus 1.1.5'
    PACKAGE_TARNAME='opus'
    PACKAGE_URL=''
    PACKAGE_VERSION='1.1.5'
    PATH_SEPARATOR=':'
    PC_BUILD=''
    RANLIB='/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib'
    SED=''
    SET_MAKE=''
    SHELL='/bin/bash'
    STRIP='/home/hamed/dev/android-tools/android-ndk-r18/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip'
    VERSION='1.1.5'
    X86_AVX_CFLAGS=''
    X86_SSE2_CFLAGS=''
    X86_SSE4_1_CFLAGS=''
    X86_SSE_CFLAGS=''
    ac_ct_AR=''
    ac_ct_CC=''
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCCAS_FALSE=''
    am__fastdepCCAS_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__nodep='_no'
    am__quote=''
    am__tar='$${TAR-tar} chof - "$$tardir"'
    am__untar='$${TAR-tar} xf -'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='arm-unknown-linux-androideabi'
    host_alias='arm-linux-androideabi'
    host_cpu='arm'
    host_os='linux-androideabi'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/opus-1.1.5/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(MKDIR_P)'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/home/hamed/dev/projects/ffmpeg/ffmpeg-binary-android/build_scripts/build_dir'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    /* confdefs.h */
    #define PACKAGE_NAME "opus"
    #define PACKAGE_TARNAME "opus"
    #define PACKAGE_VERSION "1.1.5"
    #define PACKAGE_STRING "opus 1.1.5"
    #define PACKAGE_BUGREPORT "opus@xiph.org"
    #define PACKAGE_URL ""

    configure: exit 77