Skip to content

Instantly share code, notes, and snippets.

@JohnOCFII
Created October 24, 2020 02:22
Show Gist options
  • Save JohnOCFII/a2649d01e1e66027367e772361b1a3e5 to your computer and use it in GitHub Desktop.
Save JohnOCFII/a2649d01e1e66027367e772361b1a3e5 to your computer and use it in GitHub Desktop.
ustreamer-log
pi@octocore:~/ustreamer $ ./ustreamer --host=0.0.0.0 --port=8081 --debug
-- INFO [4358.960 main] -- Installing SIGINT handler ...
-- INFO [4358.961 main] -- Installing SIGTERM handler ...
-- INFO [4358.961 main] -- Ignoring SIGPIPE ...
-- DEBUG [4358.961 main] -- Increasing picture 0x1bfea8 buffer: 0 -> 13845 (+13845)
-- INFO [4358.961 main] -- Using internal blank placeholder
-- DEBUG [4358.961 main] -- Increasing picture 0x1bf3a8 buffer: 0 -> 13845 (+13845)
-- DEBUG [4358.961 main] -- Binding HTTP to [0.0.0.0]:8081 ...
-- INFO [4358.962 main] -- Listening HTTP on [0.0.0.0]:8081
-- INFO [4358.962 stream] -- Using V4L2 device: /dev/video0
-- INFO [4358.962 stream] -- Using desired FPS: 0
-- DEBUG [4358.962 stream] -- _stream_init_loop: stream->proc->stop=0
-- INFO [4358.962 http] -- Starting HTTP eventloop ...
================================================================================
-- DEBUG [4358.986 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4358.986 http] -- HTTP: Dropped same frame (BLANK) number 0
-- DEBUG [4358.999 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4358.999 http] -- HTTP: Dropped same frame (BLANK) number 1
-- DEBUG [4359.017 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.017 http] -- HTTP: Dropped same frame (BLANK) number 2
-- DEBUG [4359.032 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.032 http] -- HTTP: Dropped same frame (BLANK) number 3
-- DEBUG [4359.049 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.049 http] -- HTTP: Dropped same frame (BLANK) number 4
-- INFO [4359.049 stream] -- Device fd=8 opened
-- DEBUG [4359.049 stream] -- Calling ioctl(VIDIOC_QUERYCAP) ...
-- INFO [4359.049 stream] -- Using input channel: 0
-- INFO [4359.049 stream] -- Using TV standard: DEFAULT
-- DEBUG [4359.049 stream] -- Calling ioctl(VIDIOC_S_FMT) ...
-- INFO [4359.051 stream] -- Using resolution: 640x480
-- INFO [4359.051 stream] -- Using pixelformat: YUYV
-- DEBUG [4359.051 stream] -- Calling ioctl(VIDIOC_G_PARM) ...
-- INFO [4359.052 stream] -- Using HW FPS: 0 -> 30 (coerced)
-- INFO [4359.052 stream] -- Using IO method: MMAP
-- DEBUG [4359.052 stream] -- Calling ioctl(VIDIOC_REQBUFS) for V4L2_MEMORY_MMAP ...
-- INFO [4359.056 stream] -- Requested 5 device buffers, got 5
-- DEBUG [4359.056 stream] -- Allocating device buffers ...
-- DEBUG [4359.056 stream] -- Calling ioctl(VIDIOC_QUERYBUF) for device buffer 0 ...
-- DEBUG [4359.056 stream] -- Mapping device buffer 0 ...
-- DEBUG [4359.057 stream] -- Calling ioctl(VIDIOC_QUERYBUF) for device buffer 1 ...
-- DEBUG [4359.057 stream] -- Mapping device buffer 1 ...
-- DEBUG [4359.057 stream] -- Calling ioctl(VIDIOC_QUERYBUF) for device buffer 2 ...
-- DEBUG [4359.057 stream] -- Mapping device buffer 2 ...
-- DEBUG [4359.057 stream] -- Calling ioctl(VIDIOC_QUERYBUF) for device buffer 3 ...
-- DEBUG [4359.057 stream] -- Mapping device buffer 3 ...
-- DEBUG [4359.057 stream] -- Calling ioctl(VIDIOC_QUERYBUF) for device buffer 4 ...
-- DEBUG [4359.057 stream] -- Mapping device buffer 4 ...
-- DEBUG [4359.058 stream] -- Calling ioctl(VIDIOC_QBUF) for buffer 0 ...
-- DEBUG [4359.058 stream] -- Calling ioctl(VIDIOC_QBUF) for buffer 1 ...
-- DEBUG [4359.058 stream] -- Calling ioctl(VIDIOC_QBUF) for buffer 2 ...
-- DEBUG [4359.058 stream] -- Calling ioctl(VIDIOC_QBUF) for buffer 3 ...
-- DEBUG [4359.058 stream] -- Calling ioctl(VIDIOC_QBUF) for buffer 4 ...
-- DEBUG [4359.058 stream] -- Allocating picture buffers ...
-- DEBUG [4359.058 stream] -- Pre-allocating picture buffer 0 sized 1228800 bytes...
-- DEBUG [4359.058 stream] -- Increasing picture 0x75b007f0 buffer: 0 -> 1228800 (+1228800)
-- DEBUG [4359.058 stream] -- Pre-allocating picture buffer 1 sized 1228800 bytes...
-- DEBUG [4359.058 stream] -- Increasing picture 0x75b00828 buffer: 0 -> 1228800 (+1228800)
-- DEBUG [4359.058 stream] -- Pre-allocating picture buffer 2 sized 1228800 bytes...
-- DEBUG [4359.058 stream] -- Increasing picture 0x75b00860 buffer: 0 -> 1228800 (+1228800)
-- DEBUG [4359.058 stream] -- Pre-allocating picture buffer 3 sized 1228800 bytes...
-- DEBUG [4359.058 stream] -- Increasing picture 0x75b00898 buffer: 0 -> 1228800 (+1228800)
-- DEBUG [4359.058 stream] -- Pre-allocating picture buffer 4 sized 1228800 bytes...
-- DEBUG [4359.058 stream] -- Increasing picture 0x75b008d0 buffer: 0 -> 1228800 (+1228800)
-- DEBUG [4359.058 stream] -- Device fd=8 initialized
-- DEBUG [4359.058 stream] -- Calling ioctl(VIDIOC_STREAMON) ...
-- INFO [4359.062 stream] -- Capturing started
-- INFO [4359.062 stream] -- Using JPEG quality: 80%
-- INFO [4359.062 stream] -- Creating pool with 4 workers ...
-- DEBUG [4359.062 worker-0] -- Hello! I am a worker #0 ^_^
-- DEBUG [4359.062 worker-0] -- Worker 0 waiting for a new job ...
-- DEBUG [4359.062 worker-1] -- Hello! I am a worker #1 ^_^
-- DEBUG [4359.062 worker-1] -- Worker 1 waiting for a new job ...
-- DEBUG [4359.062 worker-2] -- Hello! I am a worker #2 ^_^
-- DEBUG [4359.062 worker-2] -- Worker 2 waiting for a new job ...
-- INFO [4359.063 stream] -- Capturing ...
-- DEBUG [4359.063 stream] -- Pre-allocating memory for stream picture ...
-- DEBUG [4359.063 stream] -- Increasing picture 0x1bf320 buffer: 0 -> 1228800 (+1228800)
--------------------------------------------------------------------------------
-- DEBUG [4359.063 stream] -- Waiting for worker ...
-- PERF [4359.063 stream] -- ----- Encoded picture dropped; worker=0
-- DEBUG [4359.063 stream] -- Calling select() on video device ...
-- DEBUG [4359.063 worker-3] -- Hello! I am a worker #3 ^_^
-- DEBUG [4359.063 worker-3] -- Worker 3 waiting for a new job ...
-- DEBUG [4359.063 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.064 http] -- HTTP: Dropped same frame (BLANK) number 5
-- DEBUG [4359.080 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.080 http] -- HTTP: Dropped same frame (BLANK) number 6
-- DEBUG [4359.089 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.089 http] -- HTTP: Dropped same frame (BLANK) number 7
-- DEBUG [4359.109 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.109 http] -- HTTP: Dropped same frame (BLANK) number 8
-- DEBUG [4359.129 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.129 http] -- HTTP: Dropped same frame (BLANK) number 9
-- DEBUG [4359.143 http] -- Refreshing HTTP exposed (BLANK) ...
-- DEBUG [4359.160 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.160 http] -- HTTP: Dropped same frame (BLANK) number 0
-- DEBUG [4359.178 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.178 http] -- HTTP: Dropped same frame (BLANK) number 1
-- DEBUG [4359.193 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.193 http] -- HTTP: Dropped same frame (BLANK) number 2
-- DEBUG [4359.210 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.210 http] -- HTTP: Dropped same frame (BLANK) number 3
-- DEBUG [4359.224 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.224 http] -- HTTP: Dropped same frame (BLANK) number 4
-- DEBUG [4359.240 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.240 http] -- HTTP: Dropped same frame (BLANK) number 5
-- DEBUG [4359.249 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.249 http] -- HTTP: Dropped same frame (BLANK) number 6
-- DEBUG [4359.270 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.270 http] -- HTTP: Dropped same frame (BLANK) number 7
-- DEBUG [4359.289 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.289 http] -- HTTP: Dropped same frame (BLANK) number 8
-- DEBUG [4359.304 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.304 http] -- HTTP: Dropped same frame (BLANK) number 9
-- DEBUG [4359.320 http] -- Refreshing HTTP exposed (BLANK) ...
-- DEBUG [4359.329 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.329 http] -- HTTP: Dropped same frame (BLANK) number 0
-- DEBUG [4359.349 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.350 http] -- HTTP: Dropped same frame (BLANK) number 1
-- DEBUG [4359.369 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.369 http] -- HTTP: Dropped same frame (BLANK) number 2
-- DEBUG [4359.384 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.384 http] -- HTTP: Dropped same frame (BLANK) number 3
-- DEBUG [4359.400 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.400 http] -- HTTP: Dropped same frame (BLANK) number 4
-- DEBUG [4359.409 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.409 http] -- HTTP: Dropped same frame (BLANK) number 5
-- DEBUG [4359.429 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.429 http] -- HTTP: Dropped same frame (BLANK) number 6
-- DEBUG [4359.449 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.449 http] -- HTTP: Dropped same frame (BLANK) number 7
-- DEBUG [4359.464 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.464 http] -- HTTP: Dropped same frame (BLANK) number 8
-- DEBUG [4359.480 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.480 http] -- HTTP: Dropped same frame (BLANK) number 9
-- DEBUG [4359.489 http] -- Refreshing HTTP exposed (BLANK) ...
-- DEBUG [4359.509 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.509 http] -- HTTP: Dropped same frame (BLANK) number 0
-- DEBUG [4359.529 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.529 http] -- HTTP: Dropped same frame (BLANK) number 1
-- DEBUG [4359.543 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.543 http] -- HTTP: Dropped same frame (BLANK) number 2
-- DEBUG [4359.560 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.560 http] -- HTTP: Dropped same frame (BLANK) number 3
-- DEBUG [4359.569 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.569 http] -- HTTP: Dropped same frame (BLANK) number 4
-- DEBUG [4359.589 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.589 http] -- HTTP: Dropped same frame (BLANK) number 5
-- DEBUG [4359.609 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.609 http] -- HTTP: Dropped same frame (BLANK) number 6
-- DEBUG [4359.623 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.623 http] -- HTTP: Dropped same frame (BLANK) number 7
-- DEBUG [4359.640 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.640 http] -- HTTP: Dropped same frame (BLANK) number 8
-- DEBUG [4359.649 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.649 http] -- HTTP: Dropped same frame (BLANK) number 9
-- DEBUG [4359.669 http] -- Refreshing HTTP exposed (BLANK) ...
-- DEBUG [4359.689 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.689 http] -- HTTP: Dropped same frame (BLANK) number 0
-- DEBUG [4359.703 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.703 http] -- HTTP: Dropped same frame (BLANK) number 1
-- DEBUG [4359.719 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.720 http] -- HTTP: Dropped same frame (BLANK) number 2
-- DEBUG [4359.738 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.738 http] -- HTTP: Dropped same frame (BLANK) number 3
-- DEBUG [4359.753 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.753 http] -- HTTP: Dropped same frame (BLANK) number 4
-- DEBUG [4359.770 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.770 http] -- HTTP: Dropped same frame (BLANK) number 5
-- DEBUG [4359.784 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.784 http] -- HTTP: Dropped same frame (BLANK) number 6
-- DEBUG [4359.800 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.800 http] -- HTTP: Dropped same frame (BLANK) number 7
-- DEBUG [4359.809 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.810 http] -- HTTP: Dropped same frame (BLANK) number 8
-- DEBUG [4359.830 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.830 http] -- HTTP: Dropped same frame (BLANK) number 9
-- DEBUG [4359.850 http] -- Refreshing HTTP exposed (BLANK) ...
-- DEBUG [4359.864 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.864 http] -- HTTP: Dropped same frame (BLANK) number 0
-- DEBUG [4359.880 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.880 http] -- HTTP: Dropped same frame (BLANK) number 1
-- DEBUG [4359.889 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.889 http] -- HTTP: Dropped same frame (BLANK) number 2
-- DEBUG [4359.910 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.910 http] -- HTTP: Dropped same frame (BLANK) number 3
-- DEBUG [4359.929 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.929 http] -- HTTP: Dropped same frame (BLANK) number 4
-- DEBUG [4359.944 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.944 http] -- HTTP: Dropped same frame (BLANK) number 5
-- DEBUG [4359.960 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.960 http] -- HTTP: Dropped same frame (BLANK) number 6
-- DEBUG [4359.969 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.969 http] -- HTTP: Dropped same frame (BLANK) number 7
-- DEBUG [4359.989 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4359.989 http] -- HTTP: Dropped same frame (BLANK) number 8
-- DEBUG [4360.009 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4360.009 http] -- HTTP: Dropped same frame (BLANK) number 9
-- DEBUG [4360.023 http] -- Refreshing HTTP exposed (BLANK) ...
-- DEBUG [4360.040 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4360.040 http] -- HTTP: Dropped same frame (BLANK) number 0
-- DEBUG [4360.049 http] -- Refreshing HTTP exposed (BLANK) ...
-- PERF [4360.049 http] -- HTTP: Dropped same frame (BLANK) number 1
-- DEBUG [4360.064 stream] -- Device select() --> 0
-- ERROR [4360.064 stream] -- Mainloop select() timeout
-- INFO [4360.064 stream] -- Destroying workers pool ...
-- DEBUG [4360.064 worker-0] -- Bye-bye (worker 0)
-- DEBUG [4360.064 worker-1] -- Bye-bye (worker 1)
-- DEBUG [4360.065 worker-2] -- Bye-bye (worker 2)
-- DEBUG [4360.065 worker-3] -- Bye-bye (worker 3)
-- DEBUG [4360.065 stream] -- Calling ioctl(VIDIOC_STREAMOFF) ...
-- INFO [4360.066 stream] -- Capturing stopped
-- DEBUG [4360.066 stream] -- Releasing picture buffers ...
-- DEBUG [4360.067 stream] -- Releasing device buffers ...
-- DEBUG [4360.068 stream] -- Closing device ...
-- INFO [4360.070 stream] -- Device fd=8 closed
-- DEBUG [4360.070 stream] -- _stream_init_loop: stream->proc->stop=0
================================================================================
-- INFO [4360.071 stream] -- Device fd=8 opened
-- DEBUG [4360.071 stream] -- Calling ioctl(VIDIOC_QUERYCAP) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment