[FFmpeg-user] Encoding for Amazon Cloud Front HLS adaptive streaming. Peak rate too high.
Joel Lopez
badassmexican at gmail.com
Tue Nov 8 23:25:47 EET 2016
On Tue, Nov 8, 2016 at 1:08 PM, Joel Lopez <badassmexican at gmail.com> wrote:
> On Mon, Nov 7, 2016 at 6:27 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>> 2016-11-08 3:15 GMT+01:00 Joel Lopez <badassmexican at gmail.com>:
>>> Hi,
>>>
>>> I'm trying to figure out how to encode with ffmpeg instead of Elastic
>>> Transcoder. I wrote a bash script that outputs these commands and
>>> encodes 6 files different bitrates. After the files are done I
>>> segment them with ffmpeg and upload them and the .m3u8 files up to
>>> Amazon S3. Once they're up I check the stream using Apple's Media
>>> Stream Validator and I get the errors below the commands. What am I
>>> missing in my commands to cap the bit rates?
>>
>> Where in your commands are you trying to cap the bitrates?
>>
>>> ffmpeg version 2.6.git
>>
>> Please understand that this is completely outdated and not supported.
>>
>> Carl Eugen
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>
>
>
> Hi Carl,
>
> I have updated my ffmpeg installation. I have added -b:v -maxrate and
> -bufsize to try and cap my bit rate. I seem to be only about 16% -
> 22% off the bit rates I'm expecting. I imagine the container or
> metadata adds some. Is there anyway to further cap, calculate how
> much more or use ffmpeg to extract the data when it's done encoding
> and segmenting?
>
> For example a 2350k video bit rate and a 64k audio gives me 2878.02
> kb/s measured when I expect 2414 kb/s.
>
>
> Error: Measured peak bitrate compared to master playlist declared
> value exceeds error tolerance
> --> Detail: Measured: 1347.74 kb/s, Master playlist: 1114.00 kb/s,
> Error: 17.34%
> --> Compare: INT_AP_01_001_1050.m3u8
>
> --> Detail: Measured: 519.86 kb/s, Master playlist: 414.00 kb/s, Error: 20.36%
> --> Compare: INT_AP_01_001_350.m3u8
>
> --> Detail: Measured: 386.14 kb/s, Master playlist: 299.00 kb/s, Error: 22.57%
> --> Compare: INT_AP_01_001_235.m3u8
>
> --> Detail: Measured: 2878.02 kb/s, Master playlist: 2414.00 kb/s,
> Error: 16.12%
> --> Compare: INT_AP_01_001_2350.m3u8
>
> --> Detail: Measured: 810.60 kb/s, Master playlist: 664.00 kb/s, Error: 18.09%
> --> Compare: INT_AP_01_001_600.m3u8
>
> --> Detail: Measured: 2180.12 kb/s, Master playlist: 1814.00 kb/s,
> Error: 16.79%
> --> Compare: INT_AP_01_001_1750.m3u8
>
>
> Here's my command and output for the 2350k video bitrate. I do the
> same command just change the bitrate for a 235k, 350k, 600k, 1050k and
> a 1750k.
>
>
> ffmpeg -y -t 60 -i INT_AP_01_001.mov -vf scale=1280:-2
> -force_key_frames 'expr:gte(t,n_forced*2)' -c:v libx264 -preset medium
> -profile:v baseline -level 3.0 -movflags +faststart -b:v 2350k
> -maxrate 2350k -bufsize 2350k -g 60 -strict -2 -c:a aac -b:a 64k
> -hls_list_size 0 INT_AP_01_001_2350.m3u8
>
>
>
>
> ffmpeg version N-82299-g0a24587 Copyright (c) 2000-2016 the FFmpeg developers
> built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
> configuration: --prefix=/home/joel/ffmpeg_build
> --pkg-config-flags=--static
> --extra-cflags=-I/home/joel/ffmpeg_build/include
> --extra-ldflags=-L/home/joel/ffmpeg_build/lib --bindir=/home/joel/bin
> --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype
> --enable-libmp3lame --enable-libopus --enable-libtheora
> --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
> --enable-nonfree
> libavutil 55. 35.100 / 55. 35.100
> libavcodec 57. 66.101 / 57. 66.101
> libavformat 57. 57.100 / 57. 57.100
> libavdevice 57. 2.100 / 57. 2.100
> libavfilter 6. 66.100 / 6. 66.100
> libswscale 4. 3.100 / 4. 3.100
> libswresample 2. 4.100 / 2. 4.100
> libpostproc 54. 2.100 / 54. 2.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'INT_AP_01_001.mov':
> Metadata:
> creation_time : 2016-08-29T23:57:33.000000Z
> Duration: 00:04:01.81, start: 0.000000, bitrate: 8256 kb/s
> Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661),
> yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 1280x720 [SAR 1:1
> DAR 16:9], 7997 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 29.97 tbc
> (default)
> Metadata:
> creation_time : 2016-08-29T23:57:33.000000Z
> handler_name : Apple Alias Data Handler
> encoder : H264
> Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
> stereo, fltp, 255 kb/s (default)
> Metadata:
> creation_time : 2016-08-29T23:57:33.000000Z
> handler_name : Apple Alias Data Handler
> [libx264 @ 0x26a0020] using SAR=1/1
> [libx264 @ 0x26a0020] frame MB size (80x45) > level limit (1620)
> [libx264 @ 0x26a0020] MB rate (107892) > level limit (40500)
> [libx264 @ 0x26a0020] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
> [libx264 @ 0x26a0020] profile Constrained Baseline, level 3.0
> Output #0, hls, to
> '/home/joel/Videos/encoded_hls/INT_AP_01_001_hls10/INT_AP_01_001_2350.m3u8':
> Metadata:
> encoder : Lavf57.57.100
> Stream #0:0(eng): Video: h264 (libx264), yuv420p, 1280x720 [SAR
> 1:1 DAR 16:9], q=-1--1, 2350 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
> (default)
> Metadata:
> creation_time : 2016-08-29T23:57:33.000000Z
> handler_name : Apple Alias Data Handler
> encoder : Lavc57.66.101 libx264
> Side data:
> cpb: bitrate max/min/avg: 2350000/0/2350000 buffer size: 2350000
> vbv_delay: -1
> Stream #0:1(eng): Audio: aac (LC), 44100 Hz, stereo, fltp, 64 kb/s (default)
> Metadata:
> creation_time : 2016-08-29T23:57:33.000000Z
> handler_name : Apple Alias Data Handler
> encoder : Lavc57.66.101 aac
> Stream mapping:
> Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
> Stream #0:1 -> #0:1 (aac (native) -> aac (native))
> Press [q] to stop, [?] for help
> frame= 60 fps=0.0 q=7.0 size=N/A time=00:00:01.02 bitrate=N/A speed=2.01x
> frame= 99 fps= 98 q=0.0 size=N/A time=00:00:03.08 bitrate=N/A speed=3.04x
> frame= 117 fps= 77 q=25.0 size=N/A time=00:00:03.08 bitrate=N/A speed=2.02x
> frame= 129 fps= 63 q=31.0 size=N/A time=00:00:04.13 bitrate=N/A speed=2.03x
> frame= 141 fps= 56 q=30.0 size=N/A time=00:00:04.13 bitrate=N/A speed=1.63x
> frame= 153 fps= 50 q=28.0 size=N/A time=00:00:04.13 bitrate=N/A speed=1.36x
> frame= 163 fps= 45 q=27.0 size=N/A time=00:00:05.17 bitrate=N/A speed=1.44x
> frame= 176 fps= 43 q=30.0 size=N/A time=00:00:05.17 bitrate=N/A speed=1.27x
> frame= 189 fps= 41 q=30.0 size=N/A time=00:00:06.22 bitrate=N/A speed=1.35x
> frame= 202 fps= 39 q=30.0 size=N/A time=00:00:06.22 bitrate=N/A speed=1.21x
> frame= 215 fps= 38 q=31.0 size=N/A time=00:00:06.24 bitrate=N/A speed=1.11x
> frame= 227 fps= 37 q=33.0 size=N/A time=00:00:07.26 bitrate=N/A speed=1.18x
> frame= 239 fps= 36 q=32.0 size=N/A time=00:00:07.26 bitrate=N/A speed=1.09x
> frame= 252 fps= 35 q=29.0 size=N/A time=00:00:08.31 bitrate=N/A speed=1.16x
> frame= 265 fps= 34 q=30.0 size=N/A time=00:00:08.31 bitrate=N/A speed=1.08x
> frame= 277 fps= 34 q=30.0 size=N/A time=00:00:09.24 bitrate=N/A speed=1.13x
> frame= 290 fps= 33 q=30.0 size=N/A time=00:00:09.35 bitrate=N/A speed=1.08x
> frame= 302 fps= 33 q=30.0 size=N/A time=00:00:09.35 bitrate=N/A speed=1.01x
> frame= 315 fps= 32 q=30.0 size=N/A time=00:00:10.40 bitrate=N/A speed=1.07x
> frame= 328 fps= 32 q=31.0 size=N/A time=00:00:10.40 bitrate=N/A speed=1.01x
> frame= 343 fps= 32 q=27.0 size=N/A time=00:00:11.44 bitrate=N/A speed=1.06x
> frame= 356 fps= 31 q=29.0 size=N/A time=00:00:11.44 bitrate=N/A speed=1.01x
> frame= 369 fps= 31 q=27.0 size=N/A time=00:00:11.44 bitrate=N/A
> speed=0.963x
> frame= 383 fps= 31 q=29.0 size=N/A time=00:00:12.49 bitrate=N/A speed=1.01x
> frame= 396 fps= 31 q=29.0 size=N/A time=00:00:12.49 bitrate=N/A
> speed=0.968x
> frame= 407 fps= 30 q=29.0 size=N/A time=00:00:13.53 bitrate=N/A speed=1.01x
> frame= 421 fps= 30 q=30.0 size=N/A time=00:00:13.53 bitrate=N/A
> speed=0.965x
> frame= 434 fps= 30 q=29.0 size=N/A time=00:00:14.58 bitrate=N/A speed= 1x
> frame= 448 fps= 30 q=29.0 size=N/A time=00:00:14.58 bitrate=N/A
> speed=0.969x
> frame= 462 fps= 30 q=29.0 size=N/A time=00:00:14.58 bitrate=N/A
> speed=0.937x
> frame= 473 fps= 29 q=32.0 size=N/A time=00:00:15.62 bitrate=N/A
> speed=0.969x
> frame= 487 fps= 29 q=33.0 size=N/A time=00:00:15.62 bitrate=N/A
> speed=0.939x
> frame= 498 fps= 29 q=36.0 size=N/A time=00:00:16.67 bitrate=N/A
> speed=0.973x
> frame= 511 fps= 29 q=36.0 size=N/A time=00:00:16.67 bitrate=N/A
> speed=0.944x
> frame= 523 fps= 29 q=34.0 size=N/A time=00:00:16.67 bitrate=N/A
> speed=0.913x
> frame= 536 fps= 29 q=36.0 size=N/A time=00:00:17.71 bitrate=N/A
> speed=0.942x
> frame= 550 fps= 28 q=34.0 size=N/A time=00:00:17.71 bitrate=N/A
> speed=0.918x
> frame= 562 fps= 28 q=34.0 size=N/A time=00:00:18.76 bitrate=N/A
> speed=0.946x
> frame= 577 fps= 28 q=34.0 size=N/A time=00:00:18.76 bitrate=N/A speed=0.92x
> frame= 587 fps= 28 q=33.0 size=N/A time=00:00:18.78 bitrate=N/A
> speed=0.898x
> frame= 600 fps= 28 q=34.0 size=N/A time=00:00:19.80 bitrate=N/A
> speed=0.923x
> frame= 611 fps= 28 q=33.0 size=N/A time=00:00:19.80 bitrate=N/A
> speed=0.902x
> frame= 625 fps= 28 q=34.0 size=N/A time=00:00:20.85 bitrate=N/A
> speed=0.928x
> frame= 641 fps= 28 q=36.0 size=N/A time=00:00:20.85 bitrate=N/A
> speed=0.907x
> frame= 649 fps= 28 q=33.0 size=N/A time=00:00:21.22 bitrate=N/A
> speed=0.903x
> frame= 663 fps= 28 q=33.0 size=N/A time=00:00:21.89 bitrate=N/A speed=0.91x
> frame= 676 fps= 28 q=33.0 size=N/A time=00:00:21.89 bitrate=N/A
> speed=0.892x
> frame= 691 fps= 28 q=31.0 size=N/A time=00:00:22.94 bitrate=N/A
> speed=0.914x
> frame= 703 fps= 27 q=28.0 size=N/A time=00:00:22.94 bitrate=N/A
> speed=0.896x
> frame= 716 fps= 27 q=29.0 size=N/A time=00:00:23.98 bitrate=N/A
> speed=0.918x
> frame= 728 fps= 27 q=29.0 size=N/A time=00:00:23.98 bitrate=N/A
> speed=0.901x
> frame= 741 fps= 27 q=28.0 size=N/A time=00:00:23.98 bitrate=N/A
> speed=0.884x
> frame= 753 fps= 27 q=27.0 size=N/A time=00:00:25.03 bitrate=N/A
> speed=0.905x
> frame= 763 fps= 27 q=26.0 size=N/A time=00:00:25.03 bitrate=N/A
> speed=0.888x
> frame= 776 fps= 27 q=29.0 size=N/A time=00:00:26.07 bitrate=N/A
> speed=0.908x
> frame= 788 fps= 27 q=28.0 size=N/A time=00:00:26.07 bitrate=N/A
> speed=0.892x
> frame= 803 fps= 27 q=26.0 size=N/A time=00:00:26.07 bitrate=N/A
> speed=0.876x
> frame= 814 fps= 27 q=25.0 size=N/A time=00:00:27.12 bitrate=N/A
> speed=0.895x
> frame= 825 fps= 27 q=28.0 size=N/A time=00:00:27.12 bitrate=N/A speed=0.88x
> frame= 835 fps= 27 q=27.0 size=N/A time=00:00:27.56 bitrate=N/A speed=0.88x
> frame= 849 fps= 27 q=28.0 size=N/A time=00:00:28.16 bitrate=N/A
> speed=0.884x
> frame= 862 fps= 27 q=29.0 size=N/A time=00:00:28.16 bitrate=N/A speed=0.87x
> frame= 875 fps= 27 q=30.0 size=N/A time=00:00:29.21 bitrate=N/A
> speed=0.888x
> frame= 885 fps= 26 q=30.0 size=N/A time=00:00:29.21 bitrate=N/A
> speed=0.874x
> frame= 897 fps= 26 q=30.0 size=N/A time=00:00:29.21 bitrate=N/A
> speed=0.861x
> frame= 909 fps= 26 q=31.0 size=N/A time=00:00:30.25 bitrate=N/A
> speed=0.879x
> frame= 923 fps= 26 q=30.0 size=N/A time=00:00:30.25 bitrate=N/A
> speed=0.866x
> frame= 937 fps= 26 q=30.0 size=N/A time=00:00:31.30 bitrate=N/A
> speed=0.883x
> frame= 949 fps= 26 q=25.0 size=N/A time=00:00:31.30 bitrate=N/A speed=0.87x
> frame= 963 fps= 26 q=24.0 size=N/A time=00:00:32.34 bitrate=N/A
> speed=0.886x
> frame= 976 fps= 26 q=25.0 size=N/A time=00:00:32.34 bitrate=N/A
> speed=0.874x
> frame= 989 fps= 26 q=24.0 size=N/A time=00:00:32.34 bitrate=N/A
> speed=0.862x
> frame= 1002 fps= 26 q=21.0 size=N/A time=00:00:33.39 bitrate=N/A
> speed=0.877x
> frame= 1013 fps= 26 q=25.0 size=N/A time=00:00:33.39 bitrate=N/A
> speed=0.866x
> frame= 1025 fps= 26 q=24.0 size=N/A time=00:00:34.43 bitrate=N/A
> speed=0.881x
> frame= 1038 fps= 26 q=24.0 size=N/A time=00:00:34.43 bitrate=N/A
> speed=0.869x
> frame= 1051 fps= 26 q=23.0 size=N/A time=00:00:34.43 bitrate=N/A
> speed=0.858x
> frame= 1062 fps= 26 q=22.0 size=N/A time=00:00:35.48 bitrate=N/A
> speed=0.872x
> frame= 1074 fps= 26 q=26.0 size=N/A time=00:00:35.48 bitrate=N/A
> speed=0.861x
> frame= 1087 fps= 26 q=25.0 size=N/A time=00:00:36.52 bitrate=N/A
> speed=0.876x
> frame= 1100 fps= 26 q=27.0 size=N/A time=00:00:36.52 bitrate=N/A
> speed=0.865x
> frame= 1113 fps= 26 q=23.0 size=N/A time=00:00:36.52 bitrate=N/A
> speed=0.854x
> frame= 1124 fps= 26 q=27.0 size=N/A time=00:00:37.56 bitrate=N/A
> speed=0.868x
> frame= 1137 fps= 26 q=26.0 size=N/A time=00:00:37.56 bitrate=N/A
> speed=0.857x
> frame= 1149 fps= 26 q=26.0 size=N/A time=00:00:38.61 bitrate=N/A
> speed=0.871x
> frame= 1164 fps= 26 q=25.0 size=N/A time=00:00:38.61 bitrate=N/A
> speed=0.861x
> frame= 1176 fps= 26 q=24.0 size=N/A time=00:00:38.84 bitrate=N/A
> speed=0.856x
> frame= 1188 fps= 26 q=27.0 size=N/A time=00:00:39.65 bitrate=N/A
> speed=0.864x
> frame= 1201 fps= 26 q=27.0 size=N/A time=00:00:39.65 bitrate=N/A
> speed=0.855x
> frame= 1212 fps= 26 q=27.0 size=N/A time=00:00:40.70 bitrate=N/A
> speed=0.868x
> frame= 1226 fps= 26 q=27.0 size=N/A time=00:00:40.70 bitrate=N/A
> speed=0.858x
> frame= 1238 fps= 26 q=27.0 size=N/A time=00:00:40.72 bitrate=N/A
> speed=0.849x
> frame= 1249 fps= 26 q=28.0 size=N/A time=00:00:41.74 bitrate=N/A
> speed=0.861x
> frame= 1261 fps= 26 q=28.0 size=N/A time=00:00:41.74 bitrate=N/A
> speed=0.851x
> frame= 1273 fps= 26 q=28.0 size=N/A time=00:00:42.79 bitrate=N/A
> speed=0.863x
> frame= 1287 fps= 26 q=27.0 size=N/A time=00:00:42.79 bitrate=N/A
> speed=0.855x
> frame= 1300 fps= 26 q=27.0 size=N/A time=00:00:42.81 bitrate=N/A
> speed=0.847x
> frame= 1311 fps= 26 q=27.0 size=N/A time=00:00:43.83 bitrate=N/A
> speed=0.858x
> frame= 1323 fps= 26 q=27.0 size=N/A time=00:00:43.83 bitrate=N/A speed=0.85x
> frame= 1336 fps= 26 q=27.0 size=N/A time=00:00:44.88 bitrate=N/A
> speed=0.861x
> frame= 1350 fps= 26 q=27.0 size=N/A time=00:00:44.88 bitrate=N/A
> speed=0.853x
> frame= 1362 fps= 26 q=24.0 size=N/A time=00:00:45.13 bitrate=N/A
> speed=0.849x
> frame= 1375 fps= 26 q=27.0 size=N/A time=00:00:45.92 bitrate=N/A
> speed=0.856x
> frame= 1389 fps= 26 q=26.0 size=N/A time=00:00:45.92 bitrate=N/A
> speed=0.848x
> frame= 1402 fps= 26 q=25.0 size=N/A time=00:00:46.97 bitrate=N/A
> speed=0.859x
> frame= 1415 fps= 26 q=23.0 size=N/A time=00:00:46.97 bitrate=N/A
> speed=0.851x
> frame= 1424 fps= 26 q=26.0 size=N/A time=00:00:47.18 bitrate=N/A
> speed=0.847x
> frame= 1437 fps= 26 q=26.0 size=N/A time=00:00:48.01 bitrate=N/A
> speed=0.855x
> frame= 1448 fps= 26 q=26.0 size=N/A time=00:00:48.01 bitrate=N/A
> speed=0.847x
> frame= 1460 fps= 26 q=26.0 size=N/A time=00:00:49.06 bitrate=N/A
> speed=0.857x
> frame= 1474 fps= 26 q=26.0 size=N/A time=00:00:49.06 bitrate=N/A
> speed=0.849x
> frame= 1484 fps= 25 q=26.0 size=N/A time=00:00:49.06 bitrate=N/A
> speed=0.842x
> frame= 1496 fps= 25 q=27.0 size=N/A time=00:00:50.10 bitrate=N/A
> speed=0.852x
> frame= 1509 fps= 25 q=27.0 size=N/A time=00:00:50.10 bitrate=N/A
> speed=0.844x
> frame= 1521 fps= 25 q=27.0 size=N/A time=00:00:51.15 bitrate=N/A
> speed=0.854x
> frame= 1535 fps= 25 q=27.0 size=N/A time=00:00:51.15 bitrate=N/A
> speed=0.847x
> frame= 1546 fps= 25 q=28.0 size=N/A time=00:00:51.15 bitrate=N/A
> speed=0.839x
> frame= 1558 fps= 25 q=32.0 size=N/A time=00:00:52.19 bitrate=N/A
> speed=0.849x
> frame= 1571 fps= 25 q=33.0 size=N/A time=00:00:52.19 bitrate=N/A
> speed=0.841x
> frame= 1583 fps= 25 q=32.0 size=N/A time=00:00:53.24 bitrate=N/A
> speed=0.851x
> frame= 1597 fps= 25 q=29.0 size=N/A time=00:00:53.24 bitrate=N/A
> speed=0.844x
> frame= 1607 fps= 25 q=30.0 size=N/A time=00:00:53.24 bitrate=N/A
> speed=0.837x
> frame= 1619 fps= 25 q=30.0 size=N/A time=00:00:54.28 bitrate=N/A
> speed=0.847x
> frame= 1632 fps= 25 q=29.0 size=N/A time=00:00:54.28 bitrate=N/A speed=0.84x
> frame= 1644 fps= 25 q=29.0 size=N/A time=00:00:55.33 bitrate=N/A
> speed=0.849x
> frame= 1657 fps= 25 q=30.0 size=N/A time=00:00:55.33 bitrate=N/A
> speed=0.842x
> frame= 1668 fps= 25 q=30.0 size=N/A time=00:00:55.33 bitrate=N/A
> speed=0.835x
> frame= 1680 fps= 25 q=30.0 size=N/A time=00:00:56.37 bitrate=N/A
> speed=0.844x
> frame= 1693 fps= 25 q=30.0 size=N/A time=00:00:56.37 bitrate=N/A
> speed=0.838x
> frame= 1706 fps= 25 q=29.0 size=N/A time=00:00:57.42 bitrate=N/A
> speed=0.847x
> frame= 1719 fps= 25 q=29.0 size=N/A time=00:00:57.42 bitrate=N/A speed=0.84x
> frame= 1730 fps= 25 q=30.0 size=N/A time=00:00:57.42 bitrate=N/A
> speed=0.834x
> frame= 1742 fps= 25 q=29.0 size=N/A time=00:00:58.46 bitrate=N/A
> speed=0.843x
> frame= 1755 fps= 25 q=29.0 size=N/A time=00:00:58.46 bitrate=N/A
> speed=0.837x
> frame= 1769 fps= 25 q=29.0 size=N/A time=00:00:59.51 bitrate=N/A
> speed=0.845x
> frame= 1783 fps= 25 q=29.0 size=N/A time=00:00:59.51 bitrate=N/A
> speed=0.838x
> frame= 1796 fps= 25 q=29.0 size=N/A time=00:00:59.53 bitrate=N/A
> speed=0.832x
> frame= 1799 fps= 25 q=-1.0 Lsize=N/A time=00:01:00.00 bitrate=N/A
> speed=0.819x
> video:16711kB audio:476kB subtitle:0kB other streams:0kB global
> headers:0kB muxing overhead: unknown
> [libx264 @ 0x26a0020] frame I:59 Avg QP:17.77 size: 31324
> [libx264 @ 0x26a0020] frame P:1740 Avg QP:22.89 size: 8773
> [libx264 @ 0x26a0020] mb I I16..4: 61.5% 0.0% 38.5%
> [libx264 @ 0x26a0020] mb P I16..4: 11.2% 0.0% 1.7% P16..4: 37.0%
> 6.9% 1.7% 0.0% 0.0% skip:41.5%
> [libx264 @ 0x26a0020] coded y,uvDC,uvAC intra: 17.8% 60.8% 10.8%
> inter: 6.4% 29.8% 0.3%
> [libx264 @ 0x26a0020] i16 v,h,dc,p: 42% 28% 13% 17%
> [libx264 @ 0x26a0020] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 29% 22% 5%
> 5% 4% 5% 4% 3%
> [libx264 @ 0x26a0020] i8c dc,h,v,p: 52% 23% 21% 4%
> [libx264 @ 0x26a0020] ref P L0: 75.1% 24.9%
> [libx264 @ 0x26a0020] kb/s:2280.63
> [aac @ 0x26a4500] Qavg: 529.314
I'm just trying to figure out how to make my master m3u8 playlist file
with the correct bitrates for each encode. Hopefully I can use ffmpeg
to extract the info or just calculate it.
Thanks.
More information about the ffmpeg-user
mailing list