MP4 help session Hoang Nguyen. Outline Scenarios Media Synchronization requirement FF/RWND vs. Seek Media synchronization GUI Demo steps (posted next.

Slides:



Advertisements
Similar presentations
Global MP3 Geoffrey Beers Deborah Ford Mike Quinn Mark Ridao.
Advertisements

ITIS 1210 Introduction to Web-Based Information Systems Chapter 36 How Music and Audio Work on the Internet.
Adobe’s Real Time Messaging Protocol
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 3) Klara Nahrstedt Spring 2009.
Name Matrix No CHIA EE LOON(LEADER) OW CHEE YEE LAURA TIONG UNG KAH CAT200 Integrated Software Development Workshop Storyboard.
Multimedia Systems As Presented by: Craig Tomastik.
Chapter 20: Multimedia Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 20: Multimedia Systems What is Multimedia.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 20: Multimedia Systems.
19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
User Control of Streaming Media: RTSP
Video Streaming in Flash CSCI 4220 – Network Programming Kacper Harabasz.
Application layer (continued) Week 4 – Lecture 2.
Intro Alexei Miagkov: researching GUI networking sound aspects of Java Walter Kammerer: researching networking concepts documenting real-time media concepts.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
T.Sharon-A.Frank 1 Multimedia Various Applications.
VSP Video Station Protocol Presented by : Mittelman Dana Ben-Hamo Revital Ariel Tal Instructor : Sela Guy Presented by : Mittelman Dana Ben-Hamo Revital.
1 Net-HD  Future  LIVE HD TV over the web, HD movies online streaming  NGN technologies  What do we have at present?  YouTube - Videos in HD quality.
Flash Video Flash ActionScript 3.0 Introduction to Thomas Lövgren, Flash developer
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 32 – Media Server (Part 2) Klara Nahrstedt Spring 2012.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 4) Klara Nahrstedt Spring 2011.
CS640: Introduction to Computer Networks
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
By : Kaveri Bhaumik IIT Kanpur
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
1 Skip Cave Chief Scientist, Intervoice Inc. Multimodal Framework Proposal.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 19/20: Real-time and Multimedia Systems Inclusions from Tanenbaum,
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
CS 414, MP1 Help Session, Spring 09 Presented by Hoang Nguyen.
XE33OSA Chapter 20: Multimedia Systems. 20.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 20: Multimedia Systems What is Multimedia Compression.
The OSI Model and the TCP/IP Protocol Suite Outline: 1.Protocol Layers 2.OSI Model 3.TCP/IP Model 4.Addressing 1.
Creating Multimedia Interaction with Windows Media Technologies 7.
Dr. M. Munlin Real-Time and Multimedia Systems 1 NETE0516 Operating Systems Instructor: ผ. ศ. ดร. หมัดอามีน หมัน หลิน Faculty of Information Science and.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Outline Overview Video Format Conversion Connection with An authentication Streaming media Transferring media.
Computer and Information Science Ch1.3 Computer Networking Ch1.3 Computer Networking Chapter 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Multimedia Systems.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time Multimedia: Internet Phone Case.
MP 2: Audio/ Video Streaming
1 Begin the editing process by selecting method of importing video Use the Movie Task Menu to import, edit and save video Follow this menu to complete.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Lab Assignment 15/ INF5060: Multimedia data communication using network processors.
Chapter 28. Network Management Chapter 29. Multimedia
Internet Measurment Multimedia 1. Properties Challenges Tools State of the Art 2.
How to get the most out of this digital media player in Education.
MP 2: Audio/ Video Streaming CS414: Multimedia System Instructor: Klara Nahrstedt March 16, 2012.
Real Time Streaming Protocol (RTSP)
MP3: Multi-Source Streaming System Instructor: Klara Nahrstedt April 18, 2014 CS414.
Rice Stock Market Simulator (RSMS) Comp 415 Rice University.
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
MUSIC GENRE JUKEBOX. CLIENT SPECIFICATIONS Audio Player Create, delete, and modify play lists Play, pause, stop, skip, fast forward, and rewind Send Streaming.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
California State University, LA Presented by Amanda Steven StevenAamirObaid.
Music and Audio Computing I A Prof. Marcelo M. Wanderley Week 8.
Chapter 20: Multimedia Systems
19 – Multimedia Networking
Multimedia Systems Operating System Presentation On
Chapter 20: Multimedia Systems
Dan Nealey Scott Batura
Chapter 20: Multimedia Systems
Multimedia networking: outline
A tool for locating QoS failures on an Internet path
Multimedia networking: outline
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Chapter 20: Multimedia Systems
Presentation transcript:

MP4 help session Hoang Nguyen

Outline Scenarios Media Synchronization requirement FF/RWND vs. Seek Media synchronization GUI Demo steps (posted next Monday)

Scenario A Server 1 Dispatcher Client 1 Server 2 audio1 file video1 file audio2 file video2 file PLAY audio1/video1 or PLAY audio2/video2 Audio 2 streaming Video 2 streaming

Scenario B Server 1 Dispatcher Client 1 Client 2 Server 2 audio1 file video1 file audio2 file video2 file PLAY audio1/video1 PLAY audio2/video2

Scenario C (optional) Server 1 Dispatcher Client 1 Client 2 audio1 file video1 file audio2 file video2 file PLAY audio1/video1 PLAY audio2/video2

Scenario D (optional) Server 1 Dispatcher Client 1 Client 2 audio1 file video1 file PLAY audio1/video1 audio1 file video1 file

Media synchronization requirement Clips will be provided (1 week before the demo) –E.g. 1) An interview (lipsync), 2) A music clip Each clip consists of an audio stream and a video stream stored in separate files The demo will show how to –Upload/Manipulate those files (GUI or command line) –Play a synchronized clip per corresponding video file and audio file

How to create these clips? Find an video file (e.g. youtube) –E.g.: Download it (e.g. kissyoutube) –E.g.: Extract audio –E.g.: ffmpeg -i obama.mp4 -vn -acodec pcm_s16le -ar ac 2 obama.wav Extract video –E.g.: ffmpeg -i obama.mp4 -vcodec mjpeg obama.mjpeg

FF/RWND vs. Seek Only implement either FF/WRND or SEEK FF/Rewind: –requires skipping frames (similar to MP1) On PLAY  FF/RWND: –The client works on the local buffer first –The client sends the request to the server –The server sends 1-second frames for buffering FF/RWND: step of 2 67

FF/RWND vs. Seek Seek: –requires random access to frames ( av_seek ) –May require a faster/shorter buffering i Seek to frame ith

Media Synchronization Audio and video files must be able to clearly demonstrate synchronization –Speeches and singing are good examples requiring lip synchronization Audio is leading time synchronization stream –Video (and any other stream) should be synchronized with respect to audio Recommend synchronization point each second –Might need to speed up or slow down video relative to the audio

Media Synchronization audio stream 3 samples/sec video stream 2 frames/sec Synchronization Points audio = 3 video = 2 audio = 6 video = 4 audio = 9 video = 6 audio = 12 video = 8 audio = 15 video = 10

Media Synchronization The server –May maintain a sequence number –Each sent frame is assigned with a sequence number The client –May maintain a counter –Each received frame is assigned with a counter

Media Synchronization Ensure the audio stream is not starved at the client Adjust the sending rate of the video stream according to the video –If the video is AHEAD => slow down the video server –If the video is BEHIND => Speed up the video server Drop frames arriving later than the desired presentation deadline

Media Synchronization audio stream 3 samples/sec video stream 2 frames/sec Synchronization Points audio = 3 video = 2 audio = 6 video = 4 audio = 9 video = 5 audio = 12 video = 8 audio = 15 video = 10 DROPPED VIDEO FRAME 6 TO CATCH UP

Graphical User Interface GTK Requires creativity Groups are free to use their own original design Should support many operations common to video-on-demand services Should display meta-data –Dispatcher address and port –Audio/video characteristics Sample rate Frame rate

GUI Operations MENU –List all of the available A/V files –File management interface PLAY –Play the selected A/V stream STOP –Stop the selected A/V stream PAUSE –Pause the selected A/V stream FF and RWND (if implemented) –Fast-forward or rewind selected A/V stream SEEK (if implemented) –A textbox for user to enter or a slider