Are you aware that the sprop-parameter-sets contain the sps and pps nal
packets encoded in base64? Is your code looking for the sps and pps
nals in the rtp stream itself? Are you accounting for whether or not
the sps and pps are coming in-stream vs in the sdp?
If your rtp reception code can produce an h264 annex b file, can vlc
play it? Making your code create this file will tell you that you have
everything you need in order to pass data to the decoding library. If
vlc can play the h264 annex b that you create, then you know that all
you have left to do is figure out how to pass this data to the library
to decode it yourself, most likely.
Joshua Kordani
LSA Autonomy
On 6/10/14 8:11 AM, Manuel Torres wrote:
Captured with Wireshark:
v=0
o=- 1293840088672 1293840088672 IN IP4 192.168.2.93
s=Live
t=0 0
m=audio 0 RTP/AVP 0
c=IN IP4 192.168.2.93
a=control:rtsp://192.168.2.93/defaultPrimary/mic0/trackID=1
m=video 0 RTP/AVP 96
c=IN IP4 192.168.2.93
a=control:rtsp://192.168.2.93/defaultPrimary/cam0/trackID=1
a=fmtp:96 packetization-mode=0; profile-level-id=42A01E;
sprop-parameter-sets=J01AH42NKBaHt/4AQAA21BgYGQAAAwPoAADDUOhAB08AAQcau8uNCADp4AAg41d5cE+iwA==,KO48gA==
a=rtpmap:96 H264/90000
a=x-avg-params:96 source-height=1080; source-width=1920
m=application 0 RTP/AVP 98
c=IN IP4 192.168.2.93
a=control:rtsp://192.168.2.93/defaultPrimary/metadata/trackID=1
a=rtpmap:98 vnd.onvif.metadata/90000
On Tue, Jun 10, 2014 at 12:58 PM, Luca Barbato <[email protected]> wrote:
On 10/06/14 12:44, Manuel Torres wrote:
Would there be any other way to get the missing data? I guess that there
must be a way since VLC and MPlayer open the stream.
Could you please provide the sdp?
lu
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api