Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

mythtv multirec dvb-s test (works)

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


erez0001 at gmail

Jul 5, 2007, 1:06 AM

Post #1 of 9 (905 views)
Permalink
mythtv multirec dvb-s test (works)

hi

i just tried mythtv-multirec r13823
using Skystar2 DVB-S pci

my results:

first: generally it works, great work. thanks !

more detailed:

here is what i tried and succeded:
1. record 2 channels on the same multiplex at the same time
2. record 1 and watch 1
3. record 1, then switch to live tv and watch the same one

however:
1. backend segmentation faults when switching between channels which are not
on the same multiplex while in live tv.
2. pressing 'r' for record while in live-tv recorded the program, but i was
unable to switch channels. (exiting and entering live-tv again fixed that
however)
3. mythtv-multirec seems to miss some include files - i was unable to
compile some of svn's mythplugins (mythmusic and mytharchive) with it (i
was able however if i took the svn mythtv instead of mythtv-multirec branch)


question:
other than 'max recording' field in mythtv-setup, i didn't see any interface
change.
i heard about recording groups. how do i access them ?
if via mysql, then what table, what format ?


thanks again.
erez.


jochen.kuehner at gmx

Jul 5, 2007, 1:45 AM

Post #2 of 9 (911 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

My tests:



I’ve 2 DVB-S Cards. I enabled 4 recordings on each card.



When I record 2 Programms on the same multiplex, I was not able to go into
live tv again.



And when I want two record 3 Programms, two on the same multiplex and one on
a different, only two programs were recorded!



But I have to say, that I use the old frontend and not the one in the
multirec branch



_____

Von: mythtv-dev-bounces [at] mythtv [mailto:mythtv-dev-bounces [at] mythtv] Im
Auftrag von Erez D
Gesendet: Donnerstag, 5. Juli 2007 10:06
An: mythtv-dev [at] mythtv
Betreff: [mythtv] mythtv multirec dvb-s test (works)



hi

i just tried mythtv-multirec r13823
using Skystar2 DVB-S pci

my results:

first: generally it works, great work. thanks !

more detailed:

here is what i tried and succeded:
1. record 2 channels on the same multiplex at the same time
2. record 1 and watch 1
3. record 1, then switch to live tv and watch the same one

however:
1. backend segmentation faults when switching between channels which are not
on the same multiplex while in live tv.
2. pressing 'r' for record while in live-tv recorded the program, but i was
unable to switch channels. (exiting and entering live-tv again fixed that
however)
3. mythtv-multirec seems to miss some include files - i was unable to
compile some of svn's mythplugins (mythmusic and mytharchive) with it (i
was able however if i took the svn mythtv instead of mythtv-multirec branch)



question:
other than 'max recording' field in mythtv-setup, i didn't see any interface
change.
i heard about recording groups. how do i access them ?
if via mysql, then what table, what format ?


thanks again.
erez.


danielk at cuymedia

Jul 5, 2007, 5:28 AM

Post #3 of 9 (895 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

On Thu, 2007-07-05 at 11:06 +0300, Erez D wrote:
> using Skystar2 DVB-S pci
> first: generally it works, great work. thanks !
good

> however:
> 1. backend segmentation faults when switching between channels which
> are not on the same multiplex while in live tv.
If you can attach a backtrace to itcket #3326 this would
be very helpful, DVB-S hasn't had much testing yet.

> 2. pressing 'r' for record while in live-tv recorded the program, but
> i was unable to switch channels. (exiting and entering live-tv again
> fixed that however)
Yes, this is an existing limitation in the frontend,
there is no plan to fix it in this branch.

> 3. mythtv-multirec seems to miss some include files - i was unable to
> compile some of svn's mythplugins (mythmusic and mytharchive) with it
> (i was able however if i took the svn mythtv instead of
> mythtv-multirec branch)
We're not making any changes in the plugins so they are simply
not part of the branch.

> question:
> other than 'max recording' field in mythtv-setup, i didn't
> see any interface change. i heard about recording groups.
> how do i access them ?
There are two comboboxes in the input connections pane in
mythtv-setup...

> if via mysql, then what table, what format ?
inputgroup. The comboboxes should be editable again soon..
FYI The inputgroups are automatically created and set for
DVB multirec purposes when you increase 'max recordings'.

-- Daniel

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


danielk at cuymedia

Jul 5, 2007, 5:46 AM

Post #4 of 9 (903 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

On Thu, 2007-07-05 at 10:45 +0200, Jochen Kühner Privat wrote:

<snip, various problems>

> <p class=3DMsoNormal><font size=3D2 color=3Dnavy
> face=3DArial><span =
> lang=3DEN-GB
> style=3D'font-size:10.0pt;font-family:Arial;color:navy'>But I
> have to =
> say, that I
> use the old frontend and not the one in the multirec =
> branch<o:p></o:p></span></font></p>

You can't do that! :)

While the myth protocol version number and the ABI versions
are not different in mythcontext.h, this is only to make
merging easier. Please remove all plugins and other versions
of MythTV when testing branches like mythtv-multirec.

Also, please uncheck the "send HTML messages" checkbox
in the mail reader you use for mailing lists.

-- Daniel

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


erez0001 at gmail

Jul 5, 2007, 5:58 AM

Post #5 of 9 (896 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

On 7/5/07, Daniel Kristjansson <danielk [at] cuymedia> wrote:
>
> On Thu, 2007-07-05 at 11:06 +0300, Erez D wrote:
> > using Skystar2 DVB-S pci
> > first: generally it works, great work. thanks !
> good
>
> > however:
> > 1. backend segmentation faults when switching between channels which
> > are not on the same multiplex while in live tv.
> If you can attach a backtrace to itcket #3326 this would
> be very helpful, DVB-S hasn't had much testing yet.


how can i create a backtrace ? it just sigsegv on me, no output
should i compile it with debug info ? if so, how ? if not how do i get debug
info

> 2. pressing 'r' for record while in live-tv recorded the program, but
> > i was unable to switch channels. (exiting and entering live-tv again
> > fixed that however)
> Yes, this is an existing limitation in the frontend,
> there is no plan to fix it in this branch.
>
> > 3. mythtv-multirec seems to miss some include files - i was unable to
> > compile some of svn's mythplugins (mythmusic and mytharchive) with it
> > (i was able however if i took the svn mythtv instead of
> > mythtv-multirec branch)
> We're not making any changes in the plugins so they are simply
> not part of the branch.


i know the plugins are not a part of the multirec branch. however they are
tightly linked to mythtv itself, and change according to it. changes which
are applied to mythtv and not to mythtv-multirec branch, break their
compilation.

> question:
> > other than 'max recording' field in mythtv-setup, i didn't
> > see any interface change. i heard about recording groups.
> > how do i access them ?
> There are two comboboxes in the input connections pane in
> mythtv-setup...



> if via mysql, then what table, what format ?
> inputgroup. The comboboxes should be editable again soon..
> FYI The inputgroups are automatically created and set for
> DVB multirec purposes when you increase 'max recordings'.
>
> -- Daniel
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
thanks,
erez.


danielk at cuymedia

Jul 5, 2007, 6:05 AM

Post #6 of 9 (910 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

On Thu, 2007-07-05 at 15:58 +0300, Erez D wrote:

> how can i create a backtrace ? it just sigsegv on me, no output
> should i compile it with debug info ? if so, how ? if not how do i get
> debug info

See the FAQ in the MythTV documentation (www.mythtv.org).

> i know the plugins are not a part of the multirec branch. however they
> are tightly linked to mythtv itself, and change according to it.
> changes which are applied to mythtv and not to mythtv-multirec branch,
> break their compilation.

Trust me, the plugins will work with the multirec code,
you just need to distclean & compile them after
installing mythtv from the branch like you normally do.

-- Daniel




_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


erez0001 at gmail

Jul 9, 2007, 1:23 AM

Post #7 of 9 (841 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

attached, pls find the backtrace

btw, compiled with
./configure --prefix=/usr --enable-dvb --enable-proc-opt
--compile-type=debug
revision: 13850

On 7/5/07, Daniel Kristjansson <danielk [at] cuymedia> wrote:
>
> On Thu, 2007-07-05 at 15:58 +0300, Erez D wrote:
>
> > how can i create a backtrace ? it just sigsegv on me, no output
> > should i compile it with debug info ? if so, how ? if not how do i get
> > debug info
>
> See the FAQ in the MythTV documentation (www.mythtv.org).
>
> > i know the plugins are not a part of the multirec branch. however they
> > are tightly linked to mythtv itself, and change according to it.
> > changes which are applied to mythtv and not to mythtv-multirec branch,
> > break their compilation.
>
> Trust me, the plugins will work with the multirec code,
> you just need to distclean & compile them after
> installing mythtv from the branch like you normally do.
>
> -- Daniel
>
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
Attachments: gdb.txt (25.2 KB)


janne-mythtv at grunau

Jul 9, 2007, 3:25 AM

Post #8 of 9 (833 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

On Monday 09 July 2007 10:23:46 Erez D wrote:
> attached, pls find the backtrace
>
> btw, compiled with
> ./configure --prefix=/usr --enable-dvb --enable-proc-opt
> --compile-type=debug
> revision: 13850
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1467016304 (LWP 27950)]
> 0xb7841df0 in RingBuffer::GetWritePosition () from /usr/lib/libmythtv-0.20.so.0

I see that ocasionally too (LiveTV channel switching on the same oncoder).
Following patch doesn't have visible negative side effects.
It's only a workaround, the real bug is somewhere else.

Janne

Index: libs/libmythtv/dtvrecorder.cpp
===================================================================
--- libs/libmythtv/dtvrecorder.cpp.orig
+++ libs/libmythtv/dtvrecorder.cpp
@@ -333,7 +333,7 @@ void DTVRecorder::HandleKeyframe(void)

// Add key frame to position map
positionMapLock.lock();
- if (!positionMap.contains(frameNum))
+ if (!positionMap.contains(frameNum) && ringBuffer)
{
long long startpos = ringBuffer->GetWritePosition();
// FIXME: handle keyframes with start code spanning over two ts packets
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


erez0001 at gmail

Jul 9, 2007, 3:47 AM

Post #9 of 9 (818 views)
Permalink
Re: mythtv multirec dvb-s test (works) [In reply to]

thanks janne, now it's seems stable.

erez.

On 7/9/07, Janne Grunau <janne-mythtv [at] grunau> wrote:
>
> On Monday 09 July 2007 10:23:46 Erez D wrote:
> > attached, pls find the backtrace
> >
> > btw, compiled with
> > ./configure --prefix=/usr --enable-dvb --enable-proc-opt
> > --compile-type=debug
> > revision: 13850
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1467016304 (LWP 27950)]
> > 0xb7841df0 in RingBuffer::GetWritePosition () from /usr/lib/libmythtv-
> 0.20.so.0
>
> I see that ocasionally too (LiveTV channel switching on the same oncoder).
> Following patch doesn't have visible negative side effects.
> It's only a workaround, the real bug is somewhere else.
>
> Janne
>
> Index: libs/libmythtv/dtvrecorder.cpp
> ===================================================================
> --- libs/libmythtv/dtvrecorder.cpp.orig
> +++ libs/libmythtv/dtvrecorder.cpp
> @@ -333,7 +333,7 @@ void DTVRecorder::HandleKeyframe(void)
>
> // Add key frame to position map
> positionMapLock.lock();
> - if (!positionMap.contains(frameNum))
> + if (!positionMap.contains(frameNum) && ringBuffer)
> {
> long long startpos = ringBuffer->GetWritePosition();
> // FIXME: handle keyframes with start code spanning over two ts
> packets
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.