Hi list,
This is one of the first time I attempt to read video in Gem. I must have done bad things in my life before : nothing works...
I have dv exports from a camera : when I try to read them as they are, pd just crashes (terminal output at the end of mail).
So I tried to re-encode them but I seem to get the same error with every codec that doesn't crash Gem immediately :
mpeg3video_seek: frame accurate seeking without a table of contents is no longer supported. Use mpeg3toc <mpeg file> <table of contents> to generate a table of contents and load the table of contents instead.
Then Gem kind of reads the video (sometimes faster, sometimes normal) but when I load a second one, it usually freezes the whole pd process...
By the way : transcode doesn't seem to be very stable in Ubuntu (many segfaults).
Someone has a tip, a failsafe solution ? I just want to read those video files... (:
Thanks in advance folks.
++
Jé
BACKTRACE FOLLOWS ___________________________
jerome@goeland:~$ puredata/pd/bin/pd <init> : Avifile RELEASE-0.7.47-070916-12:47-4.1.3 <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf <init> : 2001.00 MHz Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz processor detected <reader> : Checking: /home/jerome/Bureau/LesFilles/Videofiles/LargeClip.dv <ASF reader> : Could not find ASF header chunk in file <ASX reader> : Not a redirector! <ASF network reader> : Not an URL <FF reader> : Format DV video format streams:3 <FF reader> : S: 0 id:19 bitrate:28800000 (4000000) samprate:0 chn:0 framerate:1/25 wxh 720x576 59/54 <FF stream> : Starttime: 0 Duration: 469880000 <FF reader> : S: 1 id:10000 bitrate:1024000 (4000000) samprate:32000 chn:2 framerate:0/1 wxh 0x0 0/1 <FF stream> : Starttime: 0 Duration: 469880000 <FF reader> : S: 2 id:10000 bitrate:1024000 (4000000) samprate:32000 chn:2 framerate:0/1 wxh 0x0 0/1 <FF stream> : Starttime: 0 Duration: 469880000 <reader> : Initialized video stream (chunk tblsz: 0, fmtsz: 40) <LDT keeper> : Installed fs segment: 0xb5a6c000 <codec keeper> : Found 9 plugins (/usr/lib/avifile-0.7,A:40,V:90) <FFMPEG video decoder> : looking dvvideo <codec keeper> : Created video decoder: FF DV Video <FF stream> : Codeg tag format SEEKPOS 0 *** glibc detected *** puredata/pd/bin/pd: munmap_chunk(): invalid pointer: 0x082b5dfc *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7d2492b] /usr/lib/libaviplay-0.7.so.0(_ZN3avm12StreamPacketD1Ev+0x29)[0xb74efb49] ======= Memory map: ======== 08048000-0811d000 r-xp 00000000 08:07 754557 /home/jerome/puredata/pd-0.41-0test09/bin/pd 0811d000-0811f000 rw-p 000d5000 08:07 754557 /home/jerome/puredata/pd-0.41-0test09/bin/pd 0811f000-0830e000 rw-p 0811f000 00:00 0 [heap] b5262000-b5263000 ---p b5262000 00:00 0 b5263000-b5a63000 rwxp b5263000 00:00 0 b5a63000-b5a6b000 r-xp 00000000 08:06 1080904 /usr/lib/avifile-0.7/ffmpeg.so b5a6b000-b5a6c000 rw-p 00008000 08:06 1080904 /usr/lib/avifile-0.7/ffmpeg.so b5a6c000-b5a6d000 rw-p 00000000 00:0d 2865 /dev/zero b5a6d000-b5ad8000 rw-p b5a6d000 00:00 0 b5ad8000-b5b01000 r-xp 00000000 08:07 768189 /home/jerome/puredata/00_Externals/Bin/iemmatrix.pd_linux b5b01000-b5b02000 rw-p 00028000 08:07 768189 /home/jerome/puredata/00_Externals/Bin/iemmatrix.pd_linux b5b02000-b5b22000 r-xp 00000000 08:07 768187 /home/jerome/puredata/00_Externals/Bin/iemlib2.pd_linux b5b22000-b5b23000 rw-p 0001f000 08:07 768187 /home/jerome/puredata/00_Externals/Bin/iemlib2.pd_linux b5b23000-b5b34000 r-xp 00000000 08:07 768185 /home/jerome/puredata/00_Externals/Bin/iemlib1.pd_linux b5b34000-b5b35000 rw-p 00010000 08:07 768185 /home/jerome/puredata/00_Externals/Bin/iemlib1.pd_linux b5b35000-b5b5a000 r-xp 00000000 08:07 768004 /home/jerome/puredata/00_Externals/Bin/zexy.pd_linux b5b5a000-b5b5b000 rw-p 00024000 08:07 768004 /home/jerome/puredata/00_Externals/Bin/zexy.pd_linux b5b5b000-b5b96000 r-xp 00000000 08:07 768005 /home/jerome/puredata/00_Externals/Bin/maxlib.pd_linux b5b96000-b5b98000 rw-p 0003a000 08:07 768005 /home/jerome/puredata/00_Externals/Bin/maxlib.pd_linux b5b98000-b5c1d000 rw-p b5b98000 00:00 0 b5c1d000-b5c3b000 r-xp 00000000 08:06 524786 /usr/lib/libexpat.so.1.0.0 b5c3b000-b5c3d000 rw-p 0001e000 08:06 524786 /usr/lib/libexpat.so.1.0.0 b5c3d000-b5c44000 r-xp 00000000 08:06 524621 /usr/lib/libXrender.so.1.3.0 b5c44000-b5c45000 rw-p 00006000 08:06 524621 /usr/lib/libXrender.so.1.3.0 b5c45000-b5c53000 r-xp 00000000 08:06 524738 /usr/lib/libdirect-0.9.so.25.0.0 b5c53000-b5c54000 rw-p 0000e000 08:06 524738 /usr/lib/libdirect-0.9.so.25.0.0 b5c54000-b5c59000 r-xp 00000000 08:06 524804 /usr/lib/libfusion-0.9.so.25.0.0 b5c59000-b5c5a000 rw-p 00004000 08:06 524804 /usr/lib/libfusion-0.9.so.25.0.0 b5c5a000-b5caf000 r-xp 00000000 08:06 524740 /usr/lib/libdirectfb-0.9.so.25.0.0 b5caf000-b5cb1000 rw-p 00055000 08:06 524740 /usr/lib/libdirectfb-0.9.so.25.0.0 b5cb1000-b5dc9000 r-xp 00000000 08:06 525356 /usr/lib/libxml2.so.2.6.30 b5dc9000-b5dce000 rw-p 00118000 08:06 525356 /usr/lib/libxml2.so.2.6.30 b5dce000-b5dcf000 rw-p b5dce000 00:00 0 b5dcf000-b5dde000 r-xp 00000000 08:06 2420135 /lib/libbz2.so.1.0.4 b5dde000-b5ddf000 rw-p 0000f000 08:06 2420135 /lib/libbz2.so.1.0.4 b5ddf000-b5e2c000 r-xp 00000000 08:06 524625 /usr/lib/libXt.so.6.0.0 b5e2c000-b5e30000 rw-p 0004c000 08:06 524625 /usr/lib/libXt.so.6.0.0 b5e30000-b5e52000 r-xp 00000000 08:06 525954 /usr/lib/libpng12.so.0.15.0 b5e52000-b5e53000 rw-p 00021000 08:06 525954 /usr/lib/libpng12.so.0.15.0 b5e53000-b5e97000 r-xp 00000000 08:06 525070 /usr/lib/libjasper.so.1.0.0 b5e97000-b5e9a000 rw-p 00044000 08:06 525070 /usr/lib/libjasper.so.1.0.0 b5e9a000-b5ea0000 rw-p b5e9a000 00:00 0 b5ea0000-b5ecd000 r-xp 00000000 08:06 525088 /usr/lib/liblcms.so.1.0.16 b5ecd000-b5ecf000 rw-p 0002c000 08:06 525088 /usr/lib/liblcms.so.1.0.16 b5ecf000-b5ed1000 rw-p b5ecf000 00:00 0 b5ed1000-b5f0b000 r-xp 00000000 08:06 524576 /usr/lib/libWand.so.9.0.0 b5f0b000-b5f0c000 rw-p 00039000 08:06 524576 /usr/lib/libWand.so.9.0.0 b5f0c000-b5f20000 r-xp 00000000 08:06 2452847 /lib/tls/i686/cmov/libnsl-2.6.1.so b5f20000-b5f22000 rw-p 00013000 08:06 2452847 /lib/tls/i686/cmov/libnsl-2.6.1.so b5f22000-b5f24000 rw-p b5f22000 00:00 0 b5f24000-b5f4c000 r-xp 00000000 08:06 526949 /usr/lib/libaviplaydha-0.7.so.0.0.47 b5f4c000-b5f59000 rw-p 00027000 08:06 526949 /usr/lib/libaviplaydha-0.7.so.0.0.47 b5f59000-b5f5c000 r-xp 00000000 08:06 526950 /usr/lib/libaviplayvidix-0.7.so.0.0.47 b5f5c000-b5f5d000 rw-p 00002000 08:06 526950 /usr/lib/libaviplayvidix-0.7.so.0.0.47 b5f5d000-b5f5e000 rw-p b5f5d000 00:00 0 b5f5e000-b5f81000 r-xp 00000000 08:06 524792 /usr/lib/libfontconfig.so.1.2.0 b5f81000-b5f89000 rw-p 00023000 08:06 524792 /usr/lib/libfontconfig.so.1.2.0 b5f89000-b5f9a000 r-xp 00000000 08:06 524605 /usr/lib/libXft.so.2.1.2 b5f9a000-b5f9b000 rw-p 00010000 08:06 524605 /usr/lib/libXft.so.2.1.2 b5f9b000-b5fa2000 r-xp 00000000 08:06 524607 /usr/lib/libXi.so.6.0.0 b5fa2000-b5fa3000 rw-p 00006000 08:06 524607 /usr/lib/libXi.so.6.0.0 b5fa3000-b5fa5000 r-xp 00000000 08:06 524609 /usr/lib/libXinerama.so.1.0.0 b5fa5000-b5fa6000 rw-p 00001000 08:06 524609 /usr/lib/libXinerama.so.1.0.0 b5fa6000-b5fbb000 r-xp 00000000 08:06 524556 /usr/lib/libICE.so.6.3.0 b5fbb000-b5fbd000 rw-p 00014000 08:06 524556 /usr/lib/libICE.so.6.3.0 b5fbd000-b5fbe000 rw-p b5fbd000 00:00 0 b5fbe000-b5fc5000 r-xp 00000000 08:06 524574 /usr/lib/libSM.so.6.0.0 b5fc5000-b5fc6000 rw-p 00006000 08:06 524574 /usr/lib/libSM.so.6.0.0 b5fc6000-b602b000 r-xp 00000000 08:06 524572 /usr/lib/libSDL-1.2.so.0.11.0 b602b000-b602d000 rw-p 00065000 08:06 524572 /usr/lib/libSDL-1.2.so.0.11.0 b602d000-b6055000 rw-p b602d000 00:00 0 b6055000-b605d000 r-xp 00000000 08:06 526944 /usr/lib/libaviplayavutil-0.7.so.0.0.47 b605d000-b605e000 rw-p 00007000 08:06 526944 /usr/lib/libaviplayavutil-0.7.so.0.0.47 b605e000-b6060000 rw-p b605e000 00:00 0 b6060000-b6078000 r-xp 00000000 08:06 526948 /usr/lib/libaviplayswscale-0.7.so.0.0.47 b6078000-b6079000 rw-p 00018000 08:06 526948 /usr/lib/libaviplayswscale-0.7.so.0.0.47 b6079000-b6368000 r-xp 00000000 08:06 526946 /usr/lib/libaviplayavcodec-0.7.so.0.0.47 b6368000-b6376000 rw-p 002ef000 08:06 526946 /usr/lib/libaviplayavcodec-0.7.so.0.0.47 b6376000-b6469000 rw-p b6376000 00:00 0 b6469000-b64d9000 r-xp 00000000 08:06 526945 /usr/lib/libaviplayavformat-0.7.so.0.0.47 b64d9000-b64e0000 rw-p 0006f000 08:06 526945 /usr/lib/libaviplayavformat-0.7.so.0.0.47 b64e0000-b64e4000 r-xp 00000000 08:06 524595 /usr/lib/libXdmcp.so.6.0.0 b64e4000-b64e5000 rw-p 00003000 08:06 524595 /usr/lib/libXdmcp.so.6.0.0 b64e5000-b64e7000 r-xp 00000000 08:06 524584 /usr/lib/libXau.so.6.0.0 b64e7000-b64e8000 rw-p 00001000 08:06 524584 /usr/lib/libXau.so.6.0.0 b64e8000-b64f1000 r-xp 00000000 08:06 524729 /usr/lib/liba52-0.7.4.so b64f1000-b64f2000 rw-p 00008000 08:06 524729 /usr/lib/liba52-0.7.4.so b64f2000-b64f3000 rw-p b64f2000 00:00 0 b64f3000-b64f4000 r-xp 00000000 08:06 673839 /usr/lib/tls/libnvidia-tls.so.100.14.19 b64f4000-b64f5000 rw-p 00000000 08:06 673839 /usr/lib/tls/libnvidia-tls.so.100.14.19 b64f5000-b6e51000 r-xp 00000000 08:06 526446 /usr/lib/libGLcore.so.100.14.19 b6e51000-b6e89000 rwxp 0095c000 08:06 526446 /usr/lib/libGLcore.so.100.14.19 b6e89000-b6e8d000 rwxp b6e89000 00:00 0 b6e8d000-b6e97000 r-xp 00000000 08:06 2420163 /lib/libgcc_s.so.1 b6e97000-b6e98000 rw-p 0000a000 08:06 2420163 /lib/libgcc_s.so.1 b6e98000-b6f80000 r-xp 00000000 08:06 525292 /usr/lib/libstdc++.so.6.0.9 b6f80000-b6f83000 r--p 000e8000 08:06 525292 /usr/lib/libstdc++.so.6.0.9 b6f83000-b6f85000 rw-p 000eb000 08:06 525292 /usr/lib/libstdc++.so.6.0.9 b6f85000-b6f8b000 rw-p b6f85000 00:00 0 b6f8b000-b7256000 r-xp 00000000 08:06 524562 /usr/lib/libMagick.so.9.0.0 b7256000-b7313000 rw-p 002ca000 08:06 524562 /usr/lib/libMagick.so.9.0.0 b7313000-b732d000 rw-p b7313000 00:00 0 b732d000-b73b5000 r-xp 00000000 08:06 532978 /usr/lib/libMagick++.so.9.0.0 b73b5000-b73b8000 rw-p 00088000 08:06 532978 /usr/lib/libMagick++.so.9.0.0 b73b8000-b7495000 r-xp 00000000 08:06 533022 /usr/lib/libquicktime.so.1.0.0 b7495000-b7498000 rw-p 000dd000 08:06 533022 /usr/lib/libquicktime.so.1.0.0 b7498000-b7499000 rw-p b7498000 00:00 0 b7499000-b7531000 r-xp 00000000 08:06 526951 /usr/lib/libaviplay-0.7.so.0.0.47 b7531000-b7535000 rw-p 00098000 08:06 526951 /usr/lib/libaviplay-0.7.so.0.0.47 b7535000-b7537000 rw-p b7535000 00:00 0 b7537000-b7624000 r-xp 00000000 08:06 524578 /usr/lib/libX11.so.6.2.0 b7624000-b7628000 rw-p 000ed000 08:06 524578 /usr/lib/libX11.so.6.2.0 b7628000-b7635000 r-xp 00000000 08:06 524599 /usr/lib/libXext.so.6.4.0 b7635000-b7636000 rw-p 0000d000 08:06 524599 /usr/lib/libXext.so.6.4.0 b7636000-b7688000 r-xp 00000000 08:06 525304 /usr/lib/libtiff.so.4.2.1 b7688000-b768a000 rw-p 00052000 08:06 525304 /usr/lib/libtiff.so.4.2.1 b768a000-b76a9000 r-xp 00000000 08:06 525072 /usr/lib/libjpeg.so.62.0.0 b76a9000-b76aa000 rw-p 0001e000 08:06 525072 /usr/lib/libjpeg.so.62.0.0 b76aa000-b76cc000 r-xp 00000000 08:06 533267 /usr/lib/libmpeg3.so.1.5.4 b76cc000-b76d1000 rw-p 00022000 08:06 533267 /usr/lib/libmpeg3.so.1.5.4 b76d1000-b76e4000 rw-p b76d1000 00:00 0 b76e4000-b76fa000 r-xp 00000000 08:06 533256 /usr/lib/libmpeg.so.1.3.1 b76fa000-b76fd000 rw-p 00016000 08:06 533256 /usr/lib/libmpeg.so.1.3.1 b76fd000-b77d1000 rw-p b76fd000 00:00 0 b77d1000-b77ea000 r-xp 00000000 08:06 524752 /usr/lib/libdv.so.4.0.3 b77ea000-b77ec000 rw-p 00019000 08:06 524752 /usr/lib/libdv.so.4.0.3 b77ec000-b77f8000 rw-p b77ec000 00:00 0 b77f8000-b780c000 r-xp 00000000 08:06 525362 /usr/lib/libz.so.1.2.3.3 b780c000-b780d000 rw-p 00013000 08:06 525362 /usr/lib/libz.so.1.2.3.3 b780d000-b7879000 r-xp 00000000 08:06 524800 /usr/lib/libfreetype.so.6.3.16 b7879000-b787d000 rw-p 0006b000 08:06 524800 /usr/lib/libfreetype.so.6.3.16 b787d000-b78f7000 r-xp 00000000 08:06 526424 /usr/lib/libGL.so.100.14.19 b78f7000-b7912000 rwxp 00079000 08:06 526424 /usr/lib/libGL.so.100.14.19 b7912000-b7913000 rwxp b7912000 00:00 0 b7913000-b7995000 r-xp 00000000 08:06 524551 /usr/lib/libGLU.so.1.3.070001 b7995000-b7996000 rw-p 00081000 08:06 524551 /usr/lib/libGLU.so.1.3.070001 b7996000-b7ca2000 r-xp 00000000 08:07 685723 /home/jerome/puredata/00_Externals/Bin/Gem.pd_linux b7ca2000-b7cb4000 rw-p 0030c000 08:07 685723 /home/jerome/puredata/00_Externals/Bin/Gem.pd_linux b7cb4000-b7cb7000 rw-p b7cb4000 00:00 0 b7cb7000-b7dfb000 r-xp 00000000 08:06 2452841 /lib/tls/i686/cmov/libc-2.6.1.so b7dfb000-b7dfc000 r--p 00143000 08:06 2452841 /lib/tls/i686/cmov/libc-2.6.1.so b7dfc000-b7dfe000 rw-p 00144000 08:06 2452841 /lib/tls/i686/cmov/libc-2.6.1.so b7dfe000-b7e01000 rw-p b7dfe000 00:00 0 b7e01000-b7e15000 r-xp 00000000 08:06 2452855 /lib/tls/i686/cmov/libpthread-2.6.1.so b7e15000-b7e17000 rw-p 00013000 08:06 2452855 /lib/tls/i686/cmov/libpthread-2.6.1.so b7e17000-b7e19000 rw-p b7e17000 00:00 0 b7e19000-b7e3c000 r-xp 00000000 08:06 2452845 /lib/tls/i686/cmov/libm-2.6.1.so b7e3c000-b7e3e000 rw-p 00023000 08:06 2452845 /lib/tls/i686/cmov/libm-2.6.1.so b7e3e000-b7e40000 r-xp 00000000 08:06 2452844 /lib/tls/i686/cmov/libdl-2.6.1.so b7e40000-b7e42000 rw-p 00001000 08:06 2452844 /lib/tls/i686/cmov/libdl-2.6.1.so b7e42000-b7e51000 r-xp 00000000 08:06 532869 /usr/lib/libjack.so.0.0.23 b7e51000-b7e53000 rw-p 0000e000 08:06 532869 /usr/lib/libjack.so.0.0.23 b7e53000-b7e5c000 rw-p b7e53000 00:00 0 b7e5c000-b7e63000 r-xp 00000000 08:06 2452857 /lib/tls/i686/cmov/librt-2.6.1.so b7e63000-b7e65000 rw-p 00006000 08:06 2452857 /lib/tls/i686/cmov/librt-2.6.1.so b7e65000-b7f26000 r-xp 00000000 08:06 524651 /usr/lib/libasound.so.2.0.0 b7f26000-b7f2b000 rw-p 000c0000 08:06 524651 /usr/lib/libasound.so.2.0.0 b7f36000-b7f37000 rw-s 81000000 00:0d 15497 /dev/snd/pcmC0D0p b7f37000-b7f38000 r--s 80000000 00:0d 15497 /dev/snd/pcmC0D0p b7f38000-b7f39000 rw-s 81000000 00:0d 15504 /dev/snd/pcmC0D0c b7f39000-b7f3a000 r--s 80000000 00:0d 15504 /dev/snd/pcmC0D0c b7f3a000-b7f3c000 rwxp 00000000 00:0d 2865 /dev/zero b7f3c000-b7f3e000 rw-p b7f3c000 00:00 0 b7f3e000-b7f58000 r-xp 00000000 08:06 2420292 /lib/ld-2.6.1.so b7f58000-b7f5a000 rw-p 00019000 08:06 2420292 /lib/ld-2.6.1.so bff13000-bff28000 rwxp bff13000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Pd: signal 6 pd_gui: pd process exited
hi jerome,
you can try my videos: http://www.workinprogress.ca/pd/gem/
but the xvid are not working (it's loading but the cpu don't like it). i sent an email on gem-dev asking if someone could take a look. also, know that transcode version on gutsy is too old, you need to compile it from source. as an alternation, ffmpeg, mencoder are good too.
just to be sure it's not just on my box, anyone can test XVID with gem. what's you cpu usage compare to mplayer, ffplay, aviplay?
patrick
----- Original Message ----- From: "Jerome Tuncer" columbiatwo@free.fr To: pd-list@iem.at Sent: Saturday, December 08, 2007 5:29 AM Subject: [PD] Gem CVS + pd-0.41-0test9 + Ubuntu Gutsy : Not reading videofiles
Hi list,
This is one of the first time I attempt to read video in Gem. I must have done bad things in my life before : nothing works...
I have dv exports from a camera : when I try to read them as they are, pd just crashes (terminal output at the end of mail).
So I tried to re-encode them but I seem to get the same error with every codec that doesn't crash Gem immediately :
mpeg3video_seek: frame accurate seeking without a table of contents is no longer supported. Use mpeg3toc <mpeg file> <table of contents> to generate a table of contents and load the table of contents instead.
Then Gem kind of reads the video (sometimes faster, sometimes normal) but when I load a second one, it usually freezes the whole pd process...
By the way : transcode doesn't seem to be very stable in Ubuntu (many segfaults).
Someone has a tip, a failsafe solution ? I just want to read those video files... (:
Thanks in advance folks.
++
Jé
BACKTRACE FOLLOWS ___________________________
jerome@goeland:~$ puredata/pd/bin/pd <init> : Avifile RELEASE-0.7.47-070916-12:47-4.1.3 <init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf <init> : 2001.00 MHz Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz processor detected <reader> : Checking: /home/jerome/Bureau/LesFilles/Videofiles/LargeClip.dv <ASF reader> : Could not find ASF header chunk in file <ASX reader> : Not a redirector! <ASF network reader> : Not an URL <FF reader> : Format DV video format streams:3 <FF reader> : S: 0 id:19 bitrate:28800000 (4000000) samprate:0 chn:0 framerate:1/25 wxh 720x576 59/54 <FF stream> : Starttime: 0 Duration: 469880000 <FF reader> : S: 1 id:10000 bitrate:1024000 (4000000) samprate:32000 chn:2 framerate:0/1 wxh 0x0 0/1 <FF stream> : Starttime: 0 Duration: 469880000 <FF reader> : S: 2 id:10000 bitrate:1024000 (4000000) samprate:32000 chn:2 framerate:0/1 wxh 0x0 0/1 <FF stream> : Starttime: 0 Duration: 469880000 <reader> : Initialized video stream (chunk tblsz: 0, fmtsz: 40) <LDT keeper> : Installed fs segment: 0xb5a6c000 <codec keeper> : Found 9 plugins (/usr/lib/avifile-0.7,A:40,V:90) <FFMPEG video decoder> : looking dvvideo <codec keeper> : Created video decoder: FF DV Video <FF stream> : Codeg tag format SEEKPOS 0 *** glibc detected *** puredata/pd/bin/pd: munmap_chunk(): invalid pointer: 0x082b5dfc *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7d2492b] /usr/lib/libaviplay-0.7.so.0(_ZN3avm12StreamPacketD1Ev+0x29)[0xb74efb49] ======= Memory map: ======== 08048000-0811d000 r-xp 00000000 08:07 754557 /home/jerome/puredata/pd-0.41-0test09/bin/pd 0811d000-0811f000 rw-p 000d5000 08:07 754557 /home/jerome/puredata/pd-0.41-0test09/bin/pd 0811f000-0830e000 rw-p 0811f000 00:00 0 [heap] b5262000-b5263000 ---p b5262000 00:00 0 b5263000-b5a63000 rwxp b5263000 00:00 0 b5a63000-b5a6b000 r-xp 00000000 08:06 1080904 /usr/lib/avifile-0.7/ffmpeg.so b5a6b000-b5a6c000 rw-p 00008000 08:06 1080904 /usr/lib/avifile-0.7/ffmpeg.so b5a6c000-b5a6d000 rw-p 00000000 00:0d 2865 /dev/zero b5a6d000-b5ad8000 rw-p b5a6d000 00:00 0 b5ad8000-b5b01000 r-xp 00000000 08:07 768189 /home/jerome/puredata/00_Externals/Bin/iemmatrix.pd_linux b5b01000-b5b02000 rw-p 00028000 08:07 768189 /home/jerome/puredata/00_Externals/Bin/iemmatrix.pd_linux b5b02000-b5b22000 r-xp 00000000 08:07 768187 /home/jerome/puredata/00_Externals/Bin/iemlib2.pd_linux b5b22000-b5b23000 rw-p 0001f000 08:07 768187 /home/jerome/puredata/00_Externals/Bin/iemlib2.pd_linux b5b23000-b5b34000 r-xp 00000000 08:07 768185 /home/jerome/puredata/00_Externals/Bin/iemlib1.pd_linux b5b34000-b5b35000 rw-p 00010000 08:07 768185 /home/jerome/puredata/00_Externals/Bin/iemlib1.pd_linux b5b35000-b5b5a000 r-xp 00000000 08:07 768004 /home/jerome/puredata/00_Externals/Bin/zexy.pd_linux b5b5a000-b5b5b000 rw-p 00024000 08:07 768004 /home/jerome/puredata/00_Externals/Bin/zexy.pd_linux b5b5b000-b5b96000 r-xp 00000000 08:07 768005 /home/jerome/puredata/00_Externals/Bin/maxlib.pd_linux b5b96000-b5b98000 rw-p 0003a000 08:07 768005 /home/jerome/puredata/00_Externals/Bin/maxlib.pd_linux b5b98000-b5c1d000 rw-p b5b98000 00:00 0 b5c1d000-b5c3b000 r-xp 00000000 08:06 524786 /usr/lib/libexpat.so.1.0.0 b5c3b000-b5c3d000 rw-p 0001e000 08:06 524786 /usr/lib/libexpat.so.1.0.0 b5c3d000-b5c44000 r-xp 00000000 08:06 524621 /usr/lib/libXrender.so.1.3.0 b5c44000-b5c45000 rw-p 00006000 08:06 524621 /usr/lib/libXrender.so.1.3.0 b5c45000-b5c53000 r-xp 00000000 08:06 524738 /usr/lib/libdirect-0.9.so.25.0.0 b5c53000-b5c54000 rw-p 0000e000 08:06 524738 /usr/lib/libdirect-0.9.so.25.0.0 b5c54000-b5c59000 r-xp 00000000 08:06 524804 /usr/lib/libfusion-0.9.so.25.0.0 b5c59000-b5c5a000 rw-p 00004000 08:06 524804 /usr/lib/libfusion-0.9.so.25.0.0 b5c5a000-b5caf000 r-xp 00000000 08:06 524740 /usr/lib/libdirectfb-0.9.so.25.0.0 b5caf000-b5cb1000 rw-p 00055000 08:06 524740 /usr/lib/libdirectfb-0.9.so.25.0.0 b5cb1000-b5dc9000 r-xp 00000000 08:06 525356 /usr/lib/libxml2.so.2.6.30 b5dc9000-b5dce000 rw-p 00118000 08:06 525356 /usr/lib/libxml2.so.2.6.30 b5dce000-b5dcf000 rw-p b5dce000 00:00 0 b5dcf000-b5dde000 r-xp 00000000 08:06 2420135 /lib/libbz2.so.1.0.4 b5dde000-b5ddf000 rw-p 0000f000 08:06 2420135 /lib/libbz2.so.1.0.4 b5ddf000-b5e2c000 r-xp 00000000 08:06 524625 /usr/lib/libXt.so.6.0.0 b5e2c000-b5e30000 rw-p 0004c000 08:06 524625 /usr/lib/libXt.so.6.0.0 b5e30000-b5e52000 r-xp 00000000 08:06 525954 /usr/lib/libpng12.so.0.15.0 b5e52000-b5e53000 rw-p 00021000 08:06 525954 /usr/lib/libpng12.so.0.15.0 b5e53000-b5e97000 r-xp 00000000 08:06 525070 /usr/lib/libjasper.so.1.0.0 b5e97000-b5e9a000 rw-p 00044000 08:06 525070 /usr/lib/libjasper.so.1.0.0 b5e9a000-b5ea0000 rw-p b5e9a000 00:00 0 b5ea0000-b5ecd000 r-xp 00000000 08:06 525088 /usr/lib/liblcms.so.1.0.16 b5ecd000-b5ecf000 rw-p 0002c000 08:06 525088 /usr/lib/liblcms.so.1.0.16 b5ecf000-b5ed1000 rw-p b5ecf000 00:00 0 b5ed1000-b5f0b000 r-xp 00000000 08:06 524576 /usr/lib/libWand.so.9.0.0 b5f0b000-b5f0c000 rw-p 00039000 08:06 524576 /usr/lib/libWand.so.9.0.0 b5f0c000-b5f20000 r-xp 00000000 08:06 2452847 /lib/tls/i686/cmov/libnsl-2.6.1.so b5f20000-b5f22000 rw-p 00013000 08:06 2452847 /lib/tls/i686/cmov/libnsl-2.6.1.so b5f22000-b5f24000 rw-p b5f22000 00:00 0 b5f24000-b5f4c000 r-xp 00000000 08:06 526949 /usr/lib/libaviplaydha-0.7.so.0.0.47 b5f4c000-b5f59000 rw-p 00027000 08:06 526949 /usr/lib/libaviplaydha-0.7.so.0.0.47 b5f59000-b5f5c000 r-xp 00000000 08:06 526950 /usr/lib/libaviplayvidix-0.7.so.0.0.47 b5f5c000-b5f5d000 rw-p 00002000 08:06 526950 /usr/lib/libaviplayvidix-0.7.so.0.0.47 b5f5d000-b5f5e000 rw-p b5f5d000 00:00 0 b5f5e000-b5f81000 r-xp 00000000 08:06 524792 /usr/lib/libfontconfig.so.1.2.0 b5f81000-b5f89000 rw-p 00023000 08:06 524792 /usr/lib/libfontconfig.so.1.2.0 b5f89000-b5f9a000 r-xp 00000000 08:06 524605 /usr/lib/libXft.so.2.1.2 b5f9a000-b5f9b000 rw-p 00010000 08:06 524605 /usr/lib/libXft.so.2.1.2 b5f9b000-b5fa2000 r-xp 00000000 08:06 524607 /usr/lib/libXi.so.6.0.0 b5fa2000-b5fa3000 rw-p 00006000 08:06 524607 /usr/lib/libXi.so.6.0.0 b5fa3000-b5fa5000 r-xp 00000000 08:06 524609 /usr/lib/libXinerama.so.1.0.0 b5fa5000-b5fa6000 rw-p 00001000 08:06 524609 /usr/lib/libXinerama.so.1.0.0 b5fa6000-b5fbb000 r-xp 00000000 08:06 524556 /usr/lib/libICE.so.6.3.0 b5fbb000-b5fbd000 rw-p 00014000 08:06 524556 /usr/lib/libICE.so.6.3.0 b5fbd000-b5fbe000 rw-p b5fbd000 00:00 0 b5fbe000-b5fc5000 r-xp 00000000 08:06 524574 /usr/lib/libSM.so.6.0.0 b5fc5000-b5fc6000 rw-p 00006000 08:06 524574 /usr/lib/libSM.so.6.0.0 b5fc6000-b602b000 r-xp 00000000 08:06 524572 /usr/lib/libSDL-1.2.so.0.11.0 b602b000-b602d000 rw-p 00065000 08:06 524572 /usr/lib/libSDL-1.2.so.0.11.0 b602d000-b6055000 rw-p b602d000 00:00 0 b6055000-b605d000 r-xp 00000000 08:06 526944 /usr/lib/libaviplayavutil-0.7.so.0.0.47 b605d000-b605e000 rw-p 00007000 08:06 526944 /usr/lib/libaviplayavutil-0.7.so.0.0.47 b605e000-b6060000 rw-p b605e000 00:00 0 b6060000-b6078000 r-xp 00000000 08:06 526948 /usr/lib/libaviplayswscale-0.7.so.0.0.47 b6078000-b6079000 rw-p 00018000 08:06 526948 /usr/lib/libaviplayswscale-0.7.so.0.0.47 b6079000-b6368000 r-xp 00000000 08:06 526946 /usr/lib/libaviplayavcodec-0.7.so.0.0.47 b6368000-b6376000 rw-p 002ef000 08:06 526946 /usr/lib/libaviplayavcodec-0.7.so.0.0.47 b6376000-b6469000 rw-p b6376000 00:00 0 b6469000-b64d9000 r-xp 00000000 08:06 526945 /usr/lib/libaviplayavformat-0.7.so.0.0.47 b64d9000-b64e0000 rw-p 0006f000 08:06 526945 /usr/lib/libaviplayavformat-0.7.so.0.0.47 b64e0000-b64e4000 r-xp 00000000 08:06 524595 /usr/lib/libXdmcp.so.6.0.0 b64e4000-b64e5000 rw-p 00003000 08:06 524595 /usr/lib/libXdmcp.so.6.0.0 b64e5000-b64e7000 r-xp 00000000 08:06 524584 /usr/lib/libXau.so.6.0.0 b64e7000-b64e8000 rw-p 00001000 08:06 524584 /usr/lib/libXau.so.6.0.0 b64e8000-b64f1000 r-xp 00000000 08:06 524729 /usr/lib/liba52-0.7.4.so b64f1000-b64f2000 rw-p 00008000 08:06 524729 /usr/lib/liba52-0.7.4.so b64f2000-b64f3000 rw-p b64f2000 00:00 0 b64f3000-b64f4000 r-xp 00000000 08:06 673839 /usr/lib/tls/libnvidia-tls.so.100.14.19 b64f4000-b64f5000 rw-p 00000000 08:06 673839 /usr/lib/tls/libnvidia-tls.so.100.14.19 b64f5000-b6e51000 r-xp 00000000 08:06 526446 /usr/lib/libGLcore.so.100.14.19 b6e51000-b6e89000 rwxp 0095c000 08:06 526446 /usr/lib/libGLcore.so.100.14.19 b6e89000-b6e8d000 rwxp b6e89000 00:00 0 b6e8d000-b6e97000 r-xp 00000000 08:06 2420163 /lib/libgcc_s.so.1 b6e97000-b6e98000 rw-p 0000a000 08:06 2420163 /lib/libgcc_s.so.1 b6e98000-b6f80000 r-xp 00000000 08:06 525292 /usr/lib/libstdc++.so.6.0.9 b6f80000-b6f83000 r--p 000e8000 08:06 525292 /usr/lib/libstdc++.so.6.0.9 b6f83000-b6f85000 rw-p 000eb000 08:06 525292 /usr/lib/libstdc++.so.6.0.9 b6f85000-b6f8b000 rw-p b6f85000 00:00 0 b6f8b000-b7256000 r-xp 00000000 08:06 524562 /usr/lib/libMagick.so.9.0.0 b7256000-b7313000 rw-p 002ca000 08:06 524562 /usr/lib/libMagick.so.9.0.0 b7313000-b732d000 rw-p b7313000 00:00 0 b732d000-b73b5000 r-xp 00000000 08:06 532978 /usr/lib/libMagick++.so.9.0.0 b73b5000-b73b8000 rw-p 00088000 08:06 532978 /usr/lib/libMagick++.so.9.0.0 b73b8000-b7495000 r-xp 00000000 08:06 533022 /usr/lib/libquicktime.so.1.0.0 b7495000-b7498000 rw-p 000dd000 08:06 533022 /usr/lib/libquicktime.so.1.0.0 b7498000-b7499000 rw-p b7498000 00:00 0 b7499000-b7531000 r-xp 00000000 08:06 526951 /usr/lib/libaviplay-0.7.so.0.0.47 b7531000-b7535000 rw-p 00098000 08:06 526951 /usr/lib/libaviplay-0.7.so.0.0.47 b7535000-b7537000 rw-p b7535000 00:00 0 b7537000-b7624000 r-xp 00000000 08:06 524578 /usr/lib/libX11.so.6.2.0 b7624000-b7628000 rw-p 000ed000 08:06 524578 /usr/lib/libX11.so.6.2.0 b7628000-b7635000 r-xp 00000000 08:06 524599 /usr/lib/libXext.so.6.4.0 b7635000-b7636000 rw-p 0000d000 08:06 524599 /usr/lib/libXext.so.6.4.0 b7636000-b7688000 r-xp 00000000 08:06 525304 /usr/lib/libtiff.so.4.2.1 b7688000-b768a000 rw-p 00052000 08:06 525304 /usr/lib/libtiff.so.4.2.1 b768a000-b76a9000 r-xp 00000000 08:06 525072 /usr/lib/libjpeg.so.62.0.0 b76a9000-b76aa000 rw-p 0001e000 08:06 525072 /usr/lib/libjpeg.so.62.0.0 b76aa000-b76cc000 r-xp 00000000 08:06 533267 /usr/lib/libmpeg3.so.1.5.4 b76cc000-b76d1000 rw-p 00022000 08:06 533267 /usr/lib/libmpeg3.so.1.5.4 b76d1000-b76e4000 rw-p b76d1000 00:00 0 b76e4000-b76fa000 r-xp 00000000 08:06 533256 /usr/lib/libmpeg.so.1.3.1 b76fa000-b76fd000 rw-p 00016000 08:06 533256 /usr/lib/libmpeg.so.1.3.1 b76fd000-b77d1000 rw-p b76fd000 00:00 0 b77d1000-b77ea000 r-xp 00000000 08:06 524752 /usr/lib/libdv.so.4.0.3 b77ea000-b77ec000 rw-p 00019000 08:06 524752 /usr/lib/libdv.so.4.0.3 b77ec000-b77f8000 rw-p b77ec000 00:00 0 b77f8000-b780c000 r-xp 00000000 08:06 525362 /usr/lib/libz.so.1.2.3.3 b780c000-b780d000 rw-p 00013000 08:06 525362 /usr/lib/libz.so.1.2.3.3 b780d000-b7879000 r-xp 00000000 08:06 524800 /usr/lib/libfreetype.so.6.3.16 b7879000-b787d000 rw-p 0006b000 08:06 524800 /usr/lib/libfreetype.so.6.3.16 b787d000-b78f7000 r-xp 00000000 08:06 526424 /usr/lib/libGL.so.100.14.19 b78f7000-b7912000 rwxp 00079000 08:06 526424 /usr/lib/libGL.so.100.14.19 b7912000-b7913000 rwxp b7912000 00:00 0 b7913000-b7995000 r-xp 00000000 08:06 524551 /usr/lib/libGLU.so.1.3.070001 b7995000-b7996000 rw-p 00081000 08:06 524551 /usr/lib/libGLU.so.1.3.070001 b7996000-b7ca2000 r-xp 00000000 08:07 685723 /home/jerome/puredata/00_Externals/Bin/Gem.pd_linux b7ca2000-b7cb4000 rw-p 0030c000 08:07 685723 /home/jerome/puredata/00_Externals/Bin/Gem.pd_linux b7cb4000-b7cb7000 rw-p b7cb4000 00:00 0 b7cb7000-b7dfb000 r-xp 00000000 08:06 2452841 /lib/tls/i686/cmov/libc-2.6.1.so b7dfb000-b7dfc000 r--p 00143000 08:06 2452841 /lib/tls/i686/cmov/libc-2.6.1.so b7dfc000-b7dfe000 rw-p 00144000 08:06 2452841 /lib/tls/i686/cmov/libc-2.6.1.so b7dfe000-b7e01000 rw-p b7dfe000 00:00 0 b7e01000-b7e15000 r-xp 00000000 08:06 2452855 /lib/tls/i686/cmov/libpthread-2.6.1.so b7e15000-b7e17000 rw-p 00013000 08:06 2452855 /lib/tls/i686/cmov/libpthread-2.6.1.so b7e17000-b7e19000 rw-p b7e17000 00:00 0 b7e19000-b7e3c000 r-xp 00000000 08:06 2452845 /lib/tls/i686/cmov/libm-2.6.1.so b7e3c000-b7e3e000 rw-p 00023000 08:06 2452845 /lib/tls/i686/cmov/libm-2.6.1.so b7e3e000-b7e40000 r-xp 00000000 08:06 2452844 /lib/tls/i686/cmov/libdl-2.6.1.so b7e40000-b7e42000 rw-p 00001000 08:06 2452844 /lib/tls/i686/cmov/libdl-2.6.1.so b7e42000-b7e51000 r-xp 00000000 08:06 532869 /usr/lib/libjack.so.0.0.23 b7e51000-b7e53000 rw-p 0000e000 08:06 532869 /usr/lib/libjack.so.0.0.23 b7e53000-b7e5c000 rw-p b7e53000 00:00 0 b7e5c000-b7e63000 r-xp 00000000 08:06 2452857 /lib/tls/i686/cmov/librt-2.6.1.so b7e63000-b7e65000 rw-p 00006000 08:06 2452857 /lib/tls/i686/cmov/librt-2.6.1.so b7e65000-b7f26000 r-xp 00000000 08:06 524651 /usr/lib/libasound.so.2.0.0 b7f26000-b7f2b000 rw-p 000c0000 08:06 524651 /usr/lib/libasound.so.2.0.0 b7f36000-b7f37000 rw-s 81000000 00:0d 15497 /dev/snd/pcmC0D0p b7f37000-b7f38000 r--s 80000000 00:0d 15497 /dev/snd/pcmC0D0p b7f38000-b7f39000 rw-s 81000000 00:0d 15504 /dev/snd/pcmC0D0c b7f39000-b7f3a000 r--s 80000000 00:0d 15504 /dev/snd/pcmC0D0c b7f3a000-b7f3c000 rwxp 00000000 00:0d 2865 /dev/zero b7f3c000-b7f3e000 rw-p b7f3c000 00:00 0 b7f3e000-b7f58000 r-xp 00000000 08:06 2420292 /lib/ld-2.6.1.so b7f58000-b7f5a000 rw-p 00019000 08:06 2420292 /lib/ld-2.6.1.so bff13000-bff28000 rwxp bff13000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Pd: signal 6 pd_gui: pd process exited
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Sat, 2007-12-08 at 11:20 -0500, patrick wrote:
hi jerome,
you can try my videos: http://www.workinprogress.ca/pd/gem/
but the xvid are not working (it's loading but the cpu don't like it). i sent an email on gem-dev asking if someone could take a look. also, know that transcode version on gutsy is too old, you need to compile it from source. as an alternation, ffmpeg, mencoder are good too.
just to be sure it's not just on my box, anyone can test XVID with gem. what's you cpu usage compare to mplayer, ffplay, aviplay?
patrick
both of them don't play in gem. i can load them, but they play very slow and a major part of the image is just coloured garbage.
i am not sure, if i understand why you want to get xvid working with gem. if you are interested in lowest possible cpu consumption, i wouldn't expect xvid to give the best results, since it is optimized to give very high compression and not to consume as little cpu as possible. you said in another post, that you used a flag '-intra' wich turns every frame into a keyframe. xvid is a codec, that is able to produce mpeg4/ASP compliant video files. it is the nature of divx (and all mpeg4/ASP codecs) to use interframe compression, which means: only update parts of the image, that have changed. i don't quite see the point of using xvid, when forcing intraframe compression (every frame compressed seperately, without depending on previous [or even coming, as used in some advanced codecs] frames).
i haven't tested extensively myself, but there are some codecs around, that do intraframe compression natively: dv/photo-jpeg/mjpeg/jpeg. don't ask me about the details and differences between these codecs, but they have in common, that they are designed to access arbitrary frames randomly. some of them are probably optimized for good image quality (dv), others probably for low cpu-consumption. if cpu load is the main factor you are interested to optimize, try on of these, i'd suggest.
probably some people with better knowledge (devs?) can shed light on this, but i suspect, that the decoding might not be the major reason, why gem uses so high cpu load, when displaying a video, but probably the transport of the data. aaik, mplayer is highly optimized in that respect, so if using a fast output as -vo xv, almost all cpu cycles are used for decompression, neither for displaying nor for transport. -vo gl eats 60% (50% @ 600MHz) more cpu than -vo xv (31% @ 600MHz). so displaying through opengl (what gem does as well) seems to add some overhead.
roman
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
hi
i am not sure, if i understand why you want to get xvid working with gem. if you are interested in lowest possible cpu consumption, i wouldn't expect xvid to give the best results, since it is optimized to give very high compression and not to consume as little cpu as possible.
after testing many codec on linux, XVID is the best codec for filesize and cpu. both. playing a dv, jpeg quicktime or mjpeg avi are +- 35% of my cpu (640x480 / 30 fps). XVID will take only 7% of my cpu and the filesize is reduced by half. by forcing keyframe every frame i can (in theory) use it like jpeg, mjpep (skip, scratch etc...).
probably some people with better knowledge (devs?) can shed light on this, but i suspect, that the decoding might not be the major reason, why gem uses so high cpu load, when displaying a video, but probably the transport of the data. aaik, mplayer is highly optimized in that respect, so if using a fast output as -vo xv, almost all cpu cycles are used for decompression, neither for displaying nor for transport. -vo gl eats 60% (50% @ 600MHz) more cpu than -vo xv (31% @ 600MHz). so displaying through opengl (what gem does as well) seems to add some overhead.
right! decoding a quicktime jpeg in gem or in mplayer -vo gl is the same cpu consumption. but there's a problem with xvid decoding mechanism.
i filled a bug report in sourceforge. pat
Hrm. Thats pretty interesting - and I honestly would not have
suspected this to be the case - in my tests on OS X, mjpeg has
consistently been the winner. My understanding reflects romans earlier
posts to a t.
Can you put/host the videos anywhere? How were you compressing the
Quicktime files and the XVIDs?
On Dec 8, 2007, at 7:16 PM, patrick wrote:
after testing many codec on linux, XVID is the best codec for filesize and cpu. both. playing a dv, jpeg quicktime or mjpeg avi are +- 35% of my cpu (640x480 / 30 fps). XVID will take only 7% of my cpu and the filesize is reduced by half. by forcing keyframe every frame i can (in theory) use it like jpeg, mjpep (skip, scratch etc...).
hi vade,
on linux using transcode, but sometimes ffmpeg or mencoder.
quicktime - jpeg (4.0M) http://www.workinprogress.ca/pd/gem/codec/out_jpeg.mov
gem 22% cpu - showing the video gem 17% cpu - just decoding the video mplayer xv 5% cpu mplayer gl 9% cpu
transcode -i dvd.vob -c 500-1000 -y mov,null -F jpeg,,jpeg_quality=70 -G 1.1 --pre_clip 6,18,6,18 -J denoise3d=2,pp=lb -Z 640x480 --zoom_filter Mitchell -o out_jpeg.mov
avi - mjpeg (4.1M) http://www.workinprogress.ca/pd/gem/codec/out_mjpeg.avi
gem 19% cpu - showing the video gem 14% cpu - just decoding the video mplayer xv 5% cpu mplayer gl 9% cpu transcode -i dvd.vob -c 500-1000 -y ffmpeg,null -F mjpeg -G 1.1 --pre_clip 6,18,6,18 -J denoise3d=2,pp=lb -Z 640x480 --zoom_filter Mitchell -o out_mjpeg.avi
avi - xvid (933K) http://www.workinprogress.ca/pd/gem/codec/out_xvid.avi
gem 90% cpu - just decoding the video mplayer xv 3% cpu mplayer gl 7% cpu transcode -i dvd.vob -c 500-1000 -y ffmpeg,null -F xvid -G 1.1 --pre_clip 6,18,6,18 -J denoise3d=2,pp=lb -Z 640x480 --zoom_filter Mitchell -o out_xvid.avi
ffmpeg / mpeg4 (977K) http://www.workinprogress.ca/pd/gem/codec/out_mpeg4.avi
gem 90% cpu - just decoding the video mplayer xv 3% cpu mplayer gl 7% cpu transcode -i dvd.vob -c 500-1000 -y ffmpeg,null -F mpeg4 -G 1.1 --pre_clip 6,18,6,18 -J denoise3d=2,pp=lb -Z 640x480 --zoom_filter Mitchell -o out_mpeg4.avi
i tested some mpeg2video, but since gem is crashing when loading the .toc file i cannot know if there's more consumption of cpu in gem vs mplayer / ffplay etc...
maybe there's another codec to try? patrick
On Sat, 2007-12-08 at 19:16 -0500, patrick wrote:
hi
i am not sure, if i understand why you want to get xvid working with gem. if you are interested in lowest possible cpu consumption, i wouldn't expect xvid to give the best results, since it is optimized to give very high compression and not to consume as little cpu as possible.
after testing many codec on linux, XVID is the best codec for filesize and cpu. both. playing a dv, jpeg quicktime or mjpeg avi are +- 35% of my cpu (640x480 / 30 fps). XVID will take only 7% of my cpu and the filesize is reduced by half. by forcing keyframe every frame i can (in theory) use it like jpeg, mjpep (skip, scratch etc...).
this is interesting. i get similar results here:
http://www.workinprogress.ca/pd/gem/xvid.avi -> mplayer uses approximately 4.3% cpu @ 1.7GHz
mov, mjpeg with 640x480 @ 30fps -> mplayer uses approximately 7.5% cpu @ 1.7GHz
your xvid with -intra is faster, which is interesting.
the question remains, how much of the processing power is used to decode the stream and how much is used for transport and displaying in gem.
since i cannot play your xvid.avi file, i cannot make the same comparison in gem.
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de