Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (45)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9474)

  • How to reduce size of moov atom of H.264 movies to improve streaming start for smartphones ?

    14 avril 2013, par alebedev

    We run a video service streaming movies to smartphones (iOS&Android).
    We are encoding in H.264+AAC and using the mp4 container.
    We have a problem that long movies (60 minutes+) take a very long time to
    start playing and have tracked this down to the large size of moov
    atom for these movies.
    For 110 minute movies the atom is as large as 4.2Mb which obviously takes a long
    time to download to a smart-phone over 3G !

    Is there anyway to make the moov atom smaller ? We can reduce it bit
    by dropping the audio sampling rate, but obviously anything below 22kHz
    would not really be acceptable.

    We are using ffmpeg as the encoder, and MP4Box to move the metadata
    to the front of the file. Is there any way to get it to make
    a smaller moov ? Any other encoders out there which make a smaller moov ?

    For example...

    Big size (280 Mb, 1h 49min) streamable mp4 (h.264, AAC) file have a big header size (4.2 Mb). File was encoded by two pass ffmpeg and MP4Box for replacing metadata into beginning of the file :

    /usr/bin/ffmpeg -i /var/lib/encoder/incoming/2388 -aspect 320:210 -threads 8 -vcodec libx264 -profile baseline -level 13 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -b:v 270k -maxrate 270k -bufsize 270k -g 30 -passlogfile /tmp/mediaservice/3100/video-IPH.ffmpeg -an -f rawvideo -pass 1 -y /dev/null

    /usr/bin/ffmpeg -i /var/lib/encoder/incoming/2388 -aspect 320:210 -threads 8 -vcodec libx264 -profile baseline -level 13 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -me_method hex -subq 7 -trellis 1 -refs 5 -bf 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -b:v 270k -maxrate 270k -bufsize 270k -g 30 -passlogfile /tmp/mediaservice/3100/video-IPH.ffmpeg -acodec libfaac -ac 2 -b:a 32k -ar 44100 -f mp4 -pass 2 -y /var/lib/encoder/encoded/3100/video-IPH.mp4

    /usr/bin/MP4Box -quiet -tmp /tmp/mediaservice/3100/ -inter 500 /var/lib/encoder/encoded/3100/video-IPH.mp4

    Media info (audio sample rate = 44100) :

    General
    Count                                    : 278
    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
    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                            : 1348645218_970458_2465.iph.mp4
    File name                                : 1348645218_970458_2465.iph.mp4
    File extension                           : mp4
    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                           : Base Media
    Internet media type                      : video/mp4
    Codec ID                                 : isom
    Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
    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                                : 272703970
    File size                                : 260 MiB
    File size                                : 260 MiB
    File size                                : 260 MiB
    File size                                : 260 MiB
    File size                                : 260.1 MiB
    Duration                                 : 6556027
    Duration                                 : 1h 49mn
    Duration                                 : 1h 49mn 16s 27ms
    Duration                                 : 1h 49mn
    Duration                                 : 01:49:16.027
    Overall bit rate                         : 332767
    Overall bit rate                         : 333 Kbps
    Stream size                              : 4230761
    Stream size                              : 4.03 MiB (2%)
    Stream size                              : 4 MiB
    Stream size                              : 4.0 MiB
    Stream size                              : 4.03 MiB
    Stream size                              : 4.035 MiB
    Stream size                              : 4.03 MiB (2%)
    Proportion of this stream                : 0.01551
    HeaderSize                               : 4230683
    DataSize                                 : 268473217
    FooterSize                               : 70
    IsStreamable                             : Yes
    File last modification date              : UTC 2012-09-26 12:38:19
    File last modification date (local)      : 2012-09-26 21:38:19
    Writing application                      : Lavf54.6.100

    Video
    Count                                    : 201
    Count of stream of this kind             : 1
    Kind of stream                           : Video
    Kind of stream                           : Video
    Stream identifier                        : 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                           : Baseline@L1.3
    Format settings                          : 5 Ref Frames
    Format settings, CABAC                   : No
    Format settings, CABAC                   : No
    Format settings, ReFrames                : 5
    Format settings, ReFrames                : 5 frames
    Format settings, GOP                     : M=1, N=30
    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                            : Baseline@L1.3
    Codec settings                           : 5 Ref Frames
    Codec settings, CABAC                    : No
    Codec_Settings_RefFrames                 : 5
    Duration                                 : 6556017
    Duration                                 : 01:49:16.017
    Bit rate                                 : 270000
    Bit rate                                 : 270 Kbps
    Width                                    : 480
    Width                                    : 480 pixels
    Height                                   : 270
    Height                                   : 270 pixels
    Pixel aspect ratio                       : 1.000
    Display aspect ratio                     : 1.778
    Display aspect ratio                     : 16:9
    Rotation                                 : 0.000
    Frame rate mode                          : CFR
    Frame rate mode                          : Constant
    FrameRate_Mode_Original                  : VFR
    Frame rate                               : 29.970
    Frame rate                               : 29.970 fps
    Frame count                              : 196484
    Resolution                               : 8
    Resolution                               : 8 bits
    Colorimetry                              : 4:2:0
    Color space                              : YUV
    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.070
    Stream size                              : 220159060
    Stream size                              : 210 MiB (81%)
    Stream size                              : 210 MiB
    Stream size                              : 210 MiB
    Stream size                              : 210 MiB
    Stream size                              : 210.0 MiB
    Stream size                              : 210 MiB (81%)
    Proportion of this stream                : 0.80732
    Writing library                          : x264 - core 125
    Writing library                          : x264 core 125
    Writing library/Name                     : x264
    Writing library/Version                  : core 125
    Encoding settings                        : cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x131 / 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=8 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=30 / keyint_min=16 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=270 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=270 / vbv_bufsize=270 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
    Tagged date                              : UTC 2012-09-25 07:21:37

    Audio
    Count                                    : 169
    Count of stream of this kind             : 1
    Kind of stream                           : Audio
    Kind of stream                           : Audio
    Stream identifier                        : 0
    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                                 : 6556027
    Duration                                 : 1h 49mn
    Duration                                 : 1h 49mn 16s 27ms
    Duration                                 : 1h 49mn
    Duration                                 : 01:49:16.027
    Bit rate mode                            : VBR
    Bit rate mode                            : Variable
    Bit rate                                 : 58955
    Bit rate                                 : 59.0 Kbps
    Maximum bit rate                         : 270000
    Maximum bit rate                         : 270 Kbps
    Channel(s)                               : 2
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Channel positions                        : 2/0/0
    Sampling rate                            : 44100
    Sampling rate                            : 44.1 KHz
    Samples count                            : 289120791
    Compression mode                         : Lossy
    Compression mode                         : Lossy
    Stream size                              : 48314149
    Stream size                              : 46.1 MiB (18%)
    Stream size                              : 46 MiB
    Stream size                              : 46 MiB
    Stream size                              : 46.1 MiB
    Stream size                              : 46.08 MiB
    Stream size                              : 46.1 MiB (18%)
    Proportion of this stream                : 0.17717
    Tagged date                              : UTC 2012-09-25 07:21:37

    Moov atom info (/moov/trak[0] - video, /moov/trak[1] - audio) sample rate 44100 :
    (look stsz and stts nodes in trak)

    Atom ftyp @ 0 of size: 32, ends @ 32
    Atom moov @ 32 of size: 4230651, ends @ 4230683
        Atom mvhd @ 40 of size: 108, ends @ 148
        Atom trak @ 148 of size: 868970, ends @ 869118
            Atom tkhd @ 156 of size: 92, ends @ 248
            Atom edts @ 248 of size: 36, ends @ 284
                Atom elst @ 256 of size: 28, ends @ 284
            Atom mdia @ 284 of size: 868834, ends @ 869118
                Atom mdhd @ 292 of size: 32, ends @ 324
                Atom hdlr @ 324 of size: 45, ends @ 369
                Atom minf @ 369 of size: 868749, ends @ 869118
                    Atom vmhd @ 377 of size: 20, ends @ 397
                    Atom dinf @ 397 of size: 36, ends @ 433
                        Atom dref @ 405 of size: 28, ends @ 433
                    Atom stbl @ 433 of size: 868685, ends @ 869118
                        Atom stsd @ 441 of size: 149, ends @ 590
                            Atom avc1 @ 457 of size: 133, ends @ 590
                                Atom avcC @ 543 of size: 47, ends @ 590
                        Atom stts @ 590 of size: 24, ends @ 614
                        Atom stss @ 614 of size: 26340, ends @ 26954
                        Atom stsc @ 26954 of size: 52, ends @ 27006
                        Atom stsz @ 27006 of size: 785956, ends @ 812962
                        Atom stco @ 812962 of size: 56156, ends @ 869118
        Atom trak @ 869118 of size: 3361468, ends @ 4230586
            Atom tkhd @ 869126 of size: 92, ends @ 869218
            Atom edts @ 869218 of size: 36, ends @ 869254
                Atom elst @ 869226 of size: 28, ends @ 869254
            Atom mdia @ 869254 of size: 3361332, ends @ 4230586
                Atom mdhd @ 869262 of size: 32, ends @ 869294
                Atom hdlr @ 869294 of size: 45, ends @ 869339
                Atom minf @ 869339 of size: 3361247, ends @ 4230586
                    Atom smhd @ 869347 of size: 16, ends @ 869363
                    Atom dinf @ 869363 of size: 36, ends @ 869399
                        Atom dref @ 869371 of size: 28, ends @ 869399
                    Atom stbl @ 869399 of size: 3361187, ends @ 4230586
                        Atom stsd @ 869407 of size: 91, ends @ 869498
                            Atom mp4a @ 869423 of size: 75, ends @ 869498
                                Atom esds @ 869459 of size: 39, ends @ 869498
                        **Atom stts @ 869498 of size: 2135816, ends @ 3005314**
                        Atom stsc @ 3005314 of size: 39712, ends @ 3045026
                        **Atom stsz @ 3045026 of size: 1129400, ends @ 4174426**
                        Atom stco @ 4174426 of size: 56160, ends @ 4230586
        Atom udta @ 4230586 of size: 97, ends @ 4230683
            Atom meta @ 4230594 of size: 89, ends @ 4230683
                Atom hdlr @ 4230606 of size: 33, ends @ 4230639
                Atom ilst @ 4230639 of size: 44, ends @ 4230683
                    Atom ©too @ 4230647 of size: 36, ends @ 4230683
                        Atom data @ 4230655 of size: 28, ends @ 4230683
    Atom mdat @ 4230683 of size: 268473217, ends @ 272703900
    Atom free @ 272703900 of size: 8, ends @ 272703908
    Atom free @ 272703908 of size: 62, ends @ 272703970
    ------------------------------------------------------
    Total size: 272703970 bytes; 50 atoms total. AtomicParsley version: 0.9.0 (utf8)
    Media data: 268473217 bytes; 4230753 bytes all other atoms (1.551% atom overhead).
    Total free atom space: 70 bytes; 0.000% waste. Padding available: 0 bytes.
    ------------------------------------------------------

    After reencoding this movie with audio sample rate 11025 header size much less :

    Media info (audio sample rate = 11025) : (crop duplicate info)

    General
    ***
    HeaderSize                               : 1276359

    Video
    ***

    Audio
    Count                                    : 169
    Count of stream of this kind             : 1
    Kind of stream                           : Audio
    Kind of stream                           : Audio
    Stream identifier                        : 0
    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                                 : 6556132
    Duration                                 : 1h 49mn
    Duration                                 : 1h 49mn 16s 132ms
    Duration                                 : 1h 49mn
    Duration                                 : 01:49:16.132
    Bit rate mode                            : VBR
    Bit rate mode                            : Variable
    Bit rate                                 : 37991
    Bit rate                                 : 38.0 Kbps
    Maximum bit rate                         : 128000
    Maximum bit rate                         : 128 Kbps
    Channel(s)                               : 2
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Channel positions                        : 2/0/0
    Sampling rate                            : 11025
    Sampling rate                            : 11.025 KHz
    Samples count                            : 72281355
    Compression mode                         : Lossy
    Compression mode                         : Lossy
    Stream size                              : 31134257
    Stream size                              : 29.7 MiB (12%)
    Stream size                              : 30 MiB
    Stream size                              : 30 MiB
    Stream size                              : 29.7 MiB
    Stream size                              : 29.69 MiB
    Stream size                              : 29.7 MiB (12%)
    Proportion of this stream                : 0.12327
    Tagged date                              : UTC 2012-09-25 13:20:28

    Moov atom info (/moov/trak[0] - video, /moov/trak[1] - audio) sample rate 11025 :

    Atom ftyp @ 0 of size: 32, ends @ 32
    Atom moov @ 32 of size: 1276327, ends @ 1276359
        Atom mvhd @ 40 of size: 108, ends @ 148
        Atom trak @ 148 of size: 821662, ends @ 821810
            Atom tkhd @ 156 of size: 92, ends @ 248
            Atom edts @ 248 of size: 36, ends @ 284
                Atom elst @ 256 of size: 28, ends @ 284
            Atom mdia @ 284 of size: 821526, ends @ 821810
                Atom mdhd @ 292 of size: 32, ends @ 324
                Atom hdlr @ 324 of size: 45, ends @ 369
                Atom minf @ 369 of size: 821441, ends @ 821810
                    Atom vmhd @ 377 of size: 20, ends @ 397
                    Atom dinf @ 397 of size: 36, ends @ 433
                        Atom dref @ 405 of size: 28, ends @ 433
                    Atom stbl @ 433 of size: 821377, ends @ 821810
                        Atom stsd @ 441 of size: 149, ends @ 590
                            Atom avc1 @ 457 of size: 133, ends @ 590
                                Atom avcC @ 543 of size: 47, ends @ 590
                        Atom stts @ 590 of size: 24, ends @ 614
                        Atom stss @ 614 of size: 26340, ends @ 26954
                        Atom stsc @ 26954 of size: 52, ends @ 27006
                        Atom stsz @ 27006 of size: 785956, ends @ 812962
                        Atom stco @ 812962 of size: 8848, ends @ 821810
        Atom trak @ 821810 of size: 454452, ends @ 1276262
            Atom tkhd @ 821818 of size: 92, ends @ 821910
            Atom edts @ 821910 of size: 36, ends @ 821946
                Atom elst @ 821918 of size: 28, ends @ 821946
            Atom mdia @ 821946 of size: 454316, ends @ 1276262
                Atom mdhd @ 821954 of size: 32, ends @ 821986
                Atom hdlr @ 821986 of size: 45, ends @ 822031
                Atom minf @ 822031 of size: 454231, ends @ 1276262
                    Atom smhd @ 822039 of size: 16, ends @ 822055
                    Atom dinf @ 822055 of size: 36, ends @ 822091
                        Atom dref @ 822063 of size: 28, ends @ 822091
                    Atom stbl @ 822091 of size: 454171, ends @ 1276262
                        Atom stsd @ 822099 of size: 91, ends @ 822190
                            Atom mp4a @ 822115 of size: 75, ends @ 822190
                                Atom esds @ 822151 of size: 39, ends @ 822190
                        Atom stts @ 822190 of size: 161368, ends @ 983558
                        Atom stsc @ 983558 of size: 1480, ends @ 985038
                        Atom stsz @ 985038 of size: 282372, ends @ 1267410
                        Atom stco @ 1267410 of size: 8852, ends @ 1276262
        Atom udta @ 1276262 of size: 97, ends @ 1276359
            Atom meta @ 1276270 of size: 89, ends @ 1276359
                Atom hdlr @ 1276282 of size: 33, ends @ 1276315
                Atom ilst @ 1276315 of size: 44, ends @ 1276359
                    Atom ©too @ 1276323 of size: 36, ends @ 1276359
                        Atom data @ 1276331 of size: 28, ends @ 1276359
    Atom mdat @ 1276359 of size: 251293325, ends @ 252569684
    Atom free @ 252569684 of size: 8, ends @ 252569692
    Atom free @ 252569692 of size: 62, ends @ 252569754
    ------------------------------------------------------
    Total size: 252569754 bytes; 50 atoms total. AtomicParsley version: 0.9.0 (utf8)
    Media data: 251293325 bytes; 1276429 bytes all other atoms (0.505% atom overhead).
    Total free atom space: 70 bytes; 0.000% waste. Padding available: 0 bytes.
    ------------------------------------------------------

    On slow connection this movie start playing after 30-40 seconds until header info (4.2 Mb) downloading. I need that movie start playing fast as it possible. And i have next questions :

    1. How reduce size of movie header ?

    2. How reduce size of
      /moov[0]/trak[1]/mdia[0]/minf[0]/stbl[0] and why it so big when
      sample rate 44100 ?

  • Playing videos using HTML5 Tag

    20 novembre 2012, par Haja Mohaideen

    I am creating a website where videos need to be streamed. The content creator uploads .mov file to the server. Upon uploading, I convert to the following formats using FFMPEG, .mp4, .webm, and .ogg.

    I am now trying to allow the video to be viewed from multiple browsers and handheld devices. The code is as follow :

    <code class="echappe-js">&lt;script&gt; <br />
    var video = document.getElementById(&amp;#39;video&amp;#39;);<br />
    video.addEventListener(&amp;#39;click&amp;#39;,function(){<br />
    video.play();<br />
    },false);<br />
    &lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot; src=&quot;http://stackoverflow.com/feeds/tag/jwplayer.js&quot;&gt;&lt;/script&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;<br />
     jwplayer(&quot;video&quot;).setup({<br />
       modes: [<br />
          { type: &amp;#39;html5&amp;#39; },<br />
          { type: &amp;#39;flash&amp;#39;, src: &amp;#39;player.swf&amp;#39; }<br />
       ]<br />
     });<br />
    &lt;/script&gt;

    The video works on all browsers. But, it is refusing to play on Android. When I click the play button, it shows as loading only.

    I am testing on 4.0.3.

    FFMPEG conversion codes :

    webm

    exec("ffmpeg -y -i file.mov -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b 345k -s 640x360 output.webm", $command_output, $result);

    ogg

    exec("ffmpeg -y -i file.mov -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b 345k -s 640x360 output.ogv", $command_output, $result);

    flv

    exec("ffmpeg -y -i file.mov -ar 44100 -ab 96 -f flv output.flv", $command_output, $result);

    For MP4 :

       sudo ffmpeg -i file.mov -s 320x240 -c:v libx264 -pix_fmt yuv420p -profile:v baseline -preset slow -acodec aac -strict experimental -ac 2 -r 15 -ab 44100 -aspect 16:9 output.mp4
    ffmpeg version git-2012-10-11-492b8ec Copyright (c) 2000-2012 the FFmpeg developers
     built on Oct 11 2012 19:59:50 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
     configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
     libavutil      51. 74.100 / 51. 74.100
     libavcodec     54. 65.100 / 54. 65.100
     libavformat    54. 31.100 / 54. 31.100
     libavdevice    54.  3.100 / 54.  3.100
     libavfilter     3. 19.102 /  3. 19.102
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 16.100 /  0. 16.100
     libpostproc    52.  1.100 / 52.  1.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x23f3220] Stream #1: not enough frames to estimate rate; consider increasing probesize
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x23f3220] Stream #2: not enough frames to estimate rate; consider increasing probesize
    Guessed Channel Layout for  Input Stream #0.1 : stereo
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#39;file.mov&#39;:
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       creation_time   : 2012-09-07 11:10:10
     Duration: 00:01:41.83, start: 0.000000, bitrate: 186917 kb/s
       Stream #0:0(eng): Video: qtrle (rle  / 0x20656C72), rgb24, 1920x1080, 185371 kb/s, SAR 1920:1920 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
       Metadata:
         creation_time   : 2012-09-07 11:10:10
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00;03
       Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
       Metadata:
         creation_time   : 2012-09-07 11:10:10
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00;03
       Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
       Metadata:
         creation_time   : 2012-09-07 11:31:37
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00;03
    File &#39;output.mp4&#39; already exists. Overwrite ? [y/N] y
    using SAR=4/3
    [libx264 @ 0x240bf60] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
    [libx264 @ 0x240bf60] profile Constrained Baseline, level 1.2
    [libx264 @ 0x240bf60] 264 - core 128 r2 198a7ea - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 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=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to &#39;output.mp4&#39;:
     Metadata:
       major_brand     : qt  
       minor_version   : 537199360
       compatible_brands: qt  
       encoder         : Lavf54.31.100
       Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 320x240 [SAR 4:3 DAR 16:9], q=-1--1, 15360 tbn, 15 tbc
       Metadata:
         creation_time   : 2012-09-07 11:10:10
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00;03
       Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 44 kb/s
       Metadata:
         creation_time   : 2012-09-07 11:10:10
         handler_name    : Apple Alias Data Handler
         timecode        : 00:00:00;03
    Stream mapping:
     Stream #0:0 -> #0:0 (qtrle -> libx264)
     Stream #0:1 -> #0:1 (pcm_s16le -> aac)
    Press [q] to stop, [?] for help
    frame=   25 fps=0.0 q=0.0 size=       0kB time=00:00:01.32 bitrate=   0.frame=   47 fps= 47 q=0.0 size=       0kB time=00:00:02.68 bitrate=   0.frame=   67 fps= 44 q=27.0 size=      12kB time=00:00:04.05 bitrate=  23frame=   88 fps= 44 q=27.0 size=      23kB time=00:00:05.41 bitrate=  34frame=  108 fps= 43 q=27.0 size=      35kB time=00:00:06.78 bitrate=  42frame=  128 fps= 42 q=27.0 size=      47kB time=00:00:08.14 bitrate=  47frame=  150 fps= 43 q=27.0 size=      64kB time=00:00:09.51 bitrate=  54frame=  172 fps= 43 q=27.0 size=      81kB time=00:00:10.88 bitrate=  61frame=  193 fps= 43 q=27.0 size=     106kB time=00:00:12.24 bitrate=  70frame=  214 fps= 42 q=27.0 size=     119kB time=00:00:13.61 bitrate=  71frame=  235 fps= 42 q=27.0 size=     127kB time=00:00:14.97 bitrate=  69frame=  254 fps= 42 q=27.0 size=     144kB time=00:00:16.34 bitrate=  72frame=  272 fps= 41 q=27.0 size=     157kB time=00:00:17.70 bitrate=  72frame=  289 fps= 41 q=27.0 size=     174kB time=00:00:19.07 bitrate=  74frame=  309 fps= 41 q=27.0 size=     183kB time=00:00:20.28 bitrate=  73frame=  329 fps= 41 q=27.0 size=     191kB time=00:00:20.77 bitrate=  75frame=  349 fps= 41 q=27.0 size=     200kB time=00:00:22.08 bitrate=  74frame=  369 fps= 41 q=27.0 size=     215kB time=00:00:23.38 bitrate=  75frame=  389 fps= 41 q=27.0 size=     225kB time=00:00:24.72 bitrate=  74frame=  408 fps= 40 q=27.0 size=     235kB time=00:00:26.02 bitrate=  74frame=  428 fps= 40 q=27.0 size=     247kB time=00:00:27.32 bitrate=  73frame=  448 fps= 40 q=27.0 size=     256kB time=00:00:28.65 bitrate=  73frame=  468 fps= 40 q=27.0 size=     264kB time=00:00:30.01 bitrate=  72frame=  489 fps= 40 q=27.0 size=     273kB time=00:00:31.38 bitrate=  71frame=  507 fps= 40 q=27.0 size=     299kB time=00:00:32.72 bitrate=  74frame=  527 fps= 40 q=27.0 size=     317kB time=00:00:34.09 bitrate=  76frame=  547 fps= 40 q=27.0 size=     336kB time=00:00:35.45 bitrate=  77frame=  565 fps= 40 q=27.0 size=     344kB time=00:00:36.82 bitrate=  76frame=  586 fps= 40 q=27.0 size=     352kB time=00:00:38.18 bitrate=  75frame=  607 fps= 40 q=27.0 size=     361kB time=00:00:39.55 bitrate=  74frame=  627 fps= 40 q=27.0 size=     370kB time=00:00:40.91 bitrate=  74frame=  647 fps= 40 q=27.0 size=     384kB time=00:00:42.28 bitrate=  74frame=  665 fps= 40 q=27.0 size=     408kB time=00:00:43.64 bitrate=  76frame=  684 fps= 40 q=27.0 size=     418kB time=00:00:45.01 bitrate=  76frame=  704 fps= 40 q=27.0 size=     427kB time=00:00:46.37 bitrate=  75frame=  721 fps= 40 q=27.0 size=     453kB time=00:00:47.74 bitrate=  77frame=  741 fps= 40 q=27.0 size=     463kB time=00:00:49.10 bitrate=  77frame=  761 fps= 40 q=27.0 size=     472kB time=00:00:50.47 bitrate=  76frame=  784 fps= 40 q=27.0 size=     481kB time=00:00:51.84 bitrate=  76frame=  804 fps= 40 q=27.0 size=     498kB time=00:00:53.20 bitrate=  76frame=  822 fps= 40 q=27.0 size=     518kB time=00:00:54.57 bitrate=  77frame=  843 fps= 40 q=27.0 size=     529kB time=00:00:55.93 bitrate=  77frame=  862 fps= 40 q=27.0 size=     547kB time=00:00:57.30 bitrate=  78frame=  882 fps= 40 q=27.0 size=     558kB time=00:00:58.13 bitrate=  78frame=  903 fps= 40 q=27.0 size=     568kB time=00:00:58.98 bitrate=  78frame=  923 fps= 40 q=27.0 size=     578kB time=00:01:00.35 bitrate=  78frame=  943 fps= 40 q=27.0 size=     588kB time=00:01:01.67 bitrate=  78frame=  964 fps= 40 q=27.0 size=     598kB time=00:01:03.06 bitrate=  77frame=  984 fps= 40 q=27.0 size=     607kB time=00:01:04.42 bitrate=  77frame= 1004 fps= 40 q=27.0 size=     626kB time=00:01:05.72 bitrate=  78frame= 1026 fps= 40 q=27.0 size=     638kB time=00:01:07.20 bitrate=  77frame= 1047 fps= 40 q=27.0 size=     655kB time=00:01:09.58 bitrate=  77frame= 1069 fps= 40 q=27.0 size=     670kB time=00:01:10.95 bitrate=  77frame= 1089 fps= 40 q=27.0 size=     691kB time=00:01:12.32 bitrate=  78frame= 1108 fps= 40 q=27.0 size=     710kB time=00:01:12.64 bitrate=  80frame= 1126 fps= 40 q=27.0 size=     731kB time=00:01:13.85 bitrate=  81frame= 1142 fps= 40 q=27.0 size=     759kB time=00:01:15.05 bitrate=  82frame= 1157 fps= 39 q=27.0 size=     787kB time=00:01:16.41 bitrate=  84frame= 1174 fps= 39 q=27.0 size=     796kB time=00:01:17.78 bitrate=  83frame= 1192 fps= 39 q=27.0 size=     806kB time=00:01:19.14 bitrate=  83frame= 1209 fps= 39 q=27.0 size=     821kB time=00:01:19.38 bitrate=  84frame= 1227 fps= 39 q=27.0 size=     831kB time=00:01:20.59 bitrate=  84frame= 1248 fps= 39 q=27.0 size=     840kB time=00:01:21.96 bitrate=  84frame= 1267 fps= 39 q=27.0 size=     848kB time=00:01:23.24 bitrate=  83frame= 1289 fps= 39 q=27.0 size=     857kB time=00:01:24.73 bitrate=  82frame= 1309 fps= 39 q=24.0 size=     877kB time=00:01:26.03 bitrate=  83frame= 1329 fps= 39 q=27.0 size=     892kB time=00:01:27.40 bitrate=  83frame= 1351 fps= 39 q=27.0 size=     901kB time=00:01:28.85 bitrate=  83frame= 1372 fps= 39 q=27.0 size=     912kB time=00:01:30.28 bitrate=  82frame= 1394 fps= 39 q=27.0 size=     925kB time=00:01:32.52 bitrate=  81frame= 1418 fps= 39 q=27.0 size=     936kB time=00:01:34.16 bitrate=  81frame= 1441 fps= 40 q=27.0 size=     947kB time=00:01:35.53 bitrate=  81frame= 1464 fps= 40 q=27.0 size=     957kB time=00:01:36.89 bitrate=  80frame= 1488 fps= 40 q=27.0 size=     969kB time=00:01:38.26 bitrate=  80frame= 1509 fps= 40 q=27.0 size=     981kB time=00:01:39.62 bitrate=  80frame= 1526 fps= 40 q=27.0 size=     993kB time=00:01:41.90 bitrate=  79frame= 1530 fps= 40 q=27.0 Lsize=    1038kB time=00:01:42.00 bitrate=  83.4kbits/s dup=0 drop=1522    
    video:406kB audio:590kB subtitle:0 global headers:0kB muxing overhead 4.258083%
    [libx264 @ 0x240bf60] frame I:15    Avg QP:16.30  size:  2928
    [libx264 @ 0x240bf60] frame P:1515  Avg QP:22.12  size:   245
    [libx264 @ 0x240bf60] mb I  I16..4: 72.9%  0.0% 27.1%
    [libx264 @ 0x240bf60] mb P  I16..4:  3.9%  0.0%  0.7%  P16..4:  3.2%  1.1%  0.5%  0.0%  0.0%    skip:90.5%
    [libx264 @ 0x240bf60] coded y,uvDC,uvAC intra: 12.1% 38.2% 14.8% inter: 1.2% 2.7% 0.9%
    [libx264 @ 0x240bf60] i16 v,h,dc,p: 29% 23%  4% 44%
    [libx264 @ 0x240bf60] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 16% 30%  6%  8%  8%  5%  6%  3%
    [libx264 @ 0x240bf60] i8c dc,h,v,p: 50% 27% 18%  5%
    [libx264 @ 0x240bf60] ref P L0: 80.0%  8.9%  6.1%  2.7%  2.3%
    [libx264 @ 0x240bf60] kb/s:32.58

    I decided to remote debug to see what is happening. I realised that the video status is pending.

    Debug

  • How to set Avconv constant bitrate to output flv file ?

    5 novembre 2012, par ispasov

    I am trying to encode a flv file which has bitrate 512k. I have created the folowing command :

    avconv -i input_file.mpg -f flv -c:v flv -b:v 512k -c:a libmp3lame -b:a 64k -ar 44100 -s 400x300 ouput_file.flv

    During the encodding the terminal shows higher bitrate - from 650k falling to 580k.
    After the file has finnished encodding I can't see in it's properties the bitrate - it is N/A.

    I have tried -minrate and -maxrate options but no result also.

    Can someone help me with that ?