When stream video using AV Profile, Client only hear audio

About encoding, codec settings, muxers and filter usage
ymsaputra
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Nov 2012 13:56

When stream video using AV Profile, Client only hear audio

Postby ymsaputra » 24 Jan 2013 05:13

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
Best Regards,

Yuris

Rémi Denis-Courmont
Developer
Developer
Posts: 15280
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 24 Jan 2013 09:32

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ymsaputra
Blank Cone
Blank Cone
Posts: 16
Joined: 14 Nov 2012 13:56

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

Postby ymsaputra » 24 Jan 2013 12:24

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
Best Regards,

Yuris

Rémi Denis-Courmont
Developer
Developer
Posts: 15280
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 24 Jan 2013 16:42

Only if audio and video are multiplexed on the same m-line.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 30 guests