On 04/27/2010 06:42 AM, Francesco Romani wrote:
On Wed, 2010-04-21 at 04:13 -0700, David Liontooth wrote:
In transcode 1.1.x, but not in 1.0.x, this hangs when test.mp4 is a
minute long:
transcode -q 0 -y im -F png -x mov,null -i test.mp4 -c
0:01:10-0:01:10.1,0:02:10-0:02:10
That is to say, if more than one frame number given is past the end of
the clip, transcode hangs.
Hi,
this commit should help
http://hg.berlios.de/repos/tcforge/rev/7df5459eea6c
Please grab a fresh HG snapshot (from the transcode-1_1 branch of
course) and see if this really fixes your problem.
If this get better (hopefully!), or if I don't heard anything, I'll
release the 1.1.6 next weekend.
Just for the record, the transcode-1_1's tip revision on HG
is the 1.1.6 RC, so it is pretty safe to test.
Bests,
Ciao Francesco --
I just tested http://hg.berlios.de/repos/tcforge/archive/tip.tar.bz2
(1f4472da3313.tar.bz2) and it still hangs in the same place :-(
Let me know if there's anything I can do to debug.
Cheers,
Dave
lseek(3, 4096, SEEK_SET) = 4096
read(3,
"\304:\361=\207\33\334\350\f\220p\213\313\226p\305\303\214\240\v8\3...@s<\321\351\224S\306["...,
20480) = 20480
read(3,
")w\246f\351j\257\2...@v\301\31y\312c\241\4\357\v\f\2735\255\\<k\nq\345\24a"...,
4096) = 4096
brk(0x243e000) = 0x243e000
brk(0x2473000) = 0x2473000
brk(0x2494000) = 0x2494000
lseek(3, 28672, SEEK_SET) = 28672
read(3,
"\276\25cj|\22\366\3106\226K&f\2327w\312Q\f\222\26\311L\240eh\301\310\2141\311y"...,
12288) = 12288
read(3,
"\373a\203\237\343\3262\371)]\237\242\301(\310\201\206\20~?\304v\306\3156\333\321\225G\310>\325"...,
4096) = 4096
brk(0x24ce000) = 0x24ce000
brk(0x24f8000) = 0x24f8000
lseek(3, 45056, SEEK_SET) = 45056
brk(0x2524000) = 0x2524000
brk(0x254e000) = 0x254e000
munmap(0x7f406502d000, 1081344) = 0
write(2, "[\33[34;1mimport_mov.so\33[0m] VIDEO"..., 94[import_mov.so]
VIDEO: codec=avc1, fps=29.970, width=448, height=336, frames=53797
) = 94
mmap(NULL, 8392704, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f406006e000
mprotect(0x7f406006e000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f406086e1d0,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x7f406086e9e0, tls=0x7f406086e910,
child_tidptr=0x7f406086e9e0) = 25220
mmap(NULL, 8392704, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f405f86d000
mprotect(0x7f405f86d000, 4096, PROT_NONE) = 0
clone(child_stack=0x7f406006d1d0,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0x7f406006d9e0, tls=0x7f406006d910,
child_tidptr=0x7f406006d9e0) = 25221
open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1821680, ...}) = 0
mmap(NULL, 1821680, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f4065080000
close(4) = 0
getcwd("/mnt/2010_01/2010-04/2010-04-27", 4096) = 32
readlink("/proc/25212/exe", "/usr/local/bin/transcode", 4096) = 24
stat("/usr/local/bin/transcode", {st_mode=S_IFREG|0755, st_size=477752,
...}) = 0
access("/usr/local/bin/transcode", F_OK) = 0
open("/proc/meminfo", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x7f407dacd000
read(4, "MemTotal: 6122168 kB\nMemF"..., 1024) = 1024
close(4) = 0
munmap(0x7f407dacd000, 4096) = 0
open("/usr/share/ImageMagick-6.6.0/config/policy.xml", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/ImageMagick-6.6.0/config/policy.xml", O_RDONLY) = 4
lseek(4, 0, SEEK_END) = 1938
mmap(NULL, 1938, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f407dacd000
munmap(0x7f407dacd000, 1938) = 0
close(4) = 0
open("/usr/share/doc/ImageMagick-6.6.0/policy.xml", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/ImageMagick-6.6.0/policy.xml", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/home/tna/.magick/policy.xml", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("policy.xml", O_RDONLY) = -1 ENOENT (No such file or
directory)
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
brk(0x261c000) = 0x261c000
futex(0x67a344, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x67a340, {FUTEX_OP_SET, 0,
FUTEX_OP_CMP_GT, 1}) = 1
futex(0x67a244, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
futex(0x67a1c0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x67a344, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x67a340, {FUTEX_OP_SET, 0,
FUTEX_OP_CMP_GT, 1}) = 1
futex(0x67a244, FUTEX_WAIT_PRIVATE, 3, NULL) = 0
futex(0x67a1c0, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x67a344, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x67a340, {FUTEX_OP_SET, 0,
FUTEX_OP_CMP_GT, 1}) = 1
futex(0x67a244, FUTEX_WAIT_PRIVATE, 5, NULL) = 0
futex(0x67a1c0, FUTEX_WAKE_PRIVATE, 1) = 0