Advertisement
Guest User

Untitled

a guest
Feb 6th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.61 KB | None | 0 0
  1. ffmpeg started on 2017-02-06 at 20:19:05
  2. Report written to "ffmpeg-20170206-201905.log"
  3. Command line:
  4. /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
  5. ffmpeg version git-2017-02-05-e57fd92 Copyright (c) 2000-2017 the FFmpeg developers
  6. built with gcc 4.9.2 (Raspbian 4.9.2-10)
  7. configuration: --extra-cflags=-I/opt/vc/include/IL --enable-nonfree --enable-omx-rpi --logfile=CONFIG.TXT
  8. libavutil 55. 46.100 / 55. 46.100
  9. libavcodec 57. 75.100 / 57. 75.100
  10. libavformat 57. 66.101 / 57. 66.101
  11. libavdevice 57. 2.100 / 57. 2.100
  12. libavfilter 6. 73.100 / 6. 73.100
  13. libswscale 4. 3.101 / 4. 3.101
  14. libswresample 2. 4.100 / 2. 4.100
  15. Splitting the commandline.
  16. Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
  17. Reading option '-f' ... matched as option 'f' (force format) with argument 'alsa'.
  18. Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
  19. Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'pcm_s32le'.
  20. Reading option '-i' ... matched as input url with argument 'mic_sv'.
  21. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
  22. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'.
  23. Reading option '-framerate' ... matched as AVOption 'framerate' with argument '20'.
  24. Reading option '-probesize' ... matched as AVOption 'probesize' with argument '100'.
  25. Reading option '-i' ... matched as input url with argument '/dev/video0'.
  26. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_omx'.
  27. Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'aac'.
  28. Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
  29. Reading option 'rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg' ... matched as output url.
  30. Finished splitting the commandline.
  31. Parsing a group of options: global .
  32. Applying option report (generate a report) with argument 1.
  33. Successfully parsed a group of options.
  34. Parsing a group of options: input url mic_sv.
  35. Applying option f (force format) with argument alsa.
  36. Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
  37. Applying option acodec (force audio codec ('copy' to copy stream)) with argument pcm_s32le.
  38. Successfully parsed a group of options.
  39. Opening an input file: mic_sv.
  40. [alsa @ 0x34fb760] All info found
  41. Guessed Channel Layout for Input Stream #0.0 : stereo
  42. Input #0, alsa, from 'mic_sv':
  43. Duration: N/A, start: 1486412345.584228, bitrate: 3072 kb/s
  44. Stream #0:0, 1, 1/1000000: Audio: pcm_s32le, 48000 Hz, stereo, s32, 3072 kb/s
  45. Successfully opened the file.
  46. Parsing a group of options: input url /dev/video0.
  47. Applying option f (force format) with argument v4l2.
  48. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512.
  49. Successfully parsed a group of options.
  50. Opening an input file: /dev/video0.
  51. [video4linux2,v4l2 @ 0x3509250] fd:6 capabilities:5000001
  52. [video4linux2,v4l2 @ 0x3509250] Current input_channel: 0, input_name: default, input_std: 0
  53. [video4linux2,v4l2 @ 0x3509250] Querying the device for the current frame size
  54. [video4linux2,v4l2 @ 0x3509250] Setting frame size to 1920x1080
  55. [video4linux2,v4l2 @ 0x3509250] Setting time per frame to 1/20
  56. [video4linux2,v4l2 @ 0x3509250] Dequeued v4l2 buffer contains 3133440 bytes, but 3110400 were expected. Flags: 0x00000004.
  57. Input #1, video4linux2,v4l2, from '/dev/video0':
  58. Duration: N/A, bitrate: 497664 kb/s
  59. Stream #1:0, 0, 1/1000000: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080, 497664 kb/s, 20 fps, 20 tbr, 1000k tbn, 1000k tbc
  60. Successfully opened the file.
  61. Parsing a group of options: output url rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg.
  62. Applying option c:v (codec name) with argument h264_omx.
  63. Applying option acodec (force audio codec ('copy' to copy stream)) with argument aac.
  64. Applying option f (force format) with argument flv.
  65. Successfully parsed a group of options.
  66. Opening an output file: rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg.
  67. [rtmp @ 0x3510640] No default whitelist set
  68. [tcp @ 0x3510b10] No default whitelist set
  69. [rtmp @ 0x3510640] Handshaking...
  70. [rtmp @ 0x3510640] Type answer 3
  71. [rtmp @ 0x3510640] Server version 4.0.0.1
  72. [rtmp @ 0x3510640] Proto = rtmp, path = /live2/xbjs-a3gp-0yvk-ftdg, app = live2, fname = xbjs-a3gp-0yvk-ftdg
  73. [rtmp @ 0x3510640] Server bandwidth = 2500000
  74. [rtmp @ 0x3510640] Client bandwidth = 10000000
  75. [rtmp @ 0x3510640] New incoming chunk size = 256
  76. [rtmp @ 0x3510640] Releasing stream...
  77. [rtmp @ 0x3510640] FCPublish stream...
  78. [rtmp @ 0x3510640] Creating stream...
  79. [rtmp @ 0x3510640] Sending publish command for 'xbjs-a3gp-0yvk-ftdg'
  80. Successfully opened the file.
  81. detected 1 logical cores
  82. [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'video_size' to value '1920x1080'
  83. [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'pix_fmt' to value '0'
  84. [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'time_base' to value '1/1000000'
  85. [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'pixel_aspect' to value '0/1'
  86. [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'sws_param' to value 'flags=2'
  87. [graph 0 input from stream 1:0 @ 0x3511e00] Setting 'frame_rate' to value '20/1'
  88. [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
  89. [format @ 0x34fb310] compat: called with args=[yuv420p]
  90. [format @ 0x34fb310] Setting 'pix_fmts' to value 'yuv420p'
  91. [AVFilterGraph @ 0x3512440] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
  92. [h264_omx @ 0x350e3b0] Using OMX.broadcom.video_encode
  93. [h264_omx @ 0x350e3b0] OMX state changed to 2
  94. [h264_omx @ 0x350e3b0] OMX state changed to 3
  95. [h264_omx @ 0x350e3b0] OMX port 201 settings changed
  96. [graph_1_in_0_0 @ 0x3536d20] Setting 'time_base' to value '1/48000'
  97. [graph_1_in_0_0 @ 0x3536d20] Setting 'sample_rate' to value '48000'
  98. [graph_1_in_0_0 @ 0x3536d20] Setting 'sample_fmt' to value 's32'
  99. [graph_1_in_0_0 @ 0x3536d20] Setting 'channel_layout' to value '0x3'
  100. [graph_1_in_0_0 @ 0x3536d20] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
  101. [format_out_0_1 @ 0x3536f40] Setting 'sample_fmts' to value 'fltp'
  102. [format_out_0_1 @ 0x3536f40] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
  103. [format_out_0_1 @ 0x3536f40] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
  104. [AVFilterGraph @ 0x35369f0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
  105. [auto_resampler_0 @ 0x35383d0] [SWR @ 0x35385a0] Using fltp internally between filters
  106. [auto_resampler_0 @ 0x35383d0] ch:2 chl:stereo fmt:s32 r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
  107. Output #0, flv, to 'rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg':
  108. Metadata:
  109. encoder : Lavf57.66.101
  110. 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
  111. Metadata:
  112. encoder : Lavc57.75.100 h264_omx
  113. Stream #0:1, 0, 1/1000: Audio: aac (LC) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, fltp, 128 kb/s
  114. Metadata:
  115. encoder : Lavc57.75.100 aac
  116. Stream mapping:
  117. Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (h264_omx))
  118. Stream #0:0 -> #0:1 (pcm_s32le (native) -> aac (native))
  119. Press [q] to stop, [?] for help
  120. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  121. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  122. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  123. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  124. [video4linux2,v4l2 @ 0x3509250] Dequeued v4l2 buffer contains 3133440 bytes, but 3110400 were expected. Flags: 0x00000004.
  125. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  126. cur_dts is invalid (this is harmless if it occurs once at the start per stream)
  127. /dev/video0: Invalid data found when processing input
  128. [alsa @ 0x34fb760] ALSA buffer xrun.
  129. [flv @ 0x350ce00] Failed to update header with correct duration.
  130. [flv @ 0x350ce00] Failed to update header with correct filesize.
  131. frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x
  132. video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  133. Input file #0 (mic_sv):
  134. Input stream #0:0 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples);
  135. Total: 0 packets (0 bytes) demuxed
  136. Input file #1 (/dev/video0):
  137. Input stream #1:0 (video): 0 packets read (0 bytes); 0 frames decoded;
  138. Total: 0 packets (0 bytes) demuxed
  139. Output file #0 (rtmp://209.85.230.23/live2/xbjs-a3gp-0yvk-ftdg):
  140. Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
  141. Output stream #0:1 (audio): 0 frames encoded (0 samples); 0 packets muxed (0 bytes);
  142. Total: 0 packets (0 bytes) muxed
  143. 0 frames successfully decoded, 0 decoding errors
  144. [AVIOContext @ 0x3510560] Statistics: 0 seeks, 2 writeouts
  145. [rtmp @ 0x3510640] UnPublishing stream...
  146. [rtmp @ 0x3510640] Deleting stream...
  147. [h264_omx @ 0x350e3b0] OMX state changed to 2
  148. [h264_omx @ 0x350e3b0] OMX state changed to 1
  149. [aac @ 0x350fb90] Qavg: nan
  150. Exiting normally, received signal 2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement