주 메뉴 열기

wwiki β

바뀜

Tvheadend

1,277 바이트 추가됨, 2022년 1월 23일 (일) 12:42
편집 요약 없음
default는 pass이다. MPEG-TS pass-thru, 녹화하면 ts확장자를 가진다.
===== Codec Profiels Profiles =====
Stream Profile에서 사용할 코덱 프로파일을 관리한다.
$ [[FFmpeg|ffmpeg]] -i input.ts -c:v h264_v4l2m2m -b:v 10M -num_capture_buffers 64 -c:a copy out.mp4
num_capture_buffers를 지정하지 않으면 "All capture buffers returned to userspace. Increase num_capture_buffers to prevent device deadlock or dropped packets/frames."에러가 발생한다.
 
==== Recording ====
 
===== Digital Video Recorder Profiles =====
 
====== Filesystem Settings ======
Storage path에 쓰기 권한이 있어야 한다. 기본 실행은 hts 유저로 실행된다.
 
Directory permissions, File permissions는 기본값을 유지하는 것이 보안상 좋다.
 
Character set: 한국어라면 UTF-8이 무난하다.
 
Format string/Pathname specification: $t/$t.%F$-e$n.$x %F(날짜)앞에 구분하는 . 정도를 넣을 수 있다.
 
====== Filename/Tagging Settings ======
Replace whitespace in title with '-': 체크하면 지저분해 보일 수 있다.
 
Use Windows-compatible filenames: 윈도우에 파일을 복사하려는 경우등이 생길 수 있으므로 체크하는 것이 좋다.
 
====== Miscellaneous Settings ======
Post-processor command: 녹화 후 추가 명령을 실행할 수 있다. (ex: /home/pi/tvheadend/post-processor.sh "%f" )
 
하드웨어 인코딩을 지원하지 않는 라즈베리파이에서 유용하다. 인코딩 후 삭제하는 등 여러가지 명령어를 처리해야 하는 경우에는 스크립트 파일로 분리하는 것이 관리하기 용이하다.
 
==== Debugging ====
 
===== Configuration =====
Debug to syslog를 체크하면 Post-processor command 스크립트 수정에 용이하다.
편집
2,431