Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Online audio and video using free software and ...

Online audio and video using free software and open standards

The web as we know it today couldn’t exist without free software. However, the web also helped re-emergence of proprietary technologies and incompatible, closed systems. One of the areas where this shows is in web multimedia - video and audio streaming, both live and on demand. Publishing a video or hosting a live stream today is trivial. Publishing a video or hosting a live stream using free technologies and avoiding artificial limits posted by the popular platforms is a quite different experience.

This talk highlights challenges in publishing video and audio content using only free and open source software and unencumbered technologies, examines choices you have to make and walks through several examples of how to publish multimedia on the web with minimal use of proprietary and closed solutions.

Senko Rašić

April 20, 2018
Tweet

More Decks by Senko Rašić

Other Decks in Technology

Transcript

  1. Online video is everywhere 9% 2% 14% 75% Video Web,Email,Data

    Gaming File sharing Source: Cisco VNI-2016-2021
  2. Audio streaming is ubiquitous U.S. Music Industry Revenues 2017 15%

    17% 3% 65% Streaming Synch Physical Downloads Source: RIAA 2017 Revenue Statistics
  3. A new hope: AV1 open, royalty-free video codec with patent

    grants 30% improvement on VP9 and HEVC 70% improvement on H.264
  4. Internet Radio with Free Software IceCast ffmpeg mpd vlc ezstream

    gstreamer … HTML5 audio vlc mplayer omxplayer … Codecs AAC MP3 Vorbis Opus SHOUT HTTP
  5. Cheese VLC mencoder ffmpeg OBS Studio … nginx red5 ant

    media server … HTML5 video VLC GNOME/KDE media player mplayer gstreamer … Live Video Workflow with Free Software
  6. Recording ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0

    -f alsa -i hw:1,0 -c:v libvpx-vp9 -b:v 1800k -crf 31 -c:a libopus output.webm ffmpeg Cheese (GNOME)
  7. Live Streaming OBS Studio ffmpeg -f v4l2 -framerate 25 -video_size

    640x480 -i /dev/video0 -f alsa -i hw:1,0 -f flv rtmp://login:[email protected]/app/stream ffmpeg (again!)
  8. Video Player VLC, Kodi, GNOME/KDE Media Player, mplayer, omxplayer, …

    <video src=“http://example.com/video.webm">