Page 1 of 1

When stream video using AV Profile, Client only hear audio

Posted: 24 Jan 2013 05:13
by ymsaputra
Dear All VLC Forumers,

I have a problem streaming a videousing Audio Video Profile.

I have succesfully stream the video to the network but when I check the sdp file, it said like this :

v=0
o=- 15324391530154056190 15324391530154056190 IN IP4 desktop
s=Unnamed
i=N/A
c=IN IP4 10.0.0.4
t=0 0
a=tool:vlc 2.0.4
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 5004 RTP/AVP 14
b=AS:128
b=RR:0
a=rtpmap:14 MPA/90000/2

and below there is sdp file again like this

v=0
o=- 15324403378614919014 15324403378614919014 IN IP4 ymsaputra-desktop
s=Unnamed
i=N/A
c=IN IP4 10.0.0.4
t=0 0
a=tool:vlc 2.0.4
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 5004 RTP/AVP 14
b=AS:128
b=RR:0
a=rtpmap:14 MPA/90000/2
m=video 5006 RTP/AVP 96
b=AS:800
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64001e;sprop-parameter-sets=Z2QAHqzZQLQ9sBEAAEErAA9CQI8WLZY=,aOvssiw=;

The problem is when the client watch the video (rtp://@10.0.0.4:5004), there is just an audio, no video at all.

Do you know how to change the sdp file so I can get both audio and video in the client still by using Audio Video Profile?

Thank you for your answer

Regards,

Saputra

Re: When stream video using AV Profile, Client only hear aud

Posted: 24 Jan 2013 09:32
by Rémi Denis-Courmont
rtp:// can only receive one m-line at a time, and only with static payload format. You've passed port 5004 so you get the audio.

Re: When stream video using AV Profile, Client only hear aud

Posted: 24 Jan 2013 12:24
by ymsaputra
Thank you so much for your answer.

Is it possible to use rtp:// to get audio and video by using Audio/Video Profile?

If I want to make the client see the video only (without audio), what should I do (in case in AV Profile)? Change the port?

Thank you for the answer

Re: When stream video using AV Profile, Client only hear aud

Posted: 24 Jan 2013 16:42
by Rémi Denis-Courmont
Only if audio and video are multiplexed on the same m-line.