Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TC in MOV container on a i386 DEBIAN Testing #32

Closed
GoogleCodeExporter opened this issue Aug 12, 2015 · 9 comments
Closed

TC in MOV container on a i386 DEBIAN Testing #32

GoogleCodeExporter opened this issue Aug 12, 2015 · 9 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1.Compile FFMBC 0.6 RC 3 on a i386 Debian
2.Configure line is :
/configure --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl 
--enable-libfaac --enable-libtheora --enable-zlib --disable-shared 
--enable-libx264 --enable-libdirac --enable-nonfree --enable-version3 
--enable-libschroedinger --enable-avfilter --enable-libspeex 
--enable-libopenjpeg --enable-libgsm --enable-postproc --enable-pthreads 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-ffplay 
--enable-pthreads --prefix=/usr/local --enable-x11grab 
--enable-runtime-cpudetect --enable-bzlib --enable-libdc1394 --enable-libvpx

3. Try to genarate a mov container with TC

What is the expected output? What do you see instead?
following error 
'[mov @ 0x96690e0] error, drop frame is only allowed with 30000/1001 or 
60000/1001 fps' is raised on the debian while same file and command line work 
perfectly on the same ffmbc version compiled on an AMD64 Ubuntu 10.10 box.

What version of the product are you using? On what operating system?

FFMBC RC 3 on I386 Debian testing (production) and on AMD64 Ubuntu 10.10 
(workstation)

Please provide any additional information below:

- Full commandline run (with -v 3) and everything the program printed
without

ffmbc -i inputFile.mp4 -v 3 -t 10 -target xdcamhd422 -vtag xd5e -threads 2 
-timecode '00:00:00:00' -f mov XDCAMHD.mov

FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 15 2011 12:32:34 with gcc 4.4.5
  configuration: --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-gpl --enable-libfaac --enable-libtheora --enable-zlib --disable-shared --enable-libx264 --enable-libdirac --enable-nonfree --enable-version3 --enable-libschroedinger --enable-avfilter --enable-libspeex --enable-libopenjpeg --enable-libgsm --enable-postproc --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-ffplay --enable-pthreads --prefix=/usr/local --enable-x11grab --enable-runtime-cpudetect --enable-bzlib --enable-libdc1394 --enable-libvpx
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputFile.mp4':
  Metadata:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2011-03-11 14:56:10
  Duration: 00:47:57.20, start: 0.000000, bitrate: 4004 kb/s
    Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16, 188 kb/s
    Stream #0.1(eng): Video: h264 (High), yuv420p, 1920x1080p [PAR 1:1 DAR 16:9], 3811 kb/s, 25.00 fps
Assuming PAL for target.
File 'XDCAMHD.mov' already exists. Overwrite ? [y/N] y
[ffsink @ 0x9667a30] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x966e6d0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p 
flags:0x1004 interlaced:0
[swscaler @ 0x96811c0] BICUBIC scaler, from yuv420p to yuv422p using C
Warning, QMAT_SHIFT is larger than 21, overflows possible
    Last message repeated 1 times
[mov @ 0x96690e0] error, drop frame is only allowed with 30000/1001 or 
60000/1001 fps
Could not write header for output file #0

Original issue reported on code.google.com by phmetz...@gmail.com on 15 Mar 2011 at 12:11

@GoogleCodeExporter
Copy link
Contributor Author

Additional Information

- Everything is working fine with MXF container and Timecode.
- no Error with MOV container when no TC stream added.

Original comment by phmetz...@gmail.com on 15 Mar 2011 at 1:25

@GoogleCodeExporter
Copy link
Contributor Author

I just setup an fresh AMD64 testing Debian and same error with all mp4 
(1920x1080 @ 25 I)files I have. Seems this is not an architecture issue but 
something wrong with my debian boxes

Original comment by phmetz...@gmail.com on 15 Mar 2011 at 3:36

@GoogleCodeExporter
Copy link
Contributor Author

Could please run valgrind on it ?
It may catch problems.

Original comment by baptiste...@gmail.com on 15 Mar 2011 at 10:29

@GoogleCodeExporter
Copy link
Contributor Author

valgrind report 
-----------------
valgrind --leak-check=yes ffmbc  -i inputFile.mp4 -target pal-xdcamhd422 
-timecode 00:00:01:00 -vtag xd5e -ss 120 -t 10 -f mov -y xdcamhd.mov 
==17110== Memcheck, a memory error detector
==17110== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==17110== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for 
copyright info
==17110== Command: ffmbc -i inputFile.mp4 -target pal-xdcamhd422 -timecode 
00:00:01:00 -vtag xd5e -ss 120 -t 10 -f mov -y xdcamhd.mov
==17110== 
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 16 2011 02:27:29 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputFile.mp4':
  Metadata:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2011-03-11 14:56:10
  Duration: 00:47:57.20, start: 0.000000, bitrate: 4004 kb/s
    Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16, 188 kb/s
    Stream #0.1(eng): Video: h264 (High), yuv420p, 1920x1080p [PAR 1:1 DAR 16:9], 3811 kb/s, 25.00 fps
[ffsink @ 0x45dcbf0] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x45dd2c0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p 
flags:0x1004 interlaced:0
[swscaler @ 0x431e000] BICUBIC scaler, from yuv420p to yuv422p using MMX2
Warning, QMAT_SHIFT is larger than 21, overflows possible
==17110== Conditional jump or move depends on uninitialised value(s)
==17110==    at 0x83EEC25: ??? (in /usr/local/bin/ffmbc)
==17110== 
    Last message repeated 1 times
[mov @ 0x45b2270] error, drop frame is only allowed with 30000/1001 or 
60000/1001 fps
Could not write header for output file #0
==17110== 
==17110== HEAP SUMMARY:
==17110==     in use at exit: 1,656,538 bytes in 93 blocks
==17110==   total heap usage: 501 allocs, 408 frees, 32,592,924 bytes allocated
==17110== 
==17110== 236 bytes in 1 blocks are definitely lost in loss record 6 of 15
==17110==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==17110==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==17110==    by 0x85D07C0: ??? (in /usr/local/bin/ffmbc)
==17110==    by 0x8082F77: ??? (in /usr/local/bin/ffmbc)
==17110== 
==17110== 1,152 bytes in 6 blocks are possibly lost in loss record 8 of 15
==17110==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==17110==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==17110==    by 0x85D07C0: ??? (in /usr/local/bin/ffmbc)
==17110==    by 0x41D855F: ??? (in /lib/i686/cmov/libc-2.11.2.so)
==17110== 
==17110== 20,816 (10,448 direct, 10,368 indirect) bytes in 1 blocks are 
definitely lost in loss record 10 of 15
==17110==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==17110==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==17110==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==17110==    by 0x8083003: ??? (in /usr/local/bin/ffmbc)
==17110== 
==17110== 427,040 bytes in 1 blocks are possibly lost in loss record 13 of 15
==17110==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==17110==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==17110==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==17110==    by 0x41D855F: ??? (in /lib/i686/cmov/libc-2.11.2.so)
==17110== 
==17110== 1,207,294 (11,288 direct, 1,196,006 indirect) bytes in 4 blocks are 
definitely lost in loss record 15 of 15
==17110==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==17110==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==17110==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==17110== 
==17110== LEAK SUMMARY:
==17110==    definitely lost: 21,972 bytes in 6 blocks
==17110==    indirectly lost: 1,206,374 bytes in 80 blocks
==17110==      possibly lost: 428,192 bytes in 7 blocks
==17110==    still reachable: 0 bytes in 0 blocks
==17110==         suppressed: 0 bytes in 0 blocks
==17110== 
==17110== For counts of detected and suppressed errors, rerun with: -v
==17110== Use --track-origins=yes to see where uninitialised values come from
==17110== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 20 from 7)

-------

I'm afraid I can't surely interprete that, hope it can help 

Original comment by phmetz...@gmail.com on 16 Mar 2011 at 10:19

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

same with -v option in valgrind

---

valgrind --leak-check=yes -v ffmbc  -i inputFile.mp4 -target pal-xdcamhd422 
-timecode 00:00:01:00 -vtag xd5e -ss 120 -t 10 -f mov -y xdcamhd.mov 
==18544== Memcheck, a memory error detector
==18544== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==18544== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for 
copyright info
==18544== Command: ffmbc -i inputFile.mp4 -target pal-xdcamhd422 -timecode 
00:00:01:00 -vtag xd5e -ss 120 -t 10 -f mov -y xdcamhd.mov
==18544== 
--18544-- Valgrind options:
--18544--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--18544--    --leak-check=yes
--18544--    -v
--18544-- Contents of /proc/version:
--18544--   Linux version 2.6.32-trunk-686 (Debian 2.6.32-5) 
(ben@decadent.org.uk) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Sun Jan 10 
06:32:16 UTC 2010
--18544-- Arch and hwcaps: X86, x86-sse1-sse2
--18544-- Page sizes: currently 4096, max supported 4096
--18544-- Valgrind library directory: /usr/lib/valgrind
--18544-- Reading syms from /lib/ld-2.11.2.so (0x4000000)
--18544--   Considering /lib/ld-2.11.2.so ..
--18544--   .. CRC mismatch (computed 81228e32 wanted ef05b3e9)
--18544--   Considering /usr/lib/debug/lib/ld-2.11.2.so ..
--18544--   .. CRC is valid
--18544-- Reading syms from /usr/local/bin/ffmbc (0x8048000)
--18544--    object doesn't have a symbol table
--18544-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
--18544--    object doesn't have a dynamic symbol table
--18544-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--18544-- Reading suppressions file: /usr/lib/valgrind/default.supp
--18544-- REDIR: 0x4016090 (index) redirected to 0x3803eda3 
(vgPlain_x86_linux_REDIR_FOR_index)
--18544-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so 
(0x401f000)
--18544-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so 
(0x4021000)
==18544== WARNING: new redirection conflicts with existing -- ignoring it
--18544--     new: 0x04016090 (index               ) R-> 0x04024cb0 index
--18544-- REDIR: 0x4016270 (strlen) redirected to 0x40250f0 (strlen)
--18544-- Reading syms from /lib/i686/cmov/libm-2.11.2.so (0x4031000)
--18544--   Considering /lib/i686/cmov/libm-2.11.2.so ..
--18544--   .. CRC mismatch (computed 00c2b09a wanted 3f37bbea)
--18544--   Considering /usr/lib/debug/lib/i686/cmov/libm-2.11.2.so ..
--18544--   .. CRC is valid
--18544-- Reading syms from /lib/libbz2.so.1.0.4 (0x4058000)
--18544--    object doesn't have a symbol table
--18544-- Reading syms from /usr/lib/libz.so.1.2.3.4 (0x4069000)
--18544--   Considering /usr/lib/libz.so.1.2.3.4 ..
--18544--   .. CRC mismatch (computed 7be92cfa wanted 329326cb)
--18544--   Considering /usr/lib/debug/usr/lib/libz.so.1.2.3.4 ..
--18544--   .. CRC is valid
--18544-- Reading syms from /lib/i686/cmov/libpthread-2.11.2.so (0x407d000)
--18544--   Considering /lib/i686/cmov/libpthread-2.11.2.so ..
--18544--   .. CRC mismatch (computed 88579827 wanted bb1de06e)
--18544--   Considering /usr/lib/debug/lib/i686/cmov/libpthread-2.11.2.so ..
--18544--   .. CRC is valid
--18544-- Reading syms from /lib/i686/cmov/libc-2.11.2.so (0x4096000)
--18544--   Considering /lib/i686/cmov/libc-2.11.2.so ..
--18544--   .. CRC mismatch (computed eb8cb366 wanted 52e4477d)
--18544--   Considering /usr/lib/debug/lib/i686/cmov/libc-2.11.2.so ..
--18544--   .. CRC is valid
--18544-- REDIR: 0x4108cc0 (index) redirected to 0x4024c20 (index)
--18544-- REDIR: 0x410a0d0 (memchr) redirected to 0x4025830 (memchr)
--18544-- REDIR: 0x4109840 (rindex) redirected to 0x4024b60 (rindex)
--18544-- REDIR: 0x410be00 (strchrnul) redirected to 0x4026590 (strchrnul)
--18544-- REDIR: 0x410a630 (mempcpy) redirected to 0x4026600 (mempcpy)
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 16 2011 02:27:29 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
--18544-- REDIR: 0x4108e30 (strcmp) redirected to 0x40256b0 (strcmp)
--18544-- REDIR: 0x4106340 (posix_memalign) redirected to 0x4023161 
(posix_memalign)
--18544-- REDIR: 0x41093d0 (strlen) redirected to 0x401f42c 
(_vgnU_ifunc_wrapper)
--18544-- REDIR: 0x4109410 (__strlen_sse2) redirected to 0x40250b0 (strlen)
--18544-- REDIR: 0x410a5d0 (memset) redirected to 0x40264a0 (memset)
--18544-- REDIR: 0x4108ea0 (strcpy) redirected to 0x4025130 (strcpy)
--18544-- REDIR: 0x4106bb0 (realloc) redirected to 0x4023f7a (realloc)
--18544-- REDIR: 0x410aad0 (memcpy) redirected to 0x4025870 (memcpy)
--18544-- REDIR: 0x410bd30 (rawmemchr) redirected to 0x40265c0 (rawmemchr)
--18544-- REDIR: 0x4105b50 (free) redirected to 0x4023ae5 (free)
--18544-- REDIR: 0x4109490 (__GI_strlen) redirected to 0x40250d0 (__GI_strlen)
--18544-- REDIR: 0x4105c30 (malloc) redirected to 0x4023ecb (malloc)
--18544-- memcheck GC: 1024 nodes, 1024 survivors (100.0%)
--18544-- memcheck GC: increase table size to 2048
--18544-- memcheck GC: 2048 nodes, 2048 survivors (100.0%)
--18544-- memcheck GC: increase table size to 4096
--18544-- memcheck GC: 4096 nodes, 3071 survivors ( 74.9%)
--18544-- memcheck GC: increase table size to 8192
--18544-- memcheck GC: 8192 nodes, 7168 survivors ( 87.5%)
--18544-- memcheck GC: increase table size to 16384
--18544-- memcheck GC: 16384 nodes, 14336 survivors ( 87.5%)
--18544-- memcheck GC: increase table size to 32768
--18544-- memcheck GC: 32768 nodes, 27647 survivors ( 84.3%)
--18544-- memcheck GC: increase table size to 65536
--18544-- memcheck GC: 65536 nodes, 56320 survivors ( 85.9%)
--18544-- memcheck GC: increase table size to 131072
--18544-- memcheck GC: 131072 nodes, 112640 survivors ( 85.9%)
--18544-- memcheck GC: increase table size to 262144
--18544-- REDIR: 0x410a270 (bcmp) redirected to 0x4026080 (bcmp)
--18544-- REDIR: 0x410a560 (memmove) redirected to 0x4026510 (memmove)
--18544-- REDIR: 0x4109680 (strncmp) redirected to 0x40255d0 (strncmp)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputFile.mp4':
  Metadata:
    major_brand: --18544-- REDIR: 0x4109550 (strnlen) redirected to 0x4025030 (strnlen)
mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2011-03-11 14:56:10
  Duration: 00:47:57.20, start: 0.000000, bitrate: 4004 kb/s
    Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16, 188 kb/s
    Stream #0.1(eng): Video: h264 (High), yuv420p, 1920x1080p [PAR 1:1 DAR 16:9], 3811 kb/s, 25.00 fps
[ffsink @ 0x45dcbf0] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x45dd2c0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p 
flags:0x1004 interlaced:0
[swscaler @ 0x431e000] BICUBIC scaler, from yuv420p to yuv422p using MMX2
Warning, QMAT_SHIFT is larger than 21, overflows possible
==18544== Conditional jump or move depends on uninitialised value(s)
==18544==    at 0x83EEC25: ??? (in /usr/local/bin/ffmbc)
==18544== 
    Last message repeated 1 times
[mov @ 0x45b2270] error, drop frame is only allowed with 30000/1001 or 
60000/1001 fps
Could not write header for output file #0
==18544== 
==18544== HEAP SUMMARY:
==18544==     in use at exit: 1,656,538 bytes in 93 blocks
==18544==   total heap usage: 501 allocs, 408 frees, 32,592,924 bytes allocated
==18544== 
==18544== Searching for pointers to 93 not-freed blocks
==18544== Checked 6,087,032 bytes
==18544== 
==18544== 236 bytes in 1 blocks are definitely lost in loss record 6 of 15
==18544==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==18544==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==18544==    by 0x85D07C0: ??? (in /usr/local/bin/ffmbc)
==18544==    by 0x8082F77: ??? (in /usr/local/bin/ffmbc)
==18544== 
==18544== 1,152 bytes in 6 blocks are possibly lost in loss record 8 of 15
==18544==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==18544==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==18544==    by 0x85D07C0: ??? (in /usr/local/bin/ffmbc)
==18544==    by 0x41D855F: ??? (in /lib/i686/cmov/libc-2.11.2.so)
==18544== 
==18544== 20,816 (10,448 direct, 10,368 indirect) bytes in 1 blocks are 
definitely lost in loss record 10 of 15
==18544==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==18544==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==18544==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==18544==    by 0x8083003: ??? (in /usr/local/bin/ffmbc)
==18544== 
==18544== 427,040 bytes in 1 blocks are possibly lost in loss record 13 of 15
==18544==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==18544==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==18544==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==18544==    by 0x41D855F: ??? (in /lib/i686/cmov/libc-2.11.2.so)
==18544== 
==18544== 1,207,294 (11,288 direct, 1,196,006 indirect) bytes in 4 blocks are 
definitely lost in loss record 15 of 15
==18544==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==18544==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==18544==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==18544== 
==18544== LEAK SUMMARY:
==18544==    definitely lost: 21,972 bytes in 6 blocks
==18544==    indirectly lost: 1,206,374 bytes in 80 blocks
==18544==      possibly lost: 428,192 bytes in 7 blocks
==18544==    still reachable: 0 bytes in 0 blocks
==18544==         suppressed: 0 bytes in 0 blocks
==18544== 
==18544== Use --track-origins=yes to see where uninitialised values come from
==18544== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 20 from 7)
==18544== 
==18544== 1 errors in context 1 of 6:
==18544== Conditional jump or move depends on uninitialised value(s)
==18544==    at 0x83EEC25: ??? (in /usr/local/bin/ffmbc)
==18544== 
--18544-- 
--18544-- used_suppression:     20 dl-hack3-cond-1
==18544== 
==18544== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 20 from 7)

Original comment by phmetz...@gmail.com on 16 Mar 2011 at 10:27

@GoogleCodeExporter
Copy link
Contributor Author


with --leak-check=yes --track-origins=yes -v in valgrind

------

valgrind --leak-check=yes --track-origins=yes -v ffmbc  -i inputFile.mp4 
-target pal-xdcamhd422 -timecode 00:00:01:00 -vtag xd5e -ss 120 -t 10 -f mov -y 
xdcamhd.mov 
==26675== Memcheck, a memory error detector
==26675== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==26675== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for 
copyright info
==26675== Command: ffmbc -i inputFile.mp4 -target pal-xdcamhd422 -timecode 
00:00:01:00 -vtag xd5e -ss 120 -t 10 -f mov -y xdcamhd.mov
==26675== 
--26675-- Valgrind options:
--26675--    --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--26675--    --leak-check=yes
--26675--    --track-origins=yes
--26675--    -v
--26675-- Contents of /proc/version:
--26675--   Linux version 2.6.32-trunk-686 (Debian 2.6.32-5) 
(ben@decadent.org.uk) (gcc version 4.3.4 (Debian 4.3.4-6) ) #1 SMP Sun Jan 10 
06:32:16 UTC 2010
--26675-- Arch and hwcaps: X86, x86-sse1-sse2
--26675-- Page sizes: currently 4096, max supported 4096
--26675-- Valgrind library directory: /usr/lib/valgrind
--26675-- Reading syms from /lib/ld-2.11.2.so (0x4000000)
--26675--   Considering /lib/ld-2.11.2.so ..
--26675--   .. CRC mismatch (computed 81228e32 wanted ef05b3e9)
--26675--   Considering /usr/lib/debug/lib/ld-2.11.2.so ..
--26675--   .. CRC is valid
--26675-- Reading syms from /usr/local/bin/ffmbc (0x8048000)
--26675--    object doesn't have a symbol table
--26675-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
--26675--    object doesn't have a dynamic symbol table
--26675-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--26675-- Reading suppressions file: /usr/lib/valgrind/default.supp
--26675-- REDIR: 0x4016090 (index) redirected to 0x3803eda3 
(vgPlain_x86_linux_REDIR_FOR_index)
--26675-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so 
(0x401f000)
--26675-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so 
(0x4021000)
==26675== WARNING: new redirection conflicts with existing -- ignoring it
--26675--     new: 0x04016090 (index               ) R-> 0x04024cb0 index
--26675-- REDIR: 0x4016270 (strlen) redirected to 0x40250f0 (strlen)
--26675-- Reading syms from /lib/i686/cmov/libm-2.11.2.so (0x4031000)
--26675--   Considering /lib/i686/cmov/libm-2.11.2.so ..
--26675--   .. CRC mismatch (computed 00c2b09a wanted 3f37bbea)
--26675--   Considering /usr/lib/debug/lib/i686/cmov/libm-2.11.2.so ..
--26675--   .. CRC is valid
--26675-- Reading syms from /lib/libbz2.so.1.0.4 (0x4058000)
--26675--    object doesn't have a symbol table
--26675-- Reading syms from /usr/lib/libz.so.1.2.3.4 (0x4069000)
--26675--   Considering /usr/lib/libz.so.1.2.3.4 ..
--26675--   .. CRC mismatch (computed 7be92cfa wanted 329326cb)
--26675--   Considering /usr/lib/debug/usr/lib/libz.so.1.2.3.4 ..
--26675--   .. CRC is valid
--26675-- Reading syms from /lib/i686/cmov/libpthread-2.11.2.so (0x407d000)
--26675--   Considering /lib/i686/cmov/libpthread-2.11.2.so ..
--26675--   .. CRC mismatch (computed 88579827 wanted bb1de06e)
--26675--   Considering /usr/lib/debug/lib/i686/cmov/libpthread-2.11.2.so ..
--26675--   .. CRC is valid
--26675-- Reading syms from /lib/i686/cmov/libc-2.11.2.so (0x4096000)
--26675--   Considering /lib/i686/cmov/libc-2.11.2.so ..
--26675--   .. CRC mismatch (computed eb8cb366 wanted 52e4477d)
--26675--   Considering /usr/lib/debug/lib/i686/cmov/libc-2.11.2.so ..
--26675--   .. CRC is valid
--26675-- REDIR: 0x4108cc0 (index) redirected to 0x4024c20 (index)
--26675-- REDIR: 0x410a0d0 (memchr) redirected to 0x4025830 (memchr)
--26675-- REDIR: 0x4109840 (rindex) redirected to 0x4024b60 (rindex)
--26675-- REDIR: 0x410be00 (strchrnul) redirected to 0x4026590 (strchrnul)
--26675-- REDIR: 0x410a630 (mempcpy) redirected to 0x4026600 (mempcpy)
FFmpeg version FFmbc-0.6-rc3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 16 2011 02:27:29 with gcc 4.4.5
  configuration: --enable-gpl
  libavutil    50. 38. 0 / 50. 38. 0
  libavcodec   52.112. 1 / 52.112. 1
  libavformat  52. 99. 0 / 52. 99. 0
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
--26675-- REDIR: 0x4108e30 (strcmp) redirected to 0x40256b0 (strcmp)
--26675-- REDIR: 0x4106340 (posix_memalign) redirected to 0x4023161 
(posix_memalign)
--26675-- REDIR: 0x41093d0 (strlen) redirected to 0x401f42c 
(_vgnU_ifunc_wrapper)
--26675-- REDIR: 0x4109410 (__strlen_sse2) redirected to 0x40250b0 (strlen)
--26675-- REDIR: 0x410a5d0 (memset) redirected to 0x40264a0 (memset)
--26675-- REDIR: 0x4108ea0 (strcpy) redirected to 0x4025130 (strcpy)
--26675-- REDIR: 0x4106bb0 (realloc) redirected to 0x4023f7a (realloc)
--26675-- REDIR: 0x410aad0 (memcpy) redirected to 0x4025870 (memcpy)
--26675-- REDIR: 0x410bd30 (rawmemchr) redirected to 0x40265c0 (rawmemchr)
--26675-- REDIR: 0x4105b50 (free) redirected to 0x4023ae5 (free)
--26675-- REDIR: 0x4109490 (__GI_strlen) redirected to 0x40250d0 (__GI_strlen)
--26675-- REDIR: 0x4105c30 (malloc) redirected to 0x4023ecb (malloc)
--26675-- memcheck GC: 1024 nodes, 1024 survivors (100.0%)
--26675-- memcheck GC: increase table size to 2048
--26675-- memcheck GC: 2048 nodes, 2048 survivors (100.0%)
--26675-- memcheck GC: increase table size to 4096
--26675-- memcheck GC: 4096 nodes, 3071 survivors ( 74.9%)
--26675-- memcheck GC: increase table size to 8192
--26675-- memcheck GC: 8192 nodes, 7168 survivors ( 87.5%)
--26675-- memcheck GC: increase table size to 16384
--26675-- memcheck GC: 16384 nodes, 14336 survivors ( 87.5%)
--26675-- memcheck GC: increase table size to 32768
--26675-- memcheck GC: 32768 nodes, 27647 survivors ( 84.3%)
--26675-- memcheck GC: increase table size to 65536
--26675-- memcheck GC: 65536 nodes, 56320 survivors ( 85.9%)
--26675-- memcheck GC: increase table size to 131072
--26675-- memcheck GC: 131072 nodes, 112640 survivors ( 85.9%)
--26675-- memcheck GC: increase table size to 262144
--26675-- REDIR: 0x410a270 (bcmp) redirected to 0x4026080 (bcmp)
--26675-- REDIR: 0x410a560 (memmove) redirected to 0x4026510 (memmove)
--26675-- REDIR: 0x4109680 (strncmp) redirected to 0x40255d0 (strncmp)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'inputFile.mp4':
  Metadata:
    major_brand: --26675-- REDIR: 0x4109550 (strnlen) redirected to 0x4025030 (strnlen)
mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2011-03-11 14:56:10
  Duration: 00:47:57.20, start: 0.000000, bitrate: 4004 kb/s
    Stream #0.0(eng): Audio: aac, 48000 Hz, stereo, s16, 188 kb/s
    Stream #0.1(eng): Video: h264 (High), yuv420p, 1920x1080p [PAR 1:1 DAR 16:9], 3811 kb/s, 25.00 fps
[ffsink @ 0x45dcbf0] auto-inserting filter 'auto-inserted scaler 0' between the 
filter 'src' and the filter 'out'
[scale @ 0x45dd2c0] w:1920 h:1080 fmt:yuv420p -> w:1920 h:1080 fmt:yuv422p 
flags:0x1004 interlaced:0
[swscaler @ 0x431e000] BICUBIC scaler, from yuv420p to yuv422p using MMX2
Warning, QMAT_SHIFT is larger than 21, overflows possible
==26675== Conditional jump or move depends on uninitialised value(s)
==26675==    at 0x83EEC25: ??? (in /usr/local/bin/ffmbc)
==26675==  Uninitialised value was created by a stack allocation
==26675==    at 0x8123AC4: ??? (in /usr/local/bin/ffmbc)
==26675== 
    Last message repeated 1 times
[mov @ 0x45b2270] error, drop frame is only allowed with 30000/1001 or 
60000/1001 fps
Could not write header for output file #0
==26675== 
==26675== HEAP SUMMARY:
==26675==     in use at exit: 1,656,538 bytes in 93 blocks
==26675==   total heap usage: 501 allocs, 408 frees, 32,592,924 bytes allocated
==26675== 
==26675== Searching for pointers to 93 not-freed blocks
==26675== Checked 6,756,348 bytes
==26675== 
==26675== 236 bytes in 1 blocks are definitely lost in loss record 6 of 17
==26675==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==26675==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==26675==    by 0x85D07C0: ??? (in /usr/local/bin/ffmbc)
==26675==    by 0x8082F77: ??? (in /usr/local/bin/ffmbc)
==26675== 
==26675== 1,152 bytes in 6 blocks are possibly lost in loss record 8 of 17
==26675==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==26675==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==26675==    by 0x85D07C0: ??? (in /usr/local/bin/ffmbc)
==26675==    by 0x41D855F: ??? (in /lib/i686/cmov/libc-2.11.2.so)
==26675== 
==26675== 20,482 bytes in 1 blocks are possibly lost in loss record 10 of 17
==26675==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==26675==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==26675==    by 0x85D07C0: ??? (in /usr/local/bin/ffmbc)
==26675== 
==26675== 20,816 (10,448 direct, 10,368 indirect) bytes in 1 blocks are 
definitely lost in loss record 11 of 17
==26675==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==26675==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==26675==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==26675==    by 0x8083003: ??? (in /usr/local/bin/ffmbc)
==26675== 
==26675== 427,040 bytes in 1 blocks are possibly lost in loss record 15 of 17
==26675==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==26675==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==26675==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==26675==    by 0x41D855F: ??? (in /lib/i686/cmov/libc-2.11.2.so)
==26675== 
==26675== 537,976 (11,288 direct, 526,688 indirect) bytes in 4 blocks are 
definitely lost in loss record 16 of 17
==26675==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==26675==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==26675==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==26675== 
==26675== 648,836 bytes in 10 blocks are possibly lost in loss record 17 of 17
==26675==    at 0x4023136: memalign (vg_replace_malloc.c:581)
==26675==    by 0x4023193: posix_memalign (vg_replace_malloc.c:709)
==26675==    by 0x85D0817: ??? (in /usr/local/bin/ffmbc)
==26675== 
==26675== LEAK SUMMARY:
==26675==    definitely lost: 21,972 bytes in 6 blocks
==26675==    indirectly lost: 537,056 bytes in 69 blocks
==26675==      possibly lost: 1,097,510 bytes in 18 blocks
==26675==    still reachable: 0 bytes in 0 blocks
==26675==         suppressed: 0 bytes in 0 blocks
==26675== 
==26675== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 20 from 7)
==26675== 
==26675== 1 errors in context 1 of 8:
==26675== Conditional jump or move depends on uninitialised value(s)
==26675==    at 0x83EEC25: ??? (in /usr/local/bin/ffmbc)
==26675==  Uninitialised value was created by a stack allocation
==26675==    at 0x8123AC4: ??? (in /usr/local/bin/ffmbc)
==26675== 
--26675-- 
--26675-- used_suppression:     20 dl-hack3-cond-1
==26675== 
==26675== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 20 from 7)

Original comment by phmetz...@gmail.com on 16 Mar 2011 at 10:56

@GoogleCodeExporter
Copy link
Contributor Author

Should be fixed in rc4, can you please double check ?

Original comment by baptiste...@gmail.com on 1 May 2011 at 12:57

@GoogleCodeExporter
Copy link
Contributor Author

Confirmed, this is fixed in RC 4. Great Work !

Original comment by phmetz...@gmail.com on 4 May 2011 at 10:30

@GoogleCodeExporter
Copy link
Contributor Author

Original comment by baptiste...@gmail.com on 4 May 2011 at 10:35

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant