[FFmpeg-trac] #1193(undetermined:new): avi enc: msvideo1 unplayable by wmp

FFmpeg trac at avcodec.org
Thu Apr 12 16:11:02 CEST 2012


#1193: avi enc: msvideo1 unplayable by wmp
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 http://ffmpeg.org/trac/ffmpeg/raw-attachment/ticket/1167/j.asf

 the output from

 {{{
 C:\>ffmpeg -t 2 -i j.asf -an -vcodec msvideo1 out.avi
 ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Apr 10 2012 02:37:16 with gcc 4.5.0 20100414 (Fedora MinGW
 4.5.0-1.fc
 14)
   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' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapshots/buil
 d/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/snapshots/b
 uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
 --enable-n
 onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
 libvorbis
 --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
 libopencor
 e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
   libavutil      51. 46.100 / 51. 46.100
   libavcodec     54. 14.101 / 54. 14.101
   libavformat    54.  3.100 / 54.  3.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 67.101 /  2. 67.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 10.100 /  0. 10.100
   libpostproc    52.  0.100 / 52.  0.100
 Input #0, asf, from 'j.asf':
   Duration: 00:00:41.36, start: 0.000000, bitrate: 100 kb/s
     Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 16000 Hz, 1 channels,
 s16,
 16 kb/s
     Stream #0:1: Video: msmpeg4 (MP43 / 0x3334504D), yuv420p, 192x144, 25
 tbr, 1
 k tbn, 1k tbc
 Incompatible pixel format 'yuv420p' for codec 'msvideo1', auto-selecting
 format
 'rgb555le'
 [buffer @ 0x1dc5da0] w:192 h:144 pixfmt:yuv420p tb:1/1000000 sar:0/1
 sws_param:f
 lags=2
 [buffersink @ 0x1dc5ca0] auto-inserting filter 'auto-inserted scale 0'
 between t
 he filter 'src' and the filter 'out'
 [scale @ 0x1dc64e0] w:192 h:144 fmt:yuv420p sar:0/1 -> w:192 h:144
 fmt:rgb555le
 sar:0/1 flags:0x4
 Output #0, avi, to 'out.avi':
   Metadata:
     ISFT            : Lavf54.3.100
     Stream #0:0: Video: msvideo1 (MSVC / 0x4356534D), rgb555le, 192x144,
 q=2-31,
  200 kb/s, 25 tbn, 25 tbc
 Stream mapping:
   Stream #0:1 -> #0:0 (msmpeg4 -> msvideo1)
 Press [q] to stop, [?] for help
 frame=   17 fps=0.0 q=0.2 size=     120kB time=00:00:01.08 bitrate=
 912.0kbits/s
 frame=   31 fps=0.0 q=0.2 Lsize=     218kB time=00:00:02.00 bitrate=
 893.9kbits/
 s
 video:212kB audio:0kB global headers:0kB muxing overhead 3.177549%
 }}}

 conversion is unplayable by wmp, this is because the output file have
 value "18" instead
 of "10" before MSVC string (see attached screenshot - the right file is an
 output from ffmpeg)

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


More information about the FFmpeg-trac mailing list