Streaming Networks with VLC. Jean-Paul Saman jean-paul.saman@m2x.nl



Similar documents
White Paper Content Delivery Networks (CDN) for Live TV Streaming

IPTV and its transportation...

Cisco TelePresence Content Server

Practical advices for setting up IP streaming services.

GY-HM850 & GY-HM890 camcorders LIVE STREAMING QUICK REFERENCE GUIDE

Efficient Video Distribution Networks with.multicast: IGMP Querier and PIM-DM

Network setup and troubleshooting

IPTV STB QUICK GUIDE. Detailed user manual download from

White paper. Latency in live network video surveillance

Multimedia Communications Voice over IP

How to Integrate Camera Live View into Web Application?

Application Note How To Determine Bandwidth Requirements

VIA CONNECT PRO Deployment Guide

AirCam POE-200HD. H MegaPixel POE Dome. H.264 Compression. 1.3 Mega-Pixel Video Quality

ADVANTAGES OF AV OVER IP. EMCORE Corporation

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

1.3 Mega-Pixel Video Quality

Network testing with iperf

JACKSON COUNTY SCHOOL BOARD Marianna, Florida. Down and Dirty IPTV

Wowza Media Systems provides all the pieces in the streaming puzzle, from capture to delivery, taking the complexity out of streaming live events.

PRELIMINARY USER MANUAL

2MP H.264/ MPEG-4/ MJEPG

Region Free DVD Playback with VLC. By Mikio Moriyasu

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Network Simulation Traffic, Paths and Impairment

BR-800. ProHD Broadcaster. Easy Set-Up Guide V 1.01

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

TENVIS Technology Co., Ltd. User Manual. For H.264 Cameras. Version 2.0.0

Multi-Profile CMOS Infrared Network Camera

LifeSize UVC Video Center Deployment Guide

Applications that Benefit from IPv6

NVA Family by Brandywine Installation and Operation Manual

Evolving Telecommunications to Triple Play:

Datasheet EdgeVision

IP Ports and Protocols used by H.323 Devices

EZ TV. Enterprise Grade IPTV Solution VIDEO INNOVATIONS

Application Note. Onsight Mobile Collaboration Video Endpoint Interoperability v5.0

1.3 CW-720IR. 720P Day/Night Wireless IPCAM. 1.3M Resolution and Quality Enhancement 64GB. Audio. IR for. Two-Way

Higth definition from A to Z.

ATLAS.ti 6 Using Video Data

STUDY OF A HYBRID - ANALOG TV AND ETHERNET- HOME DATA LINK USING A COAXIAL CABLE

District of Columbia Courts Attachment 1 Video Conference Bridge Infrastructure Equipment Performance Specification

Archives About ARCHOS TV+

UPnP POE. POE-FSH804 PoE Status Link/ACT SPEED 1. POWER PoE Max. 8-Port Fast Ethernet POE Switch. POE Switch

Multimedia Framework Overview. JongHyuk Choi

The Picture must be Clear. IPTV Quality of Experience

Step 1: Create the RTSP Command

Demonstration of Internet Protocol Television(IPTV) Khai T. Vuong, Dept. of Engineering, Oslo University College.

Advanced Networking Voice over IP: RTP/RTCP The transport layer

Datasheet. Wireless-N Internet Home Monitoring Camera. Delivers high-quality audio/video wirelessly for computer, smartphone, or Web viewing

Avigilon View Software Release Notes

RESEARCH PROFILE: VIDEO TECHNOLOGIES FOR NETWORKED MULTIMEDIA APPLICATIONS

Networked AV Systems Pretest

IxLoad: Testing Microsoft IPTV

N7 Netstream HD!!! For Digital cable, DVB-T or satellite

GregSowell.com. Mikrotik Basics

TCP/IP Network Essentials. Linux System Administration and IP Services

AirCam OD-325HD-2.5MM

Measure wireless network performance using testing tool iperf

SIP EXPRESS MEDIA SERVER (SEMS) WITH MPEG4 SUPPORT

Network Security Systems Fundamentals for ITS Professionals

netkit lab static-routing Università degli Studi Roma Tre Dipartimento di Informatica e Automazione Computer Networks Research Group

5100 SERIES 32-CHANNEL SWITCHBOX NVR

Instructions for Activating and Configuring the SAFARI Montage Managed Home Access Software Module

CIPCAM720PTIWL,CIPCAM720OD,CIPCAM720ODWDR,CIPDC AM720OD

IP Camera (M series) User manual V4.0

Networking 4 Voice and Video over IP (VVoIP)

SSVVP SIP School VVoIP Professional Certification

GV-iView HD V1 for ipad

Transport and Network Layer

VS-100. PoE. H.264 PoE Video Server. H.264 Compression H.264 DI/DO. Compression Rate Comparison MJPEG MPEG4 H.264.

Quick installation guide for the Vista Quantum QNVR Network Video Recorder

Final for ECE374 05/06/13 Solution!!

QVidium Flash CDN Example

Lab VI Capturing and monitoring the network traffic

VIA COLLAGE Deployment Guide

Nortel Technology Standards and Protocol for IP Telephony Solutions

ANTIK JUICE IPTV DEMO KIT MANUAL

1.3 CW x720 Pixels. 640x480 Pixels. 720P Wireless 150Mbps IPCAM. High Quality 720P MegaPixel Image

WN-200HD. 2 Mega-Pixels. 2.0 Mega Pixel Wireless 150Mbps IPCamera. High Quality 2.0 MegaPixel Image. Full Feature 150Mbps Wireless N Camera

VOD Encoder Fast HIDef Video Encoding

PoE-2600HD. 355 Pan. 90 Tilt. PoE af PoE H Mega-Pixel PT IP Camera 16 :9 FPS H.264

Troubleshooting. Hardware. Troubleshooting

The World`s First Unified Media Server

EyeSoft Quick Setup Guide For latest software update / manual, please see Please see Manual for detailed instructions.

point to point and point to multi point calls over IP

Voice over IP: RTP/RTCP The transport layer

TECHNICAL NOTE. GoFree WIFI-1 web interface settings. Revision Comment Author Date 0.0a First release James Zhang 10/09/2012

Classes of multimedia Applications

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Introduction VOIP in an Network VOIP 3

Guarding Expert (Android Tablet) Mobile Client Software User Manual (V3.1)

AirCam PoE-2600HD. 355 Pan. 90 Tilt. PoE af PoE H Mega-Pixel PT IP Camera 16 :9 FPS H.264

Alkit Reflex RTP reflector/mixer

MINIMUM NETWORK REQUIREMENTS 1. REQUIREMENTS SUMMARY... 1

AVer EVC. Quick Installation Guide. Package Contents. 8. Mini Din 8 pin MIC Cable. 1. Main System. 9. HDMI Cable. 2. Camera. 10.

Manual. photo Nr.1 (About)

BroadCloud PBX Customer Minimum Requirements

Easy H.264 video streaming with Freescale's i.mx27 and Linux

Transcription:

Streaming Networks with VLC Jean-Paul Saman jean-paul.saman@m2x.nl

Jean-Paul Saman 2001 member of VideoLAN team PDA port (familiar linux distro) H3600/3800/3900 VideoLAN server Remote OSDmenu DVB-C/S/T DV camcorder

M2X is specialized in Multimedia, Embedded and Networking solutions using Open Source software.

VideoLAN project history 2001 first release under GPL 2003 VLC becomes a streamer Complete multimedia client and server streaming solution

VideoLAN deliveries: VLC media player Multimedia Player and Streamer Version 0.8.5 has > 17 million downloads Libdvdcss Libdvbpsi X264 (h264 encoder)

VLC media player Modular plugin architecture Translated to more then 30 languages Inputs (network, file, PVR cards, DVB, DVD, video4linux) Codecs (MPEG 1/2/3/4, h264, wmv 1/2/3, QuickTime, OggVorbis, Theora, Dirac, 3GPP) OS (MacOS X, Beos, Linux, Win32, *BSD, Solaris)

Commercial products Freebox (IPTV company) Google Di.com Neuf.tv (IP TV company)

Support for IPv4 and Ipv6 networks Small networks (SOHO) 10 100 Mbits/sec Coporate networks (LAN) 100 1000 Mbits/sec Large networks (WAN) > 1000 Mbits/sec

Support various inputs DVD DVB C/S/T/(H) Cable Satellite Terresterial Handheld HW encoders (Acquisition cards) Files and fifos DV Camcorders/Webcams

Streaming types Unicast Connection per client Broadcast Everybody gets the same Multicast Everybody gets the same on request Video On Demand On user request

Unicast Network protocol UDP RTP Example: server: vlc dvd:///dev/dvd sout #std{access=udp,mux=ts,dst=192.168.0.30} as client: vlc udp://

Broadcast Network protocol UDP RTP Example: server: vlc file.mpg sout #std{access=udp,mux=ts,dst=192.168.0.255} as client: vlc udp://

Multicast Network protocol UPD / RTP Need multicast route and network equipment Example: server: vlc file.mpg ttl 3 sout #std{access=udp,mux=ts,dst=239.255.2 55.184} as client: vlc udp://@239.255.255.184:1234

Need multicast route: $> /sbin/route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0 $> /sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 224.0.0.0 * 240.0.0.0 U 0 0 0 eth0 default 192.168.0.250 0.0.0.0 UG 0 0 0 eth0

Multicast ip-addresses 224.0.0.0/24 LAN protocol traffic between routers and switches 224.0.1.0/24 Internet protocol traffic between routers and switches 224.0.2.0 238.255.255.255 DON'T USE 239.0.0.0 239.255.255.255 Addresses for local use within a domain

Video On Demand Network protocol RTSP HTTP MMS Example: server: vlc -I telnet rtsp-host 0.0.0.0:5554 as client: vlc rtsp://192.168.0.5:5554/stream

Video On Demand Network protocol RTSP HTTP MMS Example: Server: vlc file.ogg sout '#std{access=http,mux=ogg,dst=0.0.0.0:80 80}' as client: vlc http://localhost:8080/

Video On Demand VLC is able to announce its streams using: SAP/SDP standard, or Zeroconf (also known as Bonjour).

Bandwidth Network bandwidth NIC max 100 Mb/s Max load 80% Multimedia bandwidth Depends on encoder settings Type of input source (file, dvb, dvd, encoder card, vcd, etc.)

Network bandwidth Rule of thumb 75-80% of NIC is available Measure Iperf (network throughput tester) Iptraffic (shows used bandwidth) Speed of NIC Full duplex mode Autonegotion = no Max speed (eg: 100 Mbit/s)

Multimedia bitrate MPEG-4 stream: 0.5 to 4 Mbit/s MPEG-2 stream: 3 to 4 Mbit/s from a satellite card, digital television card, MPEG-2 encoding card. DVD: 6 to 9 Mbit/s HD: 10 Mbit/s and up Files: < 1 Mbit/s Webcams: < 1 Mbits/s

Bitrate terminology Constant Bitrate (CBR) Variable Bitrate (VBR) Encoder encodes video frames into I, P or B frames A stream consists of a sequence of I, P or B-frames with timestamps attached Example for MPEG2-TS: IPBBPBBBPBBP

60 1 2 0 1 80 2 40 30 0 36 0 4 2 0 48 0 54 0 60 0 66 0 7 2 0 78 0 84 0 90 0 96 0 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Multimedia stream bandwidth Average Real Maximum time (ms) bandwidth (Mbps)

Network troubles Check logs Keep it simple (test on localhost first) Disable firewalls Check network traffic wireshark/ethereal Tcpdump Tcpdump -i eth0 port 1234

VLC stream output modules Standard Transcode Duplicate Mosaic_bridge Bridge Rtp Es display dummy

Transcoding Decoding audio/video from one format and encode it into another format Video: MPEG-1/2/4, Divx 1/2/3, WMV 1/2, H264, MJPEG, Theora,... Audio: MPEG layer 2/3, AC3, MPEG-4, Vorbis, Flac, Speex, Faad2, Ogg,...

Transcoding Decoding audio/video from one format and encode it into another format Example: vlc file.avi sout #transcode{vcodec=mp2v,vb=1024,acodec =mpga,ab=192,channels=2}: std{access=udp,mux=ts,dst=192.168.0.15}

Mosaic Uses fake: input module Example: Server: vlc -I telnet vlm-conf mosaic.conf ttl=3 mosaic-width 360 mosaic-height 288 mosaic-keep-picture mosaic-rows 2 mosaiccols 2 mosaic-position 1 mosaic-order 1,2,3 fake: --fake-file=v3-wallpaper_1280x1024.jpg --fake-fps=25.0 --fake-aspect-ratio="4:3" as client: vlc udp://

Vlm-conf file mosaic.conf new channel1 broadcast enabled setup channel1 input udp://@239.255.2.60:1234 setup channel1 output #duplicate{dst=mosaicbridge{id=1,height=144,width=180},select=video,dst=bri dge-out{id=1},select=audio}... new background broadcast enabled setup background input fake: setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale =1}:bridge-in{delay=400,idoffset=100}:standard{access=udp,mux=ts,url=239.255.1 2.42,sap,name="mosaic"} control background play control channel1 play

Questions? http://www.videolan.org M2X web: http://www.m2x.nl e-mail: jean-paul.saman@m2x.nl