Navigation

    H7

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Yatko
    Y
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Yatko

    @Yatko

    administrators

    1
    Reputation
    11
    Posts
    1772
    Profile views
    1
    Followers
    1
    Following
    Joined Last Online

    Yatko Follow
    Global Moderator administrators

    Posts made by Yatko

    • COVID-19 Sample Article

      How the New Coronavirus Spreads and Progresses

      The number of Covid-19 cases continues to rise, surpassing 4 million as this coronavirus tracker shows.

      The total number of cases is now at 4,290,410 with 2,458,682 cases still active. According to quarantine.country, 45 million people have been tested for the Coronavirus, at the time of writing this article, and once more tests are conducted the novel coronavirus infection numbers could rise.

      The US continues to have the biggest share of those, recording 18.502 new cases yesterday. The mortality rate in all the countries is trending downwards however, as lockdowns are eased in some capacity across the world, some fear we could see the numbers climb back up.

      ...

      posted in Coronavirus Dashboard
      Y
      Yatko
    • Coronavirus Tracker Script (Description)

      COVID-19 Dashboard

      Coronavirus Tracker and Coronavirus API with free COVID-19 live updates based on multiple sources.

      Coronavirus Tracker Script

      COVID-19 App Demo HTML/JS Example

      Edit "index.html" that came together with this documentation and follow the instructions to personalize it to your needs

      What is it for?

      The Coronavirus Tracker Script tracks COVID-19 cases and related data from around the world.

      What data is available?

      Data is available for countries that are submitting confirmed cases and related COVID-19 records. See full list of supported countries or list latest data with Coronavirus API.

      Live data:

      Daily data (updated live): Total Cases, Active Cases, Recovered, Deaths, Tested, Critical Condition, Change Ratio %s and Summaries.

      Is historical data available?

      Historical data includes: Day, Week, Month, Year, Changes per Day, Differences and Summaries.

      What regions are covered?

      World, Countries and reported Regions.

      Are U.S. states included?

      Yes, you can track all U.S. States separately.


      Customizing

      Selecting country: the script is delivered with a set of 50 countries, randomly selected to display COVID-19 cases data.

      Find var countryFeedKey and change it to var countryFeedKey = 'usa';. Replace 'usa' with the country of your choice see full list here.

      Showing multiple countries: duplicate index.html and name it e.g. "usa.html". Edit and change var countryFeedKey = 'usa';.

      Adding more data: if you need to display more data like “Tests Made” or “In Severe Condition”, simply add a new section and set the data-country-placeholder according to your needs, example:

      <div class="d-inline qc_data-cases qc_data-cases-all">
         <button class="btn btn-secondary fixwidth">
            <strong data-country-placeholder="tested">0</strong>
         </button>
      </div>
      
      • ask the community for options for details that you are trying to add
      • if you need to display a calculation or present another detail, ask the community, ask technical questions, be specific, to the point
      • another place to ask developers

      Coronavirus Charts: Google Charts was used in the attached covid-19 tracker script however, you may chose any other charting library. We recommend Chart.js, as used on the Coronavirus Dashboard. See examples: Australia, China, Germany, Mexico, Spain, Thailand, USA, etc.

      • Find:
      var chart = new google.visualization.PieChart(document.getElementById(‘drawchart'));
      

      and change to BarChart, ColumnChart or any other chart type you may need.

      • Further editing Charts: ask the community any changes you might need, be specific and to the point: Coronavirus-Dashboard

      Other resources

      • Ask the community Coronavirus-Dashboard/issues
      • Ask other technical details if the community could not help
      • Check the Coronavirus API for more advanced features
      • See some great examples at quarantine.country
      • Add your own tracker to the TOP list, mention your URL with hashtag #covidTop at coronavirus-dashboard community
      posted in Coronavirus Dashboard
      Y
      Yatko
    • RE: Our video didn’t upload

      @hoosier with version 1.201+ you have feedback about the current bitrate and connection quality, check the status indicator**; red = something not optimal (most likely slow Wi-Fi or 4G LTE). As a backup it’s always a good idea to save your broadcast (Record to iPhone)

      0_1517148061368_66E548C6-574A-4B6D-8A29-043D220700C8.jpeg

      0_1517148076661_4AEE98F8-E529-4806-98A1-9140F281B03E.jpeg

      posted in Tech Support
      Y
      Yatko
    • RE: iPad focus issue?

      @acpregion5 can you embed a sample video please, with iOS you can record the screen while streaming.

      posted in Live Streaming
      Y
      Yatko
    • Dahua IP Camera Setup (Mac)

      Dahua IPC-HFW4300S (HD 1080p PoE IP Camera)

      1. Prepare, you will need:

      • a router (cable modem, or other similar device) with at least one free LAN port (Internet)
      • Dahua IPC-HFW4300S IP Camera
      • PoE Injector or PoE Switch or PoE Router (to power the camera)
      • Two RJ45 Cat5e Ethernet Cables Step

      2. Connect:

        1. connect the first RJ45 cable to your Internet connection (ex. Router LAN port)
      • 1.1 connect the other end to the PoE injector (or PoE Switch). If your router has a PoE LAN port, you can skip this step
        1. connect the second RJ45 cable to the PoE injector output (Power+Data OUT)
      • 2.1 connect the other end to the Dahua IPC-HFW4300S IP Camera

      3. Access Setup: the Dahua cameras are preset with fixed IP addresses: 192.168.1.108 and they will not automatically get an IP address from the DHCP server (e.g. the router). You will need to do is temporarily set your Mac to use an IP on the same subnet as the camera (for example, 192.168.1.109 - the first three numbers have to be the same and the fourth different), and then you will be able to access the camera at 192.168.1.108 using a web browser. You then set the camera to use an IP address on the same subnet as your network, reset your Mac's IP settings, and then the camera is visible to your network. This is described in our setup instructions for network cameras. While the camera is on a different subnet, you will be able to detect it via its Bonjour address, however all attempts at accessing it will fail.

        1. fire up BonjourBrowser and find the IP and Port of the camera
      • 1.1 the default IP is 192.168.1.108, default user name and password: admin/admin, the port is 80
        1. to create port forwarding on your router for the IP and Port probably you will have to reserve a local IP for the camera so
        1. create a DHCP reservation for the camera and after done, reboot your router and camera to make sure the camera has the reserve IP address ex. 10.0.1.23 4. create a port forwarding with the default port (80) and the IP address above
        1. access the address with a web browser and change the IP address and Port after your preference, the default admin pass is admin/12345
      posted in Development
      Y
      Yatko
    • Hikvision IP Camera Setup (Mac)

      Hikvision DS-2CD2032-I (HD 1080p PoE IP Camera)

      1. Prepare, you will need:

      • router (cable modem, or other similar device) with at least one free LAN port (Internet)
      • Hikvision DS-2CD2032-I IP Camera
      • PoE Injector or PoE Switch or PoE Router (to power the camera)
      • Two RJ45 Cat5e Ethernet Cables Step

      2. Connect:

        1. connect the first RJ45 cable to your Internet connection (ex. Router LAN port)
      • 1.1 connect the other end to the PoE injector (or PoE Switch). If your router has a PoE LAN port, you can skip this step
        1. connect the second RJ45 cable to the PoE injector output (Power+Data OUT)
      • 2.1 connect the other end to the Hikvision DS-2CD2032-I IP Camera Step

      3. Access Setup:

        1. fire up BonjourBrowser and find the IP and Port of the camera
        1. create port forwarding on your router for the IP and Port
        1. access the address with a web browser and change the IP address and Port after your preference, the default admin pass is admin/12345 Step
      • 3.1 if Step 3. does not work:
          1. download software from Hikvision
          1. access camera and set your IP and Port (default admin pass is admin/12345)
          1. create port forwarding
      posted in Development
      Y
      Yatko
    • HUACAM IP Camera Setup (Mac)

      HUACAM HCV712 (HD 720p PoE IP Camera)

      1. Prepare, you will need:

      • router (cable modem, or other similar device) with at least one free LAN port (Internet)
      • HUACAM HCV712 IP Camera
      • PoE Injector or PoE Switch or PoE Router (to power the camera)
      • Two RJ45 Cat5e Ethernet Cables Step

      2. Connect:

        1. connect the first RJ45 cable to your Internet connection (ex. Router LAN port)
      • 1.1 connect the other end to the PoE injector (or PoE Switch). If your router has a PoE LAN port, you can skip this step
        1. connect the second RJ45 cable to the PoE injector output (Power+Data OUT)
      • 2.1 connect the other end to the HUACAM HCV712 IP Camera Step

      3. Access Setup:

        1. Open Terminal and type in: arp -na
        1. try to locate the IP address and when found, access it via any web browser. Ex. 10.0.1.4
        1. Click on Configuration (user and pass is admin/admin)
      posted in Development
      Y
      Yatko
    • Foscam IP Camera Tool

      Foscam IP Camera Tool: https://codepen.io/_yatko/pen/EbZYga

      posted in Development
      Y
      Yatko
    • Getting Started with Gulp

      You will need:

      • Node.js and npm (Node Package Manager)
      • Gulp
      • spycam.io IP Camera Tool

      Step 1 - Install Node.js

      to install Node, visit nodejs.org and click the "Install" button to download the installer for your OS. Follow the instructions and after finished, you should have Node and npm (Node Package Manager) installed. To ensure that Node is properly installed type into the terminal:

      node -v
      npm -v
      

      you should get a response with the version number of Node
      get version number of npm

      Step 2 - Prepare

      Navigate to your project directory e.g.:

      cd /Documents/Project/my-project
      

      the ls command will list the contents of a directory and helps finding your way around, cd will change the directory, use the [Tab] key to auto-complete long directory-names. Once you made it to your project directory, use npm to initialize your package.json file:

      npm init
      

      will create the package.json file in your root directory which will provide information about your project and help manage dependencies

      Step 3 - Install Gulp

      sudo npm install -g gulp
      gulp -v
      

      grant you administrator access (sudo), install package globally (-g)
      should return the Gulp version number

      Also install gulp locally, using the --save-dev flag to add the dependency to your devDependencies list in package.json

      npm install --save-dev gulp
      

      Step 4 - Install required Plugins

      npm install gulp-jshint gulp-sass gulp-concat gulp-uglify gulp-rename --save-dev
      

      *for spycam.io 0.2.2 use:

      npm install gulp-browserify gulp-connect gulp-plumber gulp-sass gulp-util plumber reactify require-dir vinyl-buffer vinyl-source-stream watchify --save-dev
      

      prepend with sudo e.g. sudo npm install gulp-sass --save-dev if you are getting permissions errors, also read this great article to find out more about these plugins also to learn more about how to use your command-line interface

      Step 5 - Start spycam.io tool

      Download the spycam.io IP Camera Tool source code and extract it to your project folder and run Gulp:

      gulp
      

      this will call gulp and run everything needed to start spycam.io

      Step 6 - Access spycam.io tool

      • in your browser navigate to http://localhost:8080 and you should see the IP Camera Tool up and running!

      Troubleshooting

      How to resolve "Cannot find module" error?

      While still in your project folder, run npm install {module-name} more info here e.g. require-dir

      posted in Development
      Y
      Yatko
    • GoPro Live Streaming

      Live Streaming with your GoPro

      How to stream live from GoPro HERO and other GoPro models

      You'll need a GoPro HERO camera and a MAC or PC for transcoding the live stream with both wired and wireless connections (read below why)

      For sending a live video stream from your GoPro HERO to Facebook Live, YouTube Live or any other media server, you will need internet connection. Since your computer's Wi-Fi will be used for connecting to your GoPro camera, a second (most likely) wired Ethernet connection is required that will provide the internet access. Note: this is only needed if you are using the GoPro's live video stream, meant for the GoPro App video preview. GoPro HERO3 - HERO4+ cameras produce HLS streams which are used by control apps and monitors. It's possible to take this stream and rebroadcast over RTMP. This is a low-quality stream that can be easily accessed via WiFi, when the camera is in App & RC mode. There are better methods for obtaining a HD livestream using a HDMI cable and an external device with http://cameleon.live.

      GoPro Live Stream with VLC (VideoLAN)

      Get HLS stream from your GoPro, please view images below and follow these quick steps:

      • On your GoPro camera enable Wi-Fi for GoPro App (Not for Remote Control)
      • Connect to your GoPro's Wi-Fi network with your computer (Note: your internet connection will probably stop)
      • Open System Preferences > Network > Advanced... and select the TCP/IP tab. Take note of the "Router:" IP address, more than likely 10.5.5.9
      • Open your browser and access the above-mentioned IP address on port 8080 e.g. http://10.5.5.9:8080

      Test: if you did everything as demoed trough the screenshots above AND you're connected to your GoPro's Wi-Fi, this link should work: http://10.5.5.9:8080

      • Download VLC from videolan.org - 2.2.4 Weatherwax (Intel 64bit) earlier/later versions should also work
      • Run VLC from command line, example with parameters:

      GoPro HERO4 and GoPro HERO4 Session

      vlc udp://@:8554 --sout="#transcode{vcodec=h264}:rtp{dst=127.0.0.1,port=4444,sdp=rtsp://0.0.0.0:8080/live.sdp}" --verbose=3 --logmode=text --file-logging
      
      • Accessing the GoPro live stream is also available from within the VLC app by going to File > Open Network... and entering 'udp://@:8554' into the URL field (no logs on screen)

      GoPro HERO3 and GoPro HERO3+

      vlc http://10.5.5.9:8080/live/amba.m3u8 --sout="#transcode{vcodec=h264}:rtp{dst=127.0.0.1,port=4444,sdp=rtsp://0.0.0.0:8080/live.sdp}" --verbose=3 --logmode=text --file-logging
      
      • replace the IP address of your GoPro camera

      Error: Running VLC from the terminal gives error: -bash: vlc: command not found (read section below)

      VLC terminal error: -bash: vlc: command not found

      You can run VLC on Mac OS X using terminal (/Applications/Utilities/Terminal) with the following command:

      /Applications/VLC.app/Contents/MacOS/VLC http://10.5.5.9:8080/live/amba.m3u8 --sout="#transcode{vcodec=h264}:rtp{dst=127.0.0.1,port=4444,sdp=rtsp://0.0.0.0:8080/live.sdp}" --verbose=3 --logmode=text --file-logging
      

      You can also set an alias to just vlc with the following command:

      alias vlc='/Applications/VLC.app/Contents/MacOS/VLC'
      
      • this can be helpful to add this command to your shell setup file (this option can also be activated from the "VLC" menu).


      Note:

      • You may need to modify the VLC media player configuration to MPEG streaming by changing the VLC stream transport protocol (read section below). This will open a RTSP port 8080 on your computer and if your firewall is allowing traffic on port 8080, you're ready to go. Your RTSP path will be rtsp://{YOUR_COMPUTERS_IP_ADDRESS}:8080/live.sdp (copy this URL)
      • Command line examples, VLC Streaming Wizard

      Switching VLC from HTTP streaming to RTP/RTSP streaming

      • Open VLC > Preferences..., select Input / Codecs tab and check the box next to "Use RTP over RTSP (TCP)". Save.

      GoPro live stream won't play?

      Let's try something else, Download FFmpeg (here) or follow instructions for Installing FFmpeg for macOS / Windows (read section below)

      Install FFmpeg for macOS

      • The easiest way to install FFmpeg on macOS (Mac OS X ) is using Homebrew and Xcode Command Line Tools. Install Xcode from the Mac App Store (update to the latest version if necessary). Xcode may prompt you to install command line developer tools or you can install it by typing the following command into the terminal:
      xcode-select --install
      
      • Installing Homebrew is quite simple as well, type the following command into the terminal:
      /usr/bin/ruby -e "$(curl -fsSL >>https://raw.githubusercontent.com/Homebrew/install/master/install)"
      

      * after successful installation you should execute: '$ brew doctor' -to check if your Homebrew >>installation was successful

      • Install FFmpeg - install by typing the following command into the terminal:
      brew install ffmpeg --with-ffplay
      

      GoPro Live Stream with FFmpeg

      • Connect to your GoPro via Wi-Fi
      • Run FFmpeg from command line, with parameters:
      ffplay -an -fflags nobuffer -f:v mpegts -probesize 8192 rtp://10.5.5.9:8554
      
      • Still no luck? Make sure your Mac is connected to your GoPro's Wi-Fi network (check your Mac's Wi-Fi connection, it should be connected to your GoPro and not your router/internet). Try (re)starting GoPro real-time A/V stream using LTP by sending this command via your browser:
      http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=restart
      
      • Check out other GoPro Hero4 Remote tools @ <cite title="3v1n0's gist, Marco Trevisan">3v1n0's gist</cite> | for GoPro Cameras with older firmware, use command: http://10.5.5.9/gp/gpExec?p1=gpStreamA9&c1=restart
      • You may want to read How to livestream from a GoPro HERO4 reddit post for latest info and comments

      Note: GoPro live stream will stop unless a "keep alive packet" is maintained (power-saving), run a script e.g.: hero4-udp-keep-alive-send.py in parallel with FFplay to keep the camera live
      Test: GoPro live stream should appear in your FFplay media player. Remove the '-an' flag to receive audio from your GoPro

      Go Live

      • Open your Live Streaming App and paste the RTSP path by following the instructions below. Pro builds of Cameleon Live should detect GoPro HERO cameras automatically, there is no need for the above nor pasting the RTSP path(s).

      GoPro Live Streaming to YouTube

      ffmpeg -thread_queue_size 512 -f:v mpegts -probesize 8192 -i rtp://10.5.5.9:8554 -c:v libx264 -b:v 1M -vf scale=-1:720 -r 25 -c:a aac -ar 44100 -b:a 128k -tune zerolatency -preset ultrafast -flags +global_header -f flv rtmp://a.rtmp.youtube.com/live2/XXXX-XXXX-XXXX-XXXX"
      
      • -thread_queue_size 512: (optional) somewhat optimizes CPU
      • -probesize 8192: probing size to lower latency, necessary
      • -c:v libx264: video encoding codec
      • -b:v 1M: video bandwidth (1 megabit)
      • -vf scale=-1:720: video scaling filter for 720p video height
      • -r 25: framerate
      • -c:a aac -ar 44100 -b:a 128k: audio codec, sample rate, bandwidth
      • -tune zerolatency: (optional) useful for LIVE
      • -preset ultrafast: (optional) slightly lower quality, less CPU
      • -flags +global_header: for FLV output, mandatory
      • -f flv: FLV format, mandatory for YouTube LIVE
      • "rtmp://a.rtmp.youtube.com/live2/: YouTube LIVE Encoder Server URL
      • XXXX-XXXX-XXXX-XXXX": YouTube LIVE Encoder Stream name/key
      • "rtmp://a.rtmp.youtube.com/live2/XXXX-XXXX-XXXX-XXXX": YouTube streaming URL (YouTube Live Dashboard)

      Error: YouTube Streaming API error: User is not enabled for live streaming (click to fix)

      posted in Live Streaming
      Y
      Yatko