[Live-devel] sdp file format

hong liu l1436636 at yahoo.com
Tue Aug 28 11:24:33 PDT 2007


I normally use MP4Box from GPAC to generate a sdp file. Now I have hinted 
a mp4 file from a h264 video file and created a sdp file from it. Here is the sdp 
file content:
----------------------
* File SDP content *

b=AS:136
a=x-copyright: MP4/3GP File hinted with GPAC 0.4.3-DEV (C)2000-2005 
    - http://gpac.sourceforge.net
c=IN IP4 0.0.0.0
m=video 1234 RTP/AVP 96
b=AS:136
a=rtpmap:96 H264/90000
a=control:trackID=65536
a=fmtp:96 profile-level-id=640028; packetization-mode=1; sprop-parameter-sets=Z2QAKKzOYLE5,aOlKOLA=
a=framesize:96 176-144
--------------------------

Now I tried to use mplayer to play it with the command of "mplayer sdp://test.sdp -v".
It didn't work. The output message is as follows:
----------------------------
[hong at gx745-2 ~]$ mplayer sdp://foreman.sdp -v
MPlayer dev-SVN-r24045-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/hong/.mplayer/codecs.conf'
Reading /home/hong/.mplayer/codecs.conf: Can't open '/home/hong/.mplayer/codecs.conf': 
No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': 
No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-gui --enable-largefiles --enable-menu --enable-debug
--realcodecsdir=/usr/local/RealPlayer
CommandLine: 'sdp://foreman.sdp' '-v'
init_freetype
get_path('font/font.desc') -> '/home/hong/.mplayer/font/font.desc'
font: can't open file: /home/hong/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/hong/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/hong/.mplayer/input.conf'
Can't open input config file /home/hong/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('foreman.sdp.conf') -> '/home/hong/.mplayer/foreman.sdp.conf'

Playing sdp://foreman.sdp.
get_path('sub/') -> '/home/hong/.mplayer/sub/'
STREAM: [SDP] sdp://foreman.sdp
STREAM: Description: SDP stream descriptor
STREAM: Author: Ross Finlayson
STREAM: Comment: Uses LIVE555 Streaming Media library.
 file format detected.

vo: x11 uninit called but X11 not inited..

Exiting... (End of file)
--------------------------------------------------------------------

Then I tried to use mplayer to player your testMPEG1or2AudioVideo.sdp, and it worked well.
So I think it might be caused by wrong formats between your sdp and the MP4Box created one.
I am wondering if it is true or not. If yes, could you tell me how to generate your sdp file with what
kind of software? If no, could you give me a clue to fix it up?

Thank you for your help!





      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20070828/828fd9b1/attachment-0001.html 


More information about the live-devel mailing list