LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-18-2007, 02:50 AM   #1
steven_yu
LQ Newbie
 
Registered: Jun 2007
Posts: 19

Rep: Reputation: 0
Streaming mpeg 1/2/4 RTP payload mapping


These days we lunch a VOD (Video On Demand) project, since I am a fresh men to multimedia field and don't have any experience on audio, video, encoding and decoding issues. So I ask some simple questions, any proposal or advise is welcome. I want to discuss with anyone who is interested in this topic.

Now I have spend much time on researching some famous open source projects, such as VLC,Mpeg4IP, MPlayer. Since I try to use RTP as our file (audio and video) transfer protocol, so
the following items are the most important.
1. During server mode, how does the server packetize its audio and video data into RTP packets? And these are so many codec format, such as MPEG 1/2/4, ASF, XVID and so forth.

2. The second question is based on above, since when I meet a media file, how do I find its codec type and any other useful information from its file data? Known we can't just guess it from its backwared name, such *.rm,*.mp3.

3. In the client issue, when it receives data from remote area, encapsulated in RTP, of course we need to analysis its rtp header and get its payload data and then send to the decoder. Now my question is when packets lost, how do we deal with it? And buffer size, how much should we allocate in order not to be overflow?

Open topic any discussion is welcome.

Last edited by steven_yu; 06-18-2007 at 02:52 AM.
 
Old 06-18-2007, 02:53 AM   #2
steven_yu
LQ Newbie
 
Registered: Jun 2007
Posts: 19

Original Poster
Rep: Reputation: 0
It seems that firstly we should get audio and video data seperately from the corresponding media file, according to its code format.

Then we will map its audio or video data into rtp packets, since network transfer environment is error-prone we should take some action, such as fragment rules in order to make decoding can continue although packet lost.

Different codec have different rtp payload mapping format, and this is the key point we need to study further.

Is it correct?

Last edited by steven_yu; 06-18-2007 at 02:54 AM.
 
  


Reply

Tags
mapping, mpeg, rtp, streaming


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Video codec Mpeg 1/2/4 and RTP steven_yu Programming 1 06-18-2007 08:39 AM
avi to mpeg, reduce size of mpeg? gunnix Linux - General 5 03-04-2007 05:55 PM
rtp streaming maldini1010 Programming 0 02-28-2005 12:14 PM
Easy editor to optimise an mpeg for web streaming? wolfpeach Linux - Software 0 07-27-2004 11:04 AM
physical scsi channel mapping to scsiX device node mapping, how to configure manually drthornt Linux - Hardware 3 02-09-2003 11:50 AM


All times are GMT -5. The time now is 12:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration