<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body smarttemplateinserted="true">
    <div id="smartTemplate4-template">Hello.
      <br>
      <br>
      Windows, gstreamer 1.16.1 mingw x64:<br>
      <br>
      When the output file reaches a size greater than 2048 MB, filesink
      stops recording and generates an error:<br>
      <br>
      <i><b>GST_DEBUG=3</b><br>
        <br>
        0:19:09.838828958  5464 000002C708342300 WARN               
        filesink gstfilesink.c:606:gst_file_sink_event:<filesink>
        error: Error while seeking in file "{path_to_output_file}".<br>
        0:19:09.838856894  5464 000002C708342300 WARN               
        filesink gstfilesink.c:606:gst_file_sink_event:<filesink>
        error: system error: Invalid argument<br>
      </i><br>
      <i><b>GST_DEBUG=5</b><br>
        <br>
        1:00:17.891237294  6080 000001CC520A4940 DEBUG              
        filesink
        gstfilesink.c:504:gst_file_sink_do_seek:<filesink> Seeking
        to offset <b>2147862966</b> using fseeko<br>
        1:00:17.891284786  6080 000001CC520A4940 DEBUG              
        filesink
        gstfilesink.c:714:gst_file_sink_flush_buffer:<filesink>
        Flushing out buffer of size 24<br>
        1:00:17.891333954  6080 000001CC520A4940 DEBUG              
        filesink
        gstfilesink.c:658:gst_file_sink_render_buffers:<filesink>
        writing 1 buffers (1 memories, 24 bytes) at position 1074029354<br>
        <br>
        1:00:17.912922452  6080 000001CC520A4940 DEBUG              
        filesink
        gstfilesink.c:535:gst_file_sink_do_seek:<filesink> Seeking
        failed: Invalid argument<br>
        1:00:17.912970224  6080 000001CC520A4940 WARN               
        filesink gstfilesink.c:606:gst_file_sink_event:<filesink>
        error: Error while seeking in file "</i><i><i>{path_to_output_file}</i>".</i><br>
      <br>
      Obviously, this is due to the fact that the 32-bit version of the
      fseek function is used instead of the 64-bit one.<br>
      <br>
      Has this been fixed in subsequent releases?<br>
      <br>
      <span class="moz-txt-tag">-- <br>
      </span>With best regards,
      <br>
       Artem Semenov               <a class="moz-txt-link-freetext"
        href="mailto:artem.semenov@jarillolabs.com">mailto:artem.semenov@jarillolabs.com</a>
    </div>
  </body>
</html>