[FFmpeg-trac] #2145(avformat:new): avi files >1G do not seek with WMP

FFmpeg trac at avcodec.org
Sun Mar 24 20:49:41 CET 2013


#2145: avi files >1G do not seek with WMP
------------------------------------+------------------------------------
             Reporter:  cehoyos     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  avi         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by tateu):

 ffmpeg -f lavfi -i testsrc=size=1280x720 -vcodec rawvideo -pix_fmt bgr24
 -fs 1100M out.avi

 To see the issue I am talking about, individual frame sizes need to be
 larger than the default value that FFMpeg uses for
 strh->dwSuggestedBufferSize, which is 1,048,576 bytes. Your command line
 produces a 320x240 file and each frame is only 230,400 bytes (320 * 240 *
 3). testsrc=size=1280x720 produces a file where each frame is 2,764,800
 bytes. You also need to disable any 3rd party AVI directshow splitters to
 make sure it is only a vanilla Windows Media Player attempting to play the
 file. Haali media splitter can take over from Windows and make the file
 playable.

 My issue seems to be slightly different than yours, then.  I had tried
 your example without audio since I'm on Windows and don't have -i
 /dev/zero as an input source.  My patch fixes my issue but does not fix
 yours.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2145#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list