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

Mailing List Archive: MythTV: Commits

Ticket #6753: Some DVB subtitles are delayed

 

 

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


mythtv at cvs

Jul 22, 2009, 12:07 PM

Post #1 of 19 (3601 views)
Permalink
Ticket #6753: Some DVB subtitles are delayed

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
Probably because of the ffmpeg sync, current trunk shows some DVB
subtitles delayed. When the delay happens, it is something like 1-3 secs.

Sample file can be downloaded from here (you need couple of annoying
clicks and some waiting):
http://www.zshare.net/video/62954529d73feefb/

In sample, when there is a cut in the program and the camera turns, the
first subtitles should be displayed immediately when guy starts to speak.
Correct timing can be verified with e.g. VLC (linux/win).

I've used "mythtv" to play the sample file but the same problem can be
seen with mythfrontend also.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753>
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

Jul 22, 2009, 3:32 PM

Post #2 of 19 (3531 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by janne):

* owner: ijr => janne
* status: new => accepted
* milestone: unknown => 0.22


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:1>
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

Jul 23, 2009, 10:21 PM

Post #3 of 19 (3537 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by otto at kolsi dot fi):

Here is another sample for DVB subtitle problem. When this one is played
with "mythtv", the subtitles are shown only very briefly (some tens of
milliseconds?). The delay problem described earlier in this ticket happens
to all(?) programs while this millisecond problem is quite rare.

I've seen this happening already before ffmpeg sync so it might not be
related to that. Again tested with VLC and it can show the subs correctly
for this sample.

http://www.zshare.net/video/63044735cc35c7d6/

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:2>
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

Jul 23, 2009, 11:45 PM

Post #4 of 19 (3533 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by jheikkal [at] gmail):

Same problem here. Subtitle appearance duration is really annoying because
it happens constantly on some channels. Another sample :
[https://sulx.dy.fi/myth/subtitle_flash.mpg Subtitle Duration sample]

Subtitle delay problem sample :
[https://sulx.dy.fi/myth/subtitle_out_of_sync.mpg Subtitle Sync sample]

Both play nicely with vlc.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:3>
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

Jul 25, 2009, 12:44 AM

Post #5 of 19 (3508 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by jheikkal [at] gmail):

Patch breaks seeking. Crashes when trying to fast forward or skip or
anything...

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:4>
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

Sep 25, 2009, 11:47 PM

Post #6 of 19 (3340 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by jheikkal [at] gmail):

Did a bit more digging and testing because some channels are useless
because of this bug(damn wife doesn't understand english well ;)

That patch fixes subtitle displaying duration but delay is still there.
One problem is that patch breaks back/ff skipping.

Skipping backards log http://mythtv.pastebin.ca/1579286

Skipping backwards crash log http://mythtv.pastebin.ca/1579287

Skpping forwards log http://mythtv.pastebin.ca/1579288

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:5>
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

Oct 8, 2009, 3:30 PM

Post #7 of 19 (3300 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by janne):

(In [22320]) try to fix timestamps of delayed subtitles. Refs #6753

this should ensure that the subtiltes have a resonable display time
it does not fix the cause, the subtitle packets are returned very late
from the mpeg ts demuxer. It's a regression of the ffmpeg sync in [20797]
the upstream demuxer behaves in the same way.
I intend to make the demuxing independent of the GetFrame for 0.23
so that we handle improperly interleaved streams better

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:6>
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

Oct 8, 2009, 3:34 PM

Post #8 of 19 (3298 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by janne):

* milestone: 0.22 => 0.23


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:7>
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

Nov 8, 2009, 5:55 AM

Post #9 of 19 (3198 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by Martin R Mortensen <martin.rene.mortensen@…>):

After upgrading to 0.22 I seem to problem also. in DK DVB channels DR1,
DR2 have fine subtitles, but TV2 has consistently delayed subtitles. I
checked both 22-fixes and trunk.
This makes one channel unwatchable so far. Was there a temporary fix for
this? It seems that 22320 didnt make it better.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:8>
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

Nov 22, 2009, 6:05 AM

Post #10 of 19 (3093 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by Martin R Mortensen <martin.rene.mortensen@…>):

patch is rejected partially when patching 22-fixes(22864m):
root [at] darkmedi:/usr/local/src/22-fixes/mythtv# patch -p0
<dvb_subtiles_workaround.patch
patching file libs/libavformat/mpegts.c
Hunk #2 FAILED at 19.
1 out of 80 hunks FAILED -- saving rejects to file
libs/libavformat/mpegts.c.rej
patching file libs/libavformat/mpegts.h

And I think reverting to before the ffmpeg sync will break the LATM AAC
patch, which I need for sound.
I'm a bit at a loss here.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:9>
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

Nov 22, 2009, 9:57 PM

Post #11 of 19 (3074 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by Klavs Klavsen <kl@…>):

Subscribing - bitten by same bug :(

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#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

Nov 24, 2009, 4:53 AM

Post #12 of 19 (3054 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by anonymous):

Does anybody know when this patch (or other) will be added to the 22-fixes
tree?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#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

Nov 24, 2009, 4:57 AM

Post #13 of 19 (3057 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by mlgim):

Same problem here - I also need the ffmpeg sync patched level AND I'm
bitten by this bug :0(

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#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

Nov 24, 2009, 5:40 AM

Post #14 of 19 (3063 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 1
-------------------------------------+--------------------------------------
Changes (by stuartm):

* mlocked: 0 => 1


Comment:

Discussion belongs on the mailing lists NOT in trac.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#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 at cvs

Mar 24, 2010, 6:01 AM

Post #15 of 19 (2315 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 1
-------------------------------------+--------------------------------------
Changes (by janne):

* milestone: 0.23 => 0.24


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:14>
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

Apr 23, 2010, 2:20 PM

Post #16 of 19 (2086 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 1
-------------------------------------+--------------------------------------

Comment(by janne):

(In [24242]) libav: emit pes packets from the mpeg-ts demuxer on
completion

Emitting the packets on the start of the next pes packet causes delayed
DVB subtitles. Refs #6753

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:15>
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

Apr 23, 2010, 3:15 PM

Post #17 of 19 (2086 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 1
-------------------------------------+--------------------------------------

Comment(by janne):

(In [24243]) libav: update [24242] to the version sent to ffmpeg-devel,
Refs #6753

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:16>
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

Apr 24, 2010, 8:41 AM

Post #18 of 19 (2067 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: accepted
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 1
-------------------------------------+--------------------------------------

Comment(by janne):

(In [24251]) backports [24242:24243] from trunk

libav: emit pes packets from the mpeg-ts demuxer on completion

Emitting the packets on the start of the next pes packet causes delayed
DVB subtitles. Refs #6753

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:17>
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

Apr 24, 2010, 9:43 AM

Post #19 of 19 (2067 views)
Permalink
Re: Ticket #6753: Some DVB subtitles are delayed [In reply to]

#6753: Some DVB subtitles are delayed
-------------------------------------+--------------------------------------
Reporter: otto at kolsi dot fi | Owner: janne
Type: defect | Status: closed
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: 0.22-fixes
Severity: medium | Resolution: fixed
Mlocked: 1 |
-------------------------------------+--------------------------------------
Changes (by janne):

* status: accepted => closed
* version: head => 0.22-fixes
* resolution: => fixed
* milestone: 0.24 => 0.23


Comment:

closing as fixed, if anyone still using 0.22-fixes reports success with
ticket_6753_fix_dvb_subtitle_delay.diff, I'll commit it to 0.22-fixes.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6753#comment:18>
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.