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

FFmpeg trac at avcodec.org
Wed Jan 16 12:33:58 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  |               Keywords:  avi
             Blocked By:              |               Blocking:
Reproduced by developer:  0           |  Analyzed by developer:  0
--------------------------------------+----------------------------------
 If an avi output file is bigger than ~1G, the file starts to play fine
 with WMP, but seeking is impossible, this works fine if the file is
 remuxed with MEncoder.

 The following file plays fine with WMP, seeking works as expected:
 {{{
 $ ffmpeg -f lavfi -i testsrc=s=pal -f s16le -ac 2 -ar 48k -i /dev/zero
 -vcodec dvvideo -acodec pcm_s16le -fs 900M out09.avi
 }}}
 The following file starts playing with WMP, playback stops when the user
 tries to seek:
 {{{
 $ ffmpeg -f lavfi -i testsrc=s=pal -f s16le -ac 2 -ar 48k -i /dev/zero
 -vcodec dvvideo -acodec pcm_s16le -fs 1100M out11.avi
 ffmpeg version N-48954-g06af724 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan 16 2013 12:08:10 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 15.100 / 52. 15.100
   libavcodec     54. 89.100 / 54. 89.100
   libavformat    54. 60.101 / 54. 60.101
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [lavfi @ 0x2539940] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, lavfi, from 'testsrc=s=pal':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 720x576
 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
 [s16le @ 0x253b0c0] max_analyze_duration 5000000 reached at 5013333
 microseconds
 [s16le @ 0x253b0c0] Estimating duration from bitrate, this may be
 inaccurate
 Guessed Channel Layout for  Input Stream #1.0 : stereo
 Input #1, s16le, from '/dev/zero':
   Duration: N/A, bitrate: 1536 kb/s
     Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
 Output #0, avi, to 'out11.avi':
   Metadata:
     ISFT            : Lavf54.60.101
     Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR
 1:1 DAR 5:4], q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
 stereo, s16, 1536 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> dvvideo)
   Stream #1:0 -> #0:1 (pcm_s16le -> pcm_s16le)
 Press [q] to stop, [?] for help
 frame= 7248 fps=431 q=0.0 Lsize= 1074263kB time=00:04:49.92
 bitrate=30354.5kbits/s
 video:1019250kB audio:54360kB subtitle:0 global headers:0kB muxing
 overhead 0.060863%
 }}}
 The file can be "fixed" with the following MEncoder command line:
 {{{
 $ mencoder out11.avi -ovc copy -oac copy -o outmenc.avi
 }}}

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


More information about the FFmpeg-trac mailing list