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

Mailing List Archive: MythTV: Commits

Ticket #7515: SRT subtitle timings wildly variable

 

 

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


mythtv at cvs

Nov 7, 2009, 8:03 AM

Post #1 of 14 (1349 views)
Permalink
Ticket #7515: SRT subtitle timings wildly variable

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
Trunk, revision 22760.

When playing a video file with accompanying SRT subtitles, the subtitle
timings are wildly variable. This is not apparent when comparing the
subtitle timecodes with the time displayed in myth when pausing, because
what is causing this problem is that the time displayed in myth is wrong,
having been calculated from an apparent fps which seems to be wandering
all over the place (because of A/V sync corrections). Note the video in
all these cases plays perfectly; no stutter, not too fast, not too slow,
so whatever the A/V sync is doing, it's obviously working :-)

The attached patch fixes the problem for me, and puts the subtitles right
back on the nail of where they're supposed to be.

It's quite possible there are unintended side effects since as far as I
can work out currentFrame->timecode is a long long whose size is therefore
not guaranteed, and it might wrap, but most of the time it's going to be
pretty big and not too many people watch movies many days long :-)

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

Dec 1, 2009, 9:15 AM

Post #2 of 14 (1272 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by S2):

This patch fixes the problem for me as well on mythtv-0-22-fixes.

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

Jan 24, 2010, 12:22 PM

Post #3 of 14 (1175 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by electoys):

What is required for this patch to be submitted as a changeset? It would
be appreciated in the 0.22 branch.

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

Jan 24, 2010, 12:29 PM

Post #4 of 14 (1180 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 1
-------------------------------------+--------------------------------------
Changes (by stuartm):

* mlocked: 0 => 1


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

Jan 25, 2010, 4:21 AM

Post #5 of 14 (1165 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 1
-------------------------------------+--------------------------------------
Changes (by stuarta):

* milestone: unknown => 0.23


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

Mar 9, 2010, 7:02 AM

Post #6 of 14 (1055 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
Changes (by tralph):

* status: new => infoneeded_new
* mlocked: 1 => 0


Comment:

Tim, could you please provide a sample with the "wondering" fps problem?
You can create a 50MB sample from the start of the video with:

dd if=input.mpg of=sample.mpg bs=1024 count=50000

and upload to a site such as filebin.ca.

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

Mar 12, 2010, 7:22 PM

Post #7 of 14 (1023 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
Changes (by tralph):

* status: infoneeded_new => new


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

Mar 12, 2010, 7:23 PM

Post #8 of 14 (1024 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by tralph):

Please try newly attached t7515_srt_subtitle_fix.diff patch.

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

Mar 14, 2010, 9:56 AM

Post #9 of 14 (998 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by tim@…):

I'll need to get around to building a new frontend with and without the
new patch and see if the problem is still there and if so if this fixes
it.

This may take me a few days...

If the problem is still there I'll make a video clip and a .srt file
excerpt.

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

Mar 15, 2010, 6:12 PM

Post #10 of 14 (971 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: closed
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Resolution: fixed
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by tralph):

* status: new => closed
* resolution: => fixed


Comment:

(In [23744]) Use timecode for time based SRT subtitles instead of
frameNumber since fps can vary and frames can be repeated.

Original patch by tim at electronghost dot co dot uk

Fixes #7515.

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

Aug 14, 2010, 3:48 PM

Post #11 of 14 (595 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+--------------------------------------
Changes (by jari.nevalainen@…):

* status: closed => new
* resolution: fixed =>


Comment:

This still doesn't work with Scandinavian Canal+ channels. Please find an
example of a stream from http://www.kennelpoika.net/mythtv
There is also a .sub file which was taken from the stream using ProjectX.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7515#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 15, 2010, 8:27 AM

Post #12 of 14 (576 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: markk
Type: defect | Status: assigned
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+--------------------------------------
Changes (by robertm):

* owner: janne => markk
* status: new => assigned


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7515#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 15, 2010, 10:20 PM

Post #13 of 14 (567 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: markk
Type: defect | Status: closed
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+--------------------------------------
Changes (by markk):

* status: assigned => closed
* resolution: => fixed


Comment:

Jari - I've tested your clip and subs file with trunk and as far as I can
tell it works without issue. I don't know what version you're running but
if you still see this problem with current trunk or 0.24 when it's
released, please re-open with a detailed description of the symptoms.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7515#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 16, 2010, 10:09 AM

Post #14 of 14 (562 views)
Permalink
Re: Ticket #7515: SRT subtitle timings wildly variable [In reply to]

#7515: SRT subtitle timings wildly variable
-------------------------------------+--------------------------------------
Reporter: tim@… | Owner: markk
Type: defect | Status: closed
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: unknown
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+--------------------------------------

Comment (by jari.nevalainen@…):

I was using 0.23.1. Today I also tried with current trunk and it had the
same problem. I had to downgrade back to 0.23 because of WAF (there were
some vdpau issues with trunk also). I'll set up another PC with trunk to
get you some examples. The problem occurs when there is a lot's of dialogs
coming. Some of the text is missing and some is shown such a short time
that it's impossible to get it read. This occurs only on Canal+ movie
channels (First, Hits, Action, Drama). For example Star and Animal Planet
have no problem, even though they are provided by Canal.

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