[FFmpeg-devel] [WIP] New Filter (dejudder)
Nicholas Robbins
nickrobbins at yahoo.com
Fri Jan 24 19:49:58 CET 2014
> On Friday, January 24, 2014 5:02 AM, Paul B Mahol <onemda at gmail.com> wrote:
>> detected 2 logical cores
>> [AVFilterGraph @ 0x2744dac9f0] Error initializing filter 'dejudder'
>> Error opening filters!
>> [AVIOContext @ 0x2744db0be0] Statistics: 0 seeks, 0 writeouts
>> [AVIOContext @ 0x2744db0cc0] Statistics: 32768 bytes read, 0 seeks
>>
>> I'm not sure how to debug this.
>
> Wrong check for malloc failure in init function.
Thanks! That did it. I think I have it working now. However, I get this sometimes at the end of an otherwise fine encode like
$ ffmpeg -i IN.mkv -map 0 -c copy -c:v libx264 -preset veryfast -crf 17 -vf pullup,dejudder,fps=120000/1001 OUT.mkv
......
[libx264 @ 0x51ed84a8e0] Weighted P-Frames: Y:2.5% UV:1.8%
[libx264 @ 0x51ed84a8e0] kb/s:2383.61
*** glibc detected *** ffmpeg: double free or corruption (!prev): 0x00000051ed847d80 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7c0d6)[0x255120f00d6]
/usr/lib64/libavutil.so.52(av_freep+0x20)[0x2551294fb80]
/usr/lib64/libavfilter.so.4(+0x4eb72)[0x255147c8b72]
/usr/lib64/libavfilter.so.4(avfilter_free+0x8b)[0x255147c9f1b]
/usr/lib64/libavfilter.so.4(avfilter_graph_free+0x34)[0x255147cb404]
ffmpeg(+0x21d3b)[0x51eb945d3b]
ffmpeg(+0xdee5)[0x51eb931ee5]
ffmpeg(main+0x353)[0x51eb92fe33]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x25512098965]
ffmpeg(+0xc91d)[0x51eb93091d]
======= Memory map: ========
51eb924000-51eb957000 r-xp 00000000 08:03 806949 /usr/bin/ffmpeg
51ebb56000-51ebb59000 r--p 00032000 08:03 806949 /usr/bin/ffmpeg
....
25514eab000-25514eac000 rw-p 00022000 08:03 262537 /lib64/ld-2.16.so
25514eac000-25514ead000 rw-p 00000000 00:00 0
384f2f62000-384f2f84000 rw-p 00000000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 r--p 00000000 00:00 0 [vsyscall]
Aborted
What is causing that? I've attached new patch.
-Nicholas Robbins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-adding-dejudder-filter.patch
Type: text/x-patch
Size: 6110 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140124/65bb2ed8/attachment.bin>
More information about the ffmpeg-devel
mailing list