<div dir="ltr"><div dir="ltr">Hi Ross,<div>Since the JPEG RTP payload header has only 8 bits for storing width and height, therefore it will not be able to store resolution greater than 2048 or 3MP. Is there a way we can stream JPEG having resolution greater than 3MP.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 22, 2019 at 12:34 AM <<a href="mailto:live-devel-request@us.live555.com">live-devel-request@us.live555.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send live-devel mailing list submissions to<br>
        <a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:live-devel-request@lists.live555.com" target="_blank">live-devel-request@lists.live555.com</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:live-devel-owner@lists.live555.com" target="_blank">live-devel-owner@lists.live555.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of live-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: MJPEG2000 support (.mj2) (Ross Finlayson)<br>
   2. Stair or Zig-Zag view with Mjpeg codec (Saurabh Modi)<br>
   3. Re: Stair or Zig-Zag view with Mjpeg codec (Ross Finlayson)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 20 May 2019 19:16:21 -0700<br>
From: Ross Finlayson <<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>><br>
To: LIVE555 Streaming Media - development & use<br>
        <<a href="mailto:live-devel@us.live555.com" target="_blank">live-devel@us.live555.com</a>><br>
Subject: Re: [Live-devel] MJPEG2000 support (.mj2)<br>
Message-ID: <<a href="mailto:C59EC56C-4A70-442A-A113-B6B3DBC0EA99@live555.com" target="_blank">C59EC56C-4A70-442A-A113-B6B3DBC0EA99@live555.com</a>><br>
Content-Type: text/plain;       charset=utf-8<br>
<br>
I?ve just installed a new version (2019.05.21) of the ?LIVE555 Streaming Media? code that includes implementations of ?JPEG2000VideoRTPSink? and ?JPEG2000VideoRTPSource? for sending/receiving JPEG 2000 RTP packets.  (Note that these differ a little from the patch that you sent, because they include the proper 8-byte payload header, as specified in RFC 5371.)<br>
<br>
I haven?t yet installed your ?JPEG2000VideoFileServerMediaSubsession? (and ?Framer? and ?Parser?) classes, because these are still a mess, and will need a lot of work to clean up.  (However, if you wish, you can use your own implementation of these with the new ?JPEG2000VideoRTPSink? and ?JPEG2000VideoRTPSource? classes, and they should still work for you.)<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 21 May 2019 12:18:09 +0530<br>
From: Saurabh Modi <<a href="mailto:saurabh.modi@matrixcomsec.com" target="_blank">saurabh.modi@matrixcomsec.com</a>><br>
To: <a href="mailto:live-devel@us.live555.com" target="_blank">live-devel@us.live555.com</a><br>
Subject: Stair or Zig-Zag view with Mjpeg codec<br>
Message-ID:<br>
        <<a href="mailto:CALwMLdbywxeDBdrbnQtTUdSZzdeZ5JeC_KqJJjKHtSBqkhWotg@mail.gmail.com" target="_blank">CALwMLdbywxeDBdrbnQtTUdSZzdeZ5JeC_KqJJjKHtSBqkhWotg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All,<br>
I am working on an IPCamera project and use live555 library for RTSP<br>
streaming of media. We have recently introduced option for user to select<br>
resolution of their choice. There seems to be an issue with RTSP streaming<br>
with custom resolution in MJPEG codec. Whenever the width is set to<br>
180/230/260/310/340 pixels and so on the view is staired or cut and forms a<br>
zig-zag pattern. The issue doesn't seem to exist for H264/H265 codecs. So<br>
is there any limitation of the library for these widths for MJPEG? The<br>
encoder is perfectly encoding the frames. When I send the encoded frames<br>
directly to other decoders they are able to decode them properly and view<br>
is normal. So maybe is there something that live555 adds in the packet<br>
which is creating the issue?<br>
<br>
-- <br>
Matrix Comsec Pvt. Ltd.<br>
#394, GIDC Makarpura - 390010. Dist: Vadodara, <br>
Gujarat, India<br>
 <<a href="http://bit.ly/comsec-esignature" rel="noreferrer" target="_blank">http://bit.ly/comsec-esignature</a>><br>
<br>
IP Video Surveillance |? <br>
<<a href="http://bit.ly/IPVS-esginature" rel="noreferrer" target="_blank">http://bit.ly/IPVS-esginature</a>>People Mobility Management |? <br>
<<a href="http://bit.ly/cosec-esignature" rel="noreferrer" target="_blank">http://bit.ly/cosec-esignature</a>>Unified Communications <br>
<<a href="http://bit.ly/telecom-esignature" rel="noreferrer" target="_blank">http://bit.ly/telecom-esignature</a>><br>
1 Million+ Customers | 2,500+ Partners | <br>
60+ Products | 50+ Countries<br>
We put more in the box, so your business can <br>
think more out of the box.<br>
 <<a href="https://www.facebook.com/matrixcomsec" rel="noreferrer" target="_blank">https://www.facebook.com/matrixcomsec</a>> <br>
<<a href="http://www.linkedin.com/in/matrixcomsec" rel="noreferrer" target="_blank">http://www.linkedin.com/in/matrixcomsec</a>> <br>
<<a href="https://twitter.com/Matrix_ComSec" rel="noreferrer" target="_blank">https://twitter.com/Matrix_ComSec</a>> <br>
<<a href="https://www.linkedin.com/company/matrix-telecom-solutions/" rel="noreferrer" target="_blank">https://www.linkedin.com/company/matrix-telecom-solutions/</a>> <br>
<<a href="https://www.youtube.com/user/MatrixComSec" rel="noreferrer" target="_blank">https://www.youtube.com/user/MatrixComSec</a>><br>
<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.live555.com/pipermail/live-devel/attachments/20190521/e0fff25b/attachment-0001.htm" rel="noreferrer" target="_blank">http://lists.live555.com/pipermail/live-devel/attachments/20190521/e0fff25b/attachment-0001.htm</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 21 May 2019 00:05:10 -0700<br>
From: Ross Finlayson <<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>><br>
To: LIVE555 Streaming Media - development & use<br>
        <<a href="mailto:live-devel@us.live555.com" target="_blank">live-devel@us.live555.com</a>><br>
Subject: Re: [Live-devel] Stair or Zig-Zag view with Mjpeg codec<br>
Message-ID: <<a href="mailto:EBB7CD91-4BFE-45A1-BC30-5A454088A719@live555.com" target="_blank">EBB7CD91-4BFE-45A1-BC30-5A454088A719@live555.com</a>><br>
Content-Type: text/plain;       charset=us-ascii<br>
<br>
> I am working on an IPCamera project and use live555 library for RTSP streaming of media. We have recently introduced option for user to select resolution of their choice. There seems to be an issue with RTSP streaming with custom resolution in MJPEG codec. Whenever the width is set to 180/230/260/310/340 pixels and so on the view is staired or cut and forms a zig-zag pattern. The issue doesn't seem to exist for H264/H265 codecs. So is there any limitation of the library for these widths for MJPEG?<br>
<br>
Yes.  The RTP payload format for JPEG streaming (RFC 2435) requires that the width and height of the image be a multiple of 8 pixels.  (The payload format is not defined for widths or heights that are not multiples of 8 pixels.)<br>
<br>
So, if you insist on streaming via motion-JPEG (but see <<a href="http://live555.com/liveMedia/faq.html#jpeg-streaming" rel="noreferrer" target="_blank">http://live555.com/liveMedia/faq.html#jpeg-streaming</a>> for why this is usually a bad idea), your image widths/heights must be a multiple of 8.<br>
<br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" rel="noreferrer" target="_blank">http://www.live555.com/</a><br>
<br>
ps. If you are using our software in a product, you are free to do so, provided that you comply with the requirements of the GNU LGPL v3; see <a href="http://live555.com/liveMedia/faq.html#copyright-and-license" rel="noreferrer" target="_blank">http://live555.com/liveMedia/faq.html#copyright-and-license</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br>
<br>
------------------------------<br>
<br>
End of live-devel Digest, Vol 186, Issue 10<br>
*******************************************<br>
</blockquote></div></div>

<br>
<table width="639" border="0" align="left" cellpadding="0" cellspacing="2" style="font-family:"Times New Roman""><tbody><tr><td height="15" colspan="2" valign="top"><font color="#515151" size="2" face="Tahoma"><strong>Matrix Comsec Pvt. Ltd.</strong></font></td></tr><tr><td height="15" colspan="2" valign="top"><font color="#515151" size="2" face="Tahoma">#394, GIDC Makarpura - 390010. Dist: Vadodara, Gujarat, India</font></td></tr><tr><td width="130" height="15" valign="top"><a href="http://bit.ly/comsec-esignature" target="_blank"><img src="https://www.matrixcomsec.com/images/matrix-telecom-security.png" alt="Matrix Telecom | Security" width="130" height="60" border="0" title="Matrix Telecom | Security"></a></td><td width="503" align="left" valign="middle"><font color="#515151" size="2" face="Tahoma"><br></font></td></tr><tr><td height="19" colspan="2" valign="top"><font color="#515151" size="2" face="Tahoma"><a href="http://bit.ly/IPVS-esginature" target="_blank"><font color="#515151" size="2" face="Tahoma">IP Video Surveillance | </font></a><a href="http://bit.ly/cosec-esignature" target="_blank"><font color="#515151" size="2" face="Tahoma">People Mobility Management | </font></a></font><a href="http://bit.ly/telecom-esignature" target="_blank"><font color="#515151" size="2" face="Tahoma">Unified Communications</font></a></td></tr><tr><td height="15" colspan="2" valign="top"><font color="#515151" size="2" face="Tahoma">1 Million+ Customers | 2,500+ Partners | 60+ Products | 50+ Countries</font></td></tr><tr><td height="14" colspan="2" valign="top"><font color="#515151" size="2" face="Tahoma"><em>We put more in the box, so your business can think more out of the box.</em></font></td></tr><tr><td height="14" colspan="2" valign="top"><table width="88" border="0" cellspacing="4" cellpadding="0"><tbody><tr><td width="20"><a href="https://www.facebook.com/matrixcomsec" target="_blank"><img src="https://www.matrixcomsec.com/images/social/facebook.jpg" alt="Facebook" width="20" height="20" border="0" title="facebook"></a></td><td width="20"><a href="http://www.linkedin.com/in/matrixcomsec" target="_blank"><img src="https://www.matrixcomsec.com/images/social/linkedin.jpg" alt="linkedin" width="20" height="20" border="0" title="linkedin"></a></td><td width="21"><a href="https://twitter.com/Matrix_ComSec" target="_blank"><img src="https://www.matrixcomsec.com/images/social/twitter.jpg" alt="twitter" width="20" height="20" border="0" title="twitter"></a><a href="https://www.linkedin.com/company/matrix-telecom-solutions/" target="_blank"></a></td><td width="19"><a href="https://www.youtube.com/user/MatrixComSec" target="_blank"><img src="https://www.matrixcomsec.com/images/social/youtube.jpg" alt="youtube" width="20" height="20" border="0" title="youtube"></a></td></tr></tbody></table></td></tr></tbody></table>