[FFmpeg-trac] #9(swscale:new): libswscale MMX2 giving videos a pink lined overlay
FFmpeg
trac at avcodec.org
Sun Apr 3 23:48:28 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):
just tested with
{{{
ffmpeg input -s 800x600 -sws_flags bilinear+3dnow -an test.mpg
}}}
and still gives me pink overlay.
{{{
c:\ffmpeg>ffmpeg.exe -i "in\A League Of Their Own - 02x01 - Series 2,
Episode 1.
avi" -s 800x600 -sws_flags bilinear+3dnow -an 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 'in\A League Of Their Own - 02x01 - Series 2, Episode
1.avi'
:
Duration: 00:23:59.60, start: 0.000000, bitrate: 1021 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 25
tbr, 25
tbn, 25 tbc
Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 127 kb/s
[buffer @ 01d62d20] w:624 h:352 pixfmt:yuv420p
[scale @ 01d63040] w:624 h:352 fmt:yuv420p -> w:800 h:600 fmt:yuv420p
flags:0x40
000002
[mpeg @ 01d61b30] 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
[mpeg1video @ 01d522e0] warning, clipping 1 dct coefficients to -255..255
frame= 2541 fps=123 q=31.0 size= 10500kB time=101.60 bitrate=
846.6kbits/s
frame= 2610 fps=124 q=24.8 size= 10718kB time=104.36 bitrate=
841.3kbits/s
frame= 2679 fps=124 q=31.0 size= 10920kB time=107.12 bitrate=
835.1kbits/s
frame= 2748 fps=124 q=31.0 size= 11116kB time=109.88 bitrate=
828.7kbits/s
frame= 2817 fps=125 q=31.0 size= 11314kB time=112.64 bitrate=
822.8kbits/s
frame= 2885 fps=125 q=31.0 size= 11542kB time=115.36 bitrate=
819.6kbits/s
frame= 2952 fps=125 q=31.0 size= 11788kB time=118.04 bitrate=
818.1kbits/s
frame= 3017 fps=125 q=31.0 size= 12042kB time=120.64 bitrate=
817.7kbits/s
frame= 3073 fps=125 q=24.8 Lsize= 12248kB time=122.88 bitrate=
816.5kbits/s
video:12151kB audio:0kB global headers:0kB muxing overhead 0.796960%
Received signal 2: terminating.
}}}
all input sources so far have been divx or xvid within an avi. just tested
it with x264 contained within an mkv as source, and the pink goes away
{{{
c:\ffmpeg>ffmpeg.exe -i "F:\Documentories\Wonders Of The Universe\Season
1\wonde
rs.of.the.universe.s01e01.720p.hdtv.x264-ftp.mkv" -s 800x600 -sws_flags
bilinear
+3dnow -an 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
[matroska,webm @ 004a9e90] 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
File 'test.mpg' already exists. Overwrite ? [y/N] y
[buffer @ 02642700] w:1280 h:720 pixfmt:yuv420p
[scale @ 02c97dc0] w:1280 h:720 fmt:yuv420p -> w:800 h:600 fmt:yuv420p
flags:0x4
0000002
[mpeg @ 029f0050] 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 (default)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 714 fps= 45 q=31.0 Lsize= 1780kB time=28.52 bitrate=
511.3kbits/s dup
=1 drop=0
video:1763kB audio:0kB global headers:0kB muxing overhead 0.948553%
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/9#comment:20>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list