[FFmpeg-trac] #9(swscale:new): libswscale MMX2 giving videos a pink lined overlay
FFmpeg
trac at avcodec.org
Mon Apr 4 00:52:03 CEST 2011
#9: libswscale MMX2 giving videos a pink lined overlay
----------------------+----------------------
Reporter: bizzehdee | Owner: michael
Type: defect | Status: new
Priority: normal | Component: swscale
Version: git | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
----------------------+----------------------
Comment (by bizzehdee):
the intermediate AVI was fine and the end MPEG was fine also when the
original input was the x264 mkv. though if the original input is changed
to a xvid avi, the intermediate AVI is fine, and the final output MPEG
gets the pink overlay
{{{
c:\ffmpeg>ffmpeg -i "F:\Documentories\Wonders Of The Universe\Season
1\wonders.o
f.the.universe.s01e01.720p.hdtv.x264-ftp.mkv" -an -qscale 5 test.avi
FFmpeg version git-N-28791-g679191a, Copyright (c) 2000-2011 the FFmpeg
develope
rs
built on Apr 2 2011 18:44:11 with gcc 4.5.2
configuration: --arch=x86 --cross-prefix=i686-pc-mingw32- --target-
os=mingw32
--prefix=/ffmpeg/builds/git-N-28791-g679191a-shared --enable-memalign-hack
--ena
ble-shared --disable-static --enable-w32threads --disable-debug --enable-
gpl --e
nable-version3 --enable-runtime-cpudetect --enable-zlib --enable-bzlib
--enable-
avisynth --enable-postproc --enable-libmp3lame --enable-libx264 --enable-
libvorb
is --enable-libtheora --enable-libspeex --enable-libopencore-amrnb
--enable-libo
pencore-amrwb --enable-libxvid --enable-libgsm --enable-libvpx --disable-
decoder
=libvpx --enable-librtmp --enable-libopenjpeg --enable-frei0r --enable-
libxavs -
-extra-ldflags=-L/usr/i686-pc-mingw32/usr/lib --cc='ccache i686-pc-
mingw32-gcc'
libavutil 50. 40. 0 / 50. 40. 0
libavcodec 52.117. 0 / 52.117. 0
libavformat 52.104. 0 / 52.104. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 00a69e70] Estimating duration from bitrate, this may be
inaccur
ate
Input #0, matroska,webm, from 'F:\Documentories\Wonders Of The
Universe\Season 1
\wonders.of.the.universe.s01e01.720p.hdtv.x264-ftp.mkv':
Duration: 00:59:01.28, start: 0.000000, bitrate: 384 kb/s
Stream #0.0: Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9,
25 fps
, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
Metadata:
title : English
[buffer @ 00654090] w:1280 h:720 pixfmt:yuv420p
Output #0, avi, to 'test.avi':
Metadata:
ISFT : Lavf52.104.0
Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
q=2-31, 200
kb/s, 25 tbn, 25 tbc (default)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 841 fps= 26 q=5.0 Lsize= 7445kB time=33.64
bitrate=1813.0kbits/s
video:7419kB audio:0kB global headers:0kB muxing overhead 0.347085%
Received signal 2: terminating.
}}}
{{{
c:\ffmpeg>ffmpeg -i test.avi -s 800x600 -sws_flags bilinear+3dnow test.mpg
FFmpeg version git-N-28791-g679191a, Copyright (c) 2000-2011 the FFmpeg
develope
rs
built on Apr 2 2011 18:44:11 with gcc 4.5.2
configuration: --arch=x86 --cross-prefix=i686-pc-mingw32- --target-
os=mingw32
--prefix=/ffmpeg/builds/git-N-28791-g679191a-shared --enable-memalign-hack
--ena
ble-shared --disable-static --enable-w32threads --disable-debug --enable-
gpl --e
nable-version3 --enable-runtime-cpudetect --enable-zlib --enable-bzlib
--enable-
avisynth --enable-postproc --enable-libmp3lame --enable-libx264 --enable-
libvorb
is --enable-libtheora --enable-libspeex --enable-libopencore-amrnb
--enable-libo
pencore-amrwb --enable-libxvid --enable-libgsm --enable-libvpx --disable-
decoder
=libvpx --enable-librtmp --enable-libopenjpeg --enable-frei0r --enable-
libxavs -
-extra-ldflags=-L/usr/i686-pc-mingw32/usr/lib --cc='ccache i686-pc-
mingw32-gcc'
libavutil 50. 40. 0 / 50. 40. 0
libavcodec 52.117. 0 / 52.117. 0
libavformat 52.104. 0 / 52.104. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'test.avi':
Metadata:
encoder : Lavf52.104.0
Duration: 00:00:33.64, start: 0.000000, bitrate: 1812 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 25
tbr, 25
tbn, 25 tbc
File 'test.mpg' already exists. Overwrite ? [y/N] y
[buffer @ 01d69e30] w:1280 h:720 pixfmt:yuv420p
[scale @ 0061f9c0] w:1280 h:720 fmt:yuv420p -> w:800 h:600 fmt:yuv420p
flags:0x4
0000002
[mpeg @ 00619ff0] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'test.mpg':
Metadata:
encoder : Lavf52.104.0
Stream #0.0: Video: mpeg1video, yuv420p, 800x600 [PAR 1:1 DAR 4:3],
q=2-31,
200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 841 fps= 80 q=31.0 Lsize= 2028kB time=33.60 bitrate=
494.4kbits/s
video:2008kB audio:0kB global headers:0kB muxing overhead 1.016453%
}}}
{{{
c:\ffmpeg>ffmpeg -i "F:\Documentories\Are We Alone In The Universe.avi"
-an -qsc
ale 5 test.avi
FFmpeg version git-N-28791-g679191a, Copyright (c) 2000-2011 the FFmpeg
develope
rs
built on Apr 2 2011 18:44:11 with gcc 4.5.2
configuration: --arch=x86 --cross-prefix=i686-pc-mingw32- --target-
os=mingw32
--prefix=/ffmpeg/builds/git-N-28791-g679191a-shared --enable-memalign-hack
--ena
ble-shared --disable-static --enable-w32threads --disable-debug --enable-
gpl --e
nable-version3 --enable-runtime-cpudetect --enable-zlib --enable-bzlib
--enable-
avisynth --enable-postproc --enable-libmp3lame --enable-libx264 --enable-
libvorb
is --enable-libtheora --enable-libspeex --enable-libopencore-amrnb
--enable-libo
pencore-amrwb --enable-libxvid --enable-libgsm --enable-libvpx --disable-
decoder
=libvpx --enable-librtmp --enable-libopenjpeg --enable-frei0r --enable-
libxavs -
-extra-ldflags=-L/usr/i686-pc-mingw32/usr/lib --cc='ccache i686-pc-
mingw32-gcc'
libavutil 50. 40. 0 / 50. 40. 0
libavcodec 52.117. 0 / 52.117. 0
libavformat 52.104. 0 / 52.104. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'F:\Documentories\Are We Alone In The Universe.avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
IAS1 : ???
Duration: 00:48:29.12, start: 0.000000, bitrate: 1406 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x368 [PAR 1:1 DAR 40:23], 25
tbr, 25
tbn, 25 tbc
Stream #0.1: Audio: mp3, 32000 Hz, stereo, s16, 96 kb/s
File 'test.avi' already exists. Overwrite ? [y/N] y
[buffer @ 025239f0] w:640 h:368 pixfmt:yuv420p
Output #0, avi, to 'test.avi':
Metadata:
IAS1 : ???
ISFT : Lavf52.104.0
Stream #0.0: Video: mpeg4, yuv420p, 640x368 [PAR 1:1 DAR 40:23],
q=2-31, 200
kb/s, 25 tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 2387 fps=241 q=5.0 Lsize= 8062kB time=95.52 bitrate=
691.4kbits/s
video:8000kB audio:0kB global headers:0kB muxing overhead 0.784728%
Received signal 2: terminating.
}}}
{{{
c:\ffmpeg>ffmpeg -i test.avi -s 800x600 -sws_flags bilinear+3dnow test.mpg
FFmpeg version git-N-28791-g679191a, Copyright (c) 2000-2011 the FFmpeg
develope
rs
built on Apr 2 2011 18:44:11 with gcc 4.5.2
configuration: --arch=x86 --cross-prefix=i686-pc-mingw32- --target-
os=mingw32
--prefix=/ffmpeg/builds/git-N-28791-g679191a-shared --enable-memalign-hack
--ena
ble-shared --disable-static --enable-w32threads --disable-debug --enable-
gpl --e
nable-version3 --enable-runtime-cpudetect --enable-zlib --enable-bzlib
--enable-
avisynth --enable-postproc --enable-libmp3lame --enable-libx264 --enable-
libvorb
is --enable-libtheora --enable-libspeex --enable-libopencore-amrnb
--enable-libo
pencore-amrwb --enable-libxvid --enable-libgsm --enable-libvpx --disable-
decoder
=libvpx --enable-librtmp --enable-libopenjpeg --enable-frei0r --enable-
libxavs -
-extra-ldflags=-L/usr/i686-pc-mingw32/usr/lib --cc='ccache i686-pc-
mingw32-gcc'
libavutil 50. 40. 0 / 50. 40. 0
libavcodec 52.117. 0 / 52.117. 0
libavformat 52.104. 0 / 52.104. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 76. 0 / 1. 76. 0
libswscale 0. 13. 0 / 0. 13. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, avi, from 'test.avi':
Metadata:
encoder : Lavf52.104.0
Duration: 00:01:35.52, start: 0.000000, bitrate: 691 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 640x368 [PAR 1:1 DAR 40:23], 25
tbr, 25
tbn, 25 tbc
File 'test.mpg' already exists. Overwrite ? [y/N] y
[buffer @ 01d764c0] w:640 h:368 pixfmt:yuv420p
[scale @ 01d767d0] w:640 h:368 fmt:yuv420p -> w:800 h:600 fmt:yuv420p
flags:0x40
000002
[mpeg @ 01d82750] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'test.mpg':
Metadata:
encoder : Lavf52.104.0
Stream #0.0: Video: mpeg1video, yuv420p, 800x600 [PAR 1:1 DAR 4:3],
q=2-31,
200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 2387 fps=134 q=31.0 Lsize= 6324kB time=95.44 bitrate=
542.8kbits/s
video:6273kB audio:0kB global headers:0kB muxing overhead 0.818533%
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/9#comment:22>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list