SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-25-2016, 06:11 AM
oshapir's Avatar
oshapir oshapir is offline
Sage Advanced User
 
Join Date: May 2004
Location: Israel
Posts: 142
Timelise is NOT in sync with the movie...

Hi all,

I'm having a strange problem with some of my MPG2 recordings (not all) .
When I play the recording, the playing speed is normal BUT the time line is moving faster! On some recording it moves X2 faster and on some even faster.

The result is that the recording stops before the actual show ends because the timeline is at the end faster than the recording.
I tried different codecs - but got the same result.

I hope you understand the strange problem...

When watching the recording file with VLC - all is normal.

Any idea?
Thanks,
Oren.
__________________
Oren Shapir - Architect
Reply With Quote
  #2  
Old 01-25-2016, 08:29 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by oshapir View Post
Hi all,

I'm having a strange problem with some of my MPG2 recordings (not all) .
When I play the recording, the playing speed is normal BUT the time line is moving faster! On some recording it moves X2 faster and on some even faster.

The result is that the recording stops before the actual show ends because the timeline is at the end faster than the recording.
I tried different codecs - but got the same result.

I hope you understand the strange problem...

When watching the recording file with VLC - all is normal.

Any idea?
Thanks,
Oren.
What is the client? HD200, HD300, Desktop Client or Desktop Placeshifter?
Reply With Quote
  #3  
Old 01-25-2016, 09:10 AM
oshapir's Avatar
oshapir oshapir is offline
Sage Advanced User
 
Join Date: May 2004
Location: Israel
Posts: 142
Desktop client.

Oren.
__________________
Oren Shapir - Architect
Reply With Quote
  #4  
Old 01-25-2016, 03:43 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
This happens when the duration indicated by the player does not match the duration that SageTV has stored in the database. So if the DB says the file is 60 minutes...but then the media player that loads it says it's 30 minutes...the timeline will progress twice as fast in order to match them up (this feature originated because things were quite often off by a few seconds and would make them match up).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #5  
Old 01-25-2016, 09:11 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
How is the duration determined for the timeline? I have recordings where the timeline is all screwed up and I think it is because the times tamp of the file is not the same as the recording time of the airing? This particularly happens when I use Handbrake to transcode a file - if I remember correctly I had to add a step to my process where I actually change the file time stamp for the transcoded file to match the original recording file time stamp

So it appears that Sage seems to use the airing time in some ways to determine file duration rather than the length of the file.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #6  
Old 01-25-2016, 10:44 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
I think Jeff metioned some other place that the file creation and last modified times are used to determine the length.
Reply With Quote
  #7  
Old 01-26-2016, 12:33 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Duration of programs are calculated by looking at the media contents in the files themselves (but it's possible that this calculation differs from that of the media player). The last modified time is used when recovering files that aren't in the database; and it assumes that was the end time of the recording (and then subtracts the duration to get the start time). If it has an Airing in the database that corresponds to the file (different than the MediaFile entry for the actual recording); and the modified time is outside the reasonable bounds of the airing time...then it'll try to adjust the timestamp on the file to correct this.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just in Case - Movie.properties to Movie.NFO??? MattHelm General Discussion 2 11-06-2011 10:44 AM
Movie Thumbs are First Frame of Movie hackzaw Batch Metadata Tools 1 04-15-2011 09:10 PM
Sage Movie Wall: Will not automatically gather movie data? (Art, IMBD, etc) therealtybutler SageMC Custom Interface 6 09-22-2009 01:58 AM
at root menu of DVD movie, can move cursor, but can't select (play movie)?? mattress SageTV Software 1 09-04-2006 11:15 AM
Out of sync with TV iradel SageTV Software 1 05-27-2006 11:24 PM


All times are GMT -6. The time now is 03:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.