<div dir="ltr">On Thu, Aug 21, 2008 at 9:38 PM, Bob <span dir="ltr"><<a href="mailto:mythtv@cox.net">mythtv@cox.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I was using the test-mpeg2 program. If you download libiec61883 and<br>
compile the examples you will be able to use the program. The default<br>
compile is not very helpful, I usually recompile like this:<br>
<br>
gcc -g -O2 -o test-mpeg2 test-mpeg2.o /usr/lib/libiec61883.so \<br>
/usr/lib/libraw1394.so -Wl,--rpath -Wl,/usr/local/lib<br>
<br>
This assumes you have both libiec61883.so and libraw1394.so installed in<br>
/usr/lib.<br>
</blockquote><div><br>Thanks, I had installed the libiec61883 package in my Mythbuntu but it didn't include test-mpeg2.c nor the examples directory. I finally found them here at the packages source site:<br><a href="http://www.linux1394.org/download.php">http://www.linux1394.org/download.php</a><br>
<br>I'll give this a shot when I get home - hope it pulls in some video. :-\<br><br>To further add to Bob's hint, it looks like the Makefile in the examples directory is broken - it just executes a simple "cc test-mpeg2.c -o test-mpeg2" (which errors out). To complie the other programs (plugctl.c, plugreport.c, test-amdtp.c, test-dv.c, test-mpeg2.c, and test-plugs.c) you'll need to compile like this:<br>
gcc -g -O2 -o BASENAME BASENAME.c /usr/lib/libiec61883.so \<br>
/usr/lib/libraw1394.so -Wl,--rpath -Wl,/usr/local/lib<br><br>(Replace BASENAME with the name of the program to compile.)<br><br>Dan<br></div></div><br>-- <br>"Quis custodiet ipsos custodes?" (Who can watch the watchmen?) -- from the Satires of Juvenal<br>
"I do not fear computers, I fear the lack of them." -- Isaac Asimov (Author)<br>** *** ***** ******* *********** *************<br>
</div>