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

Mailing List Archive: MythTV: Commits

Re: Ticket #7978: Seektable built during recording is broken; fixed by rebuilding seektable

 

 

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


mythtv at cvs

Jul 31, 2010, 11:58 AM

Post #1 of 4 (225 views)
Permalink
Re: Ticket #7978: Seektable built during recording is broken; fixed by rebuilding seektable

#7978: Seektable built during recording is broken; fixed by rebuilding seektable
---------------------------------------------+------------------------------
Reporter: Ian Macdonald <ian@…> | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone: 0.24
Component: MythTV - General | Version: 0.22-fixes
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by OliHenning):

Ok, there, i can also confirm this problem.

I have a Hauppauge PVR-500 (double-Tuner, Analog-TV, OnBoard-MPEG-Enocder)
I'm in Switzerland, so i'm using PAL 50HZ.

I analyzed a bit and observed, that mythbackend is making entries in the
MySQL-Table "recordedseek" '''while''' the recording is running. It makes
seek-entries of type '9' which means 'GOP' (Group of Pictures).

Info: With this Information in the table, mythfrontend is able to seek
quickly to a specific timepoint in a recording, as every MPEG-Decoding has
to start at the beginning of a GOP (we have to hit the 'exact' Byte-
Position in the Multi-100-Megabytes-MPEG-File !).
Additionally, mythfrontend can quickly calculate the length of the movie
in hh:mm:ss (simply make a
{{{
SELECT max(mark) FROM seektable WHERE type=9 AND chanid=... AND
starttime=...
}}}
or so)

'''BUT:''' These seektable-entries 'while-recording' are wrong. I dumped
the entries of a recording right after the recording, then i did a rebuild
of these seek-entries as follows:

{{{
mythtranscode -b -i 1004_20100731012300.mpg
}}}

and then i dumped the entries again. And there are differendes:

After ''Recording'': 3936 Rows[[BR]]
After ''Transcode'': 3996 Rows

After ''Recording'': mark-values (=25Hz Frames) from 0 to 47403[[BR]]
After ''Transcode'': mark-values (=25Hz Frames) from 0 to 47940

After ''Recording'': Recording-Length min:sec = 31:34 (=47403/25
Seconds)[[BR]]
After ''Transcode'': Recording-Length min:sec = 31:56 (=47940/25 Seconds)

After ''Recording'': delta between two mark-values: random (between 1 and
42, but mostly 12)[[BR]]
After ''Transcode'': delta between two mark-values: ALWAYS 12


So, in my optinion, mythbackend (while recording running) is not able to
identify the GOP-Frames in the MPEG-Stream correctly while mythtranscode
does.

what do you mean

Greeting from switzerland

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7978#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 10, 2010, 9:41 AM

Post #2 of 4 (178 views)
Permalink
Re: Ticket #7978: Seektable built during recording is broken; fixed by rebuilding seektable [In reply to]

#7978: Seektable built during recording is broken; fixed by rebuilding seektable
------------------------------------------------------------------------------+
Reporter: Ian Macdonald <ian@…> | Owner: danielk
Type: defect | Status: assigned
Priority: major | Milestone: 0.24
Component: MythTV - General | Version: 0.22-fixes
Severity: medium | Resolution:
Keywords: recordedseek pvr-350 ivtv hauppauge duration length mythcommflag | Ticket locked: 0
------------------------------------------------------------------------------+
Changes (by robertm):

* owner: ijr => danielk
* status: new => assigned


Comment:

I'm really not exactly sure who to assign this to. Please feel free to
reassign or bump.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7978#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 18, 2010, 2:44 PM

Post #3 of 4 (164 views)
Permalink
Re: Ticket #7978: Seektable built during recording is broken; fixed by rebuilding seektable [In reply to]

#7978: Seektable built during recording is broken; fixed by rebuilding seektable
------------------------------------------------------------------------------+
Reporter: Ian Macdonald <ian@…> | Owner: danielk
Type: defect | Status: infoneeded
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.23-fixes
Severity: low | Resolution:
Keywords: recordedseek pvr-350 ivtv hauppauge duration length mythcommflag | Ticket locked: 0
------------------------------------------------------------------------------+
Changes (by danielk):

* priority: major => minor
* status: assigned => infoneeded
* version: 0.22-fixes => 0.23-fixes
* severity: medium => low
* milestone: 0.24 => unknown


Comment:

I'm going to need a 60 second PVR-150/250/500 recording to diagnose this.

Otto, DVB recordings are processed using a different code path so that
would need it's own ticket, also with a sample of the recording.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7978#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 20, 2010, 1:56 PM

Post #4 of 4 (157 views)
Permalink
Re: Ticket #7978: Seektable built during recording is broken; fixed by rebuilding seektable [In reply to]

#7978: Seektable built during recording is broken; fixed by rebuilding seektable
------------------------------------------------------------------------------+
Reporter: Ian Macdonald <ian@…> | Owner: danielk
Type: defect | Status: infoneeded
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.23-fixes
Severity: low | Resolution:
Keywords: recordedseek pvr-350 ivtv hauppauge duration length mythcommflag | Ticket locked: 0
------------------------------------------------------------------------------+

Comment (by anonymous):

I've made a short recording available here:
http://hogberg.dyndns.org/3_20100820224900.mpg

It was recorded using a PVR-150 on Linux 2.6.31-22-generic (ubuntu
karmic).

{{{
MythTV Version : 25609
MythTV Branch : branches/release-0-23-fixes
Network Protocol : 23056
Library API : 0.23.1.201000710-1
QT Version : 4.5.2
Options compiled in:
linux debug using_oss using_alsa using_pulse using_jack using_pulseoutput
using_backend using_dvb using_firewire using_frontend
using_glx_proc_addr_arb using_hdhomerun using_hdpvr using_iptv using_ivtv
using_joystick_menu using_libudev using_lirc using_mheg using_opengl_video
using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw
using_bindings_perl using_bindings_python using_opengl
using_ffmpeg_threads using_libavc_5_3 using_live using_mheg
}}}

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7978#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits 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.