<!doctype html>
<html>
 <head> 
  <meta charset="UTF-8"> 
 </head>
 <body>
  <div>
   Ross,
  </div>
  <div class="default-style">
   <br>
  </div>
  <div class="default-style">
   Thanks for your reply<a href="http://live555.com/liveMedia/faq.html#copyright-and-license" rel="noopener" target="_blank"></a>
  </div>
  <blockquote type="cite">
   <blockquote type="cite">
    <div>
     though we are using the -4 flag the video is being encoded into a Quicktime container.
    </div>
   </blockquote>
   <div>
    <br>
   </div>
   <div>
    This is a ‘red herring’. The MP4 file format *is*, basically, the QuickTime file format; see
   </div>
   <div>
    <a href="https://en.wikipedia.org/wiki/ISO/IEC_base_media_file_format#History" rel="noopener" target="_blank">https://en.wikipedia.org/wiki/ISO/IEC_base_media_file_format#History</a>
   </div>
   <div></div>
  </blockquote>
  <div>
   <br>
  </div>
  <div class="default-style">
   I accept that the MP4 and Quicktime container may basically be the same but there must be some differences, even it is only in the file header.  When i capture a video using openRTSP mediainfo reports is as a Quicktime container but if i then run the file through ffmpeg and set it to copy the audio and video stream the file output is different and mediainfo reports it is an MP4 file.  The Quicktime and MP4 files are not the same even if they might be very similar.  Due to the low power of the hardware we are using i want to avoid having to run each file through ffmpeg when openRTSP should be outputting an MP4 in the first place.
  </div>
  <div class="default-style">
   <br>
  </div>
  <div class="default-style">
   It also made me think why would openRTSP have a -q and -4 flag and explicitly mention the difference between a Quicktime file and an MP4 file in the docs if they are basically the same?  Do both flags output the same file or should openRTSP encode each video into a different container? 
  </div>
  <div class="default-style">
   <br>
  </div>
  <div class="default-style">
   One thing i have been trying to do is compile a newer version of openRTSP as the version that Wyze compile is quite old (2017) so this may be a bug.  I am trying to compile a new version in the following pull request but keep getting a message about invalid conversion from 'int*' to 'socklen_t* - <a href="https://github.com/Dafang-Hacks/Main/pull/86">https://github.com/Dafang-Hacks/Main/pull/86</a>
  </div>
  <div class="default-style">
   <br>
  </div>
  <div class="default-style">
   Thanks 
  </div>
  <div class="default-style">
   <br>
  </div>
  <div class="default-style">
   Tim
  </div>
 </body>
</html>