Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg started on 2017-02-06 at 03:27:52
- Report written to "ffmpeg-20170206-032752.log"
- Command line:
- /home/pi/special/ffmpeg/ffmpeg -report -f alsa -ar 48000 -acodec pcm_s32le -i mic_sv -f h264 -thread_queue_size 512 -framerate 20 -probesize 100 -i - -vcodec copy -acodec aac -f flv rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg
- ffmpeg version git-2017-02-05-e57fd92 Copyright (c) 2000-2017 the FFmpeg developers
- built with gcc 4.9.2 (Raspbian 4.9.2-10)
- configuration: --extra-cflags=-I/opt/vc/include/IL --enable-nonfree --enable-omx-rpi --logfile=CONFIG.TXT
- libavutil 55. 46.100 / 55. 46.100
- libavcodec 57. 75.100 / 57. 75.100
- libavformat 57. 66.101 / 57. 66.101
- libavdevice 57. 2.100 / 57. 2.100
- libavfilter 6. 73.100 / 6. 73.100
- libswscale 4. 3.101 / 4. 3.101
- libswresample 2. 4.100 / 2. 4.100
- Splitting the commandline.
- Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'alsa'.
- Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
- Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'pcm_s32le'.
- Reading option '-i' ... matched as input url with argument 'mic_sv'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'h264'.
- Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'.
- Reading option '-framerate' ... matched as AVOption 'framerate' with argument '20'.
- Reading option '-probesize' ... matched as AVOption 'probesize' with argument '100'.
- Reading option '-i' ... matched as input url with argument '-'.
- Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'copy'.
- Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'aac'.
- Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
- Reading option 'rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg' ... matched as output url.
- Finished splitting the commandline.
- Parsing a group of options: global .
- Applying option report (generate a report) with argument 1.
- Successfully parsed a group of options.
- Parsing a group of options: input url mic_sv.
- Applying option f (force format) with argument alsa.
- Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
- Applying option acodec (force audio codec ('copy' to copy stream)) with argument pcm_s32le.
- Successfully parsed a group of options.
- Opening an input file: mic_sv.
- [alsa @ 0x1cd0760] All info found
- Guessed Channel Layout for Input Stream #0.0 : stereo
- Input #0, alsa, from 'mic_sv':
- Duration: N/A, start: 1486351672.287322, bitrate: 3072 kb/s
- Stream #0:0, 1, 1/1000000: Audio: pcm_s32le, 48000 Hz, stereo, s32, 3072 kb/s
- Successfully opened the file.
- Parsing a group of options: input url -.
- Applying option f (force format) with argument h264.
- Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512.
- Successfully parsed a group of options.
- Opening an input file: -.
- [pipe @ 0x1cd0eb0] Setting default whitelist 'crypto'
- [h264 @ 0x1cde250] Before avformat_find_stream_info() pos: 0 bytes read:4096 seeks:0 nb_streams:1
- [h264 @ 0x1cdef70] nal_unit_type: 7, nal_ref_idc: 1
- [h264 @ 0x1cdef70] nal_unit_type: 8, nal_ref_idc: 1
- [h264 @ 0x1cdef70] nal_unit_type: 5, nal_ref_idc: 1
- [h264 @ 0x1cdef70] Reinit context to 1920x1088, pix_fmt: yuv420p
- [h264 @ 0x1cde250] Probe buffer size limit of 100 bytes reached
- [h264 @ 0x1cde250] Stream #0: not enough frames to estimate rate; consider increasing probesize
- [h264 @ 0x1cde250] decoding for stream 0 failed
- [h264 @ 0x1cde250] After avformat_find_stream_info() pos: 1024 bytes read:4096 seeks:0 frames:1
- Input #1, h264, from 'pipe:':
- Duration: N/A, bitrate: N/A
- Stream #1:0, 1, 1/1200000: Video: h264 (High), yuv420p(progressive), 1920x1080, 20 tbr, 1200k tbn, 40 tbc
- Successfully opened the file.
- Parsing a group of options: output url rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg.
- Applying option vcodec (force video codec ('copy' to copy stream)) with argument copy.
- Applying option acodec (force audio codec ('copy' to copy stream)) with argument aac.
- Applying option f (force format) with argument flv.
- Successfully parsed a group of options.
- Opening an output file: rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg.
- [rtmp @ 0x1ce3580] No default whitelist set
- [tcp @ 0x1ce34e0] No default whitelist set
- [rtmp @ 0x1ce3580] Handshaking...
- [rtmp @ 0x1ce3580] Type answer 3
- [rtmp @ 0x1ce3580] Server version 4.0.0.1
- [rtmp @ 0x1ce3580] Proto = rtmp, path = /live2/xbjs-a3gp-0yvk-ftdg, app = live2, fname = xbjs-a3gp-0yvk-ftdg
- [rtmp @ 0x1ce3580] Server bandwidth = 2500000
- [rtmp @ 0x1ce3580] Client bandwidth = 10000000
- [rtmp @ 0x1ce3580] New incoming chunk size = 256
- [rtmp @ 0x1ce3580] Releasing stream...
- [rtmp @ 0x1ce3580] FCPublish stream...
- [rtmp @ 0x1ce3580] Creating stream...
- [rtmp @ 0x1ce3580] Sending publish command for 'xbjs-a3gp-0yvk-ftdg'
- Successfully opened the file.
- detected 1 logical cores
- [graph_0_in_0_0 @ 0x1cf8d30] Setting 'time_base' to value '1/48000'
- [graph_0_in_0_0 @ 0x1cf8d30] Setting 'sample_rate' to value '48000'
- [graph_0_in_0_0 @ 0x1cf8d30] Setting 'sample_fmt' to value 's32'
- [graph_0_in_0_0 @ 0x1cf8d30] Setting 'channel_layout' to value '0x3'
- [graph_0_in_0_0 @ 0x1cf8d30] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
- [format_out_0_1 @ 0x1cf9710] Setting 'sample_fmts' to value 'fltp'
- [format_out_0_1 @ 0x1cf9710] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
- [format_out_0_1 @ 0x1cf9710] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
- [AVFilterGraph @ 0x1cd0290] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
- [auto_resampler_0 @ 0x1cfab20] [SWR @ 0x1d94620] Using fltp internally between filters
- [auto_resampler_0 @ 0x1cfab20] ch:2 chl:stereo fmt:s32 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
- Output #0, flv, to 'rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg':
- Metadata:
- encoder : Lavf57.66.101
- Stream #0:0, 0, 1/1000: Video: h264 (High) ([7][0][0][0] / 0x0007), yuv420p(progressive), 1920x1080, q=2-31, 20 tbr, 1k tbn, 1200k tbc
- Stream #0:1, 0, 1/1000: Audio: aac (LC) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, fltp, 128 kb/s
- Metadata:
- encoder : Lavc57.75.100 aac
- Stream mapping:
- Stream #1:0 -> #0:0 (copy)
- Stream #0:0 -> #0:1 (pcm_s32le (native) -> aac (native))
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- [alsa @ 0x1cd0760] ALSA buffer xrun.
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- [flv @ 0x1cdffa0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- cur_dts is invalid (this is harmless if it occurs once at the start per stream)
- [alsa @ 0x1cd0760] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
- frame= 20 fps=0.0 q=-1.0 size= 20kB time=00:00:04.42 bitrate= 36.8kbits/s speed=8.56x
- frame= 28 fps= 16 q=-1.0 size= 31kB time=00:00:04.42 bitrate= 56.9kbits/s speed=2.54x
- frame= 79 fps= 35 q=-1.0 size= 45kB time=00:00:04.42 bitrate= 82.9kbits/s speed=1.94x
- [alsa @ 0x1cd0760] ALSA buffer xrun.
- frame= 94 fps= 34 q=-1.0 size= 56kB time=00:00:06.73 bitrate= 68.0kbits/s speed=2.41x
- frame= 119 fps= 35 q=-1.0 size= 72kB time=00:00:06.73 bitrate= 87.7kbits/s speed=1.96x
- frame= 139 fps= 32 q=-1.0 size= 90kB time=00:00:06.90 bitrate= 107.3kbits/s speed= 1.6x
- frame= 145 fps= 30 q=-1.0 size= 101kB time=00:00:07.21 bitrate= 115.2kbits/s speed= 1.5x
- frame= 149 fps= 28 q=-1.0 size= 109kB time=00:00:07.43 bitrate= 120.7kbits/s speed=1.39x
- frame= 165 fps= 26 q=-1.0 size= 134kB time=00:00:08.28 bitrate= 132.7kbits/s speed=1.31x
- frame= 166 fps= 23 q=-1.0 size= 136kB time=00:00:08.28 bitrate= 134.1kbits/s speed=1.17x
- frame= 189 fps= 24 q=-1.0 size= 168kB time=00:00:09.65 bitrate= 142.6kbits/s speed=1.24x
- frame= 199 fps= 24 q=-1.0 size= 182kB time=00:00:09.91 bitrate= 150.3kbits/s speed=1.18x
- frame= 214 fps= 24 q=-1.0 size= 207kB time=00:00:10.72 bitrate= 157.8kbits/s speed=1.21x
- frame= 238 fps= 25 q=-1.0 size= 228kB time=00:00:11.96 bitrate= 155.9kbits/s speed=1.26x
- frame= 260 fps= 26 q=-1.0 size= 254kB time=00:00:12.96 bitrate= 160.2kbits/s speed=1.29x
- frame= 264 fps= 25 q=-1.0 size= 260kB time=00:00:13.15 bitrate= 162.2kbits/s speed=1.24x
- frame= 280 fps= 25 q=-1.0 size= 281kB time=00:00:13.95 bitrate= 165.1kbits/s speed=1.26x
- frame= 284 fps= 24 q=-1.0 size= 286kB time=00:00:14.17 bitrate= 165.5kbits/s speed=1.22x
- frame= 300 fps= 25 q=-1.0 size= 302kB time=00:00:14.95 bitrate= 165.3kbits/s speed=1.23x
- frame= 305 fps= 24 q=-1.0 size= 309kB time=00:00:15.20 bitrate= 166.6kbits/s speed= 1.2x
- frame= 312 fps= 24 q=-1.0 size= 317kB time=00:00:15.55 bitrate= 166.8kbits/s speed=1.18x
- frame= 322 fps= 23 q=-1.0 size= 327kB time=00:00:16.07 bitrate= 166.9kbits/s speed=1.16x
- frame= 334 fps= 23 q=-1.0 size= 345kB time=00:00:16.65 bitrate= 169.6kbits/s speed=1.16x
- frame= 353 fps= 24 q=-1.0 size= 374kB time=00:00:17.60 bitrate= 174.0kbits/s speed=1.18x
- frame= 361 fps= 23 q=-1.0 size= 395kB time=00:00:18.00 bitrate= 179.8kbits/s speed=1.17x
- frame= 364 fps= 19 q=-1.0 size= 589kB time=00:00:18.19 bitrate= 265.0kbits/s speed=0.966x
- frame= 365 fps= 18 q=-1.0 size= 589kB time=00:00:18.20 bitrate= 265.1kbits/s speed=0.887x
- [alsa @ 0x1cd0760] ALSA buffer xrun.
- frame= 366 fps= 17 q=-1.0 size= 689kB time=00:00:18.29 bitrate= 308.7kbits/s speed=0.857x
- frame= 368 fps= 16 q=-1.0 size= 757kB time=00:00:18.37 bitrate= 337.5kbits/s speed=0.824x
- frame= 370 fps= 16 q=-1.0 size= 793kB time=00:00:18.45 bitrate= 352.3kbits/s speed=0.785x
- frame= 371 fps= 15 q=-1.0 size= 828kB time=00:00:18.50 bitrate= 366.6kbits/s speed=0.76x
- frame= 372 fps= 15 q=-1.0 size= 903kB time=00:00:18.57 bitrate= 398.2kbits/s speed=0.745x
- frame= 374 fps= 15 q=-1.0 size= 928kB time=00:00:18.65 bitrate= 407.7kbits/s speed=0.729x
- frame= 374 fps= 14 q=-1.0 size= 928kB time=00:00:18.65 bitrate= 407.7kbits/s speed=0.707x
- frame= 376 fps= 14 q=-1.0 size= 997kB time=00:00:18.75 bitrate= 435.6kbits/s speed=0.686x
- [flv @ 0x1cdffa0] Failed to update header with correct duration.
- [flv @ 0x1cdffa0] Failed to update header with correct filesize.
- frame= 376 fps= 14 q=-1.0 Lsize= 1027kB time=00:00:25.33 bitrate= 332.1kbits/s speed=0.914x
- video:957kB audio:59kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.051081%
- Input file #0 (mic_sv):
- Input stream #0:0 (audio): 354 packets read (1449984 bytes); 354 frames decoded (181248 samples);
- Total: 354 packets (1449984 bytes) demuxed
- Input file #1 (pipe:):
- Input stream #1:0 (video): 376 packets read (980370 bytes);
- Total: 376 packets (980370 bytes) demuxed
- Output file #0 (rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg):
- Output stream #0:0 (video): 376 packets muxed (980370 bytes);
- Output stream #0:1 (audio): 177 frames encoded (181248 samples); 178 packets muxed (60558 bytes);
- Total: 554 packets (1040928 bytes) muxed
- 354 frames successfully decoded, 0 decoding errors
- [AVIOContext @ 0x1ce3bd0] Statistics: 0 seeks, 569 writeouts
- [rtmp @ 0x1ce3580] UnPublishing stream...
- [rtmp @ 0x1ce3580] Deleting stream...
- [aac @ 0x1ce2ac0] Qavg: 437.705
- [AVIOContext @ 0x1cdbba0] Statistics: 12821996 bytes read, 0 seeks
- Exiting normally, received signal 2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement