Recherche avancée

Médias (91)

Autres articles (41)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (9391)

  • Streaming to YouTube using FFmpeg Problems

    9 mai 2016, par jason

    I am trying to stream to a live event I have created inside of YouTube. I am trying to stream a already created video. The command I am using is noted below.

    The problem I have is that YouTube is showing the Streaming status as good (picture attached) and it seems to be receiving the data. But there is no sound and no picture in the live event. I’m not sure what the issue could be.

    ffmpeg -re -y -i input.mp4 -vcodec libx264 -b:v 600k -r 25 -s 640x360 -filter:v yadif -ab 64k -ac 1 -ar 44100 -f flv "rtmp://a.rtmp.youtube.com/live2/KEY"

    Image showing YouTube streaming status :

    Image showing youtube streaming status

    Console output :

    ffmpeg version N-60321-g4d7d9a5 Copyright (c) 2000-2014 the FFmpeg developers
     built on Feb  2 2014 22:01:03 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 63.100 / 52. 63.100
     libavcodec     55. 49.101 / 55. 49.101
     libavformat    55. 29.101 / 55. 29.101
     libavdevice    55.  7.100 / 55.  7.100
     libavfilter     4.  1.102 /  4.  1.102
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2013-10-24 05:44:23
     Duration: 00:41:52.93, start: 0.000000, bitrate: 187 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yu
    v420p, 480x360, 89 kb/s, 15 fps, 15 tbr, 30 tbn, 30 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96
    kb/s (default)
       Metadata:
         creation_time   : 2013-10-24 05:44:39
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    [libx264 @ 040fdc40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2
    FMA3 LZCNT BMI2
    [libx264 @ 040fdc40] profile High, level 3.0
    [libx264 @ 040fdc40] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Cop
    yleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb
    lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m
    e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro
    ma_qp_offset=-2 threads=12 lookahead_threads=2 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=75 keyint_min=38 scenec
    ut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1200 ratetol=1.0 qc
    omp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, flv, to 'rtmp://a.rtmp.youtube.com/live2/keyname':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       encoder         : Lavf55.29.101
       Stream #0:0(und): Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 85
    4x480, q=-1--1, 1200 kb/s, 1k tbn, 25 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz,
    mono, fltp, 64 kb/s (default)
       Metadata:
         creation_time   : 2013-10-24 05:44:39
         handler_name    : IsoMedia File Produced by Google, 5-11-2011
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> libmp3lame)
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.39 bitrate=   9.2kbits/s
    ...
    frame=  463 fps=7.8 q=0.0 size=    1534kB time=00:00:31.66 bitrate= 396.8kbits/s
    [flv @ 040fd6e0] Failed to update header with correct duration.
    [flv @ 040fd6e0] Failed to update header with correct filesize.
    frame=  463 fps=6.8 q=-1.0 Lsize=    2055kB time=00:00:31.79 bitrate= 529.6kbits
    /s
    video:1778kB audio:249kB subtitle:0 data:0 global headers:0kB muxing overhead 1.
    405947%
    [libx264 @ 040fdc40] frame I:7     Avg QP: 2.24  size: 44703
    [libx264 @ 040fdc40] frame P:153   Avg QP: 0.65  size:  8418
    [libx264 @ 040fdc40] frame B:303   Avg QP: 5.74  size:   724
    [libx264 @ 040fdc40] consecutive B-frames: 11.9%  2.6%  0.0% 85.5%
    [libx264 @ 040fdc40] mb I  I16..4: 66.0% 12.4% 21.6%
    [libx264 @ 040fdc40] mb P  I16..4:  4.7%  0.8%  1.5%  P16..4:  6.6%  1.1%  1.1%
    0.0%  0.0%    skip:84.2%
    [libx264 @ 040fdc40] mb B  I16..4:  0.2%  0.0%  0.1%  B16..8:  3.0%  0.2%  0.1%
    direct: 0.6%  skip:95.8%  L0:47.7% L1:49.2% BI: 3.0%
    [libx264 @ 040fdc40] final ratefactor: -9.42
    [libx264 @ 040fdc40] 8x8 transform intra:11.8% inter:35.4%
    [libx264 @ 040fdc40] coded y,uvDC,uvAC intra: 33.7% 11.2% 11.1% inter: 2.6% 1.6%
    1.6%
    [libx264 @ 040fdc40] i16 v,h,dc,p: 13% 86%  0%  0%
    [libx264 @ 040fdc40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 74% 11%  0%  1%  1%  1%
    1%  2%
    [libx264 @ 040fdc40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 61%  6%  1%  3%  2%  4%
    2%  4%
    [libx264 @ 040fdc40] i8c dc,h,v,p: 88% 10%  2%  0%
    [libx264 @ 040fdc40] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 040fdc40] ref P L0: 81.7%  9.4%  8.0%  0.9%
    [libx264 @ 040fdc40] ref B L0: 78.9% 20.9%  0.2%
    [libx264 @ 040fdc40] ref B L1: 99.1%  0.9%
    [libx264 @ 040fdc40] kb/s:471.59
    Received signal 2: terminating.

    Edit -

    I have now tested the following codes but I still dotn get any picture or sound.. but the health status in youtube still shows good

    I ran this command first

    ffmpeg -i input.mp4 -vcodec libx264 -preset medium -maxrate 3000k -bufsize 6000k -vf "scale=1280:-1,format=yuv420p" -g 50 -acodec libmp3lame -b:a 128k -ac 2 -ar 44100 file.flv

    and then I ran this

    ffmpeg -re -i file.flv -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/<key>
    </key>

    I still didnt get any picture

    I also tried the full command in 1

    ffmpeg -re -i input.mp4 -vcodec libx264 -preset veryfast -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv rtmp://a.rtmp.youtube.com/live2/<key>  
    </key>

    still no joy

  • Streaming to YouTube using FFmpeg Problems

    12 septembre 2022, par jason

    I am trying to stream to a live event I have created inside of YouTube. I am trying to stream a already created video. The command I am using is noted below.

    &#xA;&#xA;

    The problem I have is that YouTube is showing the Streaming status as good (picture attached) and it seems to be receiving the data. But there is no sound and no picture in the live event. I'm not sure what the issue could be.

    &#xA;&#xA;

    ffmpeg -re -y -i input.mp4 -vcodec libx264 -b:v 600k -r 25 -s 640x360 -filter:v yadif -ab 64k -ac 1 -ar 44100 -f flv "rtmp://a.rtmp.youtube.com/live2/KEY"&#xA;

    &#xA;&#xA;

    Image showing YouTube streaming status :

    &#xA;&#xA;

    Image showing youtube streaming status

    &#xA;&#xA;

    Console output :

    &#xA;&#xA;

    ffmpeg version N-60321-g4d7d9a5 Copyright (c) 2000-2014 the FFmpeg developers&#xA;  built on Feb  2 2014 22:01:03 with gcc 4.8.2 (GCC)&#xA;  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av&#xA;isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab&#xA;le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp&#xA;e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena&#xA;ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l&#xA;ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp&#xA;eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa&#xA;cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp&#xA;ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib&#xA;  libavutil      52. 63.100 / 52. 63.100&#xA;  libavcodec     55. 49.101 / 55. 49.101&#xA;  libavformat    55. 29.101 / 55. 29.101&#xA;  libavdevice    55.  7.100 / 55.  7.100&#xA;  libavfilter     4.  1.102 /  4.  1.102&#xA;  libswscale      2.  5.101 /  2.  5.101&#xA;  libswresample   0. 17.104 /  0. 17.104&#xA;  libpostproc    52.  3.100 / 52.  3.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;input.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    creation_time   : 2013-10-24 05:44:23&#xA;  Duration: 00:41:52.93, start: 0.000000, bitrate: 187 kb/s&#xA;    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yu&#xA;v420p, 480x360, 89 kb/s, 15 fps, 15 tbr, 30 tbn, 30 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96&#xA; kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-10-24 05:44:39&#xA;      handler_name    : IsoMedia File Produced by Google, 5-11-2011&#xA;[libx264 @ 040fdc40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2&#xA; FMA3 LZCNT BMI2&#xA;[libx264 @ 040fdc40] profile High, level 3.0&#xA;[libx264 @ 040fdc40] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Cop&#xA;yleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb&#xA;lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m&#xA;e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro&#xA;ma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1&#xA;interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1&#xA; b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=75 keyint_min=38 scenec&#xA;ut=0 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=1200 ratetol=1.0 qc&#xA;omp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, flv, to &#x27;rtmp://a.rtmp.youtube.com/live2/keyname&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: isommp42&#xA;    encoder         : Lavf55.29.101&#xA;    Stream #0:0(und): Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 85&#xA;4x480, q=-1--1, 1200 kb/s, 1k tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;    Stream #0:1(und): Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz,&#xA; mono, fltp, 64 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2013-10-24 05:44:39&#xA;      handler_name    : IsoMedia File Produced by Google, 5-11-2011&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 -> libx264)&#xA;  Stream #0:1 -> #0:1 (aac -> libmp3lame)&#xA;Press [q] to stop, [?] for help&#xA;frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.39 bitrate=   9.2kbits/s&#xA;...&#xA;frame=  463 fps=7.8 q=0.0 size=    1534kB time=00:00:31.66 bitrate= 396.8kbits/s&#xA;[flv @ 040fd6e0] Failed to update header with correct duration.&#xA;[flv @ 040fd6e0] Failed to update header with correct filesize.&#xA;frame=  463 fps=6.8 q=-1.0 Lsize=    2055kB time=00:00:31.79 bitrate= 529.6kbits&#xA;/s&#xA;video:1778kB audio:249kB subtitle:0 data:0 global headers:0kB muxing overhead 1.&#xA;405947%&#xA;[libx264 @ 040fdc40] frame I:7     Avg QP: 2.24  size: 44703&#xA;[libx264 @ 040fdc40] frame P:153   Avg QP: 0.65  size:  8418&#xA;[libx264 @ 040fdc40] frame B:303   Avg QP: 5.74  size:   724&#xA;[libx264 @ 040fdc40] consecutive B-frames: 11.9%  2.6%  0.0% 85.5%&#xA;[libx264 @ 040fdc40] mb I  I16..4: 66.0% 12.4% 21.6%&#xA;[libx264 @ 040fdc40] mb P  I16..4:  4.7%  0.8%  1.5%  P16..4:  6.6%  1.1%  1.1%&#xA; 0.0%  0.0%    skip:84.2%&#xA;[libx264 @ 040fdc40] mb B  I16..4:  0.2%  0.0%  0.1%  B16..8:  3.0%  0.2%  0.1%&#xA; direct: 0.6%  skip:95.8%  L0:47.7% L1:49.2% BI: 3.0%&#xA;[libx264 @ 040fdc40] final ratefactor: -9.42&#xA;[libx264 @ 040fdc40] 8x8 transform intra:11.8% inter:35.4%&#xA;[libx264 @ 040fdc40] coded y,uvDC,uvAC intra: 33.7% 11.2% 11.1% inter: 2.6% 1.6%&#xA; 1.6%&#xA;[libx264 @ 040fdc40] i16 v,h,dc,p: 13% 86%  0%  0%&#xA;[libx264 @ 040fdc40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  9% 74% 11%  0%  1%  1%  1%&#xA; 1%  2%&#xA;[libx264 @ 040fdc40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 61%  6%  1%  3%  2%  4%&#xA; 2%  4%&#xA;[libx264 @ 040fdc40] i8c dc,h,v,p: 88% 10%  2%  0%&#xA;[libx264 @ 040fdc40] Weighted P-Frames: Y:0.0% UV:0.0%&#xA;[libx264 @ 040fdc40] ref P L0: 81.7%  9.4%  8.0%  0.9%&#xA;[libx264 @ 040fdc40] ref B L0: 78.9% 20.9%  0.2%&#xA;[libx264 @ 040fdc40] ref B L1: 99.1%  0.9%&#xA;[libx264 @ 040fdc40] kb/s:471.59&#xA;Received signal 2: terminating.&#xA;

    &#xA;&#xA;

    Edit -

    &#xA;&#xA;

    I have now tested the following codes but I still dotn get any picture or sound.. but the health status in youtube still shows good

    &#xA;&#xA;

    I ran this command first

    &#xA;&#xA;

    ffmpeg -i input.mp4 -vcodec libx264 -preset medium -maxrate 3000k -bufsize 6000k -vf "scale=1280:-1,format=yuv420p" -g 50 -acodec libmp3lame -b:a 128k -ac 2 -ar 44100 file.flv&#xA;

    &#xA;&#xA;

    and then I ran this

    &#xA;&#xA;

    ffmpeg -re -i file.flv -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/<key>&#xA;</key>

    &#xA;&#xA;

    I still didnt get any picture

    &#xA;&#xA;

    I also tried the full command in 1

    &#xA;&#xA;

    ffmpeg -re -i input.mp4 -vcodec libx264 -preset veryfast -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100 -f flv rtmp://a.rtmp.youtube.com/live2/<key>  &#xA;</key>

    &#xA;&#xA;

    still no joy

    &#xA;

  • Problems compiling object using arm-linux-androideabi-gcc and android ndk

    24 septembre 2014, par shishir123

    I am trying to build FFmpeg source file using android ndk r8b version . My linux version is CentOs 6.5.I am following this instruction from this link https://github.com/yixia/FFmpeg-Android
    Here is bash script which is I am trying to execute

        #!/bin/bash

       DEST=`pwd`/build/ffmpeg &amp;&amp; rm -rf $DEST
       SOURCE=`pwd`/ffmpeg

       if [ -d ffmpeg ]; then
         cd ffmpeg
       else
         git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
         cd ffmpeg
       fi

       git reset --hard
       git clean -f -d
       git checkout `cat ../ffmpeg-version`
       patch -p1 &lt;../FFmpeg-VPlayer.patch
       [ $PIPESTATUS == 0 ] || exit 1

       git log --pretty=format:%H -1 > ../ffmpeg-version

       TOOLCHAIN=/tmp/vplayer
       SYSROOT=$TOOLCHAIN/sysroot/
       $ANDROID_NDK/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-     dir=$TOOLCHAIN

       export PATH=$TOOLCHAIN/bin:$PATH
       export CC=arm-linux-androideabi-gcc
       export LD=arm-linux-androideabi-ld
       export AR=arm-linux-androideabi-ar

       CFLAGS="-O3 -Wall -mthumb -pipe -fpic -fasm \
         -finline-limit=300 -ffast-math \
         -fstrict-aliasing -Werror=strict-aliasing \
         -fmodulo-sched -fmodulo-sched-allow-regmoves \
         -Wno-psabi -Wa,--noexecstack \
         -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ \
         -DANDROID -DNDEBUG"

       FFMPEG_FLAGS="--target-os=linux \
         --arch=arm \
         --enable-cross-compile \
         --cross-prefix=arm-linux-androideabi- \
         --enable-shared \
         --disable-symver \
         --disable-doc \
         --disable-ffplay \
         --disable-ffmpeg \
         --disable-ffprobe \
         --disable-ffserver \
         --disable-avdevice \
         --disable-avfilter \
         --disable-encoders \
         --disable-muxers \
         --disable-filters \
         --disable-devices \
         --disable-everything \
         --enable-protocols  \
         --enable-parsers \
         --enable-demuxers \
         --enable-decoders \
         --enable-bsfs \
         --enable-network \
         --enable-swscale  \
         --disable-demuxer=sbg \
         --disable-demuxer=dts \
         --disable-parser=dca \
         --disable-decoder=dca \
         --enable-asm \
         --enable-version3"


       for version in neon armv7 vfp armv6; do

         cd $SOURCE

         case $version in
           neon)
             EXTRA_CFLAGS="-march=armv7-a -mfpu=neon -mfloat-abi=softfp -mvectorize-with-neon-quad"
             EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"
             ;;
           armv7)
             EXTRA_CFLAGS="-march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp"
             EXTRA_LDFLAGS="-Wl,--fix-cortex-a8"
             ;;
           vfp)
             EXTRA_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=softfp"
             EXTRA_LDFLAGS=""
             ;;
           armv6)
             EXTRA_CFLAGS="-march=armv6"
             EXTRA_LDFLAGS=""
             ;;
           *)
             EXTRA_CFLAGS=""
             EXTRA_LDFLAGS=""
             ;;
         esac

         PREFIX="$DEST/$version" &amp;&amp; mkdir -p $PREFIX
         FFMPEG_FLAGS="$FFMPEG_FLAGS --prefix=$PREFIX"

         ./configure $FFMPEG_FLAGS --extra-cflags="$CFLAGS $EXTRA_CFLAGS" --extra-     ldflags="$EXTRA_LDFLAGS" | tee $PREFIX/configuration.txt
         cp config.* $PREFIX
         [ $PIPESTATUS == 0 ] || exit 1

         make clean
         make -j4 || exit 1
         make install || exit 1

         rm libavcodec/inverse.o
         $CC -lm -lz -shared --sysroot=$SYSROOT -Wl,--no-undefined -Wl,-z,noexecstack $EXTRA_LDFLAGS libavutil/*.o libavutil/arm/*.o libavcodec/*.o libavcodec/arm/*.o libavformat/*.o libswresample/*.o libswscale/*.o -o $PREFIX/libffmpeg.so

         cp $PREFIX/libffmpeg.so $PREFIX/libffmpeg-debug.so
         arm-linux-androideabi-strip --strip-unneeded $PREFIX/libffmpeg.so

       done

    Now i am getting this error ./FFmpeg-Android.sh: line 26: export:arm-linux-androideabi-gcc’ : not a valid identifier
    arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.`

    The code in 26 number line is export CC=arm-linux-androideabi-gcc any idea why the problem is happening ?? a help would be appreciated .