Opened 13 years ago

Last modified 13 years ago

#1864 new defect

Does not play a stream from SONY PCS-XG55 system

Reported by: madcored@… Owned by: reimar
Priority: normal Component: streaming
Version: unspecified Severity: normal
Keywords: Cc: madcored@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

In this sony system, there is a multicast stream server, which gives the two RTP-stream video and audio over UDP-ports 49500 and 49501.

When I trying to open steam.sdp (from the attachment) I get this error:
LAVF_header: av_open_input_stream() failed

I split this .sdp-file into 2 separate for audio and video:

cat sound.sdp

v = 0
s =-
o = PCS-XG80 9336 34476 IN IP4 172.31.0.246
t = 0 0
m = audio 49501 RTP / AVP 98
c = IN IP4 230.0.0.1 / 1
a = rtpmap: 98 mpeg4-generic/32000/1
a = fmtp: 98 streamType = 5; profile-level-id = 15; mode = AAC-hbr; objectType = 2; config = 1288; sizeLength = 13; indexLength = 3; indexDeltaLength = 3; constantDuration = 1024

cat video.sdp

v=0
s=-
o=PCS-XG80 9336 34476 IN IP4 172.31.0.246
t=0 0
m=video 49500 RTP/AVP 96
c=IN IP4 230.0.0.1/1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3;config=000001B003000001B509000001000000012000844007A8582120A21F

Separately, these streams mplayer and ffmpeg successfully played. But, strangely, I can not play them simultaneously on the same computer. At the opening of the second stream get the same error (LAVF_header: av_open_input_stream () failed). It seems, at the opening of one such stream mplayer takes a socket or other resource, and who can not get at the opening of the second stream.

Attachments (1)

stream.sdp (459 bytes ) - added by madcored@… 13 years ago.
original stream.sdp

Download all attachments as: .zip

Change History (4)

by madcored@…, 13 years ago

Attachment: stream.sdp added

original stream.sdp

comment:1 by madcored@…, 13 years ago

comment:2 by madcored@…, 13 years ago

Cc: madcored@… added

comment:3 by madcored@…, 13 years ago

I found the problem. When playing, for example, video only, except for port 49500 mplayer captures port 49501. If I drag the audio stream from port 49501 to another problem with the simultaneous playback of video and audio is solved.

Note: See TracTickets for help on using tickets.