[SOLVED] Unable to call ffmpeg via pipe
Added by antony vanko about 6 years ago
Hi,
my tvheadend daemon seems not able to call ffmpeg via pipe (in URL field when adding Mux):
pipe:///usr/local/bin/ffmpeg -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i http://xxxx:9981/play/stream/channel/yyyyyy -vf scale_cuda=1280:720 -preset slow -c:a copy -c:v h264_nvenc -maxrate 3M -f mpegts pipe:1
My syslog says:
tvheadend2797: spawn: /usr/local/bin/ffmpeg: error while loading shared libraries: libnppig.so.e: No such file or directory
- sudo su hts
- /usr/local/bin/ffmpeg -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i http://xxxx:9981/play/stream/channel/yyyyyy -vf scale_cuda=1280:720 -preset slow -c:a copy -c:v h264_nvenc -maxrate 3M TEST.mp4
But still not able to call it via pipe in the web gui.
Ubuntu 16.04, Tvheadend 4.2.6-16~g42e737f
Any ideas ?
Replies (1)
RE: Unable to call ffmpeg via pipe - Added by antony vanko about 6 years ago
Sorry for posting, I just found the reason.
FYI:
Had to export these environment variables in the /etc/init.d/tvheadend
Cheers !