NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 541 542 543 544 545 … 1231 Next »
Captions slowly go out of sync over time

 
  • 0 Vote(s) - 0 Average
Captions slowly go out of sync over time
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#1
2007-05-15, 05:41 AM (This post was last modified: 2007-05-15, 06:00 AM by pastro.)
I use mpg2srt to rip the captions and the srt viewer to show them. It works fine, except on a 1 hour show the captions start to show up too early the further into the show you go. If I use the line21 decoder via graphedit they are timed correctly. Any ideas how to prove whether this is the SRT viewer or the captions themselves that are not correct?

Edit: I made a test file at 1 hour and 1:30 and the captions looked like they came up exactly right. Seems like it must be an mpg2srt issue. Anyone else see this?
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#2
2007-05-16, 04:06 AM (This post was last modified: 2007-05-20, 10:32 PM by pastro.)
I'm sure mpg2srt is not getting the timeline right. I used a different extractor and the captions are correct at the end of the file. The timestamps in the files start out about -500ms and they end up at 3 seconds off, or a total of 3.5 seconds of drift. Since I slip 3.5 seconds the captions from mpg2srt appear to be extracted at this rate: 1/3596.5*29.97*3600=30hz.
Which would give the 3.5 second shift over an hour

Unfortunately ccextractor isn't quite ready for primetime since it created one caption with a line full of spaces which the srt viewer didn't like. I'm sure it threw the srt parser off. I manually fixed it and the file played fine but it won't work without another program to fix the output.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#3
2007-05-16, 04:24 AM
Sorry, I dont think there is anything I can do about this one. It does sound from you analysis like mpg2srt isnt getting it quite right.
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#4
2007-05-16, 04:39 AM
sub Wrote:Sorry, I dont think there is anything I can do about this one. It does sound from you analysis like mpg2srt isnt getting it quite right.

I can write a post processor that fixes the captions, but I need to check some more data to make sure it's always off 3.5 seconds for an hour or if it is some other anomoly that makes mpg2srt slide.
I'm still curious though if anyone else sees this.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#5
2007-05-20, 10:37 PM
I PM'ed Merrypig about the problem and he said that the playback is running at 30hz and the timestamps are at 29.97 which causes the drift. He might build in an option to ignore the timestamps.
Sounds like the 29.97 to 30hz conversion (drop a frame here and there) causes the issue since there is no mechanism to fix the srt file which is generated at 29.97.
Seems like any playback that does frame rate conversoin is going to have this issue.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#6
2007-05-20, 11:11 PM
GB-PVR isnt doing any frame rate conversion though, so the recording should be playing back at the original frame rate. This makes me think its some logic error occurring in mpg2srt.
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#7
2007-05-20, 11:19 PM
sub Wrote:GB-PVR isnt doing any frame rate conversion though, so the recording should be playing back at the original frame rate. This makes me think its some logic error occurring in mpg2srt.

Gbpvr might not be, but the video card or the player has to. The display is 60hz. I believe that causes the trouble with the srt file being out sync. Course that said, I don't see why ccextractor works correctly. Maybe they do the conversion on the timestamps.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio buzzing second time recording launched. dennit 2 4,618 2012-12-09, 11:28 PM
Last Post: dennit
  Time Warner 4250HDC smajor 43 28,154 2011-07-17, 09:04 PM
Last Post: soccerdad
  Recordings getting stuck after end time keith_leitch 5 2,691 2010-12-07, 03:53 AM
Last Post: johnsonx42
  Dropped frames / messed-up time codes ? jch 9 3,616 2010-10-10, 02:55 AM
Last Post: jch
  How do I enable close captions/subtitles? ricksaint 3 2,644 2010-09-24, 12:35 AM
Last Post: sub
  How to watch and record at the same time on a Compro E900F? Croftie 3 2,138 2010-07-23, 03:31 PM
Last Post: Croftie
  Sound And video out of time ziton 4 2,221 2010-07-15, 06:17 PM
Last Post: pBS
  Running comskip at a scheduled time? gonzo90017 4 2,198 2010-05-19, 06:09 AM
Last Post: pBS
  One channel audio video sync problem morser 2 1,530 2010-05-11, 04:29 PM
Last Post: cdan_smith
  mc2xml time is off by 7 hours GemPVR 2 1,999 2010-04-25, 05:15 PM
Last Post: GemPVR

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode