New submission from Zhou Zongyi <zho...@os.pku.edu.cn>:

E:\MPlayer-rtm-svn>ffmpeg -i R:\V.for.Vendetta.vc1 -vcodec copy 
R:\V.for.Vendetta.mkv
FFmpeg version git-0b32da9, Copyright (c) 2000-2011 the FFmpeg 
developers
  built on Feb 28 2011 04:05:31 with gcc 4.5.2 (x86.generic.Komisar)
  configuration: --prefix=/home/ffmpegbuild_free --enable-gpl --enable-
version3 --enable-postproc --enable-runtime-cpudetect --enable-memalign-
hack --enable-avisynth --enable-libopencore-amrnb --enable-libopencore-
amrwb --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --
enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --
enable-libx264 --enable-libxvid --disable-decoder='amrnb,amrwb,libvpx' -
-disable-hwaccels --cpu=i686 --disable-debug --extra-cflags=-
U__STRICT_ANSI__
  libavutil    50. 39. 0 / 50. 39. 0
  libavcodec   52.113. 2 / 52.113. 2
  libavformat  52.102. 0 / 52.102. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[vc1 @ 01bfd1b0] Estimating duration from bitrate, this may be 
inaccurate
Input #0, vc1, from 'R:\V.for.Vendetta.vc1':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: vc1, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 
23.98 fps, 23.98 tbr, 1200k tbn, 23.98 tbc
Output #0, matroska, to 'R:\V.for.Vendetta.mkv':
  Metadata:
    encoder         : Lavf52.102.0
    Stream #0.0: Video: WVC1 / 0x31435657, yuv420p, 1920x1080 [PAR 1:1 
DAR 16:9], q=2-31, 1k tbn, 23.98 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=  236 fps=  0 q=-1.0 Lsize=   16100kB time=9.84 
bitrate=13399.5kbits/s

video:16098kB audio:0kB global headers:0kB muxing overhead 0.014547%

When playing using WMVideo Decoder DMO, it shows black picture. 
Libavcodec-based decoders play it without problem.

If the mkv is muxed with mkvmerge, the problem is gone.

In graphstudio, i see that the length of extradata in ffmpeg-muxed mkv 
is 36, while the length in mkvmerge-muxed mkv is 37. The only difference 
is that the shorter one starts with 00 00 01 and the longer one starts 
with 00 00 00 01.

----------
messages: 13813
priority: normal
status: new
substatus: new
title: frame copy of vc1 to mkv/avi produces unplayable files
topic: avcodec, avformat
type: bug

________________________________________________
FFmpeg issue tracker <iss...@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2644>
________________________________________________

Reply via email to