Save video stream as file using rtmpdump (even on Windows)

The rtmpdump tool can help you save video streams as local files.

It comes with most Linux distributions, e.g. on Ubuntu or Debian (with sudo):
sudo apt-get install rtmpdump

On Windows, the most convenient way is probably via Cygwin and Cygwin Ports:

  1. Install Cygwin
  2. Install Cygwin Ports
  3. On the package selection screen, select “rtmpdump”

Read the manual page and study the options:
man rtmpdump

Version Control for corporate development: Git

What is Git?
http://en.wikipedia.org/wiki/Git_(software)
http://git-scm.com/downloads
http://git-scm.com/download/win

Reference documentation
http://git-scm.com/docs

About Git, compared to alternatives
http://git-scm.com/about

A very useful post on stackoverflow:
Typical problems using Git in corporate environment with solutions

Linus Torvalds’ famous “rant” style presentation about Git vs Subversion:
https://www.youtube.com/watch?v=4XpnKHJAok8

Questions, discussions and answers on stackoverflow.com:
Distributed Version Control Systems and the Enterprise – a Good mix?
Can we finally move to Distributed VCS in Corporate Software?
Git-Based Source Control in the Enterprise
Reasons against using “Git” in the enterprise

Article: “Benefits of Git for business” (from 2008 but still valid):
http://pathfindersoftware.com/2008/08/selling-git-on-the-business-end/

Presentation: “Git for Companies” (Video and Slides, from 2012):
http://2012.con-fess.com/sessions/-/details/169/GIT-for-Companies

Pre-tested commits with git and Jenkins:
http://blog.cloudbees.com/2012/03/dont-phunk-with-my-stable-branch.html

IDE support
http://www.eclipse.org/egit/
http://netbeans.org/kb/docs/ide/git.html
http://www.jetbrains.com/idea/webhelp/using-git-integration.html

Commercial Git Hosting (for no-hassle repo infrastructure)
https://github.com/plans
https://bitbucket.org/plans

JavaOne 2012 and Oracle OpenWorld slides and videos available

Now that JavaOne and Oracle OpenWorld 2012 are officially over, a lot of the slide decks and session recording videos are becoming available in the Content Catalog. You can explore sessions via the “Sessions” tab or the “Speakers” tab and filter by conference type, track and other criteria. The filter selection is done via the combo-boxes on the left.

Please note: The availability of full video for all sessions is apparently a novelty for JavaOne, as pointed out on the JavaOne 2012 blog.

Due to the large number of sessions and files on the site, you might have to click a “Get more results” link on the bottom of a page several times to actually see all results.

Once you find an interesting session, click on the “View More” link. This will cause a popup with session details, but you can also open the same “View More” link in a new tab (e.g. middle-click or CTRL+click) and it will be opened as a full page. On each of these session details pages, try the links in the “Presentation Download” and “Media” section on the right. They should point you to slides as PDF file or a video as embedded MP4 file, respectively.

The PDF and MP4 files are also listed on the so-called Virtual Collateral Rack tab. Each file is identified by the unique session identifier which is also used in the Sessions tab of the Content Catalog.

X with Eddie Vedder at Oracle Party

Part of the JavaOne conference this week was a huge party by Oracle on Treasure Island, San Francisco. It featured a live concert (photos) from around 8pm to 1am with Kings of Leon, Pearl Jam and a band that was apparently big in the US indie scene in the 80s called “X”.

I enjoyed Kings of Leon – who had the unenviable task of warming up a crowd of thousand of mostly male IT dudes, then a great Pearl Jam gig and stayed to see and dance to X, until in the end Pearl Jam’s Eddie Vedder reappeared and joined X on stage …

JavaOne sessions I attended Wednesday

On Monday and Tuesday I felt like I had overloaded my schedule with too many sessions, so on Wednesday I only attended the following sessions:

I did not attend the following sessions, that had been originally on my schedule. But please note that I included links to the slide decks, if available:

Project Jigsaw notes and links

Goals
– Help fix problems with the classpath
– Allow modularization of JDK/JRE
– Enable using JSE subsets
– Improve performance (startup time, download time, etc.)

OSGi was considered too complex and not well-suited for JDK modularization
But: Project Penrose tries to make sure that OSGi can be implemented on top of Jigsaw.

Project is in Phase 1 (exploration, prototyping)
Phase 2 (reference implementation) in very early stages

Project website
Big picture of the Design

A lot of work to do
Was recently deferred from Java 8 to Java 9

Challenges:
– Dynamic modularization
– JEE containers
– Needs a reflective API
– Fundamental changes, require a lot of QA (testing, etc.)

But Java 8 might already introduce a simplified way of using JSE subset:
“JSE Profiles”

Module descriptor: module-info.java
http://openjdk.java.net/projects/jigsaw/doc/lang-vm.html#jigsaw-1.1

Modules are versioned
Only one version of a module can exist

Repositories: HTTP server or local files

Packager to generate deb, rpm packages etc. from Java modules
translate the module metadata to package metadata

JDK modularization
http://openjdk.java.net/projects/jigsaw/doc/jdk-modularization.html

Backwards compat:
Classpath-mode (legacy), Module mode

But: No more dependecies on internal classes (e.g. sun.misc.*) will be possible
No more rt.jar, tools.jar

JavaOne sessions I attended Tuesday

Of the more than 150 sessions on Tuesday I managed to attend these ones: