2013-03-29, 16:01
@ezechiel1917, I pushed some fixes. Your sample runs smooth on my system now.
sudo apt-get -y install dvb-apps
sudo apt-get -y install fakeroot git-core
echo deb http://e-tobi.net/vdr-experimental wheezy base addons vdr-multipatch >> /etc/apt/sources.list
echo deb-src http://e-tobi.net/vdr-experimental wheezy base addons vdr-multipatch >> /etc/apt/sources.list
wget http://e-tobi.net/vdr-experimental/pool-wheezy/binary/base/e-tobi-keyring_2008.03.08_all.deb
sudo dpkg -i e-tobi-keyring_2008.03.08_all.deb
rm e-tobi*
rm /etc/apt/preferences
echo "Package: *" >> /etc/apt/preferences
echo "Pin: release o=Debian,a=stable" >> /etc/apt/preferences
echo "Pin-Priority: 600" >> /etc/apt/preferences
echo "Package: *" >> /etc/apt/preferences
echo "Pin: release o=ctvdr4" >> /etc/apt/preferences
echo "Pin-Priority: 1001" >> /etc/apt/preferences
echo "Package: *" >> /etc/apt/preferences
echo "Pin: release o=e-tobi.net" >> /etc/apt/preferences
echo "Pin-Priority: 1001" >> /etc/apt/preferences
apt-get update
sudo apt-get -y install vdr vdr-plugin-femon vdr-plugin-live
mkdir /home/xbmc/build
cd /home/xbmc/build
rm -R vdr* xbmc*
apt-get build-dep -y vdr
apt-get source vdr
mv vdr-* vdr
rm -R vdr/PLUGINS/src/*
git clone --branch vnsi4 https://github.com/FernetMenta/xbmc-pvr-addons.git
git clone https://github.com/manio/vdr-plugin-dvbapi.git
ln -s /home/xbmc/build/xbmc-pvr-addons/addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver /home/xbmc/build/vdr/PLUGINS/src/vnsiserver
ln -s /home/xbmc/build/vdr-plugin-dvbapi /home/xbmc/build/vdr/PLUGINS/src/dvbapi
cd /home/xbmc/build/vdr/
make plugins -j4 LIBDIR=/usr/lib/vdr/plugins
make plugins install LIBDIR=/usr/lib/vdr/plugins
rm /etc/default/vdr
echo "ENABLED=1" >> /etc/default/vdr
echo "SVDRP_PORT='6419'" >> /etc/default/vdr
echo "ENABLE_SHUTDOWN=1" >> /etc/default/vdr
echo "OPTIONS=\"-w 60 --lirc=/dev/null --video=/recordings\"" >> /etc/default/vdr
mkdir /recordings > /dev/null 2>&1
chmod 777 /recordings > /dev/null 2>&1
/etc/init.d/vdr restart
apt-get install -y dh-autoreconf zip
cd /home/xbmc/build/xbmc-pvr-addons
./bootstrap
./bootstrap
./configure --prefix=/usr
make -j4
make install
(2013-03-29, 04:06)ezechiel1917 Wrote: Is it possible you could share the code so I could include this debug in my compile and help FernetMenta identify stuttering of my channels?No problem, here is the diff
--- parser.c-orig 2013-03-28 15:04:27.642355888 +0100
+++ parser.c 2013-03-28 22:18:22.154686725 +0100
@@ -90,12 +90,13 @@
if ((buf[6] & 0x30) != 0)
return hdr_len;
+ int64_t pts;
+
// parse PTS
if ((hdr_len >= 13) &&
((((buf[7] & 0xC0) == 0x80) && ((buf[9] & 0xF0) == 0x20)) ||
((buf[7] & 0xC0) == 0xC0) && ((buf[9] & 0xF0) == 0x30)))
{
- int64_t pts;
pts = ((int64_t)(buf[ 9] & 0x0E)) << 29 ;
pts |= ((int64_t) buf[10]) << 22 ;
pts |= ((int64_t)(buf[11] & 0xFE)) << 14 ;
@@ -164,6 +165,8 @@
else
m_curDTS = m_curPTS;
+ INFOLOG("%s: ID %02x, pts %09lx, m_curPTS %09lx, m_curDTS %09lx, m_Wrap %d, m_NoOfWraps %d", __FUNCTION__, buf[3], pts, m_curPTS, m_curDTS, m_Wrap, m_NoOfWraps);
+
return hdr_len;
}
(2013-03-29, 16:01)FernetMenta Wrote: @ezechiel1917, I pushed some fixes. Your sample runs smooth on my system now.
Mar 29 23:57:10 [12117] recording to '/srv/videos/vdr/Rob_Roy/2013-03-29.23.23.11-0.rec/00002.ts'
Mar 29 23:57:11 [12994] VNSI-Error: Could not read file, size: 0
Mar 29 23:57:24 last message repeated 97 times
./bootstrap
./configure --host=i686-mingw32msvc
make