Opened 11 years ago

Closed 11 years ago

#2788 closed defect (duplicate)

wmv3: seek only to keyframes

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: seek asf wmv3
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://www1.datafilehost.com/d/7d7ae1ff

When I use this command:

C:\>ffmpegx -ss 3 -i 1.wmv -t 1 out.avi
ffmpeg version N-54658-g43d3659 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jul 12 2013 02:23:12 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 39.100 / 52. 39.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.101 / 55. 12.101
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 80.100 /  3. 80.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from '1.wmv':
  Metadata:
    WMFSDKVersion   : 9.00.00.3250
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 1200000
    Buffer Average  : 31270
    IsVBR           : 1
    DeviceConformanceTemplate: MP@ML
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 11848
  Duration: 00:04:11.33, start: 0.040000, bitrate: 622 kb/s
    Stream #0:0(pol): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp
, 96 kb/s
    Stream #0:1(pol): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 360x288,
512 kb/s, SAR 1:1 DAR 5:4, 25 tbr, 1k tbn, 1k tbc
Output #0, avi, to 'out.avi':
  Metadata:
    WMFSDKVersion   : 9.00.00.3250
    WMFSDKNeeded    : 0.0.0.0000
    VBR Peak        : 1200000
    Buffer Average  : 31270
    IsVBR           : 1
    DeviceConformanceTemplate: MP@ML
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 11848
    ISFT            : Lavf55.12.101
    Stream #0:0(pol): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 360x288 [SAR 1:
1 DAR 5:4], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1(pol): Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 44100 Hz, s
tereo, fltp
Stream mapping:
  Stream #0:1 -> #0:0 (wmv3 -> mpeg4)
  Stream #0:0 -> #0:1 (wmav2 -> libmp3lame)
Press [q] to stop, [?] for help
Error while decoding stream #0:1: Error number -1 occurred
[wmv3 @ 0x2123cc0] warning: first frame is no keyframe
    Last message repeated 1 times
frame=   25 fps=0.0 q=1.6 Lsize=      87kB time=00:00:01.01 bitrate= 697.4kbits/
s dup=0 drop=17
video:46kB audio:28kB subtitle:0 global headers:0kB muxing overhead 16.876349%

then the first frame in the output file will be damaged/with artefacts.

The real problem which I would like to see fixed by reporting this issue is that when I seek (ffplay) in the attached video with (pressed) left mouse button then sometimes I get gray screen/artefacts.

Change History (2)

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: seek asf wmv3 added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

Could be related to ticket #1616.

comment:2 by Michael Niedermayer, 11 years ago

Resolution: duplicate
Status: openclosed

Duplicate of #1616, and fixed with the same commit that fixed #1616

Note: See TracTickets for help on using tickets.