Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (102)

  • Ecrire une actualité

    21 juin 2013, par

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

  • 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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (13733)

  • ClipBucket video upload and conversion issue

    23 mars 2018, par Aleksandr Levcenko

    I am trying to migrate ClipBucket 2.8.1, RC2, REV 4328 into a new Azure server.
    I managed to install and enable all required modules such as : FFMPEG, PHP CLI, Media Info, MP4Box, ImageMagick and FFProbe.
    Post, Upload, Execution time and Memory limit configuration values have been increased as well on the server side.

    ClipBucket seems to be up and running smoothly, but I have an issue with uploading the videos.
    After uploading a video it shows error message "This video might not work properly".
    When I checked Video Manager it stucks at Processing and does not go any further.

    I tried to delete conversion .loc file but still no luck.

    Can anyone help me with this please ?

    Here is a converion log below :

    Exec function exists
    PHP CLI is enabled
    FFMPEG Exists

    medium
    640
    1280
    720k
    96k
    ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
    configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
    libavutil 55. 58.100 / 55. 58.100
    libavcodec 57. 89.100 / 57. 89.100
    libavformat 57. 71.100 / 57. 71.100
    libavdevice 57. 6.100 / 57. 6.100
    libavfilter 6. 82.100 / 6. 82.100
    libavresample 3. 5. 0 / 3. 5. 0
    libswscale 4. 6.100 / 4. 6.100
    libswresample 2. 7.100 / 2. 7.100
    libpostproc 54. 5.100 / 54. 5.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/opt/bitnami/apache2/htdocs/media.emathsmaster.co.uk/public_html/admin_area/lab_resources/testing_videos/SampleVideo_1280x720_2mb.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    creation_time : 1970-01-01T00:00:00.000000Z
    encoder : Lavf53.24.2
    Duration: 00:00:13.50, start: 0.000000, bitrate: 1248 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 862 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
    creation_time : 1970-01-01T00:00:00.000000Z
    handler_name : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 381 kb/s (default)
    Metadata:
    creation_time : 1970-01-01T00:00:00.000000Z
    handler_name : SoundHandler
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
    Press [q] to stop, [?] for help
    [libx264 @ 0x27bbca0] using SAR=8/9
    [libx264 @ 0x27bbca0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x27bbca0] profile High, level 3.1
    [libx264 @ 0x27bbca0] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=720 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/opt/bitnami/apache2/htdocs/media.emathsmaster.co.uk/public_html/files/temp/1502179041121.mp4':
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    encoder : Lavf57.71.100
    Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x640 [SAR 8:9 DAR 16:9], q=-1--1, 720 kb/s, 25 fps, 12800 tbn, 25 tbc (default)
    Metadata:
    creation_time : 1970-01-01T00:00:00.000000Z
    handler_name : VideoHandler
    encoder : Lavc57.89.100 libx264
    Side data:
    cpb: bitrate max/min/avg: 0/0/720000 buffer size: 0 vbv_delay: -1
    Stream #0:1(und): Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 22050 Hz, 5.1, s16, 96 kb/s (default)
    Metadata:
    creation_time : 1970-01-01T00:00:00.000000Z
    handler_name : SoundHandler
    encoder : Lavc57.89.100 libfdk_aac
    frame= 48 fps=0.0 q=0.0 size= 0kB time=00:00:01.99 bitrate= 0.0kbits/s speed=3.99x
    frame= 91 fps= 87 q=36.0 size= 153kB time=00:00:03.71 bitrate= 336.3kbits/s speed=3.56x
    frame= 130 fps= 84 q=35.0 size= 280kB time=00:00:05.24 bitrate= 437.8kbits/s speed= 3.4x
    frame= 174 fps= 84 q=33.0 size= 426kB time=00:00:07.01 bitrate= 497.5kbits/s speed=3.38x
    frame= 214 fps= 83 q=32.0 size= 567kB time=00:00:08.59 bitrate= 541.0kbits/s speed=3.34x
    frame= 254 fps= 83 q=33.0 size= 771kB time=00:00:10.21 bitrate= 618.5kbits/s speed=3.32x
    frame= 322 fps= 90 q=29.0 size= 914kB time=00:00:12.95 bitrate= 578.1kbits/s speed=3.61x
    frame= 337 fps= 83 q=-1.0 Lsize= 1110kB time=00:00:13.51 bitrate= 672.7kbits/s speed=3.32x
    video:940kB audio:161kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.863801%
    [libx264 @ 0x27bbca0] frame I:3 Avg QP:20.42 size: 43729
    [libx264 @ 0x27bbca0] frame P:126 Avg QP:24.65 size: 4901
    [libx264 @ 0x27bbca0] frame B:208 Avg QP:31.30 size: 1023
    [libx264 @ 0x27bbca0] consecutive B-frames: 13.9% 7.1% 12.5% 66.5%
    [libx264 @ 0x27bbca0] mb I I16..4: 24.5% 58.7% 16.8%
    [libx264 @ 0x27bbca0] mb P I16..4: 1.3% 2.2% 0.2% P16..4: 24.1% 5.8% 2.6% 0.0% 0.0% skip:63.7%
    [libx264 @ 0x27bbca0] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 20.3% 0.7% 0.1% direct: 0.2% skip:78.5% L0:41.4% L1:57.4% BI: 1.2%
    [libx264 @ 0x27bbca0] final ratefactor: 25.93
    [libx264 @ 0x27bbca0] 8x8 transform intra:59.0% inter:80.0%
    [libx264 @ 0x27bbca0] coded y,uvDC,uvAC intra: 44.2% 60.8% 19.7% inter: 3.9% 5.1% 0.2%
    [libx264 @ 0x27bbca0] i16 v,h,dc,p: 18% 32% 8% 43%
    [libx264 @ 0x27bbca0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 19% 17% 5% 7% 8% 8% 7% 6%
    [libx264 @ 0x27bbca0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 17% 11% 8% 10% 9% 8% 9% 6%
    [libx264 @ 0x27bbca0] i8c dc,h,v,p: 55% 18% 20% 7%
    [libx264 @ 0x27bbca0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x27bbca0] ref P L0: 71.5% 16.9% 9.1% 2.5%
    [libx264 @ 0x27bbca0] ref B L0: 92.4% 6.8% 0.8%
    [libx264 @ 0x27bbca0] ref B L1: 97.9% 2.1%
    [libx264 @ 0x27bbca0] kb/s:570.66
    Video file is convertable..

    Testing SampleVideo_1280x720_2mb.mp4 conversion Phase 1..
    please wait...
  • Linking libavcodec and libavformat : Undefined references

    8 décembre 2014, par Abhijit

    I am trying to compile a project I am working on that uses ffmpeg libraries. The project is written in C. The header files are appropriately included in the source code. In particular, it seems to be using libavcodec and libavformat, and these libraries are appropriately linked in the Makefile with the LDFLAGS. Here are the flags used :

    -lavcodec -lavformat -lswscale -lavutil

    Now, because the packaged libraries that come with Ubuntu were too out-of-date, I downloaded the latest source code for ffmpeg, compiled it and installed it. I removed all of the packaged libraries that were installed via the package manager. Now, despite adding the flags above, I get a lot of undefined references and I cannot seem to fix it. Here is the output with regard to the undefined references :

    //usr/local/lib/libavcodec.a(cscd.o): In function `decode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/cscd.c:91: undefined reference to `uncompress'
    //usr/local/lib/libavcodec.a(dxa.o): In function `decode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/dxa.c:250: undefined reference to `uncompress'
    //usr/local/lib/libavcodec.a(exr.o): In function `pxr24_uncompress':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/exr.c:784: undefined reference to `uncompress'
    //usr/local/lib/libavcodec.a(exr.o): In function `zip_uncompress':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/exr.c:259: undefined reference to `uncompress'
    //usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv_decode_block':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:191: undefined reference to `inflateReset'
    //usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv2_prime':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:158: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:160: undefined reference to `deflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:166: undefined reference to `deflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:167: undefined reference to `deflateEnd'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:169: undefined reference to `inflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:178: undefined reference to `inflate'
    //usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv_decode_block':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:207: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:210: undefined reference to `inflateSync'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:211: undefined reference to `inflate'
    //usr/local/lib/libavcodec.a(flashsv.o): In function `calc_deflate_block_size':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:259: undefined reference to `deflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:261: undefined reference to `deflateBound'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:262: undefined reference to `deflateEnd'
    //usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv_decode_end':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:107: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(flashsv.o): In function `flashsv_decode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv.c:126: undefined reference to `inflateInit_'
    //usr/local/lib/libavcodec.a(flashsv2enc.o): In function `encode_zlib':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv2enc.c:354: undefined reference to `compress2'
    //usr/local/lib/libavcodec.a(flashsv2enc.o): In function `encode_zlibprime':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv2enc.c:366: undefined reference to `deflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv2enc.c:375: undefined reference to `deflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv2enc.c:384: undefined reference to `deflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsv2enc.c:385: undefined reference to `deflateEnd'
    //usr/local/lib/libavcodec.a(flashsvenc.o): In function `encode_bitstream':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsvenc.c:190: undefined reference to `compress2'
    //usr/local/lib/libavcodec.a(flashsvenc.o): In function `flashsv_encode_end':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/flashsvenc.c:95: undefined reference to `deflateEnd'
    //usr/local/lib/libavcodec.a(g2meet.o): In function `kempf_decode_tile':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/g2meet.c:408: undefined reference to `uncompress'
    //usr/local/lib/libavcodec.a(lcldec.o): In function `zlib_decomp':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:137: undefined reference to `inflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:146: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:137: undefined reference to `inflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:146: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:137: undefined reference to `inflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:146: undefined reference to `inflate'
    //usr/local/lib/libavcodec.a(lcldec.o): In function `decode_end':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:647: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(lcldec.o): In function `decode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lcldec.c:623: undefined reference to `inflateInit_'
    //usr/local/lib/libavcodec.a(lclenc.o): In function `encode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lclenc.c:80: undefined reference to `deflateBound'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lclenc.c:90: undefined reference to `deflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lclenc.c:101: undefined reference to `deflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lclenc.c:107: undefined reference to `deflate'
    //usr/local/lib/libavcodec.a(lclenc.o): In function `encode_end':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lclenc.c:184: undefined reference to `deflateEnd'
    //usr/local/lib/libavcodec.a(lclenc.o): In function `encode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/lclenc.c:165: undefined reference to `deflateInit_'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:376: undefined reference to `swr_is_initialized'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:222: undefined reference to `swr_is_initialized'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_init_resample':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:163: undefined reference to `swr_init'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:169: undefined reference to `swr_convert'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:236: undefined reference to `swr_convert'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_flush_resample':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:117: undefined reference to `swr_convert'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:408: undefined reference to `swr_close'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_flush':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:563: undefined reference to `swr_close'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_close':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:585: undefined reference to `swr_free'
    //usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/opusdec.c:638: undefined reference to `swr_alloc'
    //usr/local/lib/libavcodec.a(pngdec.o): In function `decode_zbuf':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:425: undefined reference to `inflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:439: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:448: undefined reference to `inflateEnd'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:453: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(pngdec.o): In function `png_decode_idat':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:393: undefined reference to `inflate'
    //usr/local/lib/libavcodec.a(pngdec.o): In function `decode_frame_apng':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:1179: undefined reference to `inflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:1203: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(pngdec.o): In function `decode_frame_png':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:1126: undefined reference to `inflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngdec.c:1142: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(pngenc.o): In function `png_write_chunk':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:200: undefined reference to `crc32'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:202: undefined reference to `crc32'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:205: undefined reference to `crc32'
    //usr/local/lib/libavcodec.a(pngenc.o): In function `encode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:298: undefined reference to `deflateInit2_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:303: undefined reference to `deflateBound'
    //usr/local/lib/libavcodec.a(pngenc.o): In function `png_write_row':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:220: undefined reference to `deflate'
    //usr/local/lib/libavcodec.a(pngenc.o): In function `encode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:447: undefined reference to `deflateEnd'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:422: undefined reference to `deflate'
    //usr/local/lib/libavcodec.a(pngenc.o): In function `png_write_row':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:220: undefined reference to `deflate'
    //usr/local/lib/libavcodec.a(pngenc.o): In function `png_write_chunk':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:200: undefined reference to `crc32'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/pngenc.c:202: undefined reference to `crc32'
    //usr/local/lib/libavcodec.a(svq3.o): In function `svq3_decode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/svq3.c:1016: undefined reference to `uncompress'
    //usr/local/lib/libavcodec.a(tiff.o): In function `tiff_uncompress':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tiff.c:329: undefined reference to `inflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tiff.c:334: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tiff.c:335: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(tiffenc.o): In function `encode_strip':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tiffenc.c:175: undefined reference to `compress'
    //usr/local/lib/libavcodec.a(tscc.o): In function `decode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tscc.c:77: undefined reference to `inflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tscc.c:86: undefined reference to `inflate'
    //usr/local/lib/libavcodec.a(tscc.o): In function `decode_end':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tscc.c:173: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(tscc.o): In function `decode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/tscc.c:155: undefined reference to `inflateInit_'
    //usr/local/lib/libavcodec.a(zerocodec.o): In function `zerocodec_decode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zerocodec.c:56: undefined reference to `inflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zerocodec.c:79: undefined reference to `inflate'
    //usr/local/lib/libavcodec.a(zerocodec.o): In function `zerocodec_decode_close':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zerocodec.c:109: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(zerocodec.o): In function `zerocodec_decode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zerocodec.c:127: undefined reference to `inflateInit_'
    //usr/local/lib/libavcodec.a(zmbv.o): In function `decode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbv.c:486: undefined reference to `inflateReset'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbv.c:523: undefined reference to `inflate'
    //usr/local/lib/libavcodec.a(zmbv.o): In function `decode_end':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbv.c:616: undefined reference to `inflateEnd'
    //usr/local/lib/libavcodec.a(zmbv.o): In function `decode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbv.c:601: undefined reference to `inflateInit_'
    //usr/local/lib/libavcodec.a(zmbvenc.o): In function `encode_frame':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbvenc.c:224: undefined reference to `deflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbvenc.c:215: undefined reference to `deflateReset'
    //usr/local/lib/libavcodec.a(zmbvenc.o): In function `encode_end':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbvenc.c:259: undefined reference to `deflateEnd'
    //usr/local/lib/libavcodec.a(zmbvenc.o): In function `encode_init':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavcodec/zmbvenc.c:321: undefined reference to `deflateInit_'
    //usr/local/lib/libavformat.a(rtmpproto.o): In function `rtmp_uncompress_swfplayer':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/rtmpproto.c:1097: undefined reference to `inflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/rtmpproto.c:1107: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/rtmpproto.c:1125: undefined reference to `inflateEnd'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/rtmpproto.c:1125: undefined reference to `inflateEnd'
    //usr/local/lib/libavformat.a(swfdec.o): In function `swf_read_packet':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/swfdec.c:335: undefined reference to `uncompress'
    //usr/local/lib/libavformat.a(swfdec.o): In function `swf_read_header':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/swfdec.c:124: undefined reference to `inflateInit_'
    //usr/local/lib/libavformat.a(swfdec.o): In function `zlib_refill':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/swfdec.c:92: undefined reference to `inflate'
    //usr/local/lib/libavformat.a(swfdec.o): In function `swf_read_close':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/swfdec.c:502: undefined reference to `inflateEnd'
    //usr/local/lib/libavformat.a(http.o): In function `http_close':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/http.c:1093: undefined reference to `inflateEnd'
    //usr/local/lib/libavformat.a(http.o): In function `parse_content_encoding':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/http.c:419: undefined reference to `inflateEnd'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/http.c:420: undefined reference to `inflateInit2_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/http.c:425: undefined reference to `zlibCompileFlags'
    //usr/local/lib/libavformat.a(http.o): In function `http_buf_read_compressed':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/http.c:902: undefined reference to `inflate'
    //usr/local/lib/libavformat.a(id3v2.o): In function `id3v2_parse':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/id3v2.c:900: undefined reference to `uncompress'
    //usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/matroskadec.c:1212: undefined reference to `inflateInit_'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/matroskadec.c:1227: undefined reference to `inflate'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/matroskadec.c:1220: undefined reference to `inflateEnd'
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/matroskadec.c:1232: undefined reference to `inflateEnd'
    //usr/local/lib/libavformat.a(mov.o): In function `mov_read_cmov':
    /home/abhijitv/Downloads/ffmpeg-2.5/libavformat/mov.c:3146: undefined reference to `uncompress'
    collect2: error: ld returned 1 exit status

    Can anyone explain what is going wrong over here, and how I can fix this ?

  • Adding ffmpeg OMX codec to Genymotion Android 4.4.2 emulator

    22 avril 2016, par photon

    Basic Question :

    Is there a way to add a new audio codec to the Genymotion Android emulator, short of downloading the entire Android source, learning how to build it, and creating my own version of Android ?


    Context :

    I have written a java Android app that acts as an audio renderer, as well as being a DLNA/OpenHome server and client. Think "BubbleUpnp" without video. My primary development platform is Win8.1. The program started as an ActiveState "pure-perl" DLNA MediaServer on Windows, which I then ported to Ubuntu, which I got working under Android a few years ago. It was pretty funky ... all UI being presented thru an HTTP server/jquery/jquery-ui, served from an Ubuntu shell running under Android (a trick in itself), serving up HTML pages to Chrome running on the same (Android) device. Besides being "funky" it had a major drawback that it required a valid IP address to work ... as I could not figure out how to get ubuntu to have a local loopback device for a 127.0.0.01 localhost I use the app as a "car stereo" on my boat (which is my home), which is often not hooked up to the internet.

    I had a hard time getting started in Android app development because the speed of the Android emulators in Eclipse was horrid, and the ADB drivers did not work from Win8 for the longest time.

    Then one day, about a year ago, I ran into Genymotion (kudos to the authors), and all of a sudden I had a workable Android development environment, so I added a Java implementation of the DLNA server, which then grew into a renderer also, using Android’s MediaPlayer class, and, adding the ability to act as a DLNA control point, and more recently also added OpenHome servers and renderers to it.

    In a separate effort, I created a build environment for this program called fpCalc, based on ffMpeg, on a variety of platforms, including Win, Linux, and Android x86, arm, and arm7 devices (bitbucket.org/phorton1/) and did an extensive series of tests to determine the validity, and longevity of fpcalc fingerprints, discovering that the fpCalc fingerprint changed based on the version of ffmpeg it was built against, a separate topic to be sure, but in the process, learned at least a bit about how to build ffmpeg as well as Android shared libraries, JNI interfaces, etc.

    So now the Android-Java version of the program has advanced past the old perl version, and I am debating whether I want to continue to try to build the perl version (and or add an wxPerl UI) to it.

    One issue that has arisen, for me, is that the Genymotion emulator does not support WMA decoding ... as Android dropped support for WMA due to licensing issues, etc, a ways back in time ... yet my music library has significant numbers of tunes in WMA files, and I don’t want to "convert" them, my carefully thought-out philosophy is that my program does not modify the contents, or tags, or anything in the original media files that I have accumulated, or will receive in the future, rather treating them as "artifacts" worth preserving "as is". No conversion is going to make a file "better" than it was, and I wish to preserve ALL of the original sources for ALL of my music going forward.

    So, I’m thinking, gee, I can build FFMPEG on 7 different platforms, and I see all these references to "OMX FFMPEG Codec Support for Android" on the net, so I’m thinking, "All I need to do is create the OMX Component and somehow get it into Genymotion".

    I have studied up OMX, OpenMaxIL, seen Michael Chen’s posts, seen the stack overflow questions

    How to make ffmpeg codec componet as OMX component

    and

    Android : How to integrate a decoder to multimedia framework

    and Cedric Fung’s page https://vec.io/posts/use-android-hardware-decoder-with-omxcodec-in-ndk, and Michael Chen’s repository at https://github.com/omxcodec , as well as virtually every other page on the net that mentions any combination of libstagefright, OMX, Genymotion, and FFMPEG.

    (this page would not let me put more than 2 links as i don’t have a "10" reputation, or I would have listed some of the sources I have seen) ..

    My Linux development environment is a Ubuntu12.04 vbox running on my win machine. I have downloaded and run the Android-x86 iso as a vbox, and IT contains the ffmpeg codecs, but unfortunately, it neither supports a wifi interface, nor the vbox "guest additions", so it has a really funky mouse. I tried for about 3 days to address those two issues, but in the end do not feel it is usable for my puproses, and I really like the way genymotion "feels", particularly the moust support, so I’d like to keep genymotion as my "windows android" virtual device under which I may run my program, deprecate and stop using my old perl source,

    except genymotion does not support WMA files ...


    Several side notes :

    (a) There is no good way to write a single sourced application in Java that runs natively in Windows, AND as an Android app.

    (b) I don’t want to reboot my Windows machine to a "real" Android device just to play my music files. The machine has to stay in Windows as I use it for other things as well.

    (c) I am writing this as my machine is in the 36th hour of downloading the entire ASOP source code base to a partition in my Ubuntu vbox while I am sitting in a hotel room on a not-so-good internet connection in Panama City, Panama, before I return to my boat in remote Bocas Del Toro Panama, where the internet connection is even worse.

    (d) I did get WMA decoding to work in my app by calling my FFMPEG executable from Java (converting it to either WAV/PCM or AAC), but, because of limitations in Android’s MediaPlayer, it does not work well, particularly for remotely hosted WMA files ... MediaPlayer insists on having the whole file present before it starts to play, which can take several seconds or longer, and I am hoping that by getting a ’real’ WMA codec underneath MediaPlayer, that problem will just disappear ....


    So, I’m trying to figure this whole mess out. There are a lot of tantalizing clues, and suggestions, but what I have found, or at least what I am starting to believe, is that if I want to add a simple WMA audio decoding codec to Android (Genymotion), not only do I have to download, basically, the ENTIRE ASOP Android source tree, and learn a new set of tools (repo, etc), but I have to (be able to) rebuild, from scratch, the entire Android system, esp. libstagefright.so in such a way as to be COMPLETELY compatible with the existing one in GenyMotion, while at the same time adding ffmpeg codecs ala Michael Chen’s page.

    And I’m just asking, is it, could it really be that difficult ?


    Anyways, this makes me crazy. Is there no way to just build a new component, or at worst a new OMX core, and add it to Genymotion, WITHOUT building all of Android, and preferably, based only on the OMX h files ? Or do I REALLY have to replace the existing libstagefright.so, which means, basically, rebuilding all of Android ...

    p.s. I thought it would be nice to get this figured out, build it, and then post the installable new FFMPEG codecs someplace for other people to use, so that they don’t also grow warts on their ears and have steam shooting out of their eyeballs, while they get old trying to figure it out ....