mirror of
				https://github.com/DigitalDevices/dddvb.git
				synced 2025-03-01 10:35:23 +00:00 
			
		
		
		
	added README.md
This commit is contained in:
		
							
								
								
									
										40
									
								
								lib/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								lib/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,40 @@ | ||||
| # LIBDDDVB | ||||
|  | ||||
| In order to install the libdddvb library  | ||||
|  | ||||
| https://github.com/DigitalDevices/dddvb | ||||
|  | ||||
| you need dvben50221. | ||||
|  | ||||
|  | ||||
| On an Ubuntu system this would look like this: | ||||
|  | ||||
| `sudo apt-get install dvb-apps`  | ||||
|  | ||||
| `git clone https://github.com/DigitalDevices/internal_dddvb.git`  | ||||
|  | ||||
| `cd dddvb/lib/; make`  | ||||
|  | ||||
| `sudo make install`  | ||||
|  | ||||
| # DDZAP | ||||
|  | ||||
| You can now use the example program ddzap for tuning. | ||||
|  | ||||
| A typical usage example call would be: | ||||
|   | ||||
|  | ||||
| `ddzap -d S2 -p v -f 10847000  -s 23000000  -c ~/dddvb/lib/config/` | ||||
|  | ||||
| where you would use the example configuration file for a unicable LNB | ||||
| given in the sources. If you leave out the `-c` option a standard universal | ||||
| LNB is assumed to be connected. | ||||
|  | ||||
| Additionally you can use ddzap to open the /dev/dvb/adaptorX/dvrY device | ||||
| that corresponds to the tuner that was automatically selected by the library | ||||
| and pipe it to a media player, e.g. | ||||
|  | ||||
|  | ||||
| `ddzap -d S2 -p h -f 11494000  -s 22000000  -c /home/dmocm/ddzapconf/  -o|vlc -`  | ||||
|  | ||||
|  | ||||
| @@ -750,6 +750,8 @@ int dddvb_fe_tune(struct dddvb_fe *fe, struct dddvb_params *p) | ||||
| 	memcpy(fe->n_param.param, p->param, sizeof(fe->n_param.param)); | ||||
| 	fe->n_tune = 1; | ||||
| 	pthread_mutex_unlock(&fe->mutex); | ||||
| 	while(fe->n_tune) usleep(10000); | ||||
| 	while(fe->tune != 2) usleep(10000); | ||||
| 	return ret; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user