rtsp sdp missing profile-level-id and sprop-parameter-sets
Posted: 12 Jul 2010 23:20
Hi All,
I found that the rtsp server missing some fmtp information when streaming h.264 video. Here is what I did:
1. from one machine, I stream out an udp video to another machine:
:sout=#transcode{venc=x264{no-cabac,profile=baseline,level=1,keyint=50,vbv-maxrate=512},width=320,height=240,vb=512,fps=15,acodec=none}:std{access=udp{ttl=32}, mux=ts, dst=192.168.10.238:1234}
2. receive from the other machine and stream out as rtsp server:
:sout=#rtp{sdp=rtsp://0.0.0.0:554/chnl1.sdp}
The RTSP sdp has no profile-level-id information included.
However, if on the other rtsp server machine I use:
:sout=#transcode{venc=x264{keyint=50, vbv-maxrate=512},width=320,height=240,vb=512,fps=15,acodec=none}:rtp{sdp=rtsp://0.0.0.0:554/chnl1.sdp}
I then get profile-level-id in sdp.
Can anyone tell me how to make sure that rtsp server always give profile-level-id media information? Is there an external way to force rtsp server to provide this information?
JC
I found that the rtsp server missing some fmtp information when streaming h.264 video. Here is what I did:
1. from one machine, I stream out an udp video to another machine:
:sout=#transcode{venc=x264{no-cabac,profile=baseline,level=1,keyint=50,vbv-maxrate=512},width=320,height=240,vb=512,fps=15,acodec=none}:std{access=udp{ttl=32}, mux=ts, dst=192.168.10.238:1234}
2. receive from the other machine and stream out as rtsp server:
:sout=#rtp{sdp=rtsp://0.0.0.0:554/chnl1.sdp}
The RTSP sdp has no profile-level-id information included.
However, if on the other rtsp server machine I use:
:sout=#transcode{venc=x264{keyint=50, vbv-maxrate=512},width=320,height=240,vb=512,fps=15,acodec=none}:rtp{sdp=rtsp://0.0.0.0:554/chnl1.sdp}
I then get profile-level-id in sdp.
Can anyone tell me how to make sure that rtsp server always give profile-level-id media information? Is there an external way to force rtsp server to provide this information?
JC