Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#105 closed defect (fixed)

flashsv codec regression

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

flashsv does not decode (repr. with ffmpeg & ffplay)

most likely libavfilter-cuased regression

http://blip.tv/file/get/Personalquant-SamplePortfolioNewInterface963.flv

C:\>ffmpeg -i "C:\Personalquant-SamplePortfolioNewInterface963.flv"
FFmpeg version git-N-29181-ga304071, Copyright (c) 2000-2011 the FFmpeg develope
rs
  built on Apr 18 2011 21:24:03 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-memalign-hack --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --cross-prefix=i686-w6
4-mingw32- --target-os=mingw32 --arch=x86_32 --extra-cflags=-I/home/kyle/softwar
e/ffmpeg/external-libraries/win32/include --extra-ldflags=-L/home/kyle/software/
ffmpeg/external-libraries/win32/lib --pkg-config=pkg-config
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.120. 0 / 52.120. 0
  libavformat  52.108. 0 / 52.108. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 79. 0 /  1. 79. 0
  libswscale    0. 13. 0 /  0. 13. 0
[flv @ 01CEC000] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 5.00 (5/1)
Input #0, flv, from 'C:\Personalquant-SamplePortfolioNewInterface963.flv':
  Metadata:
    duration        : 200
    width           : 807
    height          : 641
    videodatarate   : 0
    framerate       : 5
    videocodecid    : 3
    filesize        : 3918033
  Duration: 00:03:19.59, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flashsv, bgr24, 807x641, 5 tbr, 1k tbn, 1k tbc
At least one output file must be specified

Change History (6)

comment:1 Changed 6 years ago by cehoyos

  • Status changed from new to open

If this problem is reproducible with ffmpeg, please provide complete, uncut output (and command line) when ffmpeg fails with this sample.

comment:2 Changed 6 years ago by ami_stuff

C:\>ffmpeg -i C:\Personalquant-SamplePortfolioNewInterface963.flv out.avi
FFmpeg version git-N-29181-ga304071, Copyright (c) 2000-2011 the FFmpeg develope
rs
  built on Apr 18 2011 21:24:03 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-memalign-hack --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --cross-prefix=i686-w6
4-mingw32- --target-os=mingw32 --arch=x86_32 --extra-cflags=-I/home/kyle/softwar
e/ffmpeg/external-libraries/win32/include --extra-ldflags=-L/home/kyle/software/
ffmpeg/external-libraries/win32/lib --pkg-config=pkg-config
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.120. 0 / 52.120. 0
  libavformat  52.108. 0 / 52.108. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 79. 0 /  1. 79. 0
  libswscale    0. 13. 0 /  0. 13. 0
[flv @ 01CEBFF0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 5.00 (5/1)
Input #0, flv, from 'C:\Personalquant-SamplePortfolioNewInterface963.flv':
  Metadata:
    duration        : 200
    width           : 807
    height          : 641
    videodatarate   : 0
    framerate       : 5
    videocodecid    : 3
    filesize        : 3918033
  Duration: 00:03:19.59, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flashsv, bgr24, 807x641, 5 tbr, 1k tbn, 1k tbc
Incompatible pixel format 'bgr24' for codec 'mpeg4', auto-selecting format 'yuv4
20p'
[buffer @ 01D36D40] w:807 h:641 pixfmt:bgr24
[ffsink @ 01D36F60] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 01D37330] w:807 h:641 fmt:bgr24 -> w:807 h:641 fmt:yuv420p flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    duration        : 200
    width           : 807
    height          : 641
    videodatarate   : 0
    framerate       : 5
    videocodecid    : 3
    filesize        : 3918033
    ISFT            : Lavf52.108.0
    Stream #0.0: Video: mpeg4, yuv420p, 807x641, q=2-31, 200 kb/s, 5 tbn, 5 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding

C:\>

this works fine with ffmpeg binary from pre-libavfilter era

comment:3 Changed 6 years ago by ami_stuff

it's really a segfault, but gdb says nothing useful here

the problem happens only under win32 (not amigaos)

comment:4 Changed 6 years ago by ami_stuff

under amigaos I can see a purple/yellow line at the top of the video when I convert the file with ffmpeg or play the file with ffplay

comment:5 Changed 6 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed

Maybe fixed, i could reproduce some out of array reads but no crash, reopen if not

comment:6 Changed 6 years ago by ami_stuff

This seems to be fixed (at least under amigaos - the yellow line is eliminated).

Note: See TracTickets for help on using tickets.