Just found this on the Hauppauge site. Is this an evolution to an SD Vomp box or something else?
http://www.hauppauge.com/site/products/data_mediamvp-hd.html
http://www.hauppauge.com/site/products/data_mediamvp-hd.html
Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
-DTARGET_MACHINE=\"powerpc-405-linux-gnu\" \
-c /usr/src/vomp/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/gcc-3.4.5/gcc/collect2.c -o collect2.o
In function 'open',
inlined from 'collect_execute' at /usr/src/vomp/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/gcc-3.4.5/gcc/collect2.c:1537:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/usr/src/vomp/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-gcc-core/gcc'
make: *** [all-gcc] Error 2
--- a/device.c
+++ b/device.c
@@ -248,7 +248,7 @@ bool cIptvDevice::ProvidesTransponder(const cChannel *Channel) const
bool cIptvDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
{
bool result = false;
- bool needsDetachReceivers = false;
+ bool needsDetachReceivers = true;
debug("cIptvDevice::ProvidesChannel(%d)\n", deviceIndex);
if (ProvidesTransponder(Channel))
/etc/vdr/plugins/iptv/streamdev.sh
#!/bin/sh
#
# iptvstream.sh can be used by the VDR iptv plugin to transcode external
# sources
#
# (C) 2007 Rolf Ahrenberg, Antti Seppälä
#
# iptvstream.sh is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This package is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this package; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
# MA 02110-1301, USA.
if [ $# -ne 2 ]; then
logger "$0: error: Invalid parameter count '$#' $*"
exit 1
fi
#killall -9 ffmpeg.streamdev
echo >/tmp/iptvstream
# Channels.conf parameter
PARAMETER=${1}
# Iptv plugin listens this port
PORT=${2}
# Default settings for stream transcoding
LOG=/tmp/iptvstream
VCODEC=mpeg2video
VBITRATE=4000
ACODEC=mp2
ABITRATE=192
fr=29
resx=720
resy=480
fifo=/tmp/streamdev${PARAMETER}.fifo
{
echo Script started $1 $2 >>/tmp/iptvstream
# There is a way to specify multiple URLs in the same script. The selection is
# then controlled by the extra parameter passed by IPTV plugin to the script
echo "Getting new URL">>$LOG
URL="http://oac:3000/TS/${PARAMETER}+1"
echo $PLX $URL >>$LOG
if [ -z "${URL}" ]; then
logger "$0: error: URL not defined!"
exit 1
fi
if [ -z "${URL}" ]; then
logger "$0: error: URL not defined!"
exit 1
fi
MYPID=$$
echo "Streamdev.sh PID is $MYPID" >>$LOG
# Create transcoding options
echo "Streamdev Plugin $PARAMETER $URL" >>$LOG
# Capture VLC pid for further management in IPTV plugin
mkfifo $fifo
mplayer $mplayeropts -nocache "$URL" -dumpstream -dumpfile $fifo >>${LOG} &
MPID=${!}
ffmpeg.streamdev -v 1 \
-i $fifo -debug 0 \
-f mpegts -r $fr -vcodec copy -vsync $fr \
-acodec ${ACODEC} -ac 2 -ab ${ABITRATE}k -ar 48000 \
"udp://127.0.0.1:${PORT}?pkt_size=16356" &
PID=${!}
echo "pid of ffmpeg.streamdev $PID" >> $LOG
echo $PID >/tmp/iptv-$MYPID
echo $MPID >>/tmp/iptv-$MYPID
/etc/vdr/plugins/iptv/procchk ${MYPID} &
trap 'echo Trap activated; kill -9 ${PID}; kill -9 ${MPID} 2>> $LOG ' KILL INT EXIT QUIT TERM
# Waiting for the given PID to terminate
wait ${PID}
kill -9 $PID
kill -9 ${MPID}
} >> ${LOG} 2>&1
/etc/vdr/plugins/iptv/procchk
#!/bin/bash
PIDOFSCRIPT=$1
echo $PIDOFSCRIPT
while ps -p $PIDOFSCRIPT >/dev/null
do
sleep 1
done
echo Killing ffmpeg
cat /tmp/iptv-$PIDOFSCRIPT | xargs kill -9
rm /tmp/iptv-$PIDOFSCRIPT
/etc/vdr/plugins/iptv/brit.sh
#!/bin/sh
#
# iptvstream.sh can be used by the VDR iptv plugin to transcode external
# sources
#
# (C) 2007 Rolf Ahrenberg, Antti Seppälä
#
# iptvstream.sh is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This package is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this package; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
# MA 02110-1301, USA.
if [ $# -ne 2 ]; then
logger "$0: error: Invalid parameter count '$#' $*"
exit 1
fi
#killall -9 ffmpeg.brit
echo >/tmp/iptvstream
# Channels.conf parameter
PARAMETER=${1}
# Iptv plugin listens this port
PORT=${2}
# Default settings for stream transcoding
LOG=/tmp/iptvstream
VCODEC=mpeg2video
VBITRATE=2000
ACODEC=mp2
ABITRATE=320
fr=29
resx=720
resy=480
fifo=/tmp/brit${PARAMETER}.fifo
maps=
mplayeropts=
aspect=16:9
{
echo Script started $1 $2 >>/tmp/iptvstream
# There is a way to specify multiple URLs in the same script. The selection is
# then controlled by the extra parameter passed by IPTV plugin to the script
case ${PARAMETER} in
64)
#SportItalia
PLX="mms://mms.cdn-tiscali.com/sportitalia"
aspect=4:3
;;
59)
PLX="mms://151.1.245.36/rtl102.5vs/"
maps=" -map 0:2 -map 0:1"
;;
*)
URL="" # Default URL
;;
esac
if [ -z "${PLX}" ]; then
logger "$0: error: URL not defined!"
exit 1
fi
echo "Getting new URL">>$LOG
URL=$PLX
echo $URL >>$LOG
if [ -z "${URL}" ]; then
logger "$0: error: URL not defined!"
exit 1
fi
# Create transcoding options
echo "Brit Plugin $PARAMETER $URL" >>$LOG
# Capture ffmpeg pid for further management in IPTV plugin
ERR=1
while [ $ERR ]
do
ERR=
mkfifo $fifo
mplayer $mplayeropts "$URL" -dumpstream -dumpfile $fifo >>${LOG} &
MPID=${!}
ffmpeg.brit -v 1 \
-i $fifo -debug 0\
-aspect $aspect \
-f mpegts -r $fr -vcodec ${VCODEC} -b ${VBITRATE}k -er 3 -s ${resx}x${resy} -vsync $fr\
$maps -acodec ${ACODEC} -ac 2 -ab ${ABITRATE}k -ar 48000 \
"udp://127.0.0.1:${PORT}?pkt_size=16356" &
PID=${!}
echo "pid of ffmpeg.brit $PID" >>${LOG}
MYPID=$$
echo $PID >/tmp/iptv-$MYPID
echo $MPID >>/tmp/iptv-$MYPID
/etc/vdr/plugins/iptv/procchk ${MYPID} &
trap 'echo Trap activated; kill -9 ${PID}; kill -9 ${MPID} 2>> $LOG ' INT EXIT QUIT TERM
# Waiting for the given PID to terminate
wait ${PID}
ffmpegerr=`tail /tmp/iptvstream | grep "Cannot get resampling context" | awk '{printf $1}'`
if [ $ffmpegerr ];then
ERR=1
echo "$ffmpegerr Restart" >>${LOG}
else
ERR=
echo "$ffmpegerr Stop" >>${LOG}
fi
done
} >> ${LOG} 2>&1
kill -9 $MPID
kill -9 $PID
/etc/sysctl.conf
#Increase buffersize for udp
net.core.rmem_default=8388608
net.core.rmem_max=33554432
radio)
convertradioList "$2"
waitFkt
;;
http-radio)
fn=`echo "$2" | sed 's/\.[^.]*$//' | sed 's?^ */??'`
createFifo
convertradio_playlist "$fn"
startReader
waitFkt 1
;;
#convert a radio playlist
#handle http:// as radio-url
convertradioList() {
cat "$1" 2>&1 | sed 's?^ *http:\(.*\)?/http:\1.http-radio?'
}
convertradio_playlist() {
url=`wget -q -O - "$1" 2>&1 | grep href -m 1 | awk -F \" '{printf $2}' | xargs echo`
log url is $url
log "create radio fifo"
rm -fr /tmp/radio.wav
mkfifo /tmp/radio.wav
log "starting mplayer -ao pcm:file=/tmp/radio.wav $url "
mplayer -ao pcm:file=/tmp/radio.wav $url > /tmp/mplayer.out 2>&1 &
log "lame -b 192 -v /tmp/radio.wav $FIFO"
lame -b 192 -v /tmp/radio.wav $FIFO >/tmp/lame.out 2>&1 &
MPID=$!
}
16194:Tue Sep 8 15:57:25 CDT 2009:started with param play /mnt/media/music/streams/bbcr4.radio
0 0
16194:Tue Sep 8 15:57:25 CDT 2009:sleepcommand=sleep 1
16194:Tue Sep 8 15:57:25 CDT 2009:start waiting for MPID= and FPID=
16194:Tue Sep 8 15:57:25 CDT 2009:leaving waitFkt
16194:Tue Sep 8 15:57:25 CDT 2009:trap received
16194:Tue Sep 8 15:57:25 CDT 2009:bg: started 16194 /tmp/vdrfifo16194
16194:Tue Sep 8 15:57:26 CDT 2009:bg: remove /tmp/vdrfifo16194
16194:Tue Sep 8 15:57:26 CDT 2009:bg: exiting
16217:Tue Sep 8 15:57:27 CDT 2009:started with param play /http://www.bbc.co.uk/radio/listen/li
ve/r4.asx.http-radio 0 0
16217:Tue Sep 8 15:57:27 CDT 2009:creating tmpfile /tmp/vdrfifo16217
16217:Tue Sep 8 15:57:33 CDT 2009:url is mms://wmlive.bbc.net.uk/wms/bbc_ami/radio4/radio4_bb_l
ive_int_eq1_sl0?BBC-UID=b4aa4a16bcd5a3cec3765eaa71092c2b61b484b19080d164546f2987e4339d05&SSO
2-UID=
16217:Tue Sep 8 15:57:33 CDT 2009:create radio fifo
16217:Tue Sep 8 15:57:33 CDT 2009:starting mplayer -ao pcm:file=/tmp/radio.wav mms://wmlive.bb
c.net.uk/wms/bbc_ami/radio4/radio4_bb_live_int_eq1_sl0?BBC-UID=b4aa4a16bcd5a3cec3765eaa71092c2b6
1b484b19080d164546f2987e4339d05&SSO2-UID=
16217:Tue Sep 8 15:57:33 CDT 2009:lame -b 192 -v /tmp/radio.wav /tmp/vdrfifo16217
16217:Tue Sep 8 15:57:33 CDT 2009:readerPid=16246
16217:Tue Sep 8 15:57:33 CDT 2009:waiting 20 seconds to prebuffer
16217:Tue Sep 8 15:57:33 CDT 2009:bg: started 16217 /tmp/vdrfifo16217 16245 16246
16217:Tue Sep 8 15:57:36 CDT 2009:bg: remove /tmp/vdrfifo16217
16217:Tue Sep 8 15:57:36 CDT 2009:bg: kill 16245
16217:Tue Sep 8 15:57:36 CDT 2009:bg: kill 16246
16217:Tue Sep 8 15:57:36 CDT 2009:bg: exiting
15:57:27.485382 [debug] MediaLauncher - found command /usr/src/vompserver-devenv/test1.sh to handle name /http://www.bbc.co.uk/radio/listen/live/r4.asx.http-radio
15:57:27.488337 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:27.589236 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:27.589318 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:27.693009 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:27.693085 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:27.796789 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:27.796871 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:27.900558 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:27.900637 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.004389 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.004471 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.108103 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.108228 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.211885 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.211968 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.315733 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.315840 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.419420 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.419499 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.523203 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.523280 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.626973 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.627052 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.730739 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.730818 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.834538 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.834688 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:28.938287 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:28.938367 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:29.042059 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:29.042139 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:29.145836 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:29.145916 [debug] MediaLauncher - get Block buf (nil), len 2048
etc..
15:57:32.155254 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:32.155334 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:32.259027 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:32.259109 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:32.362801 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:32.362881 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:32.466575 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:32.466655 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:32.570343 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:32.570426 [debug] MediaLauncher - get Block buf (nil), len 2048
15:57:32.674117 [debug] MediaLauncher - read 0 bytes (no data within 100ms)
15:57:32.674195 [debug] MediaLauncher - close stream for child 16217
15:57:32.674214 [debug] MediaLauncher - trying to kill child 16217
15:57:34.474182 [debug] MediaLauncher - child 16217 aktive after wait, kill -9