Skip to content

Instantly share code, notes, and snippets.

Avatar

Benjamin Poncet BenjaminPoncet

View GitHub Profile
View ffmpeg-wrapper-pipe
#!/bin/bash
# TEST VERSION PIPE CONCEPT
rev="8"
_log(){
echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log
}
_log_para(){
View ffmpeg-wrapper-qsv
#!/bin/bash
# TEST VERSION FOR INTEL QUICK SYNC V2
_log(){
echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log
}
_log_para(){
echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log
@BenjaminPoncet
BenjaminPoncet / ffmpeg-wrapper
Last active Oct 30, 2020
Synology VideoStation ffmpeg wrapper with DTS, EAC3 and TrueHD support (Installation instructions in 1st comment)
View ffmpeg-wrapper
#!/bin/bash
rev="12"
_log(){
echo "$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - $1" >> /tmp/ffmpeg.log
}
_log_para(){
echo "$1" | fold -w 120 | sed "s/^.*$/$(date '+%Y-%m-%d %H:%M:%S') - ${streamid} - = &/" >> /tmp/ffmpeg.log
You can’t perform that action at this time.