본문 바로가기

컴퓨터 관련 정보/NAS - XPEnology

DS918+ 7.0.1 42218 비디오스테이션 DTS, EAC3, TrueHD 영상 재생.

DS918+ 7.0.1 42218 비디오스테이션 DTS, EAC3, TrueHD 영상 재생.

DSM → 패키지 센터 → 우측 상단 [설정] 버튼 클릭 → [패키지 소스] 탭에서 추가 버튼을 누른 뒤 아래와 같이 입력한다. 
이름 : 임의 입력
위치 : http://packages.synocommunity.com
 
FFmpeg 패키지 설치
패키지 센터 좌측 [커뮤니티]를 클릭한 뒤 FFmpeg 설치.

 

Video Station을 중지하고 (SSH) Root 계정 접속.

mv -n /var/packages/VideoStation/target/bin/ffmpeg /var/packages/VideoStation/target/bin/ffmpeg.orig

wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg

chown root:VideoStation /var/packages/VideoStation/target/bin/ffmpeg

chmod 750 /var/packages/VideoStation/target/bin/ffmpeg

chmod u+s /var/packages/VideoStation/target/bin/ffmpeg

cp -n /var/packages/VideoStation/target/lib/libsynovte.so /var/packages/VideoStation/target/lib/libsynovte.so.orig

chown VideoStation:VideoStation /var/packages/VideoStation/target/lib/libsynovte.so.orig

sed -i -e 's/eac3/3cae/' -e 's/dts/std/' -e 's/truehd/dheurt/' /var/packages/VideoStation/target/lib/libsynovte.so

mv /var/packages/CodecPack/target/bin/ffmpeg33 /var/packages/CodecPack/target/bin/ffmpeg33.orig

mv /var/packages/CodecPack/target/bin/ffmpeg41 /var/packages/CodecPack/target/bin/ffmpeg41.orig

cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg33

cp /var/packages/VideoStation/target/bin/ffmpeg /var/packages/CodecPack/target/bin/ffmpeg41

위 명령어를 차례대로 입력하고 Video Station을 실행하면 됨. 참고사이트

 

FFmpeg가 새로운 버전이 나오면 아래 명령어를 통해 업데이트할 수 있다.

wget -O - https://gist.githubusercontent.com/BenjaminPoncet/bbef9edc1d0800528813e75c1669e57e/raw/ffmpeg-wrapper > /var/packages/VideoStation/target/bin/ffmpeg

Comments