Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SDP Problem during Multicast



Zhigao:

Can you successfully stream the Towers.mp4 file on demand?

If not, there might be a problem with the media file itself. The media file must be hinted. Some steps that might help create a successful playlist:

1. Compress and hint your media file(s). If you have mulitple files for a single playlist make sure that all the files use the same encoding, sampling rate, compression, and bit rate. Test the individual files by accessing the files for video-on-demand. For example:
rtsp://<server address>/<relative path>/Towers.mp4


2. Once the media files are posted and tested for video on demand, create the playlist. Usually it is best to use the web admin gui or QTSS Publisher to create and manage the playlist (less prone to errors). Start the playlist and test access:
rtsp://<server address>/<relative path>/<playlist name>.sdp


3. If the playlist is functioning properly it can be the source for a relay (to other server(s), multicast address, etc).

Hope this helps,

-George

On Jan 24, 2005, at 10:45 PM, Chen Zhigao wrote:

Hi George,

Yes, you are right. The playlist file and multicast description file are not
functioning properly. I used to type my playlist file, which is shown at the
end of my original post, in a text editor. Now I tried using the DSS web
admin to create a movie playlist as follows.


Name: untitled		Play Mode: Sequential Looped
Mount Point: untitled.sdp		Repetition: 1

I dragged a movie named Towers.mp4 into the playlist and ticked the "Log
this playlist's activity" and "Send this playlist to a broadcast server"
with IP address of 127.0.0.1 and left "User Name" and "Password" blank.


But the playlist can not be started. Below is the Playlist Error Log

**************************************************************
  PlaylistBroadcaster broadcast description File
  ----------------------------------------------
  /var/streaming/playlists/untitled/untitled.config

  Description File Settings
  ----------------------------
  destination_ip_address 127.0.0.1
  destination_sdp_file untitled.sdp
  destination_base_port 5004
  play_mode sequential_looped
  recent_movies_list_size 0
  playlist_file /var/streaming/playlists/untitled/untitled.playlist
  logging enabled
  log_file /var/streaming/playlists/untitled/untitled.log
  sdp_file /var/streaming/playlists/untitled/untitled.sdp
  max_upcoming_list_size 7
  show_current enabled
  show_upcoming enabled
  broadcaster_name ""
  broadcaster_password "XXXXX"
  multicast_ttl 1
  rtsp_port 554
  client_buffer_delay default
  pid_file /var/streaming/playlists/untitled/untitled.pid
  broadcast_SDP_is_dynamic enabled
  broadcast_start_time 0 (allow all)
  broadcast_end_time 0 (unbounded)
  ============================


There is (1) movie in the Playlist.

  Ref Movie = /usr/local/movies//Towers.mp4
  SDP file = /var/streaming/playlists/untitled/untitled.sdp

Problems found
--------------
- Movie set up failed: Movie file does not match SDP.
(file: /usr/local/movies//Towers.mp4 err: 16 Movie file does not match
SDP.)
- PlaylistBroadcaster found one problem movie file.
There are no valid movies to play
Warnings: 1
Errors: 1


  PlaylistBroadcaster preflight finished.
****************************************************************


The auto generated playlist file is as below. **************************************************************** *PLAY-LIST* # # Created by QTSS Admin CGI Server # "/usr/local/movies//Towers.mp4" 5 ****************************************************************

Even though I modified the playlist file by removing the redundant "/" in
front of the movie file name and amended the multicast description file as
the input to PlaylistBroadcaster, the SDP mismatch problem still persists.


I would be grateful if you could give me some idea.

Thanks and regards,
Zhigao




-----Original Message----- From: George Cook [mailto:email@hidden] Sent: Tuesday, January 25, 2005 9:27 AM To: Chen Zhigao Cc: email@hidden Subject: Re: SDP Problem during Multicast

Chen:

First, make sure that your playlist is functioning properly. You should be
able to tune in on the playlist:
rtsp://<server address>/<path>/<playlist sdp file>


If you can't access a reflected unicast of the playlist, the relay won't
have anything to relay to the multicast address. From the error message, it
sounds like the playlist isn't running properly. How are you creating the
playlist? You might want to try using web admin
(Darwin) or QTSS Publisher (on QTSS) to create and start your playlist.


Once the playlist is working, use the steps to create the multicast relay.

-George

On Jan 24, 2005, at 3:03 AM, Chen Zhigao wrote:

Dear George,

Thanks for the info. I've tried configuring a rely according to the
instructions at the link, but the multicast datagrams sent out. And
the log file still says "Error:Movie file does not match SDP." Below
are what I have done. Am I missing something?

Step 1:
Point my browser to http://127.0.0.1:1220. At the "Relay Settings", I
added a new relay with the following settings.
Source IP: 127.0.0.1,	Mount Points:
/usr/local/movies/thinkpad_mcast.sdp,
Request Incoming stream
Destination IP: 224.10.11.12,	Relay via UDP base port: 9000,	Multicast
TTL: 4

Step 2: skipped.

Step 3:
run "PlaylistBroadcast thinkpad_mcast" at server computer. The
generated SDP file says "c=IN IP4 22.10.11.12/4", "m=video 9000
RTP/AVP 96" and "m=audio
9002 RTP/AVP 97". It seems I don't need to modify the file.
I am a bit confused here. How should I deal with the file? Shall I
transfer it to my client computers. BTW, I am using the gmp4player of
the MPEGP4IP.
The relay I created is not shown at the "Relay Status" of the QSS
admin webpage.

Any pointer is highly appreciated.


Best regards, Zhigao


-----Original Message----- From: George Cook [mailto:email@hidden] Sent: Friday, January 21, 2005 7:15 AM To: Zhigao Chen Cc: email@hidden Subject: Re: SDP Problem during Multicast

You can multicast a playlist by relaying the playlist to a multicast
address. For more information on setting up a multicast relay see:
http://soundscreen.com/streaming/relay.html#multicast

In step 1 on the web page above, the source of your relay would be the
loopback address (127.0.0.1) and the mount point would be the sdp file
generated by Playlist Broadcaster. Skip step 2. In step 3 use the sdp
file generated by Playlist Broadcaster as the starting point for your
multicast sdp file.

-George

On Jan 18, 2005, at 3:50 AM, Zhigao Chen wrote:

Further to my previous email. Below is the SDP file generated by
PlaylistBroadcaster.

--------------------------------------------
v=0
o=QTSS_Play_List 4034490386 3077131889 IN IP4 10.81.114.102
s=thinkpad_mcast.sdp c=IN IP4 224.10.11.12/15 t=0 0
a=x-broadcastcontrol:TIME
a=isma-compliance:1,1.0,1
a=mpeg4-iod:
"data:application/mpeg4-iod;base64,AoCAgwMAT///DwH/
A4CAggAAB0DcZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1vZC1hdTtiYXNlNjQsQVlDQWdRU
U
J
nSUNBS1FLZkE0Q0FnQ0lBQlFBRWdJQ0FGRUFWQUFDOEFBRUcrQUFCQU5VRmdJQ0FBaEdR
Q
m
9DQWdBRUFBWUNBZ0ZFRkh3T0FnSUJLQUFFQUJJQ0FnRHdnRVFBUTdRQUNvY2dBQVBzN0J
Z
Q
0FnQ29BQUFFQUFBQUJJQURFalloZHJRVUVEeFJqQUFBQnNrWkdiWEJsWnpBdU5DNDJZal
E
y
TkRZQWZ3QUdnSUNBQVFBPQSAgIANAQUAAIkAAAAAAAAAAAaAgIAJAQAAAAAAAAAAA4CAg
H
I
ACEBGZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTZ1RBcUJX
M
G
1FRUg4QUFBQi9BQUFCRUtDS0NuNASAgIAVAg0AABgAAAAAAAAAAAWAgIADAABgBoCAgAk
B
A
AAAAAAAAAA="
m=video 5004 RTP/AVP 96
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=mpeg4-esid:1
a=fmtp:96 profile-level-id=1;
config=000001000000012000c48d885dad05040f1463000001b246466d706567302e
3
4
2e366234363436007f00;
m=audio 5006 RTP/AVP 97
a=control:trackID=2
a=rtpmap:97 mpeg4-generic/48000/2
a=mpeg4-esid:5
a=fmtp:97 streamtype=5; profile-level-id=15; mode=AAC-hbr;
config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
Profile=1;
---------------------------------------------


On Tue, 2005-01-18 at 16:43, Zhigao Chen wrote:
Dear folks,

I was trying to use PlaylistBroadcast to multicast two MPEG4 video.
However, there are no multicast IP datagrams sent out from my
DarwinStreamingServer. The log file says "Error:Movie file does not
match SDP". The configuration files I used are as below.

I would appreciate it if you could give me some pointers.

Zhigao


===========================================

My playlist file "thinkpad_playlist".
-----------------------------------
*PLAY-LIST*
gullivers_travels1939_64kb.mp4
Towers.mp4
------------------------------------


My multicast description file "thinkpad_mcast" ------------------------------------------- playlist_file thinkpad_playlist play_mode sequential_looped sdp_reference_movie gullivers_travels1939_64kb.mp4 destination_ip_address 224.10.11.12 destination_base_port 5004 multicast_ttl 15 logging enabled --------------------------------------------


logfile generated. -------------------------------------------- #Log File Created On: 01/18/2005 16:26:26 #Software: PlaylistBroadcaster #Version: 5.0.1.1 #Date: 2005-01-18 16:26:26 #Remark: All date values are in local time. #Fields: date time filepath title copyright comment author artist album duration result #Remark: 2005-01-18 16:26:26 Towers.mp4 Error:Movie file does not match SDP. 2005-01-18 16:26:26 'gullivers_travels1939_64kb.mp4' '-' '-' '-' '-' '-' '-' 0 16 #Remark: 2005-01-18 16:26:26 gullivers_travels1939_64kb.mp4 Error:Movie file does not match SDP. 2005-01-18 16:26:26 'Towers.mp4' '-' '-' '-' '-' '-' '-' 0 16 ---------------------------------------------

_______________________________________________




--

Nothing in the world can take place of persistence.
Talent will not; nothing is more common than unsuccessful men with talent.
Genius will not; unrewarded genius is almost a proverb.
Education will not; the world is full of educated derelicts.
Persistence and determination alone are omnipotent.
 
~ Calvin Coolidge


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-users/email@hidden

This email sent to email@hidden
References: 
 >RE: SDP Problem during Multicast (From: "Chen Zhigao" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.