<html>
    <head>
      <base href="https://bugzilla.libav.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Rewriting files without duration"
   href="https://bugzilla.libav.org/show_bug.cgi?id=782">782</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Rewriting files without duration
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Libav
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git HEAD
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>---
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>utilities
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugzilla@libav.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>anadius@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=511" name="attach_511" title="input file downloaded with mimms">attachment 511</a> <a href="attachment.cgi?id=511&action=edit" title="input file downloaded with mimms">[details]</a></span>
input file downloaded with mimms

I downloaded 1 minute stream using mimms. avprobe gives me
[asf @ 0x1d3c200] max_analyze_duration reached
[asf @ 0x1d3c200] Estimating duration from bitrate, this may be inaccurate
...
Duration: 00:00:59.55, start: 0.000000, bitrate: 99 kb/s

After rewriting it to new file
avconv - input.asf -c:a copy output.asf

avprobe gives me 
Duration: 517:33:33.62, start: 0.000000, bitrate: 0 kb/s

Both files open strangely in VLC (first has 0 duration but starts in 500+hr,
second as first but with huge duration) and both work fine in audacity (real
duration).

Is there any way to make avconv write proper duration?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>