| 1 | ffmpeg -i lg4test.ts -map 0:0 -vcodec libx264 -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -profile:v main -map 0:1 -acodec aac -strict experimental -b:a 128K -ac 2 -ar 48000 -f ssegment -segment_list test.m3u8 -segment_list_flags +live -segment_time 10 -segment_format mpegts -segment_format_muxrate 1.25M -segment_time_delta 1.0 -v verbose test%05d.ts
|
|---|
| 2 |
|
|---|
| 3 | ffmpeg version N-52919-ge4723a8 Copyright (c) 2000-2013 the FFmpeg developers
|
|---|
| 4 | built on May 8 2013 23:30:11 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
|
|---|
| 5 | configuration: --enable-shared --disable-static --enable-libx264 --enable-gpl --disable-stripping --enable-debug --enable-libfreetype
|
|---|
| 6 | libavutil 52. 30.100 / 52. 30.100
|
|---|
| 7 | libavcodec 55. 7.100 / 55. 7.100
|
|---|
| 8 | libavformat 55. 4.101 / 55. 4.101
|
|---|
| 9 | libavdevice 55. 0.100 / 55. 0.100
|
|---|
| 10 | libavfilter 3. 63.101 / 3. 63.101
|
|---|
| 11 | libswscale 2. 3.100 / 2. 3.100
|
|---|
| 12 | libswresample 0. 17.102 / 0. 17.102
|
|---|
| 13 | libpostproc 52. 3.100 / 52. 3.100
|
|---|
| 14 | Input #0, mpegts, from 'lg4test.ts':
|
|---|
| 15 | Duration: 00:01:00.03, start: 1.424000, bitrate: 11774 kb/s
|
|---|
| 16 | Program 1
|
|---|
| 17 | Metadata:
|
|---|
| 18 | service_name : Service01
|
|---|
| 19 | service_provider: FFmpeg
|
|---|
| 20 | Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
|
|---|
| 21 | Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
|
|---|
| 22 | [graph 0 input from stream 0:0 @ 0x7fdff2411a80] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:30000/1001 sar:1/1 sws_param:flags=2
|
|---|
| 23 | [scaler for output stream 0:0 @ 0x7fdff2411f40] w:640 h:360 flags:'0x4' interl:0
|
|---|
| 24 | [scaler for output stream 0:0 @ 0x7fdff2411f40] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:640 h:360 fmt:yuv420p sar:1/1 flags:0x4
|
|---|
| 25 | [graph 1 input from stream 0:1 @ 0x7fdff2416c00] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
|
|---|
| 26 | [audio format for output stream 0:1 @ 0x7fdff2417120] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
|
|---|
| 27 | [auto-inserted resampler 0 @ 0x7fdff2417720] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
|
|---|
| 28 | [libx264 @ 0x7fdff2831400] using SAR=1/1
|
|---|
| 29 | [libx264 @ 0x7fdff2831400] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
|
|---|
| 30 | [libx264 @ 0x7fdff2831400] profile Main, level 3.0
|
|---|
| 31 | [stream_segment,ssegment @ 0x7fdff282a800] Selected stream id:0 type:video
|
|---|
| 32 | [mpegts @ 0x7fdff3c16800] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 33 | Output #0, stream_segment,ssegment, to 'test%05d.ts':
|
|---|
| 34 | Metadata:
|
|---|
| 35 | encoder : Lavf55.4.101
|
|---|
| 36 | Stream #0:0: Video: h264 (libx264), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1000 kb/s, 90k tbn, 29.97 tbc
|
|---|
| 37 | Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, fltp, 128 kb/s
|
|---|
| 38 | Stream mapping:
|
|---|
| 39 | Stream #0:0 -> #0:0 (mpeg2video -> libx264)
|
|---|
| 40 | Stream #0:1 -> #0:1 (ac3 -> aac)
|
|---|
| 41 | Press [q] to stop, [?] for help
|
|---|
| 42 | *** 5 dup!
|
|---|
| 43 | [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
|
|---|
| 44 | Last message repeated 3 times
|
|---|
| 45 | [adts @ 0x7fdff3c21200] Encoder did not produce proper pts, making some up.
|
|---|
| 46 | [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
|
|---|
| 47 | Last message repeated 4 times
|
|---|
| 48 | frame= 70 fps=0.0 q=24.0 size=N/A time=00:00:02.28 bitrate=N/A dup=5 drop=0
|
|---|
| 49 | dts < pcr, TS is invalid
|
|---|
| 50 | [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
|
|---|
| 51 | Last message repeated 58 times
|
|---|
| 52 | frame= 126 fps=126 q=25.0 size=N/A time=00:00:04.18 bitrate=N/A dup=5 drop=0
|
|---|
| 53 | dts < pcr, TS is invalid
|
|---|
| 54 | [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
|
|---|
| 55 | Last message repeated 74 times
|
|---|
| 56 | frame= 181 fps=120 q=23.0 size=N/A time=00:00:05.99 bitrate=N/A dup=5 drop=0
|
|---|
| 57 | dts < pcr, TS is invalid
|
|---|
| 58 | [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
|
|---|
| 59 | Last message repeated 70 times
|
|---|
| 60 | frame= 249 fps=124 q=22.0 size=N/A time=00:00:08.27 bitrate=N/A dup=5 drop=0
|
|---|
| 61 | dts < pcr, TS is invalid
|
|---|
| 62 | [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
|
|---|
| 63 | Last message repeated 56 times
|
|---|
| 64 | frame= 309 fps=123 q=25.0 size=N/A time=00:00:10.28 bitrate=N/A dup=5 drop=0
|
|---|
| 65 | dts < pcr, TS is invalid
|
|---|
| 66 | [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
|
|---|
| 67 | Last message repeated 23 times
|
|---|
| 68 | [mpegts @ 0x7fdff4be3000] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 69 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 70 | Last message repeated 52 times
|
|---|
| 71 | frame= 364 fps=121 q=25.0 size=N/A time=00:00:12.11 bitrate=N/A dup=5 drop=0
|
|---|
| 72 | dts < pcr, TS is invalid
|
|---|
| 73 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 74 | Last message repeated 72 times
|
|---|
| 75 | frame= 421 fps=120 q=22.0 size=N/A time=00:00:14.03 bitrate=N/A dup=5 drop=0
|
|---|
| 76 | dts < pcr, TS is invalid
|
|---|
| 77 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 78 | Last message repeated 71 times
|
|---|
| 79 | frame= 488 fps=121 q=22.0 size=N/A time=00:00:16.27 bitrate=N/A dup=5 drop=0
|
|---|
| 80 | dts < pcr, TS is invalid
|
|---|
| 81 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 82 | Last message repeated 56 times
|
|---|
| 83 | frame= 543 fps=120 q=20.0 size=N/A time=00:00:18.09 bitrate=N/A dup=5 drop=0
|
|---|
| 84 | dts < pcr, TS is invalid
|
|---|
| 85 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 86 | Last message repeated 62 times
|
|---|
| 87 | frame= 601 fps=120 q=22.0 size=N/A time=00:00:20.05 bitrate=N/A dup=5 drop=0
|
|---|
| 88 | dts < pcr, TS is invalid
|
|---|
| 89 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 90 | Last message repeated 26 times
|
|---|
| 91 | [mpegts @ 0x7fdff512f800] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 92 | [mpegts @ 0x7fdff512f800] dts < pcr, TS is invalid
|
|---|
| 93 | Last message repeated 34 times
|
|---|
| 94 | frame= 655 fps=119 q=22.0 size=N/A time=00:00:21.84 bitrate=N/A dup=5 drop=0
|
|---|
| 95 | dts < pcr, TS is invalid
|
|---|
| 96 | [mpegts @ 0x7fdff512f800] dts < pcr, TS is invalid
|
|---|
| 97 | Last message repeated 69 times
|
|---|
| 98 | frame= 709 fps=118 q=22.0 size=N/A time=00:00:23.59 bitrate=N/A dup=5 drop=0
|
|---|
| 99 | dts < pcr, TS is invalid
|
|---|
| 100 | [mpegts @ 0x7fdff512f800] dts < pcr, TS is invalid
|
|---|
| 101 | Last message repeated 66 times
|
|---|
| 102 | frame= 765 fps=117 q=22.0 size=N/A time=00:00:25.49 bitrate=N/A dup=5 drop=0
|
|---|
| 103 | dts < pcr, TS is invalid
|
|---|
| 104 | [mpegts @ 0x7fdff512f800] dts < pcr, TS is invalid
|
|---|
| 105 | Last message repeated 70 times
|
|---|
| 106 | frame= 831 fps=118 q=22.0 size=N/A time=00:00:27.69 bitrate=N/A dup=5 drop=0
|
|---|
| 107 | dts < pcr, TS is invalid
|
|---|
| 108 | [mpegts @ 0x7fdff512f800] dts < pcr, TS is invalid
|
|---|
| 109 | Last message repeated 59 times
|
|---|
| 110 | frame= 884 fps=117 q=19.0 size=N/A time=00:00:29.46 bitrate=N/A dup=5 drop=0
|
|---|
| 111 | dts < pcr, TS is invalid
|
|---|
| 112 | [mpegts @ 0x7fdff512f800] dts < pcr, TS is invalid
|
|---|
| 113 | Last message repeated 70 times
|
|---|
| 114 | frame= 950 fps=118 q=22.0 size=N/A time=00:00:31.65 bitrate=N/A dup=5 drop=0
|
|---|
| 115 | dts < pcr, TS is invalid
|
|---|
| 116 | [mpegts @ 0x7fdff512f800] dts < pcr, TS is invalid
|
|---|
| 117 | Last message repeated 2 times
|
|---|
| 118 | [mpegts @ 0x7fdff2df7c00] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 119 | [mpegts @ 0x7fdff2df7c00] dts < pcr, TS is invalid
|
|---|
| 120 | Last message repeated 58 times
|
|---|
| 121 | frame= 1010 fps=118 q=21.0 size=N/A time=00:00:33.68 bitrate=N/A dup=5 drop=0
|
|---|
| 122 | dts < pcr, TS is invalid
|
|---|
| 123 | [mpegts @ 0x7fdff2df7c00] dts < pcr, TS is invalid
|
|---|
| 124 | Last message repeated 60 times
|
|---|
| 125 | frame= 1073 fps=119 q=21.0 size=N/A time=00:00:35.79 bitrate=N/A dup=5 drop=0
|
|---|
| 126 | dts < pcr, TS is invalid
|
|---|
| 127 | [mpegts @ 0x7fdff2df7c00] dts < pcr, TS is invalid
|
|---|
| 128 | Last message repeated 59 times
|
|---|
| 129 | frame= 1134 fps=119 q=21.0 size=N/A time=00:00:37.80 bitrate=N/A dup=5 drop=0
|
|---|
| 130 | dts < pcr, TS is invalid
|
|---|
| 131 | [mpegts @ 0x7fdff2df7c00] dts < pcr, TS is invalid
|
|---|
| 132 | Last message repeated 69 times
|
|---|
| 133 | frame= 1194 fps=119 q=23.0 size=N/A time=00:00:39.82 bitrate=N/A dup=5 drop=0
|
|---|
| 134 | dts < pcr, TS is invalid
|
|---|
| 135 | [mpegts @ 0x7fdff2df7c00] dts < pcr, TS is invalid
|
|---|
| 136 | Last message repeated 32 times
|
|---|
| 137 | [mpegts @ 0x7fdff4be3000] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 138 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 139 | Last message repeated 33 times
|
|---|
| 140 | frame= 1248 fps=118 q=22.0 size=N/A time=00:00:41.62 bitrate=N/A dup=5 drop=0
|
|---|
| 141 | dts < pcr, TS is invalid
|
|---|
| 142 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 143 | Last message repeated 52 times
|
|---|
| 144 | frame= 1287 fps=116 q=21.0 size=N/A time=00:00:42.92 bitrate=N/A dup=5 drop=0
|
|---|
| 145 | dts < pcr, TS is invalid
|
|---|
| 146 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 147 | Last message repeated 64 times
|
|---|
| 148 | frame= 1338 fps=116 q=25.0 size=N/A time=00:00:44.58 bitrate=N/A dup=5 drop=0
|
|---|
| 149 | dts < pcr, TS is invalid
|
|---|
| 150 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 151 | Last message repeated 57 times
|
|---|
| 152 | frame= 1391 fps=115 q=22.0 size=N/A time=00:00:46.37 bitrate=N/A dup=5 drop=0
|
|---|
| 153 | dts < pcr, TS is invalid
|
|---|
| 154 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 155 | Last message repeated 64 times
|
|---|
| 156 | frame= 1444 fps=115 q=22.0 size=N/A time=00:00:48.14 bitrate=N/A dup=5 drop=0
|
|---|
| 157 | dts < pcr, TS is invalid
|
|---|
| 158 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 159 | Last message repeated 64 times
|
|---|
| 160 | frame= 1510 fps=115 q=22.0 size=N/A time=00:00:50.32 bitrate=N/A dup=5 drop=0
|
|---|
| 161 | dts < pcr, TS is invalid
|
|---|
| 162 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 163 | Last message repeated 28 times
|
|---|
| 164 | [mpegts @ 0x7fdff4be3000] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 165 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 166 | Last message repeated 35 times
|
|---|
| 167 | frame= 1566 fps=115 q=23.0 size=N/A time=00:00:52.24 bitrate=N/A dup=5 drop=0
|
|---|
| 168 | dts < pcr, TS is invalid
|
|---|
| 169 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 170 | Last message repeated 64 times
|
|---|
| 171 | frame= 1616 fps=115 q=21.0 size=N/A time=00:00:53.90 bitrate=N/A dup=5 drop=0
|
|---|
| 172 | dts < pcr, TS is invalid
|
|---|
| 173 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 174 | Last message repeated 70 times
|
|---|
| 175 | frame= 1671 fps=115 q=22.0 size=N/A time=00:00:55.72 bitrate=N/A dup=5 drop=0
|
|---|
| 176 | dts < pcr, TS is invalid
|
|---|
| 177 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 178 | Last message repeated 62 times
|
|---|
| 179 | frame= 1729 fps=115 q=20.0 size=N/A time=00:00:57.68 bitrate=N/A dup=5 drop=0
|
|---|
| 180 | dts < pcr, TS is invalid
|
|---|
| 181 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 182 | Last message repeated 72 times
|
|---|
| 183 | frame= 1784 fps=114 q=22.0 size=N/A time=00:00:59.49 bitrate=N/A dup=5 drop=0
|
|---|
| 184 | dts < pcr, TS is invalid
|
|---|
| 185 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 186 | Last message repeated 11 times
|
|---|
| 187 | *** 1 dup!
|
|---|
| 188 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 189 | No more output streams to write to, finishing.
|
|---|
| 190 | [mpegts @ 0x7fdff4be3000] dts < pcr, TS is invalid
|
|---|
| 191 | Last message repeated 18 times
|
|---|
| 192 | [mpegts @ 0x7fdff402a200] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 193 | [mpegts @ 0x7fdff402a200] dts < pcr, TS is invalid
|
|---|
| 194 | Last message repeated 42 times
|
|---|
| 195 | frame= 1800 fps=113 q=-1.0 Lsize=N/A time=00:01:00.01 bitrate=N/A dup=6 drop=0
|
|---|
| 196 | video:5644kB audio:940kB subtitle:0 global headers:0kB muxing overhead -100.000326%
|
|---|
| 197 | [libx264 @ 0x7fdff2831400] frame I:37 Avg QP:14.64 size: 28933
|
|---|
| 198 | [libx264 @ 0x7fdff2831400] frame P:600 Avg QP:17.76 size: 5638
|
|---|
| 199 | [libx264 @ 0x7fdff2831400] frame B:1163 Avg QP:20.35 size: 1140
|
|---|
| 200 | [libx264 @ 0x7fdff2831400] consecutive B-frames: 6.5% 17.8% 12.8% 62.9%
|
|---|
| 201 | [libx264 @ 0x7fdff2831400] mb I I16..4: 16.7% 0.0% 83.3%
|
|---|
| 202 | [libx264 @ 0x7fdff2831400] mb P I16..4: 2.1% 0.0% 3.8% P16..4: 41.7% 22.5% 12.9% 0.0% 0.0% skip:17.0%
|
|---|
| 203 | [libx264 @ 0x7fdff2831400] mb B I16..4: 0.1% 0.0% 0.2% B16..8: 38.1% 4.1% 0.9% direct: 1.9% skip:54.8% L0:38.5% L1:56.4% BI: 5.0%
|
|---|
| 204 | [libx264 @ 0x7fdff2831400] coded y,uvDC,uvAC intra: 72.7% 86.3% 68.7% inter: 11.3% 18.9% 1.9%
|
|---|
| 205 | [libx264 @ 0x7fdff2831400] i16 v,h,dc,p: 51% 15% 12% 23%
|
|---|
| 206 | [libx264 @ 0x7fdff2831400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 15% 14% 5% 7% 8% 5% 6% 4%
|
|---|
| 207 | [libx264 @ 0x7fdff2831400] i8c dc,h,v,p: 45% 17% 29% 9%
|
|---|
| 208 | [libx264 @ 0x7fdff2831400] Weighted P-Frames: Y:4.0% UV:3.2%
|
|---|
| 209 | [libx264 @ 0x7fdff2831400] ref P L0: 61.5% 8.7% 20.0% 9.6% 0.2%
|
|---|
| 210 | [libx264 @ 0x7fdff2831400] ref B L0: 83.8% 13.0% 3.2%
|
|---|
| 211 | [libx264 @ 0x7fdff2831400] ref B L1: 93.3% 6.7%
|
|---|
| 212 | [libx264 @ 0x7fdff2831400] kb/s:769.78
|
|---|