[streaming] missing b=AS:xx param in sdp file generated by rtp module

Jeremy Lal jerry at edagames.com
Wed Jul 27 16:22:08 CEST 2005


for example i use the command line :
vlc -vvv --noaudio v4l://:v4l-vdev="/dev/video0" :v4l-caching=10 
:v4l-chroma="RV24" :v4l-fps=10.000000 :v4l-width=320 :v4l-height=240 
:v4l-quality=100  --sout-ffmpeg-strict 1 --sout-ffmpeg-keyint 10 --sout 
'#transcode{vcodec=H263,vb=32,width=128,height=96}:rtp{dst=127.0.0.1, 
port-video=24000, ttl=127, sdp="file:///usr/local/movies/live.sdp"}'

and the live.sdp is then :

v=0
o=- 1122472559776874 1 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.2-svn
c=IN IP4 127.0.0.1/127
m=video 24000 RTP/AVP 96 
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3; 
config=000001b001000001b58913000001000000012000c48d8800cd04040c1463000001b246466d706567302e342e392d707265316234373437; 


which leads to streaming problems with certain players. (i.e. green 
start of the movie, or worse no keyframe painted...).
These problems desappears when adding : b=AS:32 there :
...
m=video 24000 RTP/AVP 96
b=AS:32
a=rtpmap:96 MP4V-ES/90000
...

here you notice 32 is the value of vb in transcode module.

So the question is :
is there a way to make VLC generate the sdp file with this b param 
already written ?
or is it a bug ?



-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list