[theora] ffmpeg2theora: issue converting from a png image list
Michael Opdenacker
michael at free-electrons.com
Thu Jul 16 01:37:39 PDT 2009
On 07/16/2009 07:28 AM, Michael Opdenacker wrote:
> Thank you very much for your help. Unfortunately, I've got the same
> problem with the latest svn built this morning:
>
> /home/mike/tmp/ffmpeg2theora/ffmpeg2theora/ffmpeg2theora img-%03d.png
> -o output.ogv
> Input #0, image2, from 'img-%03d.png':
> Duration: 00:00:12.00, start: 0.000000, bitrate: N/A
> Stream #0.0: Video: png, yuv420p, 1280x720, 25 tbr, 25 tbn, 25 tbc
> Resize: 1280x720
> Segmentation fault
>
Here are details about the error.
In case others need to do similar things...
make clean
scons static=1 debug=1
ulimit -c unlimited (thanks for the tip!)
/home/mike/tmp/ffmpeg2theora/ffmpeg2theora/ffmpeg2theora img-%03d.png -o
output.ogv
Input #0, image2, from 'img-%03d.png':
Duration: 00:00:12.00, start: 0.000000, bitrate: N/A
Stream #0.0: Video: png, yuv420p, 1280x720, 25 tbr, 25 tbn, 25 tbc
Resize: 1280x720
Segmentation fault (core dumped)
gdb /home/mike/tmp/ffmpeg2theora/ffmpeg2theora/ffmpeg2theora core
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Core was generated by
`/home/mike/tmp/ffmpeg2theora/ffmpeg2theora/ffmpeg2theora img-%03d.png
-o output'.
Program terminated with signal 11, Segmentation fault.
[New process 21702]
#0 0x083f644f in memcpy ()
(gdb) backtrace
#0 0x083f644f in memcpy ()
#1 0x083aed17 in planarCopy (c=0x8a5b930, src=0xbfe7dc20,
srcStride=0xbfe7dbf0, srcSliceY=0,
srcSliceH=720, dst=0x8a52cc0, dstStride=0xbfe7dc00) at
/usr/include/bits/string3.h:52
#2 0x083abcec in sws_scale (c=0x8a5b930, src=0x8a52bf0,
srcStride=0x8a52c00, srcSliceY=0,
srcSliceH=720, dst=0x8a52cc0, dstStride=0x8a52cd0) at
libswscale/swscale.c:2804
#3 0x08051278 in ff2theora_output (this=0x8a34758) at
src/ffmpeg2theora.c:1130
#4 0x080541e8 in main (argc=4, argv=0xbfe7edb4) at src/ffmpeg2theora.c:2249
Current language: auto; currently asm
(gdb)
I hope this helps...
Can others reproduce this bug too? This error may happen only with
Ubuntu 9.04, and not with other distros...
Thanks again,
Cheers,
Michael.
--
Michael Opdenacker, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
+ 33 621 604 642
More information about the theora
mailing list