| 1 | ffmpeg -i lg4test.ts -map 0:0 -vcodec mpeg2video -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -map 0:1 -acodec mp2 -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 @ 0x7fefd9411f80] 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 @ 0x7fefd9411c60] w:640 h:360 flags:'0x4' interl:0
|
|---|
| 24 | [scaler for output stream 0:0 @ 0x7fefd9411c60] 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 @ 0x7fefd9416a40] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
|
|---|
| 26 | [audio format for output stream 0:1 @ 0x7fefd9416f60] 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 @ 0x7fefd94177a0] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
|
|---|
| 28 | [stream_segment,ssegment @ 0x7fefd982a800] Selected stream id:0 type:video
|
|---|
| 29 | [mpegts @ 0x7fefda870400] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 30 | Output #0, stream_segment,ssegment, to 'test%05d.ts':
|
|---|
| 31 | Metadata:
|
|---|
| 32 | encoder : Lavf55.4.101
|
|---|
| 33 | Stream #0:0: Video: mpeg2video, yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 90k tbn, 29.97 tbc
|
|---|
| 34 | Stream #0:1(eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
|
|---|
| 35 | Stream mapping:
|
|---|
| 36 | Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video)
|
|---|
| 37 | Stream #0:1 -> #0:1 (ac3 -> mp2)
|
|---|
| 38 | Press [q] to stop, [?] for help
|
|---|
| 39 | *** 5 dup!
|
|---|
| 40 | [mpegts @ 0x7fefda870400] dts < pcr, TS is invalid
|
|---|
| 41 | Last message repeated 136 times
|
|---|
| 42 | frame= 89 fps=0.0 q=4.9 size=N/A time=00:00:02.96 bitrate=N/A dup=5 drop=0
|
|---|
| 43 | dts < pcr, TS is invalid
|
|---|
| 44 | [mpegts @ 0x7fefda870400] dts < pcr, TS is invalid
|
|---|
| 45 | Last message repeated 128 times
|
|---|
| 46 | frame= 178 fps=177 q=4.4 size=N/A time=00:00:05.94 bitrate=N/A dup=5 drop=0
|
|---|
| 47 | dts < pcr, TS is invalid
|
|---|
| 48 | [mpegts @ 0x7fefda870400] dts < pcr, TS is invalid
|
|---|
| 49 | Last message repeated 132 times
|
|---|
| 50 | frame= 270 fps=179 q=3.2 size=N/A time=00:00:08.96 bitrate=N/A dup=5 drop=0
|
|---|
| 51 | dts < pcr, TS is invalid
|
|---|
| 52 | [mpegts @ 0x7fefda870400] dts < pcr, TS is invalid
|
|---|
| 53 | Last message repeated 7 times
|
|---|
| 54 | [mpegts @ 0x7fefd984e400] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 55 | [mpegts @ 0x7fefd984e400] dts < pcr, TS is invalid
|
|---|
| 56 | Last message repeated 115 times
|
|---|
| 57 | frame= 355 fps=176 q=3.6 size=N/A time=00:00:11.84 bitrate=N/A dup=5 drop=0
|
|---|
| 58 | dts < pcr, TS is invalid
|
|---|
| 59 | [mpegts @ 0x7fefd984e400] dts < pcr, TS is invalid
|
|---|
| 60 | Last message repeated 127 times
|
|---|
| 61 | frame= 442 fps=176 q=3.2 size=N/A time=00:00:14.77 bitrate=N/A dup=5 drop=0
|
|---|
| 62 | dts < pcr, TS is invalid
|
|---|
| 63 | [mpegts @ 0x7fefd984e400] dts < pcr, TS is invalid
|
|---|
| 64 | Last message repeated 133 times
|
|---|
| 65 | frame= 533 fps=177 q=3.2 size=N/A time=00:00:17.77 bitrate=N/A dup=5 drop=0
|
|---|
| 66 | dts < pcr, TS is invalid
|
|---|
| 67 | [mpegts @ 0x7fefd984e400] dts < pcr, TS is invalid
|
|---|
| 68 | Last message repeated 60 times
|
|---|
| 69 | [mpegts @ 0x7fefda888400] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 70 | [mpegts @ 0x7fefda888400] dts < pcr, TS is invalid
|
|---|
| 71 | Last message repeated 67 times
|
|---|
| 72 | frame= 621 fps=176 q=3.2 size=N/A time=00:00:20.72 bitrate=N/A dup=5 drop=0
|
|---|
| 73 | dts < pcr, TS is invalid
|
|---|
| 74 | [mpegts @ 0x7fefda888400] dts < pcr, TS is invalid
|
|---|
| 75 | Last message repeated 131 times
|
|---|
| 76 | frame= 712 fps=177 q=2.8 size=N/A time=00:00:23.74 bitrate=N/A dup=5 drop=0
|
|---|
| 77 | dts < pcr, TS is invalid
|
|---|
| 78 | [mpegts @ 0x7fefda888400] dts < pcr, TS is invalid
|
|---|
| 79 | Last message repeated 132 times
|
|---|
| 80 | frame= 801 fps=177 q=3.0 size=N/A time=00:00:26.72 bitrate=N/A dup=5 drop=0
|
|---|
| 81 | dts < pcr, TS is invalid
|
|---|
| 82 | [mpegts @ 0x7fefda888400] dts < pcr, TS is invalid
|
|---|
| 83 | Last message repeated 138 times
|
|---|
| 84 | frame= 897 fps=178 q=3.6 size=N/A time=00:00:29.94 bitrate=N/A dup=5 drop=0
|
|---|
| 85 | dts < pcr, TS is invalid
|
|---|
| 86 | [mpegts @ 0x7fefda888400] dts < pcr, TS is invalid
|
|---|
| 87 | Last message repeated 18 times
|
|---|
| 88 | [mpegts @ 0x7fefdb831600] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 89 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 90 | Last message repeated 113 times
|
|---|
| 91 | frame= 988 fps=178 q=2.4 size=N/A time=00:00:32.96 bitrate=N/A dup=5 drop=0
|
|---|
| 92 | dts < pcr, TS is invalid
|
|---|
| 93 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 94 | Last message repeated 139 times
|
|---|
| 95 | frame= 1084 fps=180 q=2.4 size=N/A time=00:00:36.13 bitrate=N/A dup=5 drop=0
|
|---|
| 96 | dts < pcr, TS is invalid
|
|---|
| 97 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 98 | Last message repeated 137 times
|
|---|
| 99 | frame= 1176 fps=180 q=3.5 size=N/A time=00:00:39.20 bitrate=N/A dup=5 drop=0
|
|---|
| 100 | dts < pcr, TS is invalid
|
|---|
| 101 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 102 | Last message repeated 63 times
|
|---|
| 103 | [mpegts @ 0x7fefdb831600] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 104 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 105 | Last message repeated 62 times
|
|---|
| 106 | frame= 1265 fps=180 q=2.2 size=N/A time=00:00:42.22 bitrate=N/A dup=5 drop=0
|
|---|
| 107 | dts < pcr, TS is invalid
|
|---|
| 108 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 109 | Last message repeated 128 times
|
|---|
| 110 | frame= 1353 fps=179 q=2.6 size=N/A time=00:00:45.10 bitrate=N/A dup=5 drop=0
|
|---|
| 111 | dts < pcr, TS is invalid
|
|---|
| 112 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 113 | Last message repeated 139 times
|
|---|
| 114 | frame= 1448 fps=180 q=2.9 size=N/A time=00:00:48.32 bitrate=N/A dup=5 drop=0
|
|---|
| 115 | dts < pcr, TS is invalid
|
|---|
| 116 | [mpegts @ 0x7fefdb831600] dts < pcr, TS is invalid
|
|---|
| 117 | Last message repeated 63 times
|
|---|
| 118 | [mpegts @ 0x7fefda86aa00] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 119 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 120 | Last message repeated 65 times
|
|---|
| 121 | frame= 1537 fps=180 q=2.8 size=N/A time=00:00:51.27 bitrate=N/A dup=5 drop=0
|
|---|
| 122 | dts < pcr, TS is invalid
|
|---|
| 123 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 124 | Last message repeated 101 times
|
|---|
| 125 | frame= 1608 fps=178 q=2.8 size=N/A time=00:00:53.65 bitrate=N/A dup=5 drop=0
|
|---|
| 126 | dts < pcr, TS is invalid
|
|---|
| 127 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 128 | Last message repeated 139 times
|
|---|
| 129 | frame= 1702 fps=178 q=3.4 size=N/A time=00:00:56.77 bitrate=N/A dup=5 drop=0
|
|---|
| 130 | dts < pcr, TS is invalid
|
|---|
| 131 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 132 | Last message repeated 127 times
|
|---|
| 133 | [mpegts @ 0x7fefda86aa00] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts
|
|---|
| 134 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 135 | Last message repeated 6 times
|
|---|
| 136 | frame= 1795 fps=178 q=4.3 size=N/A time=00:00:59.89 bitrate=N/A dup=5 drop=0
|
|---|
| 137 | dts < pcr, TS is invalid
|
|---|
| 138 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 139 | Last message repeated 2 times
|
|---|
| 140 | *** 1 dup!
|
|---|
| 141 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 142 | Last message repeated 1 times
|
|---|
| 143 | No more output streams to write to, finishing.
|
|---|
| 144 | [mpegts @ 0x7fefda86aa00] dts < pcr, TS is invalid
|
|---|
| 145 | frame= 1800 fps=179 q=3.0 Lsize=N/A time=00:01:00.02 bitrate=N/A dup=6 drop=0
|
|---|
| 146 | video:7349kB audio:938kB subtitle:0 global headers:0kB muxing overhead -100.000259%
|
|---|