-
Jetson nano 이것저것.....카테고리 없음 2020. 3. 1. 19:02
jetson_release
- NVIDIA Jetson NANO/TX1 * Jetpack 4.3 [L4T 32.3.1] * CUDA GPU architecture 5.3 * NV Power Mode: MAXN - Type: 0 - Libraries: * CUDA 10.0.326 * cuDNN 7.6.3.28-1+cuda10.0 * TensorRT 6.0.1.10-1+cuda10.0 * Visionworks 1.6.0.500n * OpenCV 4.1.1 compiled CUDA: NO - Jetson Performance: inactive
pip list
Package Version Location ----------------------------- ------------------- ------------------ absl-py 0.9.0 apt-clone 0.2.1 apturl 0.5.2
sudo jtop
export | grep JETSON
declare -x JETSON_BOARD="TX1" declare -x JETSON_CUDA="10.0.326" declare -x JETSON_CUDA_ARCH_BIN="5.3" declare -x JETSON_CUDNN="7.6.3.28-1+cuda10.0" declare -x JETSON_DESCRIPTION="NVIDIA Jetson NANO/TX1" declare -x JETSON_JETPACK="4.3" declare -x JETSON_L4T="32.3.1" declare -x JETSON_L4T_RELEASE="32" declare -x JETSON_L4T_REVISION="3.1" declare -x JETSON_OPENCV="4.1.1" declare -x JETSON_OPENCV_CUDA="NO" declare -x JETSON_SERIAL_NUMBER="1422519040240" declare -x JETSON_TENSORRT="6.0.1.10-1+cuda10.0" declare -x JETSON_TYPE="NANO/TX1" declare -x JETSON_VISIONWORKS="1.6.0.500n"
동영상 자르기
ffmpeg -i 원본파일 -vcodec copy -acodec copy -ss 시작위치 -t 종료위치 변환파일
ffmpeg -i yc.avi -vcodec copy -acodec copy -ss 00:01:30 -t 00:07:40 yc-1.avi
0.2 단위로 jpg 이미지로 저장하기
ffmpeg -i ../pairy.mp4 -r 0.2 pairy_%3d.jpg
파일 합치기
kyi@kyi-geforce:~/ssof/ssof_video$ cat files.txt file 'NORM0005.MP4' file 'NORM0006.MP4' file 'NORM0007.MP4'
ffmpeg -f concat -i files.txt -c copy c.mp4
ffmpeg -i ssof.avi -filter:v "setpts=PTS/30" ssof.mp4
파일이름 바꾸기
rename 's/shot/0403/' *
용량이 큰 파일 찾기
du -sh * | sort -hr
하위디렉토리 파일 내용찾기
grep -rn "public"
자동시작(autoexec.bat)
sudo update-rc.d startup defaults 99 sudo service startup start sudo update-rc.d -f autoexe remove
다른 방법/etc/rc.local
pi@raspi4:~ $ tail -5 /etc/rc.local sleep 5 python /home/pi/sepung.py 6614 exit 0
sleep을 줘야 python 프로그램이 작동한다