NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 127 128 129 130 131 159 Next »
pvr150 video timing bug

 
  • 0 Vote(s) - 0 Average
pvr150 video timing bug
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#11
2005-12-06, 05:59 PM
sub Wrote:There is no header that contains the duration in the MPG file. The duration is derived from the presentation time stamps that are spread throughout the file (thousands of them). When people remux the file, this as the side effect of rebuilding these timestamps.

I don't know enough to argue with you even if I wanted to, but how does a player show you the length of the video right as it opens? Obviously it doesn't read the entire file. Does it just read the end of the file too, or does each PTS have the full duration in it? Just curious.

sub Wrote:If you're timestamps are 'broken' then the PVR150 drivers are probably to blame. GB-PVR just saves the MPEG stream byte for byte as its generated by the drivers. Somewhere in amongst all that data is the timestamps, but at record time GB-PVR has no knowledge of which bytes are what, and doesnt manipulate them in any way.

I know its not a gbpvr thing... definitely the drivers. I had no trouble at all until my pvr250 broke and I replaced it with the 150. It's frustrating that they've not fixed such an obvious problem.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#12
2005-12-06, 06:03 PM
steves Wrote:Not really had this myself, but did a bit of searching and found this:

http://www.digitalfaq.com/dvdguides/capt...stream.htm

Restream looks like it may well be the tool for the job... if it does commandline of course...

Thanks for the info. I just found that one and a couple others a few minutes ago myself. I'll try them later tonight when I have a chance and post the results.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,906
Threads: 770
Joined: Nov 2003
#13
2005-12-06, 06:05 PM
Quote:I don't know enough to argue with you even if I wanted to, but how does a player show you the length of the video right as it opens? Obviously it doesn't read the entire file. Does it just read the end of the file too, or does each PTS have the full duration in it? Just curious.
It depends on the player, but I often read the first and last presentation timestamp and calculate the duration from the difference. That said, if the other timestamps during the show are incorrect, you could get one or all of the following problems - hanging, stuttering, audio/video out of sync, finishing early. These presentation timestamps are very important and used to tell the system when audio of heard or video seen.
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#14
2005-12-07, 12:19 AM
I tried a couple utilities, mixed results.

I tried restream mentioned above and it requires demux'ing first, so it's no better than what I already have.

Next, I tried MPEG-Corrector http://www.dvdhelp.us/index.html?html/tutmpegheadercorrector.html~mainFrame
. This is nice because it's one simple executable and doens't require temp files, but it has a couple problems. First, it's GUI-only so it's no good for a batch process. Second, even though it did rewrite the file with correct time stamps, it tagged the file at MPEG1 instead of MPEG2. Realplayer and Windows Media Player choked on it because of that, Nero's Showtime handled it ok. I didn't bother in gbpvr.

So, still looking...
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#15
2005-12-07, 01:08 AM
I did find one easy solution... mencoder. Most people use it to make an avi, but it can make an mpeg file too. The following command line makes it rebuild the mpeg file, simply copying the input's video and audio stream without re-encoding: mencoder -of mpeg -ovc copy -oac copy input.mpg -o output.mpg

This reset the timestamps and didn't require demux'ing. I'll play around with it some more, but this might be the best option.
groover km
Offline

Senior Member

Posts: 731
Threads: 43
Joined: Mar 2005
#16
2005-12-07, 01:33 AM
I have checked my PVR-150 driver version, and it is 2.0.30.23123 ...I'm pretty sure that this is the one off the CD, and I have tweaked the settings with the tweak tool from SHS.

The current version on the hauppauge website is 2.2.23257 ... I never updated as I read too many 'horror' stories on shspvr forum and I thought if it's not broke...

However if it's the driver causing me a problem, I'm willing to try it. What version driver do you guys use? Any recommendations, suggestions, thoughts?
Celeron D 2.53GHz, 1024MB
120GB, 160GB int, 80GB, 250GB ext, 40GB lan HDDs
PVR-150 retail, 1 wired MVP, 1 wireless MVP, OFA URC-8910 Remote
Look for me on XBox Live!
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#17
2005-12-07, 03:49 AM
I'm using the latest from the Hauppauge website. They don't work consistently either. Sad
wtg
Offline

Posting Freak

Posts: 1,402
Threads: 120
Joined: Mar 2005
#18
2005-12-07, 04:59 AM
wtg Wrote:The following command line makes it rebuild the mpeg file, simply copying the input's video and audio stream without re-encoding:

mencoder -of mpeg -ovc copy -oac copy input.mpg -o output.mpg

I've done some more experimenting and I'm liking this option even more. On my wee 1.1 GHz Celeron it does 1 hr of video in about 8 minutes (input and output to the same disk too), plus you can start watching the video in gbpvr or on the MVP as soon as you start the process. Since the PC is converting it much faster than realtime, by the time you get to a commercial, enough video has been converted that you can skip it.

This is a much better solution that demux'ing and remux'ing.
Lindsay
Offline

Posting Freak

Posts: 1,231
Threads: 95
Joined: Apr 2005
#19
2005-12-08, 09:49 AM
sub pointed me to this thread. Below find a description of a problem I have had. Does this sound like the problem you are discussing?

The mpg file was the right length but it was handled as follows:- GBPVR played a few seconds, WMP took about 10 sec to move the place-holder to the right-hand end then continued to play the file, VideoRedo Plus played 12 sec and stopped but the commercial finder read the whole file!

I use a pvr150, dvr ver 23258.

Thanks.
C2Duo E8400, 4GB, GE8600GT, PCH A-100, HVR2200, NPVR 1.5.31, Win 7 x64.
groover km
Offline

Senior Member

Posts: 731
Threads: 43
Joined: Mar 2005
#20
2005-12-08, 01:17 PM
It doesn't sound 'exactly' the same, but it certainly could be related to the timestamps distributed throughout the file.

Typically, I open the recorded file to play, look at the OSD, and rather than showing the correct duration (say 1:00 Hour) it shows a funky number - 23minutes 14 seconds, or whatever). If I leave the file to play without touching the remote it will play fine, sometimes I can FF and RW, but any attempt to skip around the file goes haywire.

Maybe try some of the suggested fixes in this thread and see if it has an affect?
Celeron D 2.53GHz, 1024MB
120GB, 160GB int, 80GB, 250GB ext, 40GB lan HDDs
PVR-150 retail, 1 wired MVP, 1 wireless MVP, OFA URC-8910 Remote
Look for me on XBox Live!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Open Source Video Editing Software SamM 14 8,404 2024-06-16, 03:18 PM
Last Post: Rudy065
Sad VideoReDo video software - dead? Dennisaus 3 2,111 2022-08-19, 01:16 AM
Last Post: Dennisaus
  Merging video with web radio (ffmpeg) NumberFive 1 1,329 2021-05-04, 01:01 PM
Last Post: mvallevand
  Can the video card tell it's HD? mikeh49 4 3,205 2020-09-09, 04:30 AM
Last Post: nicklowiczcomputers
  Video editing software for HE-AAC Jaggy 4 3,479 2014-02-08, 04:10 AM
Last Post: Jaggy
  Replace video file without windows telling apps the original was deleted? ATHiker 0 1,787 2013-11-25, 09:23 PM
Last Post: ATHiker
  Copy to VHS with PVR150 soccerdad 3 2,438 2013-09-15, 08:19 PM
Last Post: soccerdad
  Video framerate conversion is causing hickups WKleeven 0 1,762 2013-01-23, 12:39 PM
Last Post: WKleeven
  Need Help With Video File Types bdgbill 8 4,456 2012-12-30, 11:43 PM
Last Post: Reddwarf
  Android ICS 4 Tablet Video Capability ga_mueller 2 2,491 2012-06-09, 09:43 PM
Last Post: wannabepvr

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

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

Linear Mode
Threaded Mode