Hi Shyam,

I was able to resolve the etmp4 error.  I outline the steps below:


        
        
        
        
        


Requirements:
Xvid Codec http://www.xvid.org/
        Ffmpeg
        http://ffmpeg.org/download.html
        
        
        Note: Enable shared library support,
        i.e., ./configure --enable-shared
; make, sudo make install 
        
        GPAC Library
        http://gpac.sourceforge.net/home_download.php

compile with PIC support, i.e.,
        ./configure --enable-pic
; make, sudo make install
        Copy include/gpac subdirectory to
        /usr/include (evalvid files like etmp4 will need the header files)




Installing Evalvid
Get evalvid source
        http://www.tkn.tu-berlin.de/research/evalvid/
        Extract the evalvid archive.
        Uncomment u64 typedef in types.h
        Edit Makefile. Change
        -lgpac_static to -lgpac.
        make; sudo make install




When running etmp4 and the following
error occurs:



*** glibc detected *** etmp4: double
free or corruption (fasttop): 0x0000000001b32c70 ***




fix it by running: export
MALLOC_CHECK_=0



Now, etmp4 does not give me the
previous error but displays the following error although it produces a .m4v 
file:



Error parsing MPEG-4 VOP header

Couldn't export mp4-track 4: No Error

Error parsing MPEG-4 VOP header

Couldn't export raw track 1: No Error

Couldn't extract damaged track (1).





Regards,
Nestor


--- On Thu, 3/25/10, Shyam Sundar <[email protected]> wrote:

From: Shyam Sundar <[email protected]>
Subject: Re: [ns] Error when running etmp4 of Evalvid
To: "Nestor Michael C. Tiglao" <[email protected]>
Cc: [email protected]
Date: Thursday, March 25, 2010, 12:36 PM

Hi,

I am also new to myevalvid. I tried to use this in cygwin in windows, it is 
working fine. xvid, MP4BOX, mp4trace, etmp4 are available only in exe format. 
So it ll working in windows. 
Can you tell me how to use this in linux system?



With Regards
S.Shyam Sundar



On Thu, Mar 25, 2010 at 4:32 PM, Nestor Michael C. Tiglao <[email protected]> 
wrote:




Hello,



Following the steps in http://140.116.72.80/~smallko/ns2/myevalvid2.htm, I get 
the following error when I run etmp4:



etmp4 -p -x sd_a01 rd_a01 st_a01 a01.mp4 a01e

*** loss_a01e.txt ***: percentage of lost [frames|packets]

    column 1: I (including H)

    column 2: P

    column 3: B

    column 4: overall



*** delay_a01e.txt ***: jitter/delay statistics

    column 1: [frame|packet] id

    column 2: loss flag

    column 3: end-to-end delay [s]

    column 4: sender inter [frame|packet] lag [s]

    column 5: receiver inter

 [frame|packet] lag [s]

    column 6: cumulative jitter [s] [Hartanto et. al.]



*** rate_s_a01e.txt ***: sender rate

    column 1: time [s]

    column 2: momentary rate [bytes/s]

    column 3: cumulative rate [bytes/s]



*** rate_r_a01e.txt ***: receiver rate

    column 1: time [s]

    column 2: momentary rate [bytes/s]

    column 3: cumulative rate [bytes/s]



*** glibc detected *** etmp4: double free or corruption (fasttop): 0x099066e8 
***

======= Backtrace: =========

/lib32/libc.so.6[0xf7e96044]

/lib32/libc.so.6(cfree+0x96)[0xf7e980d6]

etmp4[0x807b412]

etmp4[0x807d317]

etmp4[0x804c440]

etmp4[0x804d7c3]

etmp4[0x804dc1e]

/lib32/libc.so.6(__libc_start_main+0xe5)[0xf7e3c685]

etmp4[0x8049271]

======= Memory map: ========

08048000-080b0000 r-xp 00000000 08:05

 2535398                            /usr/local/bin/etmp4

080b0000-080b1000 rw-p 00067000 08:05 2535398                            
/usr/local/bin/etmp4

09902000-09945000 rw-p 09902000 00:00 0                                  [heap]

f7a00000-f7a21000 rw-p f7a00000 00:00 0

f7a21000-f7b00000 ---p f7a21000 00:00 0

f7be2000-f7e26000 rw-p f7be2000 00:00 0

f7e26000-f7f7e000 r-xp 00000000 08:05

 12509189                           /lib32/libc-2.8.90.so

f7f7e000-f7f80000 r--p 00158000 08:05 12509189                           
/lib32/libc-2.8.90.so

f7f80000-f7f81000 rw-p 0015a000 08:05 12509189                           
/lib32/libc-2.8.90.so

f7f81000-f7f84000 rw-p f7f81000 00:00 0

f7f84000-f7fa8000 r-xp 00000000 08:05 12509193                           
/lib32/libm-2.8.90.so

f7fa8000-f7fa9000 r--p 00023000 08:05

 12509193                           /lib32/libm-2.8.90.so

f7fa9000-f7faa000 rw-p 00024000 08:05 12509193                           
/lib32/libm-2.8.90.so

f7fae000-f7fbb000 r-xp 00000000 08:05 2819601                            
/usr/lib32/libgcc_s.so.1

f7fbb000-f7fbc000 r--p 0000c000 08:05 2819601                            
/usr/lib32/libgcc_s.so.1

f7fbc000-f7fbd000 rw-p 0000d000 08:05

 2819601                            /usr/lib32/libgcc_s.so.1

f7fbd000-f7fc2000 rw-p f7fbd000 00:00 0

f7fc2000-f7fc3000 r-xp f7fc2000 00:00 0                                  [vdso]

f7fc3000-f7fe1000 r-xp 00000000 08:05 12509186                           
/lib32/ld-2.8.90.so

f7fe1000-f7fe2000 r--p 0001d000 08:05 12509186                           
/lib32/ld-2.8.90.so

f7fe2000-f7fe3000 rw-p

 0001e000 08:05 12509186                           /lib32/ld-2.8.90.so

ffece000-ffee3000 rw-p 7ffffffea000 00:00 0                              [stack]

Aborted



I executed the command in Ubuntu 8.10 on a Quad core machine.  What could be 
the problem here?





Nestor Tiglao

Instituto Superior Técnico

Lisbon, Portugal



Reply via email to