CS 414, MP1 Help Session, Spring 09 Presented by Hoang Nguyen.

Slides:



Advertisements
Similar presentations
Chapter 4: Communication*
Advertisements

Embedded Streaming Media with GStreamer and BeagleBoard ESC-228 Presented by Santiago Nunez santiago.nunez (at) ridgerun.com.
MPEG: A Video Compression Standard for Multimedia Applications Václav Hlaváč CTU Prague, Initial material were slides of Didier.
Virtual Network Computer Recorder A Tool for Remote Learning.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Multimedia Chapter Introduction to multimedia 7.2 Multimedia files 7.3 Video compression 7.4 Multimedia process scheduling 7.5 Multimedia file.
User Control of Streaming Media: RTSP
Internet Video By Mo Li. Video over the Internet Introduction Video & Internet: the problems Solutions & Technologies in use Discussion.
SCA Introduction to Multimedia
Streaming Player Student: Idan Shreiber Supervisor: Erez Ben-Yaacov Presentation Date: Spring 2006, Software Laboratory.
SWE 423: Multimedia Systems Chapter 7: Data Compression (1)
MPEG: A Video Compression Standard for Multimedia Applications Didier Le Gall Communications of the ACM Volume 34, Number 4 Pages 46-58, 1991.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
CSc 461/561 CSc 461/561 Multimedia Systems 0. Introduction.
Embedded systems Lecture 25 February 2015.
1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System Supervisor: Prof Michael Lyu Presented by: Lewis Ng,
VSP Video Station Protocol Presented by : Mittelman Dana Ben-Hamo Revital Ariel Tal Instructor : Sela Guy Presented by : Mittelman Dana Ben-Hamo Revital.
Streaming media over the Internet A million channels and there is still nothing on! By Samuel Shiffman Streaming Technologist Seton Hall University
MPEG2 FGS Implementation ECE 738 Advanced Digital Image Processing Author: Deshan Yang 05/01/2003.
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.
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
E0262 MIS - Multimedia Playback Systems Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India.
Joonwon Lee OS Support for Multimedia.
MPEG MPEG-VideoThis deals with the compression of video signals to about 1.5 Mbits/s; MPEG-AudioThis deals with the compression of digital audio signals.
MPEG: (Moving Pictures Expert Group) A Video Compression Standard for Multimedia Applications Seo Yeong Geon Dept. of Computer Science in GNU.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 19/20: Real-time and Multimedia Systems Inclusions from Tanenbaum,
Embedded Streaming Media with GStreamer and BeagleBoard
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
Nortel Confidential Information 1 Video Sample Production Summary Leigh Thorpe Nortel Paris, 7-11 May 2007.
Outline Overview Video Format Conversion Connection with An authentication Streaming media Transferring media.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
M3355 Software Architecture. Contents DVD Player System Overview M3355 S/W Architecture Overview M3355 System Software Introduction.
MP 2: Audio/ Video Streaming
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - VIDEO. In this chapter How digital video differs from conventional analog video How digital video differs from.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
8. 1 MPEG MPEG is Moving Picture Experts Group On 1992 MPEG-1 was the standard, but was replaced only a year after by MPEG-2. Nowadays, MPEG-2 is gradually.
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Georgia Institute of Technology Movies Barb Ericson Georgia Institute of Technology April 2006.
Spring 2000CS 4611 Multimedia Outline Compression RTP Scheduling.
Powerpoint as a Multimedia Platform Matt Monjan Discovery Educator Network.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 18 – Multimedia Transport (Part 1) Klara Nahrstedt Spring 2014.
Back to the Basics - Video Nick Kwiatkowski Michigan Flex Users Group.
NetLogger Using NetLogger for Distributed Systems Performance Analysis of the BaBar Data Analysis System Data Intensive Distributed Computing Group Lawrence.
Video Data Topic 4: Multimedia Technology. Learning Objectives Hardware required to capture Digital video How video files are stored Factors affecting.
Ch 6. Multimedia Networking Myungchul Kim
NUS.SOC.CS Roger Zimmermann (based on slides by Ooi Wei Tsang) Project Packetize MP3 audio into RTP Packets.
NUS.SOC.CS Roger Zimmermann Project Packetize MP3 audio into RTP Packets.
Multimedia Communications Introduction ECE 591 Pro. Honggang Wang Notes: Some slides including figures are referred from textbooks and relevant materials.
MUSIC GENRE JUKEBOX. CLIENT SPECIFICATIONS Audio Player Create, delete, and modify play lists Play, pause, stop, skip, fast forward, and rewind Send Streaming.
California State University, LA Presented by Amanda Steven StevenAamirObaid.
Motion JPEG
Video 2 Subject:T0934 / Multimedia Programming Foundation Session:11 Tahun:2009 Versi:1/0.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 27 – Media Server (Part 2) Klara Nahrstedt Spring 2009.
Video Data Topic 4: Multimedia Technology. What is Video? A video is just a collection of bit-mapped images that when played quickly one after another.
MP4 help session Hoang Nguyen. Outline Scenarios Media Synchronization requirement FF/RWND vs. Seek Media synchronization GUI Demo steps (posted next.
Compression System Optimization. Introduction Compression The reasons behind video compression. Common types of video compressions. The detail of I,P-frame.
DaVinci Overview (features and programming) Kim dong hyouk.
MPEG-4 Binary Information for Scenes (BIFS)
Klara Nahrstedt Spring 2009
Multimedia Outline Compression RTP Scheduling Spring 2000 CS 461.
Video Compression - MPEG
Barb Ericson Georgia Institute of Technology April 2006
Presentation transcript:

CS 414, MP1 Help Session, Spring 09 Presented by Hoang Nguyen

Overview Some logistics Top-down approach –Start with a well-known tool (ffmpeg) –Identify relevant APIs and examples –Extract and modify code for the project –More examples to get started, but less control Bottom-up approach –Start with basic building block(s) –Create your own custom code almost from scratch –Fewer examples, but more control Big picture (design decisions) Reminders

Logistics Group Setup –Group Number (1-7) –Group Directory MP hints updated (walkthrough) – ts.htmhttp:// ts.htm –Java Media Framework is NOT available due to 64- bit incompatibility –Install ffmpeg on your home/group directory + common errors –ALSA configuration on csil-0216 machines TA OH: 3-4pm Thu/Fri, SC 0207

Top-down ffmpeg/SDL –Read libavcodec and libavformat docs –Follow tutorial “How to write Video Player in Less than 1000 lines’ Need to use video formats and data structures defined by tools Need to figure out relevant APIs and examples!!!

Top-down (cont.) Tutorial01.c: Basic Tutorial02.c: output to the screen as fast as possible –Need to figure out how to display at the correct frame rate Tutorial05.c: Rate control –packet->dts is always available for MJPEG (I-frames only) –“ ffmpeg –i input.X ” also gives frame rate information –SDL_Delay() –Keep in mind: Processing delay needs to be taken into account for a correct frame rate display Tutorial07.c: av_seek_frame()av_seek_frame() –av_seek_frame() may be useful for fast forward/rewind Tutorial03.c: Playing audio

Bottom-up Frame 1Frame 2Frame 3Frame 4… JPEG 1JPEG 2JPEG 3JPEG 4… MPEG/AVI Image sequence For (I) Buf = Read_JPEG(I) Display_JPEG(Buf) Delay(…) Size of JPEG 1 JPEG 1 Size of JPEG 2 JPEG 2 Pos. of JPEG 1 Pos. of JPEG 2 JPEG 1 JPEG 2 …. Store Convert

Bottom-up (cont.) Design and implement your own simple motion JPEG format –Video header (e.g., number of frames) followed by sequence of JPEGs with JPEG headers (e.g., frame size) Create JPEGs from video format X ffmpeg -i $1 -t 10 -f image2 -vcodec mjpeg img%d.jpg Combine all the JPEGs into your own motion JPEG with appropriate headers for overall video and individual frames

Bottom-up (cont.) Start with basic building blocks –E.g. assume function display_jpeg() that can display single JPEG image from buffer Create thread that reads video data from disk to a buffer –Later MPs will require thread to read video data from the network Create thread that displays video from the buffer E.g.: /Client.html /Client.html Producer/Consumer

Producer-Consumer ProducerConsumer Disk/Net frames produce()/put() consume()/get() Buffer Display/Net Thread Tutorial05.c: PacketQueue, packet_queue_put(), packet_queue_get() Java: C/pthread: in-c/ in-c/

Big picture Fast forward & rewind –Access individual frames –Create index file for video Media streaming over network (MP3) –Players should read from buffers and another thread should write to the buffer (either from disk or network) Synchronization (MP4) –Timestamp audio and video frames