mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			remove venc & vdec binaries from packages (#1045)
							parent
							
								
									cee2d87a81
								
							
						
					
					
						commit
						0619fa099b
					
				|  | @ -0,0 +1,18 @@ | |||
| #!/bin/sh | ||||
| # | ||||
| # Start vdec decoder | ||||
| # | ||||
| 
 | ||||
| case "$1" in | ||||
|   start) | ||||
|     echo "Starting vdec decoder service..." | ||||
|     vdec -p 5600 -d frame -c h265 --bg-r 30 --bg-g 0 --bg-b 30 --osd & | ||||
|     ;; | ||||
|   stop) | ||||
|     echo "Stopping vdec decoder service..." | ||||
|     kill -9 $(pidof vdec) | ||||
|     ;; | ||||
|     *) | ||||
|     echo "Usage: $0 {start|stop}" | ||||
|     exit 1 | ||||
| esac | ||||
											
												Binary file not shown.
											
										
									
								|  | @ -4,11 +4,16 @@ | |||
| #
 | ||||
| ################################################################################
 | ||||
| 
 | ||||
| VDEC_OPENIPC_SITE = https://github.com/OpenIPC/silicon_research/releases/download/latest/vdec | ||||
| 
 | ||||
| VDEC_OPENIPC_LICENSE = MIT | ||||
| 
 | ||||
| define VDEC_OPENIPC_INSTALL_TARGET_CMDS | ||||
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin | ||||
| 	cp $(VDEC_OPENIPC_PKGDIR)/files/vdec $(TARGET_DIR)/usr/bin/vdec | ||||
| 	curl -k -L -o $(@D)/vdec $(VDEC_OPENIPC_SITE) | ||||
| 	$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/vdec | ||||
| 
 | ||||
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d | ||||
| 	cp $(VDEC_OPENIPC_PKGDIR)/files/S98vdec $(TARGET_DIR)/etc/init.d/S98vdec | ||||
| endef | ||||
| 
 | ||||
| $(eval $(generic-package)) | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ case "$1" in | |||
|     venc -p 5600 -f 30 -r 7168 -n 1400 -c 265cbr -d frame -v 200_imx307F -s 720p & | ||||
|     ;; | ||||
|   stop) | ||||
|     echo "Stopping venc encoder services..." | ||||
|     echo "Stopping venc encoder service..." | ||||
|     kill -9 $(pidof venc) | ||||
|     ;; | ||||
|     *) | ||||
|  |  | |||
											
												Binary file not shown.
											
										
									
								|  | @ -4,11 +4,13 @@ | |||
| #
 | ||||
| ################################################################################
 | ||||
| 
 | ||||
| VENC_OPENIPC_SITE = https://github.com/OpenIPC/silicon_research/releases/download/latest/venc | ||||
| 
 | ||||
| VENC_OPENIPC_LICENSE = MIT | ||||
| 
 | ||||
| define VENC_OPENIPC_INSTALL_TARGET_CMDS | ||||
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin | ||||
| 	cp $(VENC_OPENIPC_PKGDIR)/files/venc $(TARGET_DIR)/usr/bin/venc | ||||
| 	curl -k -L -o $(@D)/venc $(VENC_OPENIPC_SITE) | ||||
| 	$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/venc | ||||
| 
 | ||||
| 	$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d | ||||
| 	cp $(VENC_OPENIPC_PKGDIR)/files/S98venc $(TARGET_DIR)/etc/init.d/S98venc | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue