Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (91)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (11054)

  • H264 Encoding - Could not play video using VLC Player

    31 mars 2016, par bot1131357

    I am have trouble encoding an H264 video correctly using FFmpeg libav. I could not play the encoded video in VLC media player, and although I could play the video on MPC-HC the time shows 00:00/00:00. Clearly I’m missing something.

    The Media info from MPC-HC shows this :

    General
    Format : AVC
    Format/Info : Advanced Video Codec
    File size : 110 KiB
    Duration : 2s 400ms
    Overall bit rate : 375 Kbps
    Writing library : x264 core 148 r2665 a01e339
    Encoding settings : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=7 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=12 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=12 / rc=abr / mbtree=1 / bitrate=2000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

    Video
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Baseline@L2.1
    Format settings, CABAC : No
    Format settings, ReFrames : 3 frames
    Format settings, GOP : M=1, N=12
    Duration : 2s 400ms
    Bit rate : 2 000 Kbps
    Width : 320 pixels
    Height : 240 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Variable
    Frame rate : 20.833 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 1.250
    Stream size : 586 KiB
    Writing library : x264 core 148 r2665 a01e339
    Encoding settings : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=7 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=12 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=12 / rc=abr / mbtree=1 / bitrate=2000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

    I noticed something odd in the above info :
    - The frame rate is 20.833 fps, instead of the specified 10 fps.
    - Duration of 2s 400ms did not seem right either, since the video played for more than 4s.

    Also, (AVFrame* picture)->pict_type is always set to AV_PICTURE_TYPE_NONE. I don’t think this is normal.

    The library that I’m using is ffmpeg-20160219-git-98a0053-win32-dev. I would really really appreciate if you could help me out of this confusion.

    /*
    * Video encoding example
    */
    char filename[] = "test.mp4";
    int main(int argc, char** argv)
    {
       AVCodec *codec = NULL;
       AVCodecContext *codecCtx= NULL;
       AVFormatContext *pFormatCtx = NULL;
       AVStream * pVideoStream = NULL;
       AVFrame *picture = NULL;

       int i, x, y,            //
           ret,                // Return value
           got_packet_ptr;     // Data encoded into packet

       printf("Video encoding\n");

       // Register all formats and codecs
       av_register_all();

       // allocate context
       pFormatCtx = avformat_alloc_context();
       memcpy(pFormatCtx->filename,filename,
           min(strlen(filename), sizeof(pFormatCtx->filename)));

       // guess format
       pFormatCtx->oformat = av_guess_format("h264", NULL, NULL);
       if (NULL==pFormatCtx->oformat)
       {
           cerr << "Could not guess output format" << endl;
           return -1;
       }  

       // Find the codec.
       codec = avcodec_find_encoder(pFormatCtx->oformat->video_codec);
       if (codec == NULL) {
           fprintf(stderr, "Codec not found\n");
           return -1;
       }

       // Set context
       int framerate = 10;
       codecCtx = avcodec_alloc_context3(codec);
       avcodec_get_context_defaults3(codecCtx, codec);
       codecCtx->pix_fmt = AV_PIX_FMT_YUV420P;
       codecCtx->profile = FF_PROFILE_H264_BASELINE;
       // Resolution must be a multiple of two.
       codecCtx->width  = 320;
       codecCtx->height = 240;

       codecCtx->bit_rate = 2000000;
       codecCtx->time_base.den = framerate;
       codecCtx->time_base.num = 1;
       codecCtx->gop_size = 12; // emit one intra frame every twelve frames at most

       // Open the codec.  
       if (avcodec_open2(codecCtx, codec, NULL) < 0)
       {
           printf("Cannot open video codec\n");
           return -1;
       }

       // Add stream to pFormatCtx
       pVideoStream = avformat_new_stream(pFormatCtx, codec);
       if (!pVideoStream)
       {
           printf("Cannot add new video stream\n");
           return -1;
       }
       pVideoStream->codec = codecCtx;
       pVideoStream->time_base.den = framerate;
       pVideoStream->time_base.num = 1;

       if (avio_open2(&pFormatCtx->pb, filename, AVIO_FLAG_WRITE, NULL, NULL) < 0)
       {
           printf("Cannot open file\n");
           return -1;
       }

       // Write file header.
       avformat_write_header(pFormatCtx, NULL);

       // Create frame
       picture= av_frame_alloc();
       picture->format = codecCtx->pix_fmt;
       picture->width  = codecCtx->width;
       picture->height = codecCtx->height;

       int bufferImgSize = av_image_get_buffer_size(codecCtx->pix_fmt, codecCtx->width,
                       codecCtx->height,1);    
       av_image_alloc(picture->data, picture->linesize, codecCtx->width, codecCtx->height,                 codecCtx->pix_fmt, 32);

       AVPacket avpkt;

       /* encode 1 second of video */
       for(i=0;i<50;i++)
       {
           /* prepare a dummy image */
           /* Y */
           for(y=0;yheight;y++)
           {
               for(x=0;xwidth;x++)
               {
                   picture->data[0][y * picture->linesize[0] + x] = x + y + i * 3;
               }
           }
           /* Cb and Cr */
           for(y=0;yheight/2;y++)
           {
               for(x=0;xwidth/2;x++)
               {
                   picture->data[1][y * picture->linesize[1] + x] = 128 + y + i * 2;
                   picture->data[2][y * picture->linesize[2] + x] = 64 + x + i * 5;
               }
           }

           // Get timestamp
           picture->pts = (float) i * (1000.0/(float)(codecCtx->time_base.den)) * 90;

           // Encode frame to packet
           av_init_packet(&avpkt);
           got_packet_ptr = 0;
           int error = avcodec_encode_video2(codecCtx, &avpkt, picture, &got_packet_ptr);
           if (!error && got_packet_ptr > 0)
           {
               // Write packet with frame.
               ret = (av_interleaved_write_frame(pFormatCtx, &avpkt) == 0);        
           }  
           av_packet_unref(&avpkt);
       }

       // Flush remaining encoded data
       while(1)
       {
           av_init_packet(&avpkt);
           got_packet_ptr = 0;
           // Encode frame to packet.
           int error = avcodec_encode_video2(codecCtx, &avpkt, NULL, &got_packet_ptr);
           if (!error && got_packet_ptr > 0)
           {
               // Write packet with frame.
               ret = (av_interleaved_write_frame(pFormatCtx, &avpkt) == 0);        
           }
           else
           {
               break;
           }
           av_packet_unref(&avpkt);
       }
       av_write_trailer(pFormatCtx);

       av_packet_unref(&avpkt);
       av_frame_free(&picture);

       avcodec_close(codecCtx);
       av_free(codecCtx);

       cin.get();
    }
  • Ffmpeg lose streams while using -map 0

    27 mars 2016, par Ngoral

    I had a strange issue using ffmpeg on Ubuntu 14.04.
    I run a command

    ffmpeg -i output2.avi -c:v h264 -minrate 2000k -maxrate 5000k -bufsize 2000k -profile:v high -level:v 4 -coder 1 -s 640x360 -bf 0 -pix_fmt yuv420p -r 25 -g 25 -c:a aac -ar 48k -b:a 321k -map 0 -y outpu.mp4

    It provides such a usual output in console (already with -loglevel verbose) :

    ffmpeg version N-79004-g2e6636a Copyright (c) 2000-2016 the FFmpeg developers


    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
     configuration: --prefix=/home/ngoral/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ngoral/ffmpeg_build/include --extra-ldflags=-L/home/ngoral/ffmpeg_build/lib --bindir=/home/ngoral/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 28.101 / 57. 28.101
     libavformat    57. 28.101 / 57. 28.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 39.102 /  6. 39.102
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    [avi @ 0x2707800] parser not found for codec dvvideo, packets or times may be invalid.
       Last message repeated 1 times
    Input #0, avi, from 'output2.avi':
     Metadata:
       encoder         : Lavf57.28.101
     Duration: 00:00:20.04, start: 0.000000, bitrate: 28911 kb/s
       Stream #0:0: Video: dvvideo, 1 reference frame (dvsd / 0x64737664), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28684 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 192 kb/s
       Stream #0:2: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 64 kb/s
       Stream #0:3: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 117 kb/s
    Matched encoder 'libx264' for codec 'h264'.
    [graph 0 input from stream 0:0 @ 0x2784f60] w:720 h:576 pixfmt:yuv420p tb:1/25 fr:25/1 sar:16/15 sws_param:flags=2
    [scaler for output stream 0:0 @ 0x2749d20] w:640 h:360 flags:'bicubic' interl:0
    [scaler for output stream 0:0 @ 0x2749d20] w:720 h:576 fmt:yuv420p sar:16/15 -> w:640 h:360 fmt:yuv420p sar:3/4 flags:0x4
    [graph 1 input from stream 0:1 @ 0x27a4fc0] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
    [audio format for output stream 0:1 @ 0x27a5380] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
    [auto-inserted resampler 0 @ 0x27a7ae0] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
    [graph 2 input from stream 0:2 @ 0x27a6620] tb:1/48000 samplefmt:s16p samplerate:48000 chlayout:0x3
    [audio format for output stream 0:2 @ 0x27a6440] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:2'
    [auto-inserted resampler 0 @ 0x27b6be0] ch:2 chl:stereo fmt:s16p r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
    [graph 3 input from stream 0:3 @ 0x27b6560] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
    [libx264 @ 0x27889a0] using SAR=3/4
    [libx264 @ 0x27889a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0x27889a0] profile High, level 4.0
    [libx264 @ 0x27889a0] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=0 weightp=2 keyint=25 keyint_min=2 scenecut=40 intra_refresh=0 rc_lookahead=25 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=5000 vbv_bufsize=2000 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'outpu.mp4':
     Metadata:
       encoder         : Lavf57.28.101
       Stream #0:0: Video: h264 (libx264), -1 reference frame ([33][0][0][0] / 0x0021), yuv420p, 640x360 [SAR 3:4 DAR 4:3], q=-1--1, max. 5000 kb/s, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc57.28.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 5000000/0/0 buffer size: 2000000 vbv_delay: -1
       Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 321 kb/s
       Metadata:
         encoder         : Lavc57.28.101 aac
       Stream #0:2: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 321 kb/s
       Metadata:
         encoder         : Lavc57.28.101 aac
       Stream #0:3: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 321 kb/s
       Metadata:
         encoder         : Lavc57.28.101 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (dvvideo (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (mp3 (native) -> aac (native))
     Stream #0:2 -> #0:2 (mp3 (native) -> aac (native))
     Stream #0:3 -> #0:3 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    *** 3 dup!
    No more output streams to write to, finishing.e=00:00:19.84 bitrate= 359.9kbits/s dup=3 drop=0 speed=1.15x
    frame=  501 fps= 29 q=-1.0 Lsize=    1792kB time=00:00:20.05 bitrate= 732.2kbits/s dup=3 drop=0 speed=1.14x
    video:440kB audio:1331kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.155376%
    Input file #0 (output2.avi):
     Input stream #0:0 (video): 498 packets read (71712000 bytes); 498 frames decoded;
     Input stream #0:1 (audio): 834 packets read (480384 bytes); 834 frames decoded (960768 samples);
     Input stream #0:2 (audio): 835 packets read (160320 bytes); 835 frames decoded (961920 samples);
     Input stream #0:3 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples);
     Total: 2167 packets (72352704 bytes) demuxed
    Output file #0 (outpu.mp4):
     Output stream #0:0 (video): 501 frames encoded; 501 packets muxed (451055 bytes);
     Output stream #0:1 (audio): 939 frames encoded (960768 samples); 940 packets muxed (724261 bytes);
     Output stream #0:2 (audio): 940 frames encoded (961920 samples); 941 packets muxed (639072 bytes);
     Output stream #0:3 (audio): 0 frames encoded (0 samples); 0 packets muxed (0 bytes);
     Total: 2382 packets (1814388 bytes) muxed
    [libx264 @ 0x27889a0] frame I:21    Avg QP:15.30  size:  8718
    [libx264 @ 0x27889a0] frame P:480   Avg QP:24.52  size:   557
    [libx264 @ 0x27889a0] mb I  I16..4: 20.4% 55.5% 24.1%
    [libx264 @ 0x27889a0] mb P  I16..4:  0.0%  0.1%  0.0%  P16..4:  7.6%  3.7%  1.7%  0.0%  0.0%    skip:86.8%
    [libx264 @ 0x27889a0] 8x8 transform intra:56.3% inter:50.3%
    [libx264 @ 0x27889a0] coded y,uvDC,uvAC intra: 42.0% 39.5% 27.5% inter: 2.6% 1.4% 0.0%
    [libx264 @ 0x27889a0] i16 v,h,dc,p: 36% 52%  3% 10%
    [libx264 @ 0x27889a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 56% 20% 14%  2%  1%  1%  2%  2%  2%
    [libx264 @ 0x27889a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 26%  7%  4%  3%  4%  5%  5%  4%
    [libx264 @ 0x27889a0] i8c dc,h,v,p: 66% 13% 17%  4%
    [libx264 @ 0x27889a0] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x27889a0] ref P L0: 68.1% 11.5% 13.9%  6.5%
    [libx264 @ 0x27889a0] kb/s:179.78
    [aac @ 0x2747da0] Qavg: 62719.090
    [aac @ 0x2748b20] Qavg: 64509.496
    [aac @ 0x27498a0] Qavg: -nan

    it seems like it outputs all 3 audiostreams, but then i do

    ffmpeg -loglevel verbose -i outpu.mp4

    And get only 2 audiostreams :

    ffmpeg version N-79004-g2e6636a Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
     configuration: --prefix=/home/ngoral/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/ngoral/ffmpeg_build/include --extra-ldflags=-L/home/ngoral/ffmpeg_build/lib --bindir=/home/ngoral/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree
     libavutil      55. 19.100 / 55. 19.100
     libavcodec     57. 28.101 / 57. 28.101
     libavformat    57. 28.101 / 57. 28.101
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 39.102 /  6. 39.102
     libswscale      4.  0.100 /  4.  0.100
     libswresample   2.  0.101 /  2.  0.101
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'outpu.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.28.101
     Duration: 00:00:20.06, start: 0.021333, bitrate: 731 kb/s
       Stream #0:0(und): Video: h264 (High), 3 reference frames (avc1 / 0x31637661), yuv420p, 640x360 (640x368) [SAR 3:4 DAR 4:3], 180 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 289 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 254 kb/s
       Metadata:
         handler_name    : SoundHandler

    What’s wrong with it ?
    It works fine on my Win machine, on virtual machine with Ubuntu on it, but as ran on real Ubuntu it behaves like this. Do you have any ideas ?
    Thanks !

  • FFMPEG scale and crop in single command

    26 mars 2016, par The Hungry Androider

    I’m using FFMPEG on Android using the following lib : http://writingminds.github.io/ffmpeg-android-java/

    This is the command I’m using :

    "-i " + path + " -vf scale=480:360,crop=360:360:0:00 -strict -2  -preset ultrafast " + fileOutPath

    My goal of this is to scale the image down to 480x360, then crop it to 360x360 from (0,0) (top left corner). HOWEVER, what ends up happening is that it crops from the vertical-center. So for example if you were to take a vide of three blocks on top of each other filling the entire screen, the crop would eventually show just the middle block, whereas I desire the top block.

    Any ideas as to what I’m doing wrong ?

    My ultimate goal from all of this is to get a square video of size 360x360.

    Output log :

    03-26 12:10:16.816 17198-17198/com.noq D/FFMPEG: FFMPEG onStart
    03-26 12:10:16.900 17198-17385/com.noq D/FFmpeg: Running publishing updates method
    03-26 12:10:16.914 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: WARNING: linker: /data/user/0/com.noq/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
    03-26 12:10:17.004 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    03-26 12:10:17.004 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    03-26 12:10:17.007 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    03-26 12:10:17.021 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavutil      54.  7.100 / 54.  7.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavcodec     56.  1.100 / 56.  1.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavformat    56.  4.101 / 56.  4.101
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavdevice    56.  0.100 / 56.  0.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libavfilter     5.  1.100 /  5.  1.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libswscale      3.  0.100 /  3.  0.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libswresample   1.  1.100 /  1.  1.100
    03-26 12:10:17.022 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   libpostproc    53.  0.100 / 53.  0.100
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/1459008610063.mp4':
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Metadata:
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     major_brand     : mp42
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     minor_version   : 0
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     compatible_brands: isommp42
    03-26 12:10:17.201 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Duration: 00:00:02.02, start: 0.000000, bitrate: 6131 kb/s
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x480, 5926 kb/s, SAR 65536:65536 DAR 4:3, 29.87 fps, 30.17 tbr, 90k tbn, 180k tbc (default)
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       rotate          : 270
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : VideoHandle
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       encoder         : MOTO
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Side data:
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       displaymatrix: rotation of 90.00 degrees
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 130 kb/s (default)
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.202 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : SoundHandle
    03-26 12:10:17.263 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] using SAR=1/1
    03-26 12:10:17.297 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] using cpu capabilities: none!
    03-26 12:10:17.411 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] profile Constrained Baseline, level 2.1
    03-26 12:10:17.417 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Output #0, mp4, to '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/14590086100631459008616802_square.mp4':
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Metadata:
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     major_brand     : mp42
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     minor_version   : 0
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     compatible_brands: isommp42
    03-26 12:10:17.464 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     encoder         : Lavf56.4.101
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 360x360 [SAR 1:1 DAR 1:1], q=-1--1, 30.17 fps, 11584 tbn, 30.17 tbc (default)
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       rotate          : 270
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : VideoHandle
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       encoder         : Lavc56.1.100 libx264
    03-26 12:10:17.465 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
    03-26 12:10:17.466 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:     Metadata:
    03-26 12:10:17.466 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       creation_time   : 2016-03-26 16:10:16
    03-26 12:10:17.466 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       handler_name    : SoundHandle
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:       encoder         : Lavc56.1.100 aac
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Stream mapping:
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    03-26 12:10:17.467 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress:   Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    03-26 12:10:17.468 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: Press [q] to stop, [?] for help
    03-26 12:10:18.035 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=    3 fps=0.0 q=0.0 size=       0kB time=00:00:01.00 bitrate=   0.4kbits/s dup=1 drop=0    
    03-26 12:10:18.526 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   21 fps= 20 q=24.0 size=      48kB time=00:00:01.00 bitrate= 390.3kbits/s dup=1 drop=0    
    03-26 12:10:19.008 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   26 fps= 17 q=25.0 size=      68kB time=00:00:01.85 bitrate= 301.1kbits/s dup=1 drop=0    
    03-26 12:10:19.533 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   47 fps= 23 q=23.0 size=     165kB time=00:00:01.87 bitrate= 719.7kbits/s dup=1 drop=0    
    03-26 12:10:19.956 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: frame=   62 fps= 25 q=-1.0 Lsize=     297kB time=00:00:02.05 bitrate=1184.9kbits/s dup=1 drop=0    
    03-26 12:10:19.956 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: video:262kB audio:33kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.992648%
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] frame I:1     Avg QP:20.00  size: 18507
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] frame P:61    Avg QP:23.52  size:  4079
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] mb I  I16..4: 100.0%  0.0%  0.0%
    03-26 12:10:19.984 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] mb P  I16..4:  4.4%  0.0%  0.0%  P16..4: 70.9%  0.0%  0.0%  0.0%  0.0%    skip:24.7%
    03-26 12:10:19.985 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] coded y,uvDC,uvAC intra: 44.6% 40.1% 14.8% inter: 39.1% 32.7% 0.6%
    03-26 12:10:19.985 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] i16 v,h,dc,p: 42% 24% 21% 13%
    03-26 12:10:19.986 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] i8c dc,h,v,p: 44% 24% 25%  8%
    03-26 12:10:19.987 17198-17198/com.noq D/FFMPEG: FFMPEG onProgress: [libx264 @ 0xb78cde30] kb/s:1040.60
    03-26 12:10:20.002 17198-17198/com.noq D/FFMPEG: FFMPEG onSuccess: WARNING: linker: /data/user/0/com.noq/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
                                                    ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
                                                      built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
                                                      configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
                                                      libavutil      54.  7.100 / 54.  7.100
                                                      libavcodec     56.  1.100 / 56.  1.100
                                                      libavformat    56.  4.101 / 56.  4.101
                                                      libavdevice    56.  0.100 / 56.  0.100
                                                      libavfilter     5.  1.100 /  5.  1.100
                                                      libswscale      3.  0.100 /  3.  0.100
                                                      libswresample   1.  1.100 /  1.  1.100
                                                      libpostproc    53.  0.100 / 53.  0.100
                                                    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/1459008610063.mp4':
                                                      Metadata:
                                                        major_brand     : mp42
                                                        minor_version   : 0
                                                        compatible_brands: isommp42
                                                        creation_time   : 2016-03-26 16:10:16
                                                      Duration: 00:00:02.02, start: 0.000000, bitrate: 6131 kb/s
                                                        Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x480, 5926 kb/s, SAR 65536:65536 DAR 4:3, 29.87 fps, 30.17 tbr, 90k tbn, 180k tbc (default)
                                                        Metadata:
                                                          rotate          : 270
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : VideoHandle
                                                          encoder         : MOTO
                                                        Side data:
                                                          displaymatrix: rotation of 90.00 degrees
                                                        Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 130 kb/s (default)
                                                        Metadata:
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : SoundHandle
                                                    [libx264 @ 0xb78cde30] using SAR=1/1
                                                    [libx264 @ 0xb78cde30] using cpu capabilities: none!
                                                    [libx264 @ 0xb78cde30] profile Constrained Baseline, level 2.1
                                                    [libx264 @ 0xb78cde30] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
                                                    Output #0, mp4, to '/storage/emulated/0/Android/data/com.noq/files/Pictures/noq/14590086100631459008616802_square.mp4':
                                                      Metadata:
                                                        major_brand     : mp42
                                                        minor_version   : 0
                                                        compatible_brands: isommp42
                                                        encoder         : Lavf56.4.101
                                                        Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 360x360 [SAR 1:1 DAR 1:1], q=-1--1, 30.17 fps, 11584 tbn, 30.17 tbc (default)
                                                        Metadata:
                                                          rotate          : 270
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : VideoHandle
                                                          encoder         : Lavc56.1.100 libx264
                                                        Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s (default)
                                                        Metadata:
                                                          creation_time   : 2016-03-26 16:10:16
                                                          handler_name    : SoundHandle
                                                          encoder         : La
    03-26 12:10:20.037 17198-17198/com.noq D/FFMPEG: FFMPEG onFinish