Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (55)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • 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" (...)

Sur d’autres sites (5330)

  • Video Encode different parts of video using different bitrates

    8 février 2015, par khateeb

    If I’ve a video like : video-lectures

    enter image description here

    And I need to encode the slides with high bitrate (as it’s the most important to the user) and encode the rest of the view with low bitrate.

    1. Select the part to encode with high bitratre.
      enter image description here

    2. Separately Encoding the different parts with different bitrates.

    enter image description here enter image description here

    1. Combine the different parts into one video.

    The purpose is to reduce the total file-size to be published online, hence reduce the bandwidth needed.
    I need to do that using ffmpeg.
    I’ll use that approach in encoding video-lectures recorded with still camera (180 degree view like the images above), since I know which regions are more useful to students (board and slides) than other regions.

  • Why does the frame count change when scaling with FFmpeg ?

    22 octobre 2016, par ajmicek

    I use this to scale 1920x1080 H.264 videos :

    ffmpeg -i IMG_1438.MOV -threads 2 -vf scale=-2:600 IMG_1438_scaledTo600.MOV

    And it works great ! But here is my question : most of the time, the frame rate stays exactly the same between the original file and the scaled file. For example :

    $ mediainfo -F IMG_1426.MOV | grep Frame\ rate
    Frame rate                               : 29.970
    Frame rate                               : 29.970 FPS
    Frame rate mode                          : VFR
    Frame rate mode                          : Variable
    Frame rate                               : 29.970
    Frame rate                               : 29.970 (29970/1000) FPS

    $ mediainfo -F IMG_1426_scaledTo600.MOV | grep Frame\ rate
    Frame rate                               : 29.970
    Frame rate                               : 29.970 FPS
    Frame rate mode                          : CFR
    Frame rate mode                          : Constant
    Frame rate                               : 29.970
    Frame rate                               : 29.970 (30000/1001) FPS

    But sometimes, the frame rate increases dramatically :

    $ mediainfo -F IMG_1438.MOV | grep Frame\ rate
    Frame rate                               : 25.044
    Frame rate                               : 25.044 FPS
    Frame rate mode                          : VFR
    Frame rate mode                          : Variable
    Frame rate                               : 25.044
    Frame rate                               : 25.044 FPS

    $ mediainfo -F IMG_1438_scaledTo600.MOV | grep Frame\ rate
    Frame rate                               : 120.000
    Frame rate                               : 120.000 FPS
    Frame rate mode                          : CFR
    Frame rate mode                          : Constant
    Frame rate                               : 120.000
    Frame rate                               : 120.000 FPS

    What should I know about FFmpeg or libx264 or libswscale that will help me understand why this happens ? (Hoping to hear from LordNeckbeard, in particular).

    mediainfo IMG_1438.MOV --Full outputs :

    General
    Count                                    : 327
    Count of stream of this kind             : 1
    Kind of stream                           : General
    Kind of stream                           : General
    Stream identifier                        : 0
    Count of video streams                   : 1
    Count of audio streams                   : 1
    OtherCount                               : 2
    Video_Format_List                        : AVC
    Video_Format_WithHint_List               : AVC
    Codecs Video                             : AVC
    Audio_Format_List                        : AAC
    Audio_Format_WithHint_List               : AAC
    Audio codecs                             : AAC LC
    Complete name                            : IMG_1438.MOV
    File name                                : IMG_1438
    File extension                           : MOV
    Format                                   : MPEG-4
    Format                                   : MPEG-4
    Format/Extensions usually used           : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
    Commercial name                          : MPEG-4
    Format profile                           : QuickTime
    Internet media type                      : video/mp4
    Codec ID                                 : qt  
    Codec ID                                 : qt   0000.00 (qt  )
    Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
    CodecID_Version                          : 0000.00
    CodecID_Compatible                       : qt  
    Codec                                    : MPEG-4
    Codec                                    : MPEG-4
    Codec/Extensions usually used            : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v
    File size                                : 113990140
    File size                                : 109 MiB
    File size                                : 109 MiB
    File size                                : 109 MiB
    File size                                : 109 MiB
    File size                                : 108.7 MiB
    Duration                                 : 52268
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 00:00:52.268
    Duration                                 : 00:00:52:09
    Duration                                 : 00:00:52.268 (00:00:52:09)
    Overall bit rate                         : 17447026
    Overall bit rate                         : 17.4 Mb/s
    Frame rate                               : 25.044
    Frame rate                               : 25.044 FPS
    Frame count                              : 1309
    Stream size                              : 56670
    Stream size                              : 55.3 KiB (0%)
    Stream size                              : 55 KiB
    Stream size                              : 55 KiB
    Stream size                              : 55.3 KiB
    Stream size                              : 55.34 KiB
    Stream size                              : 55.3 KiB (0%)
    Proportion of this stream                : 0.00050
    HeaderSize                               : 28
    DataSize                                 : 113966271
    FooterSize                               : 23841
    IsStreamable                             : No
    Encoded date                             : UTC 2016-10-08 22:51:19
    Tagged date                              : UTC 2016-10-08 22:52:12
    File last modification date              : UTC 2016-10-08 22:51:19
    File last modification date (local)      : 2016-10-08 17:51:19
    Writing library                          : Apple QuickTime
    Writing library                          : Apple QuickTime
    Encoded_Library_Name                     : Apple QuickTime
    com.apple.quicktime.make                 : Apple
    com.apple.quicktime.model                : iPhone 5
    com.apple.quicktime.software             : 10.0.2
    com.apple.quicktime.creationdate         : 2016-10-08T17:51:19-0500

    Video
    Count                                    : 334
    Count of stream of this kind             : 1
    Kind of stream                           : Video
    Kind of stream                           : Video
    Stream identifier                        : 0
    StreamOrder                              : 0
    ID                                       : 1
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format/Url                               : http://developers.videolan.org/x264.html
    Commercial name                          : AVC
    Format profile                           : High@L4.1
    Format settings                          : CABAC / 1 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 1
    Format settings, ReFrames                : 1 frame
    Internet media type                      : video/H264
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
    Codec                                    : AVC
    Codec                                    : AVC
    Codec/Family                             : AVC
    Codec/Info                               : Advanced Video Codec
    Codec/Url                                : http://developers.videolan.org/x264.html
    Codec/CC                                 : avc1
    Codec profile                            : High@L4.1
    Codec settings                           : CABAC / 1 Ref Frames
    Codec settings, CABAC                    : Yes
    Codec_Settings_RefFrames                 : 1
    Duration                                 : 52268
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 00:00:52.268
    Duration                                 : 00:00:52:09
    Duration                                 : 00:00:52.268 (00:00:52:09)
    Bit rate                                 : 17375530
    Bit rate                                 : 17.4 Mb/s
    Width                                    : 1920
    Width                                    : 1 920 pixels
    Height                                   : 1080
    Height                                   : 1 080 pixels
    Stored_Height                            : 1088
    Sampled_Width                            : 1920
    Sampled_Height                           : 1080
    Pixel aspect ratio                       : 1.000
    Display aspect ratio                     : 1.778
    Display aspect ratio                     : 16:9
    Rotation                                 : 90.000
    Rotation                                 : 90°
    Frame rate mode                          : VFR
    Frame rate mode                          : Variable
    Frame rate                               : 25.044
    Frame rate                               : 25.044 FPS
    Minimum frame rate                       : 23.077
    Minimum frame rate                       : 23.077 FPS
    Maximum frame rate                       : 30.000
    Maximum frame rate                       : 30.000 FPS
    Frame count                              : 1309
    Resolution                               : 8
    Resolution                               : 8 bits
    Colorimetry                              : 4:2:0
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Scan type                                : Progressive
    Interlacement                            : PPF
    Interlacement                            : Progressive
    Bits/(Pixel*Frame)                       : 0.335
    Stream size                              : 113523046
    Stream size                              : 108 MiB (100%)
    Stream size                              : 108 MiB
    Stream size                              : 108 MiB
    Stream size                              : 108 MiB
    Stream size                              : 108.3 MiB
    Stream size                              : 108 MiB (100%)
    Proportion of this stream                : 0.99590
    Title                                    : Core Media Video
    Encoded date                             : UTC 2016-10-08 22:51:19
    Tagged date                              : UTC 2016-10-08 22:52:12
    Color range                              : Limited
    colour_description_present               : Yes
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709

    Audio
    Count                                    : 272
    Count of stream of this kind             : 1
    Kind of stream                           : Audio
    Kind of stream                           : Audio
    Stream identifier                        : 0
    StreamOrder                              : 1
    ID                                       : 2
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Commercial name                          : AAC
    Format profile                           : LC
    Codec ID                                 : 40
    Codec                                    : AAC LC
    Codec                                    : AAC LC
    Codec/Family                             : AAC
    Codec/CC                                 : 40
    Duration                                 : 52268
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 00:00:52.268
    Duration                                 : 00:00:52:15
    Duration                                 : 00:00:52.268 (00:00:52:15)
    Source duration                          : 52338
    Source duration                          : 52 s 338 ms
    Source duration                          : 52 s 338 ms
    Source duration                          : 52 s 338 ms
    Source duration                          : 00:00:52.338
    Bit rate mode                            : CBR
    Bit rate mode                            : Constant
    Bit rate                                 : 64000
    Bit rate                                 : 64.0 kb/s
    Channel(s)                               : 1
    Channel(s)                               : 1 channel
    Channel positions                        : Front: C
    Channel positions                        : 1/0/0
    ChannelLayout                            : C
    Samples per frame                        : 1024
    Sampling rate                            : 44100
    Sampling rate                            : 44.1 kHz
    Samples count                            : 2305019
    Frame rate                               : 43.066
    Frame rate                               : 43.066 FPS (1024 spf)
    Frame count                              : 2251
    Source frame count                       : 2254
    Compression mode                         : Lossy
    Compression mode                         : Lossy
    Stream size                              : 410424
    Stream size                              : 401 KiB (0%)
    Stream size                              : 401 KiB
    Stream size                              : 401 KiB
    Stream size                              : 401 KiB
    Stream size                              : 400.8 KiB
    Stream size                              : 401 KiB (0%)
    Proportion of this stream                : 0.00360
    Source stream size                       : 410894
    Source stream size                       : 401 KiB (0%)
    Source stream size                       : 401 KiB
    Source stream size                       : 401 KiB
    Source stream size                       : 401 KiB
    Source stream size                       : 401.3 KiB
    Source stream size                       : 401 KiB (0%)
    Source_StreamSize_Proportion             : 0.00360
    Title                                    : Core Media Audio
    Encoded date                             : UTC 2016-10-08 22:51:19
    Tagged date                              : UTC 2016-10-08 22:52:12

    Other #1
    Count                                    : 112
    Count of stream of this kind             : 2
    Kind of stream                           : Other
    Kind of stream                           : Other
    Stream identifier                        : 0
    Stream identifier                        : 1
    Type                                     : meta
    Duration                                 : 52268
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 00:00:52.268
    Duration                                 : 00:00:52.268
    Frame count                              : 6
    Bit rate mode                            : VBR

    Other #2
    Count                                    : 112
    Count of stream of this kind             : 2
    Kind of stream                           : Other
    Kind of stream                           : Other
    Stream identifier                        : 1
    Stream identifier                        : 2
    Type                                     : meta
    Duration                                 : 52268
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 52 s 268 ms
    Duration                                 : 00:00:52.268
    Duration                                 : 00:00:52.268
    Frame count                              : 1
    Bit rate mode                            : CBR

    and ffprobe IMG_1438.MOV outputs :

    ffprobe version 3.1.3 Copyright (c) 2007-2016 the FFmpeg developers
     built with Apple LLVM version 7.3.0 (clang-703.0.31)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 47.100 /  6. 47.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_1438.MOV':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2016-10-08 22:51:19
       com.apple.quicktime.make: Apple
       com.apple.quicktime.model: iPhone 5
       com.apple.quicktime.software: 10.0.2
       com.apple.quicktime.creationdate: 2016-10-08T17:51:19-0500
     Duration: 00:00:52.27, start: 0.000000, bitrate: 17446 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 17375 kb/s, 25.04 fps, 120 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         rotate          : 90
         creation_time   : 2016-10-08 22:51:19
         handler_name    : Core Media Data Handler
         encoder         : H.264
       Side data:
         displaymatrix: rotation of -90.00 degrees
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 62 kb/s (default)
       Metadata:
         creation_time   : 2016-10-08 22:51:19
         handler_name    : Core Media Data Handler
       Stream #0:2(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
       Metadata:
         creation_time   : 2016-10-08 22:51:19
         handler_name    : Core Media Data Handler
       Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
       Metadata:
         creation_time   : 2016-10-08 22:51:19
         handler_name    : Core Media Data Handler
    Unsupported codec with id 0 for input stream 2
    Unsupported codec with id 0 for input stream 3

    UPDATE
    To clarify : my video above, the one with the high framerate (120 FPS) output after scaling, plays perfectly before and after scaling with FFmpeg (no sync issues, and 120 FPS is only about 14% larger in file size), I am simply trying to understand why this increase in framerate happens (just a little beyond Mulvya’s note that the framerate stored in the container is wrong).

    From a programming perspective, the initial issue I ran into was that I was using frame= from FFmpeg’s sterr console output to determine progress, which reports erroneous results when the frame count increases dramatically on output ("I’m 372% done encoding ?!") ; I have since read another stackoverflow answer and changed my code to use time=, which appears to be a more robust way for me to display FFmpeg progress. (Also, there is FFmpeg’s -progress option, of course).

    Improving on the original command

    My new command to scale, preserve a useful framerate, and optimize threads :

    ffmpeg -i IMG_1438.MOV -vf scale=-2:600 -r 30 -vsync 0 IMG_1438_scaledTo600.MOV

    Where 30 is the "Maximum frame rate" from mediainfo.

    Thanks to help in the comments, I now know I do not fully understand FFmpeg’s use of three different time bases for timestamps : tbn, tbc, and tbr.
    They were explained by Robert Swain in 2009 and his explanation was also used to answer a Stackoverflow question about tbn, tbc, tbr.

    It sounds to me, as I’m pulling together comments from Mulvya below and Michael Rampe at another forum, that tbr is guessed ; it is frequently but not always the best value to use when changing from a variable to a constant frame rate video.

    Which leaves these 2 questions...

    (1) tbr is incorrect when "field rate and frame rate" differ ? Does this happen a lot ?
    (2) Is -r 30 where 30 is the maximum frame rate reported by mediainfo the best way to do it for most codec/container combinations ? (Or should I only use this method when I am scaling a H.264/MPEG-4 AVC video ?)

  • ffmpeg `avformat_write_header` fail with -22 Invalid arg

    3 février 2017, par user998953

    I am having an error with FFMPEG. Here is my code :

    static int open_output_file(const char *filename) {
       AVStream *out_stream;
       AVStream *in_stream;
       AVCodecContext *dec_ctx, *enc_ctx;
       AVCodec *encoder;
       int ret;
       unsigned int i;
       ofmt_ctx = NULL;
       avformat_alloc_output_context2(&ofmt_ctx, NULL, NULL, filename);
       if (!ofmt_ctx) {
           LOGD(NULL, AV_LOG_ERROR, "Could notcreate output context\n");
           return AVERROR_UNKNOWN;
       }
       for (i = 0; i < ifmt_ctx->nb_streams; i++) {
           out_stream = avformat_new_stream(ofmt_ctx, NULL);
           if (!out_stream) {
               LOGD(NULL, AV_LOG_ERROR, "Failed allocating output stream\n");
               return AVERROR_UNKNOWN;
           }
           in_stream = ifmt_ctx->streams[i];
           dec_ctx = in_stream->codec;
           enc_ctx = out_stream->codec;
           if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO
               || dec_ctx->codec_type == AVMEDIA_TYPE_AUDIO) {
               /* in this example, we choose transcoding to same codec */

               encoder = avcodec_find_encoder(dec_ctx->codec_id);
               enc_ctx = avcodec_alloc_context3(encoder);
               if (!encoder) {
                   LOGE("encoder not avalibe ");
                   return -1;
               }
               /* In this example, we transcode to same properties(picture size,
               * sample rate etc.). These properties can be changed for output
               * streams easily using filters */
               if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO) {
                   enc_ctx->height = dec_ctx->height;
                   enc_ctx->width = dec_ctx->width;
                   enc_ctx->sample_aspect_ratio = dec_ctx->sample_aspect_ratio;
                   /* take first format from list of supported formats */
                   enc_ctx->pix_fmt = encoder->pix_fmts[0];
                   /* video time_base can be set to whatever is handy andsupported by encoder */
                   enc_ctx->time_base = dec_ctx->time_base;
               } else {
                   enc_ctx->sample_rate = dec_ctx->sample_rate;
                   enc_ctx->channel_layout = dec_ctx->channel_layout;
                   enc_ctx->channels = av_get_channel_layout_nb_channels(enc_ctx->channel_layout);
                   /* take first format from list of supported formats */
                   enc_ctx->sample_fmt = encoder->sample_fmts[0];
                   AVRational time_base = {1, enc_ctx->sample_rate};
                   enc_ctx->time_base = time_base;
               }
               /* Third parameter can be used to pass settings to encoder*/
               ret = avcodec_open2(enc_ctx, encoder, NULL);
               if (ret < 0) {
                   LOGD("Cannot openvideo encoder for stream #%u\n", i);
                   return ret;
               }
           } else if (dec_ctx->codec_type == AVMEDIA_TYPE_UNKNOWN) {
               LOGE("Elementarystream #%d is of unknown type, cannot proceed\n",
                    i);
               return AVERROR_INVALIDDATA;
           } else {
               /* if this stream must be remuxed */
               ret = avcodec_copy_context(ofmt_ctx->streams[i]->codec,
                                          ifmt_ctx->streams[i]->codec);
               if (ret < 0) {
                   LOGE("Copyingstream context failed\n");
                   return ret;
               }
           }
           if (ofmt_ctx->oformat->flags & AVFMT_GLOBALHEADER)
               enc_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
       }
       av_dump_format(ofmt_ctx, 0, filename, 1);
       if (!(ofmt_ctx->oformat->flags & AVFMT_NOFILE)) {
           ret = avio_open(&ofmt_ctx->pb, filename, AVIO_FLAG_WRITE);
           if (ret < 0) {
               LOGE("Could not open output file '%s'", filename);
               return ret;
           }
       }
       ret = avformat_write_header(ofmt_ctx, NULL); //wrong here
       if (ret < 0) {
           char buf[1024] = {0};
           av_strerror(ret, buf, 1024);
           LOGE("Error occurred when opening output file : %s\n", buf);
           return ret;
       }
       return 0;
    }

    Here is the ffmpeg log. Pay close attention to the error I am getting which is :

    Error occurred when opening output file : Invalid argument

    Here is the rest of it :

    02-03 18:09:44.120 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xebf33e00] After avformat_find_stream_info() pos: 680796 bytes read:308417 seeks:1 frames:48
    02-03 18:09:44.120 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [h264 @ 0xea72cc00] nal_unit_type: 7, nal_ref_idc: 3
    02-03 18:09:44.120 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [h264 @ 0xea72cc00] nal_unit_type: 8, nal_ref_idc: 3
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/sdcard/test2.mp4':
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer:   Metadata:
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     major_brand     :
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer: mp42
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     minor_version   :
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 0
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     compatible_brands:
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer: isommp42
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     creation_time   :
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 2017-01-23T08:22:57.000000Z
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     com.android.version:
    02-03 18:09:44.121 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 6.0.1
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer:   Duration:
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 00:00:07.74
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: , start:
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 0.000000
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: , bitrate:
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 14377 kb/s
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     Stream #0:0
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: (eng)
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: , 1, 1/90000
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: : Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720, 13892 kb/s
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: , SAR 1:1 DAR 16:9
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: ,
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 30.02 fps,
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 30 tbr,
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 90k tbn,
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 60.04 tbc
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer:  (default)
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     Metadata:
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer:       rotate          :
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 90
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer:       creation_time   :
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 2017-01-23T08:22:57.000000Z
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer:       handler_name    :
    02-03 18:09:44.122 24571-24571/com.zhenbeiju.avplayer E/videoplayer: VideoHandle
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     Side data:
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer:      
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer: displaymatrix: rotation of -90.00 degrees
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     Stream #0:1
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer: (eng)
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer: , 47, 1/48000
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer: : Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer:  (default)
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     Metadata:
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer:       creation_time   :
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer: 2017-01-23T08:22:57.000000Z
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer:       handler_name    :
    02-03 18:09:44.123 24571-24571/com.zhenbeiju.avplayer E/videoplayer: SoundHandle
    02-03 18:09:44.124 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [libx264 @ 0xdbf3dc00] using mv_range_thread = 56
    02-03 18:09:44.126 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [libx264 @ 0xdbf3dc00] using cpu capabilities: none!
    02-03 18:09:44.197 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [libx264 @ 0xdbf3dc00] profile High, level 4.0
    02-03 18:09:44.199 24571-24571/com.zhenbeiju.avplayer E/videoplayer: Output #0, mp4, to '/sdcard/test3.mp4':
    02-03 18:09:44.199 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     Stream #0:0
    02-03 18:09:44.199 24571-24571/com.zhenbeiju.avplayer E/videoplayer: , 0, 0/0
    02-03 18:09:44.199 24571-24571/com.zhenbeiju.avplayer E/videoplayer: : Unknown: none
    02-03 18:09:44.200 24571-24571/com.zhenbeiju.avplayer E/videoplayer:     Stream #0:1
    02-03 18:09:44.200 24571-24571/com.zhenbeiju.avplayer E/videoplayer: , 0, 0/0
    02-03 18:09:44.200 24571-24571/com.zhenbeiju.avplayer E/videoplayer: : Unknown: none
    02-03 18:09:44.200 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [file @ 0xdbdc71e0] Setting default whitelist 'file,crypto'
    02-03 18:09:44.201 24571-24571/com.zhenbeiju.avplayer E/videoplayer: [mp4 @ 0xebf3a800] Could not find tag for codec none in stream #0, codec not currently supported in container
    02-03 18:09:44.201 24571-24571/com.zhenbeiju.avplayer E/videoplayer: Error occurred when opening output file : Invalid argument