<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2/27/2015 9:09 AM, Mark Kenna wrote:<br>
</div>
<blockquote
cite="mid:CAAxE61jyVpRWyy3b_weDbC8vnu1oAKxnRWdyidxmXcTC0FfXdQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 13 February 2015 at 12:07, Mark
Kenna <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mark.kenna@sureviewsystems.com"
target="_blank">mark.kenna@sureviewsystems.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi
<div><br>
</div>
<div>I think there is a problem in the SDP parsing of
RTSP.c. I have an SDP which has 2 tracks, one is H264
and the other is MJPEG. It appears that FFMPEG is
always opening MJPEG regardless of which codec is
specified first in the track list. Here is an example:</div>
<div><br>
</div>
<div>
<div>v=0</div>
<div>o=- 130683027881870000 130683027881870000 IN IP4
2.0.2.42</div>
<div>s=Camera</div>
<div>c=IN IP4 0.0.0.0</div>
<div>t=0 0</div>
<div>a=control:*</div>
<div>m=video 1036 RTP/AVP 96 26</div>
<div>a=control:?StreamID=0</div>
<div>a=rtpmap:96 H264/90000</div>
<div>a=fmtp:96 packetization-mode=1;
profile-level-id=420029;
sprop-parameter-sets=Z0IAKeKQLBLYEnBQEF4eJEVA,aM48gA==</div>
<div>a=rtpmap:26 JPEG/90000</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Mark.</div>
</div>
</blockquote>
<div><br>
</div>
<div>Hi Guys</div>
<div><br>
</div>
<div>Did anyone see this issue? I was wondering if anyone
has suffered the same problem?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Mark. </div>
</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
</blockquote>
Hello,<br>
<br>
<br>
It appears the SDP is wrong. I believe there should be two m
entries.<br>
<br>
<div>m=video 1036 RTP/AVP 96<br>
</div>
<div>a=control:?StreamID=0</div>
<div>a=rtpmap:96 H264/90000</div>
<div>a=fmtp:96 packetization-mode=1; profile-level-id=420029;
sprop-parameter-sets=Z0IAKeKQLBLYEnBQEF4eJEVA,aM48gA==</div>
<div>m=video 1036 RTP/AVP 26<br>
a=control:?StreamID=0<br>
a=rtpmap:26 JPEG/90000</div>
<br>
<br>
</body>
</html>