Opened 13 years ago
Closed 13 years ago
#1193 closed defect (fixed)
avi enc: msvideo1 unplayable by wmp
Reported by: | ami_stuff | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | cram |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | yes |
Description
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)
Attachments (2)
Change History (6)
by , 13 years ago
Attachment: | msvideo1.jpg added |
---|
by , 13 years ago
Attachment: | patchcram.diff added |
---|
comment:1 by , 13 years ago
Analyzed by developer: | set |
---|---|
Component: | undetermined → avcodec |
Keywords: | cram added |
Status: | new → open |
Version: | unspecified → git-master |
Note:
See TracTickets
for help on using tickets.
Thank you for the analysis, FFmpeg stores 24 bit per pixel instead of 16.
Could you try attached patch?