Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg started on 2017-02-06 at 20:19:05
- Report written to "ffmpeg-20170206-201905.log"
- Command line:
- /home/pi/special/ffmpeg/ffmpeg -report -f alsa -ar 48000 -acodec pcm_s32le -i mic_sv -f v4l2 -thread_queue_size 512 -framerate 20 -probesize 100 -i /dev/video0 -c:v h264_omx -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 'v4l2'.
- 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 '/dev/video0'.
- Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_omx'.
- 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 @ 0x34fb760] All info found
- Guessed Channel Layout for Input Stream #0.0 : stereo
- Input #0, alsa, from 'mic_sv':
- Duration: N/A, start: 1486412345.584228, 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 /dev/video0.
- Applying option f (force format) with argument v4l2.
- 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: /dev/video0.
- [video4linux2,v4l2 @ 0x3509250] fd:6 capabilities:5000001
- [video4linux2,v4l2 @ 0x3509250] Current input_channel: 0, input_name: default, input_std: 0
- [video4linux2,v4l2 @ 0x3509250] Querying the device for the current frame size
- [video4linux2,v4l2 @ 0x3509250] Setting frame size to 1920x1080
- [video4linux2,v4l2 @ 0x3509250] Setting time per frame to 1/20
- [video4linux2,v4l2 @ 0x3509250] Dequeued v4l2 buffer contains 3133440 bytes, but 3110400 were expected. Flags: 0x00000004.
- Input #1, video4linux2,v4l2, from '/dev/video0':
- Duration: N/A, bitrate: 497664 kb/s
- Stream #1:0, 0, 1/1000000: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 497664 kb/s, 20 fps, 20 tbr, 1000k tbn, 1000k tbc
- Successfully opened the file.
- Parsing a group of options: output url rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg.
- Applying option c:v (codec name) with argument h264_omx.
- 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 @ 0x3510640] No default whitelist set
- [tcp @ 0x3510b10] No default whitelist set
- [rtmp @ 0x3510640] Handshaking...
- [rtmp @ 0x3510640] Type answer 3
- [rtmp @ 0x3510640] Server version 4.0.0.1
- [rtmp @ 0x3510640] Proto = rtmp, path = /live2/xbjs-a3gp-0yvk-ftdg, app = live2, fname = xbjs-a3gp-0yvk-ftdg
- [rtmp @ 0x3510640] Server bandwidth = 2500000
- [rtmp @ 0x3510640] Client bandwidth = 10000000
- [rtmp @ 0x3510640] New incoming chunk size = 256
- [rtmp @ 0x3510640] Releasing stream...
- [rtmp @ 0x3510640] FCPublish stream...
- [rtmp @ 0x3510640] Creating stream...
- [rtmp @ 0x3510640] Sending publish command for 'xbjs-a3gp-0yvk-ftdg'
- Successfully opened the file.
- detected 1 logical cores
- [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'video_size' to value '1920x1080'
- [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'pix_fmt' to value '0'
- [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'time_base' to value '1/1000000'
- [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'pixel_aspect' to value '0/1'
- [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'sws_param' to value 'flags=2'
- [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'frame_rate' to value '20/1'
- [graph 0 input from stream 1:0 @ 0x3511e00] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 fr:20/1 sar:0/1 sws_param:flags=2
- [format @ 0x34fb310] compat: called with args=[yuv420p]
- [format @ 0x34fb310] Setting 'pix_fmts' to value 'yuv420p'
- [AVFilterGraph @ 0x3512440] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
- [h264_omx @ 0x350e3b0] Using OMX.broadcom.video_encode
- [h264_omx @ 0x350e3b0] OMX state changed to 2
- [h264_omx @ 0x350e3b0] OMX state changed to 3
- [h264_omx @ 0x350e3b0] OMX port 201 settings changed
- [graph_1_in_0_0 @ 0x3536d20] Setting 'time_base' to value '1/48000'
- [graph_1_in_0_0 @ 0x3536d20] Setting 'sample_rate' to value '48000'
- [graph_1_in_0_0 @ 0x3536d20] Setting 'sample_fmt' to value 's32'
- [graph_1_in_0_0 @ 0x3536d20] Setting 'channel_layout' to value '0x3'
- [graph_1_in_0_0 @ 0x3536d20] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
- [format_out_0_1 @ 0x3536f40] Setting 'sample_fmts' to value 'fltp'
- [format_out_0_1 @ 0x3536f40] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
- [format_out_0_1 @ 0x3536f40] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
- [AVFilterGraph @ 0x35369f0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
- [auto_resampler_0 @ 0x35383d0] [SWR @ 0x35385a0] Using fltp internally between filters
- [auto_resampler_0 @ 0x35383d0] 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 (h264_omx) ([7][0][0][0] / 0x0007), yuv420p, 1920x1080, q=2-31, 200 kb/s, 20 fps, 1k tbn, 20 tbc
- Metadata:
- encoder : Lavc57.75.100 h264_omx
- 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 (rawvideo (native) -> h264 (h264_omx))
- Stream #0:0 -> #0:1 (pcm_s32le (native) -> aac (native))
- Press [q] to stop, [?] for help
- 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)
- [video4linux2,v4l2 @ 0x3509250] Dequeued v4l2 buffer contains 3133440 bytes, but 3110400 were expected. Flags: 0x00000004.
- 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)
- /dev/video0: Invalid data found when processing input
- [alsa @ 0x34fb760] ALSA buffer xrun.
- [flv @ 0x350ce00] Failed to update header with correct duration.
- [flv @ 0x350ce00] Failed to update header with correct filesize.
- frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
- video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
- Input file #0 (mic_sv):
- Input stream #0:0 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples);
- Total: 0 packets (0 bytes) demuxed
- Input file #1 (/dev/video0):
- Input stream #1:0 (video): 0 packets read (0 bytes); 0 frames decoded;
- Total: 0 packets (0 bytes) demuxed
- Output file #0 (rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg):
- Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
- Output stream #0:1 (audio): 0 frames encoded (0 samples); 0 packets muxed (0 bytes);
- Total: 0 packets (0 bytes) muxed
- 0 frames successfully decoded, 0 decoding errors
- [AVIOContext @ 0x3510560] Statistics: 0 seeks, 2 writeouts
- [rtmp @ 0x3510640] UnPublishing stream...
- [rtmp @ 0x3510640] Deleting stream...
- [h264_omx @ 0x350e3b0] OMX state changed to 2
- [h264_omx @ 0x350e3b0] OMX state changed to 1
- [aac @ 0x350fb90] Qavg: nan
- Exiting normally, received signal 2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement