[FFmpeg-trac] #9(swscale:new): libswscale MMX2 giving videos a pink lined overlay

FFmpeg trac at avcodec.org
Thu Mar 24 22:19:28 CET 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):

 i want to use mmx2 or 3dnow because i usually get 70fps on x264, with
 3dnow or mmx2 enabled in sws, i get around 120fps, though i dont know if
 thats because its broke, or if its because thats what the optimisations
 do.

 but here is the output from the minimal configure line i posted before:

 {{{
 c:\ffmpeg>ffmpeg -i defaced-insidejob-xvid.avi -target pal-dvd -ps
 2000000000 -a
 spect 16:9 -b 3500k -acodec mp2 -ar 48000 -ab 192k -sws_flags
 bilinear+3dnow -th
 reads 3 test.mpg
 FFmpeg version git-N-28544-g60c68c0, Copyright (c) 2000-2011 the FFmpeg
 develope
 rs
   built on Mar 21 2011 12:29:11 with gcc 4.5.2
   configuration: --arch=x86 --cross-prefix=i686-pc-mingw32- --target-
 os=mingw32
 --prefix=/ffmpeg/builds/git-N-28533-g849f80f-shared --enable-memalign-hack
 --ena
 ble-shared --disable-static --enable-w32threads --disable-debug --enable-
 gpl --e
 nable-version3 --enable-runtime-cpudetect --enable-postproc
   libavutil    50. 40. 0 / 50. 40. 0
   libavcodec   52.114. 0 / 52.114. 0
   libavformat  52.103. 0 / 52.103. 0
   libavdevice  52.  3. 0 / 52.  3. 0
   libavfilter   1. 76. 0 /  1. 76. 0
   libswscale    0. 12. 0 /  0. 12. 0
   libpostproc  51.  2. 0 / 51.  2. 0

 Seems stream 0 codec frame rate differs from container frame rate: 23.98
 (65535/
 2733) -> 23.98 (10000000/417083)
 Input #0, avi, from 'defaced-insidejob-xvid.avi':
   Metadata:
     encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
   Duration: 01:48:38.50, start: 0.000000, bitrate: 901 kb/s
     Stream #0.0: Video: mpeg4, yuv420p, 640x272 [PAR 1:1 DAR 40:17], 23.98
 tbr,
 23.98 tbn, 23.98 tbc
     Stream #0.1: Audio: mp3, 48000 Hz, stereo, s16, 127 kb/s
 [buffer @ 005f2500] w:640 h:272 pixfmt:yuv420p
 [setdar @ 005f25c0] a:16/9
 [scale @ 005f2580] w:640 h:272 fmt:yuv420p -> w:720 h:576 fmt:yuv420p
 flags:0x40
 000002
 [setdar @ 005f25c0] w:720 h:576 -> dar:16/9 par:64/45
 [mp2 @ 005eb000] The requested thread algorithm is not supported with this
 threa
 d library.
 Output #0, dvd, to 'test.mpg':
   Metadata:
     encoder         : Lavf52.103.0
     Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9],
 q=2-3
 1, 3500 kb/s, 90k tbn, 25 tbc
     Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0
   Stream #0.1 -> #0.1
 Press [q] to stop encoding
 frame=   90 fps=  0 q=2.0 size=     374kB time=3.56 bitrate= 860.6kbits/s
 dup=4
 frame=  185 fps=184 q=2.0 size=     698kB time=7.36 bitrate= 776.9kbits/s
 dup=8
 frame=  270 fps=179 q=2.0 size=    1128kB time=10.76 bitrate= 858.8kbits/s
 dup=1
 frame=  278 fps=178 q=2.0 Lsize=    1182kB time=11.08 bitrate=
 873.9kbits/s dup=
 11 drop=0
 video:839kB audio:272kB global headers:0kB muxing overhead 6.413649%
 Received signal 2: terminating.
 }}}

-- 
Ticket URL: <http://avcodec.org/trac/ffmpeg/ticket/9#comment:15>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list