pipelka / vdr-plugin-xvdr

DISCONTINUED - XVDR Plugin for VDR
GNU General Public License v2.0
43 stars 21 forks source link

Feature Request: Externremux Script for remote machines #122

Open mattgorski opened 10 years ago

mattgorski commented 10 years ago

This is by no means an issue I absolutely love the xvdr plugin. I was wondering if it is possible to add a feature to remux the transport stream on the server side (as does the streamdev server plugin) with an ffmpeg/mencoder script so we can adjust the bitrate for remote clients outside the local network. I know there is a compression protocol but this option seems to do nothing unless I am missing a script or setting. This is the ffmpeg command/script I use for x264 HD 720p quality streaming HD channels remotely via streamdev-server plugin.

!/bin/bash

echo -ne 'Content-type: video/mpeg\r\n' echo -ne '\r\n' ffmpeg -f mpegts -i - -vcodec libx264 -preset ultrafast -crf 28 -r 29.970 -b 1500k -vf scale=1280:720 -acodec ac3 -ab 128k -ar 48000 -f mpegts pipe:1