LMLM4 STREAMING MANUAL FOR MPEG4IP PROJECT ******** REAL TIME STREAMING FROM LMLM4 CARD *********** 1.1 Install RedHat 9.0(Gnome workstation) or any other modern linux. (2.4.20 kernel recommended) 1.2 Download latest LMLM4 driver from linuxmedialabs.com/LMLCD/LMLM4 for RedHat 9.0 LMLM4_soft_pack_forRH90_low_delay.tar.gz -recommended for streaming. 1.3 Compile, install and load LMLM4 driver from this pack (see LMLM4 manual for details). 1.4 Tune LMLM4 card parameters (such as resolution, fps, bitrate) with lmlm4capture gtk program(included in LMLM4 soft pack). 1.5 For RedHat 9.0: download and install lame rpms and mpeg4ip_for_lmlm4-xxx.xxx-xxx.i386.rpm from linuxmedialabs.com/LMLCD/LMLM4/LMLM4streaming/ with --nodeps option: rpm -Uvh --nodeps mpeg4ip_for_lmlm4-xxx.xxx-xxx.i386.rpm Actually, it will install both server and client on your computer. Or compile it from source(servers_install.sh) on another linux distribution. 1.6 Launch mp4live server. 1.7 In Video Settings choose as source: /dev/mvideo/stream video settings'll be tuned automatically, and press OK button. 1.8 In Audio Settings choose as source: /dev/mvideo/stream audio settings'll be tuned automatically, and press OK button. 1.9 In Transmission Settings choose destination unicast IP address or generate multicast IP address for multicast streaming in local network. 1.10 In Transmission Settings choose SDP file location, it's name and generate it. 1.11 Deliver your SDP filname.sdp to client machine (by e-mail,ftp or web server). 1.12 On client machine install (rpm -Uvh --nodeps ...) mpeg4ip_for_lmlm4-xxx.xxx-xxx.i386.rpm (for RedHat 9.0) or compile it from source(servers_install.sh) on another linux distribution. 1.13 On client machine launch: gmp4player filename.sdp 1.14. How to configure Mozilla to use gmp4player: 1. Start Mozilla. 2. Goto "Edit", "Preferences". 3. Click on "Navigator", then on "Helper Applications". 4. Click on "New type" button. It will open "New type" dialog window. 5. Type : "video/lml" into "Description of type" field "sdp" into "File Extention" field "video/lml" into "MIME Type" field Find the path to gmp4player application ( most likely it will be in /usr/local/bin directory) and put it into "Application to use" filed and use "Choose" button. 6. Click "OK" button. 7. Click on "Downloads" under "Navigator" and select "Don't open anything". 8. In Mozilla, connect to server machine : http://www.your.server.name 9. Click on "Motion Video" link, then on "Video Stream channel1". 10. It will bring gmp4player and the window with your stream on your screen. 11. If you close gmp4player and start it again, you'll be connected to the same port on the server machine. NOTES: PREVIEW ON MP4LIVE SERVER DISPLAYS ONLY I-FRAMES. (speed factor) If you changed LMLM4 card settings you must regenerate SDP file. If you can't receive packets from server check your firewall rules. (try /sbin/iptables -F command) If your client falls restart it. Look for your firewall setting on client machine if you can't receive video. try for example: $su - #service iptables stop ******** STREAMING FILE SAMPLES FROM LMLM4 CARD WITH DARWIN *********** Install mpeg4ip project and enter superuser mode (#su) 2.1 Capture stream from LMLM4 using "lmlm4capture" program or by using (#cat or #dd) 2.2 If you've been captured stream using (#cat or #dd) convert stream using "m4toavi" program to AVI stream 2.3 Convert LMLM4 AVI stream to streamable hinted stream : "lmlM4convertor.sh FILENAME.avi FILENAME.mp4" where FILENAME.avi is avi stream you've been captured. 2.4 launch streamingadminserver.pl and your Internet browser (mozilla recommended) 2.5 in browser follow URL: http://myserver.my:1220 where myserver.my your server machine 2.6 choose in "General settings" PATH to your media files(*.mp4). 2.7 put your *.mp4 files in this media folder. 2.8 And press "Start Server" button if it's not started yet. 2.8 now you can connect to server using "gmp4player" program as a client : gmp4player rtsp://myserver.my/FILENAME.mp4 (for Linux or for Windows) where FILENAME.mp4 is you mp4 file on server. NOTES: dont forget to open 554 port on your server's firewall : for example for RH90 add: "-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 554 --syn -j ACCEPT" to /etc/sysconfig/iptables file.