[FFmpeg-devel] [Ffmpeg-user] conversion of flash movie -segmentation fault

Baptiste Coudurier baptiste.coudurier
Mon Aug 20 21:56:21 CEST 2007


hari jayaram wrote:
> Hi all I have uploaded the file to incoming (/MPlayer/incoming/harijay2)
> The directory name is harijay2
> 
> Files are
> 229 Entering Extended Passive Mode (|||57536|)
> 150 Here comes the directory listing.
> -rw-------    1 1011     1004      2285274 Aug 20 13:22
> 63b53a53570eb720a5808f074778b3fd.swf
> -rw-------    1 1011     1004         2047 Aug 20 13:21 harijay_notes
> 226 Directory send OK.
> 
> 
> Your help in troubleshooting this buss error are greatly appreciated
> Thanks

Ok I have fixed swink files in r10152, though it will only extract mjpeg
pictures, you won't have cursor, nor other fancy features. Patch welcome.

Im cc'ing ffmpeg-devel since the segfault is related to another issue if
someone wants to have a look.

Here is valgrind output:

FFmpeg version SVN-r10143, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-pthreads --disable-vhook --enable-libgsm
  libavutil version: 49.5.0
  libavcodec version: 51.41.0
  libavformat version: 51.12.2
  built on Aug 20 2007 15:30:52, gcc: 4.1.3 20070718 (prerelease)
(Debian 4.1.2-14)
==3833==
==3833== Conditional jump or move depends on uninitialised value(s)
==3833==    at 0x83A1696: ff_ac3_parse_header (ac3_parser.c:46)
[swf @ 0x83e56c0]Could not find codec parameters (Video: mjpeg)
Input #0, swf, from '63b53a53570eb720a5808f074778b3fd.swf':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Audio: adpcm_swf, 11025 Hz, mono
  Stream #0.1: Video: mjpeg, 20.00 fps(r)
File 'out2.flv' already exists. Overwrite ? [y/N] y
PIX_FMT_YUV420P will be used as an intermediate format for rescaling
Output #0, flv, to 'out2.flv':
  Stream #0.0: Video: flv, yuv420p, 960x480, q=2-31, 200 kb/s, 20.00 fps(c)
Stream mapping:
  Stream #0.1 -> #0.0
[flv @ 0x8491e48]removing common factors from framerate
Press [q] to stop encoding
==3833==
==3833== Invalid read of size 4
==3833==    at 0x8128B3D: sws_scale (imgresample.c:738)
==3833==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==3833==
==3833== Process terminating with default action of signal 11 (SIGSEGV)
==3833==  Access not within mapped region at address 0x0
==3833==    at 0x8128B3D: sws_scale (imgresample.c:738)
==3833==


-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list