Basic instructions on how to use ffmpeg
to embed a user friendly video from a series ofplots into a README.md
in GitHub.
Elementor Page Builder Contributors: elemntor, KingYes, ariel.k, jzaltzberg, mati1000, pojosh, bainternet Tags: page builder, editor, landing page, drag-and. How to Build creative ReadME for your Github Profile. If you regularly use Github and watch others profile, so you might have noticed, that some people have some Attractive stats, Tools logos in their profiles. So through this post, i am going to share some cool stuff for your Github profile with you. For DEMO you can check my Github Profile here. A Greasemonkey script to better integrate Youtube videos in Github markdown (pull requests, issues, comments.). It adds a new button the Github markdown editor to transform any Youtube video URL to the code to a link to the video using the video thumbnail generated by Youtube. You can Design your Github profile using Username/README.md repo, this amazing update is under development. If you want to listed your all project, website, all social media link and many other link then this github update is for you. IMPORTANT: Video Analytics Serving is provided as a sample.It is not intended to be deployed into production environments without modification. Developers deploying Video Analytics Serving should review it against their production requirements.
- Mac user (can use
apt-get
on Linux for installs)
Get convert
with homebrew
as
-delay 10
means10*10ms
so a delay of a-delay 100
is1s
-loop 0
states there is no pause before looping
If you find your .gif
is too large then the size can be significantly reduced with
In my example this reduced the size from a whopping 147MB
to 3MB
!
This won’t work for Github README files but it is worth stating anyway for Jekyll based sites that use markdown.
Requirements
Get ffmpeg
with
if you obtain an error of Unknown encoder 'libvpx'
or Unknown encoder 'libtheora'
then you need to do
Movie from Plots
I assume that images are outputted by a plotting software such as gnuplot
of mathplotlib
at regular intervals. They should be numbered sequentially.
-r 60
this sets the framerate to60fps
-pattern_type glob -i 'input*'
matches all files withinput
and reads in orderoutput.mp4
output file name-s 1920x1080
set the output resolution
Dynamically resize
Some browsers don’t recognise .mp4
files forcing the use of a Flash plugin. This format allows HTML5
to use its default plugin
The following format is also necessary for multi-browser support
Adding the CSS
Add the css
code to _sass/call_me_what_you_like.scss
Adding the HTML
The following HTML will then generate the correct video in your Jekyll site.
In this actual case I also wrapped the <div>
tag within a <figure>
tag that is provided in thissite’s template
Showing 4 of 4 issues in cli/cli
#16Improving interactions with protected branches
#14PR commands on a detached head
#13Support for GitHub Enterprise (enhancement)
#8Add an easier upgrade command (bug)
Relevant pull requests in cli/cli
Current branch
There is no pull request associated with [fix-homepage-bug]
Created by you
You have no open pull requests
Requesting a code review from you
#100Fix footer on homepage[fix-homepage-footer]
✓ Checks passing- Review pending
remote: Counting objects: 100% (66/66), done.
remote: Total 83 (delta 66), reused 66 (delta 66), pack-reused 17
Unpacking objects: 100% (83/83), done.
From https://github.com/owner/repo
* [new ref] refs/pull/8896/head -> patch-2
M README.md
Switched to branch 'patch-2'
Github Readme Video Chat
gh pr createCreating pull request for feature-branch into main in ampinsk/test
? Title My new pull request
? Body [(e) to launch vim, enter to skip]
? What's next? Submit
http://github.com/owner/repo/pull/1
Github Readme Video
gh pr checks1 failing, 3 successful, and 1 pending checks
-CodeQL3m43shttps://github.com/cli/cli/runs/123
✓build (macos-latest)4m18shttps://github.com/cli/cli/runs/123
✓build (ubuntu-latest)1m23shttps://github.com/cli/cli/runs/123
✓build (windows-latest)4m43shttps://github.com/cli/cli/runs/123
×lint47shttps://github.com/cli/cli/runs/123
? Release notes Write my own
? Is this a prerelease? No
? Submit? Publish release
https://github.com/octocat/.github/releases/tag/1.0
GitHub’s official command line tool
GitHub CLI
gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.
Image: screenshot of gh pr status →https://user-images.githubusercontent.com/98482/84171218-327e7a80-aa40-11ea-8cd1-5177fc2d0e72.png
View this repository on GitHub: https://github.com/cli/cli
Embed Video Github Readme
✓ Added alias.
$ gh bugs
Showing 2 of 7 issues in cli/cli that match your search
#19Pagination request returns empty JSON (bug)
#21Error raised when passing valid parameters (bug)