Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-18-2007, 03:50 AM   #1
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 03:52 AM.
Old 06-18-2007, 03:53 AM   #2
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 03:54 AM.


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 09:39 AM
avi to mpeg, reduce size of mpeg? gunnix Linux - General 5 03-04-2007 06:55 PM
rtp streaming maldini1010 Programming 0 02-28-2005 01:14 PM
Easy editor to optimise an mpeg for web streaming? wolfpeach Linux - Software 0 07-27-2004 12:04 PM
physical scsi channel mapping to scsiX device node mapping, how to configure manually drthornt Linux - Hardware 3 02-09-2003 12:50 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:02 PM.

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