<div dir="ltr"><div><div><div><div><div><div><div>hello,<br><br></div>try mjpeg codecs<br><br></div>.mov or . avi container <br><br></div>it used to work, for me .<br><br></div><div>it is light on processor and intraframe codec<br></div>but it is old.<br><br></div>i don't know how it behaves with hd.<br><br></div>Have a nice day <br><br></div>Py<br><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-05-08 16:03 GMT+02:00 oliver <span dir="ltr"><<a href="mailto:oliver@klingt.org" target="_blank">oliver@klingt.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi, just tried to get a simple video patch to work under linux and got a segfault crash when trying to load a video encoded with the "UT" codec.<br>
<br>
a more general question before going into details:<br>
<br>
what video codecs are people on this list using in a linux environment for [pix_film] ? my requirements are:<br>
<br>
* should not alter colors (so h264 is out)<br>
* should decompress easily<br>
* should respond immediately to frame messages (for good a/v sync)<br>
* should allow alpha channel<br>
<br>
in windows and OSX the "UT" codec was so far my codec of choice, because it's very light on the CPU while decoding (huge filesizes though) and is "visually lossless". on OSX "prores" was also fine. but both of them crash PD (or rather "libgmerlin") in linux. strange because mplayer, ffplay, vlc etc. can play them<br>
<br>
PD 0.48.0<br>
Gem 0.93.3<br>
Debian stretch 9.1<br>
<br>
thanks for any ideas in this regard !<br>
<br>
==============================<wbr>==============================<wbr>=============<br>
==============================<wbr>==============================<wbr>=============<br>
<br>
now for my crash report:<br>
<br>
i opened [pix_film]'s helpfile and opened a movie file encoded with UT (another version had PRORES - same crash) and got an immediate segfault and PD quit.<br>
<br>
i tried again with loglevel 4 and it showed this (on opening the patch):<br>
<br>
==============================<wbr>==============================<wbr>=============<br>
<br>
open: /etc/pd/gem.conf: No such file or directory<br>
open: /home/oliver/.pd/gem.conf: No such file or directory<br>
open: ./gem.conf: No such file or directory<br>
load plugins 'film' in '/usr/local/lib/pd/extra/Gem/'<br>
pattern : /usr/local/lib/pd/extra/Gem/ge<wbr>m_film*.so<br>
dylib loading file '/usr/local/lib/pd/extra/Gem/g<wbr>em_filmAVIPLAY.so'!<br>
<init> : Avifile RELEASE-0.7.48-170225-04:54-..<wbr>/src/configure<br>
<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 syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl<br>
<init> : 2999.90 MHz Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz processor detected<br>
dylib loading file '/usr/local/lib/pd/extra/Gem/g<wbr>em_filmGMERLIN.so'!<br>
dylib loading file '/usr/local/lib/pd/extra/Gem/g<wbr>em_filmMPEG3.so'!<br>
dylib loading file '/usr/local/lib/pd/extra/Gem/g<wbr>em_filmQT4L.so'!<br>
<br>
<br>
==============================<wbr>==============================<wbr>=============<br>
<br>
after the loading of the movie file, pd quits with the following error (in the terminal):<br>
<br>
"Pixelformat not specified for video frame"<br>
"Segmentation fault"<br>
<br>
with the help of a linux friend i got the following error report using gdb:<br>
<br>
warning: .dynamic section for "/lib64/ld-linux-x86-64.so.2" is not at the expected address (wrong library or version mismatch?)<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib/x86_64-linux-gnu/libthre<wbr>ad_db.so.1".<br>
Core was generated by `/usr/local/bin/pd'.<br>
Program terminated with signal SIGSEGV, Segmentation fault.<br>
#0  0x00007fc9798652db in ?? () from /usr/lib/x86_64-linux-gnu/libg<wbr>merlin_avdec.so.1<br>
[Current thread is 1 (Thread 0x7fc97698e700 (LWP 975))]<br>
(gdb) bt<br>
#0  0x00007fc9798652db in ?? () from /usr/lib/x86_64-linux-gnu/libg<wbr>merlin_avdec.so.1<br>
#1  0x00007fc979ab4be6 in gem::plugins::filmGMERLIN::get<wbr>Frame (this=0x564cc36a7970) at filmGMERLIN.cpp:270<br>
#2  0x00007fc98f32ea8d in pix_film::grabThread (you=0x564cc36a73f0) at pix_film.cpp:138<br>
#3  0x00007fc990f4e494 in start_thread (arg=0x7fc97698e700) at pthread_create.c:333<br>
#4  0x00007fc98f9afaff in lseek64 () at ../sysdeps/unix/syscall-templa<wbr>te.S:84<br>
#5  0x0000000000000000 in ?? ()<br>
(gdb) quit<br>
<br>
==============================<wbr>==============================<wbr>=============<br>
<br>
<br>
so it seems that "libgmerlin" is the cause of the crash, right ? anything that can be done here ? as i said, both files loaded fine in windows and OSX<br>
<br>
best<br>
<br>
oliver<br>
<br>
______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
</blockquote></div><br></div>