Opened 13 years ago

Closed 13 years ago

#619 closed defect (fixed)

regression with fraps codec

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: avi fraps
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http://multimedia.cx/samples/V-codecs/FPS1/10secs.avi

afte conversion there will be visible some vertical red lines at the end of the video

the problem started to happen between

N-32355-g4f7dfe1 (06 Sep 2011)

and

N-32611-gd55b06b (15 Sep 2011)

C:\>ffmpeg -i 10secs.avi -vcodec msmpeg4v2 out.avi
ffmpeg version N-34318-g8475ec1, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 31 2011 17:50:05 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena
ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --en
able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 26. 0 / 53. 26. 0
  libavformat  53. 18. 0 / 53. 18. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 45. 3 /  2. 45. 3
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 020A2320] parser not found for codec fraps, packets or times may be inval
id.
Input #0, avi, from '10secs.avi':
  Duration: 00:00:25.10, start: 0.000000, bitrate: 384 kb/s
    Stream #0:0: Video: fraps (FPS1 / 0x31535046), bgr24, 640x480, 30 fps, 30 tb
r, 30 tbn, 30 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels,
 s16, 1411 kb/s
Incompatible pixel format 'bgr24' for codec 'msmpeg4v2', auto-selecting format '
yuv420p'
[buffer @ 020B2740] w:640 h:480 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 020B29C0] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 020B2DC0] w:640 h:480 fmt:bgr24 -> w:640 h:480 fmt:yuv420p flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.18.0
    Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 640x480, q=2-31,
 200 kb/s, 30 tbn, 30 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2 channels, s16, 12
8 kb/s
Stream mapping:
  Stream #0.0 -> #0.0 (fraps -> msmpeg4v2)
  Stream #0.1 -> #0.1 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
frame=    7 fps=  0 q=3.0 Lsize=     199kB time=00:00:00.02 bitrate=62359.1kbits
/s
video:189kB audio:0kB global headers:0kB muxing overhead 5.227309%

Change History (2)

comment:1 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavformat
Version: unspecifiedgit-master

The sample contains six complete frames and a partial seventh. FFmpeg outputs the seventh frame since e42a3dd123c47efd7921f93d4a1f6f53c196ad4a.

comment:2 by Carl Eugen Hoyos, 13 years ago

Component: avformatavcodec
Keywords: avi fraps added
Resolution: fixed
Status: newclosed

FFmpeg now outputs six complete frames again.

Note: See TracTickets for help on using tickets.