Skip to content

Instantly share code, notes, and snippets.

@Bingnan
Last active April 16, 2016 12:48
Show Gist options
  • Save Bingnan/b4531faac652bec36be13e89abacb033 to your computer and use it in GitHub Desktop.
Save Bingnan/b4531faac652bec36be13e89abacb033 to your computer and use it in GitHub Desktop.
下面是最开始用3.0转,开始稳定,后来时不时卡顿
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-nonfree --enable-shared --enable-libx264 --enable-libfdk-aac --enable-libfreetype --enable-network --enable-protocol=tcp --enable-demuxer=rtsp --enable-muxer=rtsp --enable-ffplay --enable-librtmp --prefix=/usr/local/ffmpeg/3.0.1 --extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include --extra-libs=-lrtmp
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[flv @ 0x1121900] audio stream discovered after head already parsed
Input #0, flv, from 'rtmp://publish-pili.1iptv.com/meipai-live/5711d0571013853ec50356ce?key=4e4a490a8cfa3302':
Duration: N/A, start: 23.573000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/bt709/iec61966-2-1), 1280x720, 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
Input #1, png_pipe, from 'black0.5.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, ya8(pc), 480x864 [SAR 7559:7559 DAR 5:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x138d8c0] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x138d8c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x138d8c0] profile High, level 3.0
[libx264 @ 0x138d8c0] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=27 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 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, flv, to 'rtmp://publish-pili.1iptv.com/meipai-live/5712043e1013853ec5038b78?key=4e4a490a8cfa3302':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 480x864, q=-1--1, max. 1 kb/s, 25 fps, 1k tbn, 25 tbc (default)
Metadata:
encoder : Lavc57.24.102 libx264
Side data:
unknown side data type 10 (24 bytes)
Stream #0:1: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 139 kb/s
Metadata:
encoder : Lavc57.24.102 libfdk_aac
Stream mapping:
Stream #0:0 (h264) -> scale (graph 0)
Stream #0:0 (h264) -> scale (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[flv @ 0x1121900] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[h264 @ 0x1f557c0] illegal short term buffer state detected bitrate= 684.2kbits/s speed=0.999x
[h264 @ 0x1c8e060] co located POCs unavailablee=00:01:08.03 bitrate= 734.7kbits/s speed=0.95x
[h264 @ 0x1e800a0] illegal short term buffer state detected bitrate= 679.6kbits/s speed= 1x
[h264 @ 0x1f557c0] illegal short term buffer state detected bitrate= 702.4kbits/s speed= 1x
[h264 @ 0x1c8e060] co located POCs unavailablee=00:17:52.74 bitrate= 701.2kbits/s speed=0.997x
[h264 @ 0x1c34cc0] mmco: unref short failureime=00:19:11.72 bitrate= 722.9kbits/s speed=0.997x
[h264 @ 0x1d63720] illegal short term buffer state detected bitrate= 720.9kbits/s speed= 1x
[h264 @ 0x1f557c0] co located POCs unavailablee=00:20:21.27 bitrate= 750.1kbits/s speed= 1x
[h264 @ 0x1f9ca20] mmco: unref short failureime=00:20:21.54 bitrate= 750.1kbits/s speed=0.997x
[h264 @ 0x1fe3c80] co located POCs unavailable
[h264 @ 0x1f0e560] mmco: unref short failureime=00:22:10.70 bitrate= 733.5kbits/s speed=0.997x
[h264 @ 0x1c34cc0] mmco: unref short failureime=00:23:29.94 bitrate= 709.8kbits/s speed=0.997x
[h264 @ 0x1c34cc0] illegal short term buffer state detected
[h264 @ 0x1d63720] mmco: unref short failure
[h264 @ 0x202aee0] co located POCs unavailablee=00:24:17.96 bitrate= 712.0kbits/s speed= 1x
[h264 @ 0x1c8e060] co located POCs unavailablee=00:24:40.74 bitrate= 713.4kbits/s speed=0.998x
[h264 @ 0x1fe3c80] illegal short term buffer state detected bitrate= 712.3kbits/s speed=0.998x
[h264 @ 0x1f557c0] co located POCs unavailablee=00:27:10.03 bitrate= 712.0kbits/s speed=0.998x
[h264 @ 0x1cd5260] co located POCs unavailablee=00:29:05.34 bitrate= 682.2kbits/s speed=0.998x
[h264 @ 0x1c8e060] illegal short term buffer state detected bitrate= 682.1kbits/s speed=0.998x
[h264 @ 0x1cd5260] mmco: unref short failure
[h264 @ 0x1d1c4c0] co located POCs unavailablee=00:39:24.60 bitrate= 673.3kbits/s speed=0.998x
[h264 @ 0x1d63720] mmco: unref short failure
[h264 @ 0x1daa980] co located POCs unavailable
save 33497 to wod.pid=28.0 size= 196438kB time=00:39:55.66 bitrate= 671.7kbits/s speed= 1x
(上面这些error是卡顿时候的Log)
(下面换用ffmpeg2.4的脚本开始转码,这是第一次重启)
ffmpeg version 2.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 22 2016 19:17:29 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --prefix=/usr/local/ffmpeg/ --enable-gpl --enable-shared --enable-libmp3lame --enable-libvorbis --enable-pthreads --disable-ffserver --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-decoder=png --enable-encoder=png --enable-libopencv
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[flv @ 0x13651e0] Stream discovered after head already parsed
Input #0, flv, from 'rtmp://publish-pili.1iptv.com/meipai-live/5711d0571013853ec50356ce?key=4e4a490a8cfa3302':
Metadata:
fileSize : 0
audiochannels : 2
encoder : Open Broadcaster Software v0.657b
Duration: 00:00:00.00, start: 2430.698000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1280x720, 2048 kb/s, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp
Input #1, png_pipe, from 'black0.5.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, ya8, 480x864 [SAR 7559:7559 DAR 5:9], 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x1524ec0] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x1524ec0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x1524ec0] profile High, level 3.0
[libx264 @ 0x1524ec0] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 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, flv, to 'rtmp://publish-pili.1iptv.com/meipai-live/5712043e1013853ec5038b78?key=4e4a490a8cfa3302':
Metadata:
fileSize : 0
audiochannels : 2
encoder : Lavf56.4.101
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 480x864, q=-1--1, max. 1 kb/s, 25 fps, 1k tbn, 25 tbc (default)
Metadata:
encoder : Lavc56.1.100 libx264
Stream #0:1: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 139 kb/s
Metadata:
encoder : Lavc56.1.100 libfdk_aac
Stream mapping:
Stream #0:0 (h264) -> scale (graph 0)
Stream #0:0 (h264) -> scale (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
black0.5.png: Input/output error 0kB time=00:00:08.61 bitrate= 0.4kbits/s
Last message repeated 1 times
[flv @ 0x1524140] Packets are not in the proper order with respect to DTSkbits/s
av_interleaved_write_frame(): Invalid argument
[flv @ 0x1524140] Failed to update header with correct duration.
[flv @ 0x1524140] Failed to update header with correct filesize.
frame= 93 fps=7.3 q=-1.0 Lsize= 228kB time=00:00:12.71 bitrate= 147.1kbits/s
video:32kB audio:218kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x1524ec0] frame I:1 Avg QP:11.37 size: 32244
[libx264 @ 0x1524ec0] frame P:51 Avg QP:19.90 size: 4167
[libx264 @ 0x1524ec0] frame B:41 Avg QP:21.36 size: 767
[libx264 @ 0x1524ec0] consecutive B-frames: 11.8% 88.2% 0.0% 0.0%
[libx264 @ 0x1524ec0] mb I I16..4: 14.6% 49.4% 36.0%
[libx264 @ 0x1524ec0] mb P I16..4: 4.3% 6.1% 0.2% P16..4: 29.1% 7.2% 4.4% 0.0% 0.0% skip:48.8%
[libx264 @ 0x1524ec0] mb B I16..4: 0.2% 0.1% 0.0% B16..8: 30.0% 1.3% 0.2% direct: 1.1% skip:67.0% L0:45.6% L1:51.4% BI: 3.1%
[libx264 @ 0x1524ec0] 8x8 transform intra:55.8% inter:54.0%
[libx264 @ 0x1524ec0] coded y,uvDC,uvAC intra: 13.1% 13.9% 7.7% inter: 5.8% 5.4% 0.5%
[libx264 @ 0x1524ec0] i16 v,h,dc,p: 36% 28% 6% 31%
[libx264 @ 0x1524ec0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 11% 53% 4% 4% 4% 4% 3% 2%
[libx264 @ 0x1524ec0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 25% 10% 5% 9% 8% 7% 6% 6%
[libx264 @ 0x1524ec0] i8c dc,h,v,p: 79% 11% 8% 1%
[libx264 @ 0x1524ec0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x1524ec0] ref P L0: 70.3% 7.7% 15.6% 6.5%
[libx264 @ 0x1524ec0] ref B L0: 74.3% 25.7%
[libx264 @ 0x1524ec0] kb/s:182.92
Conversion failed!
(上次转码没起来,这是第二次重启)
ffmpeg version 2.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 22 2016 19:17:29 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --prefix=/usr/local/ffmpeg/ --enable-gpl --enable-shared --enable-libmp3lame --enable-libvorbis --enable-pthreads --disable-ffserver --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-decoder=png --enable-encoder=png --enable-libopencv
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[flv @ 0x1dfa1e0] Stream discovered after head already parsed
Input #0, flv, from 'rtmp://publish-pili.1iptv.com/meipai-live/5711d0571013853ec50356ce?key=4e4a490a8cfa3302':
Metadata:
fileSize : 0
audiochannels : 2
encoder : Open Broadcaster Software v0.657b
Duration: 00:00:00.00, start: 2450.880000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1280x720, 2048 kb/s, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp
Input #1, png_pipe, from 'black0.5.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, ya8, 480x864 [SAR 7559:7559 DAR 5:9], 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x1e11d40] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x1e11d40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x1e11d40] profile High, level 3.0
[libx264 @ 0x1e11d40] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 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, flv, to 'rtmp://publish-pili.1iptv.com/meipai-live/5712043e1013853ec5038b78?key=4e4a490a8cfa3302':
Metadata:
fileSize : 0
audiochannels : 2
encoder : Lavf56.4.101
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 480x864, q=-1--1, max. 1 kb/s, 25 fps, 1k tbn, 25 tbc (default)
Metadata:
encoder : Lavc56.1.100 libx264
Stream #0:1: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 139 kb/s
Metadata:
encoder : Lavc56.1.100 libfdk_aac
Stream mapping:
Stream #0:0 (h264) -> scale (graph 0)
Stream #0:0 (h264) -> scale (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
black0.5.png: Input/output error 0kB time=00:00:08.64 bitrate= 0.4kbits/s
Last message repeated 1 times
[flv @ 0x1e10ee0] Packets are not in the proper order with respect to DTSkbits/s
av_interleaved_write_frame(): Invalid argument
[flv @ 0x1e10ee0] Failed to update header with correct duration.
[flv @ 0x1e10ee0] Failed to update header with correct filesize.
frame= 93 fps=7.4 q=-1.0 Lsize= 225kB time=00:00:12.52 bitrate= 147.1kbits/s
video:32kB audio:215kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[libx264 @ 0x1e11d40] frame I:1 Avg QP:11.13 size: 32561
[libx264 @ 0x1e11d40] frame P:63 Avg QP:20.20 size: 3315
[libx264 @ 0x1e11d40] frame B:29 Avg QP:21.30 size: 797
[libx264 @ 0x1e11d40] consecutive B-frames: 37.6% 62.4% 0.0% 0.0%
[libx264 @ 0x1e11d40] mb I I16..4: 15.0% 53.5% 31.5%
[libx264 @ 0x1e11d40] mb P I16..4: 8.6% 8.4% 0.3% P16..4: 26.8% 4.7% 3.1% 0.0% 0.0% skip:48.2%
[libx264 @ 0x1e11d40] mb B I16..4: 0.6% 0.4% 0.0% B16..8: 20.7% 1.1% 0.3% direct: 1.5% skip:75.4% L0:33.1% L1:64.3% BI: 2.6%
[libx264 @ 0x1e11d40] 8x8 transform intra:48.8% inter:56.5%
[libx264 @ 0x1e11d40] coded y,uvDC,uvAC intra: 9.2% 11.4% 4.3% inter: 5.2% 6.7% 0.3%
[libx264 @ 0x1e11d40] i16 v,h,dc,p: 22% 31% 4% 43%
[libx264 @ 0x1e11d40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 15% 42% 3% 5% 4% 4% 2% 2%
[libx264 @ 0x1e11d40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 24% 13% 6% 7% 8% 6% 7% 7%
[libx264 @ 0x1e11d40] i8c dc,h,v,p: 80% 12% 8% 1%
[libx264 @ 0x1e11d40] Weighted P-Frames: Y:3.2% UV:0.0%
[libx264 @ 0x1e11d40] ref P L0: 69.3% 7.4% 16.0% 7.0% 0.3%
[libx264 @ 0x1e11d40] ref B L0: 75.8% 24.2%
[libx264 @ 0x1e11d40] kb/s:178.13
Conversion failed!
(第二次还是没起来,这是第三次重启)
ffmpeg version 2.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Jan 22 2016 19:17:29 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --prefix=/usr/local/ffmpeg/ --enable-gpl --enable-shared --enable-libmp3lame --enable-libvorbis --enable-pthreads --disable-ffserver --enable-nonfree --enable-libx264 --enable-libfdk_aac --enable-decoder=png --enable-encoder=png --enable-libopencv
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[flv @ 0x16c41e0] Stream discovered after head already parsed
Input #0, flv, from 'rtmp://publish-pili.1iptv.com/meipai-live/5711d0571013853ec50356ce?key=4e4a490a8cfa3302':
Metadata:
fileSize : 0
audiochannels : 2
encoder : Open Broadcaster Software v0.657b
Duration: 00:00:00.00, start: 2470.741000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1280x720, 2048 kb/s, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp
Input #1, png_pipe, from 'black0.5.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, ya8, 480x864 [SAR 7559:7559 DAR 5:9], 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0x16dbd80] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0x16dbd80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x16dbd80] profile High, level 3.0
[libx264 @ 0x16dbd80] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 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, flv, to 'rtmp://publish-pili.1iptv.com/meipai-live/5712043e1013853ec5038b78?key=4e4a490a8cfa3302':
Metadata:
fileSize : 0
audiochannels : 2
encoder : Lavf56.4.101
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 480x864, q=-1--1, max. 1 kb/s, 25 fps, 1k tbn, 25 tbc (default)
Metadata:
encoder : Lavc56.1.100 libx264
Stream #0:1: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 139 kb/s
Metadata:
encoder : Lavc56.1.100 libfdk_aac
Stream mapping:
Stream #0:0 (h264) -> scale (graph 0)
Stream #0:0 (h264) -> scale (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
black0.5.png: Input/output error 0kB time=00:00:08.61 bitrate= 0.4kbits/s
Last message repeated 1 times
save 34253 to wod.pid=0.0 size= 0kB time=00:00:09.66 bitrate= 0.4kbits/s
(第三次看样子还是转不起来,不敢等了,换回了ffmpeg3.0的脚本,重启)
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --enable-gpl --enable-postproc --enable-pthreads --enable-nonfree --enable-shared --enable-libx264 --enable-libfdk-aac --enable-libfreetype --enable-network --enable-protocol=tcp --enable-demuxer=rtsp --enable-muxer=rtsp --enable-ffplay --enable-librtmp --prefix=/usr/local/ffmpeg/3.0.1 --extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include --extra-libs=-lrtmp
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[flv @ 0xc61900] audio stream discovered after head already parsed
Input #0, flv, from 'rtmp://publish-pili.1iptv.com/meipai-live/5711d0571013853ec50356ce?key=4e4a490a8cfa3302':
Duration: N/A, start: 2486.762000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709/bt709/iec61966-2-1), 1280x720, 25 fps, 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
Input #1, png_pipe, from 'black0.5.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, ya8(pc), 480x864 [SAR 7559:7559 DAR 5:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
[libx264 @ 0xfc0200] VBV maxrate specified, but no bufsize, ignored
[libx264 @ 0xfc0200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0xfc0200] profile High, level 3.0
[libx264 @ 0xfc0200] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=27 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 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, flv, to 'rtmp://publish-pili.1iptv.com/meipai-live/5712043e1013853ec5038b78?key=4e4a490a8cfa3302':
Metadata:
encoder : Lavf57.25.100
Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 480x864, q=-1--1, max. 1 kb/s, 25 fps, 1k tbn, 25 tbc (default)
Metadata:
encoder : Lavc57.24.102 libx264
Side data:
unknown side data type 10 (24 bytes)
Stream #0:1: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, s16, 139 kb/s
Metadata:
encoder : Lavc57.24.102 libfdk_aac
Stream mapping:
Stream #0:0 (h264) -> scale (graph 0)
Stream #0:0 (h264) -> scale (graph 0)
Stream #1:0 (png) -> overlay:overlay (graph 0)
overlay (graph 0) -> Stream #0:0 (libx264)
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[flv @ 0xc61900] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
重启成功。。。。
@Bingnan
Copy link
Author

Bingnan commented Apr 16, 2016

求我当时心里阴影面积

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment