[FFmpeg-trac] #44(avformat:open): seeking in .dv file with lowres enabled crashes ffplay

FFmpeg trac at avcodec.org
Wed Nov 2 05:37:25 CET 2011


#44: seeking in .dv file with lowres enabled crashes ffplay
-----------------------------------+------------------------------------
             Reporter:  ami_stuff  |                    Owner:
                 Type:  defect     |                   Status:  open
             Priority:  normal     |                Component:  avformat
              Version:  git        |               Resolution:
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  1
Analyzed by developer:  0          |
-----------------------------------+------------------------------------

Comment (by ami_stuff):

 when I use ffmpeg with lowres then the output video have still the same
 resolution as input, so maybe this is the reasone why ffplay crashes after
 seeking?

 {{{
 374         int64_t max_offset = ((size-1) / sys->frame_size) *
 sys->frame_size;
 }}}

 {{{
 C:\>ffmpeg -lowres 3 -i C:\small_test2.dv out.avi
 ffmpeg version N-34031-ge403a97, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 25 2011 15:06:47 with gcc 4.6.1
   configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect
 --ena
 ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
 --enable-
 libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
 --ena
 ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-
 libspeex --en
 able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis
 --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib

   libavutil    51. 22. 0 / 51. 22. 0
   libavcodec   53. 23. 0 / 53. 23. 0
   libavformat  53. 17. 0 / 53. 17. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 45. 0 /  2. 45. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [dv @ 02092320] Estimating duration from bitrate, this may be inaccurate
 Input #0, dv, from 'C:\small_test2.dv':
   Duration: 00:00:02.84, start: 0.000000, bitrate: 28800 kb/s
     Stream #0:0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, SAR 16:15
 DAR 4:3
 , 25 tbr, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s
     Stream #0:2: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 kb/s
 w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15 sws_param:
 [pcm_s16le @ 02606100] The maximum value for lowres supported by the
 decoder is
 0
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf53.17.0
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x576 [SAR
 16:15 D
 AR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 32000 Hz, 2 channels,
 s16, 12
 8 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0 (dvvideo -> mpeg4)
   Stream #0.1 -> #0.1 (pcm_s16le -> libmp3lame)
 Press [q] to stop, [?] for help
 [buffer @ 020A2740] Buffer video input changed from size:720x576
 fmt:yuv420p to
 size:90x72 fmt:yuv420p
 [buffer @ 020A2740] Inserting scaler filter
 [buffersink @ 020A29C0] auto-inserting filter 'Input equalizer' between
 the filt
 er 'src' and the filter 'out'
 [scale @ 020A3E20] w:90 h:72 fmt:yuv420p -> w:720 h:576 fmt:yuv420p
 flags:0x2
 frame=   28 fps=  0 q=8.7 size=      99kB time=00:00:01.04 bitrate=
 775.6kbits/s
 frame=   56 fps=  0 q=18.4 size=     165kB time=00:00:02.12 bitrate=
 634.5kbits/
 AC EOB marker is absent pos=71
 frame=   72 fps= 56 q=20.7 Lsize=     206kB time=00:00:02.88 bitrate=
 585.9kbits
 /s
 video:148kB audio:45kB global headers:0kB muxing overhead 6.936536%
 }}}

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


More information about the FFmpeg-trac mailing list