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 … 549 550 551 552 553 … 1231 Next »
Sync problem after transcoding to xvid

 
  • 0 Vote(s) - 0 Average
Sync problem after transcoding to xvid
ZaHayNa
Offline

Member

Posts: 63
Threads: 16
Joined: Oct 2005
#1
2007-04-30, 11:37 PM
I'm using GB to record my tv shows from a dvb source. When I play the files back without transcoding to xvid, it seems to play fine. However, if I transcode to xvid (by the settintgs in the config.exe utility) the audio is out of sync. It starts out just slightly out of sync, and by the end of the recording it's a few (around 6) seconds out.

I read some info that this might have to do with the way the dvb stream works, and that the file might need to be 'repaired' before transcoding. If this is the case, is there anyone who can help me set this up, either in postprocessing.bat or otherwise?

I also think this is why comskip wasn't working for me either, as it would detect commercials where there were none, and miss out when there was one. I'm not an expert though, so if someone could lend me a hand here, I'd greatly appreciate it.

Thanks.
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#2
2007-05-01, 12:25 AM
You may like to give PVAstrumento a shot in your post-processing batch.

It's got a cmdline & gui version in the zip file. It takes the file and outputs a new PS stream - with the same filename + "_00"
You could have it output, then change it back to the original filename once happy it's done the job properly.

Thanks
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
ZaHayNa
Offline

Member

Posts: 63
Threads: 16
Joined: Oct 2005
#3
2007-05-01, 02:31 PM
JonnyCam Wrote:You may like to give PVAstrumento a shot in your post-processing batch.

It's got a cmdline & gui version in the zip file. It takes the file and outputs a new PS stream - with the same filename + "_00"
You could have it output, then change it back to the original filename once happy it's done the job properly.

Thanks
Yes I looked at this program, but I don't know what to tell it to do in the command line. Would you happen to have an example you could post?
laserfan
Offline

Member

Posts: 79
Threads: 5
Joined: Mar 2007
#4
2007-05-01, 04:14 PM
You might want to try VideoReDo Plus on your original recording before conversion--it's a $50 program but is free to use for 2 weeks if you register with them. Does a great job with defects.

I routinely make Xvid conversions and never have a sync problem (ATSC transport streams) but am brand-new to GB-PVR and don't see how the Conversion options work at all. I use instead StaxRip and it works perfectly.

Assuming your recordings are OK, the only time I've seen sync problems w/Xvid avis is when VBR audio is used. Kinda depends on how you're playing the Xvids back though--are you seeing the sync issues on your PC or do you use a media player of some sort?
ZaHayNa
Offline

Member

Posts: 63
Threads: 16
Joined: Oct 2005
#5
2007-05-02, 10:59 PM
laserfan Wrote:You might want to try VideoReDo Plus on your original recording before conversion--it's a $50 program but is free to use for 2 weeks if you register with them. Does a great job with defects.

I routinely make Xvid conversions and never have a sync problem (ATSC transport streams) but am brand-new to GB-PVR and don't see how the Conversion options work at all. I use instead StaxRip and it works perfectly.
Thanks for the advice, but I'd rather do it with a free util that I can add to the postprocessing.bat file, so that I don't have to manually fix every file. It'd be nice to just sit and click the remote as opposed to vnc into the machine (because it's hooked up only to a CRT television).

Quote:Assuming your recordings are OK, the only time I've seen sync problems w/Xvid avis is when VBR audio is used. Kinda depends on how you're playing the Xvids back though--are you seeing the sync issues on your PC or do you use a media player of some sort?
I use GB to playback all of my files, but the sync issue occurs when transcoding. The mpg file seems to play fine, but because it's from a dvb source, I've read that this can leave 'holes' that will cause problems during transcoding. Hence why I'm looking to script postprocessing to do the repair before transcoding.

Thank you for your help. Smile
laserfan
Offline

Member

Posts: 79
Threads: 5
Joined: Mar 2007
#6
2007-05-03, 04:28 PM
ZaHayNa Wrote:I'd rather do it with a free util ...
Understood. Still, if you need confirmation that "fixing the holes" eliminates your sync problems, you can try VRD+ to confirm this at no cost.

FYI it also has a CLI mode which likely would fit your "script postprocessing" idea.

If all else fails! Wink Best $50 I've spent on software in 5 years, maybe ever...
ZaHayNa
Offline

Member

Posts: 63
Threads: 16
Joined: Oct 2005
#7
2007-05-03, 08:41 PM
laserfan Wrote:Understood. Still, if you need confirmation that "fixing the holes" eliminates your sync problems, you can try VRD+ to confirm this at no cost.

FYI it also has a CLI mode which likely would fit your "script postprocessing" idea.

If all else fails! Wink Best $50 I've spent on software in 5 years, maybe ever...
Oh really? So how do you go about 'fixing' a file anyway. Like I don't even know the terminology involved here. And if you could help with the actual forming of the CLI, I'd love to give it a shot. It'd be worth the $50 I'm sure. Smile
gEd
Offline

Posting Freak

London
Posts: 3,515
Threads: 100
Joined: Jan 2005
#8
2007-05-03, 09:48 PM
there is a vbs file supplied with videoredo that enables you to re-code mpeg files from the command line like this.

C:\Program Files\VideoReDoPlus>cscript vp.vbs <oldfile> < newfile>
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
laserfan
Offline

Member

Posts: 79
Threads: 5
Joined: Mar 2007
#9
2007-05-03, 10:23 PM
I don't know myself how to use it, but there is a VRD user who wrote a step-by-step for commercial cutting (including quickstream fix QSF) for BeyondTV laid-out here.

Here's a snippet about QSF that includes use of the vbs mentioned by gEd:

Code:
@ECHO OFF
::
::
:: Quickstream Fix script to run MPG and/or TP recordings through VideoRedo's Quickstream Fix
:: (Last Edited 03-22-07)
::
::
IF %~x1==.tp SET EXT=/t4
IF %~x1==.mpg SET EXT=/t1
::
:: To keep MPG files from being passed through QSF, uncomment the line, below...
::IF %~x1==.mpg GOTO ENDQSF
:: To keep TP files from being passed through QSF, uncomment the line, below...
::IF %~x1==.tp GOTO ENDQSF
::
:CHECKFORQSFMPG1
IF EXIST "%~d1\*.MPG" GOTO WAITTOQSFMPG1
GOTO ENDCHECKFORQSFMPG1
:WAITTOQSFMPG1
ECHO Another Quickstream Fix job is running (MPG file exists in "%~d1\")
ECHO Waiting 60 seconds...
SLEEP 60
GOTO CHECKFORQSFMPG1
:ENDCHECKFORQSFMPG1
::
:CHECKFORQSFTP1
IF EXIST "%~d1\*.TP" GOTO WAITTOQSFTP1
GOTO ENDCHECKFORQSFTP1
:WAITTOQSFTP1
ECHO Another Quickstream Fix job is running (TP file exists in "%~d1\")
ECHO Waiting 60 seconds...
SLEEP 60
GOTO CHECKFORQSFTP1
:ENDCHECKFORQSFTP1
::
:CHECKFORCUT1
IF EXIST "%~d1\*.VPRJ" GOTO WAITTOCUT1
GOTO ENDCHECKFORCUT1
:WAITTOCUT1
ECHO Another cutting job is running (VPRJ file exists in "%~d1\")
ECHO Waiting 60 seconds...
SLEEP 60
GOTO CHECKFORCUT1
:ENDCHECKFORCUT1
::
ECHO .
ECHO Quickstream Fix will be run on "%~nx1" and output to "%~d1\%~nx1"
ECHO .
ATTRIB -R "%~pdnx1"
cscript //nologo "c:\program files\videoredoPlus\vp.vbs" "%~pdnx1" "%~d1\%~nx1" %EXT% /d
::
:TRYTOMOVE1
IF EXIST "%~pdnx1" ATTRIB -R "%~pdnx1"
MOVE /Y "%~d1\%~nx1" "%~pdnx1"
IF EXIST "%~d1\%~nx1" GOTO CANNOTMOVE1
GOTO MOVED1
:CANNOTMOVE1
ECHO Cannot overwrite "%~pdnx1", so waiting for 10 minutes to try again...
SLEEP 600
GOTO TRYTOMOVE1
:MOVED1
ECHO .
::
:ENDQSF
::
::

Too ambitious for me, but maybe will give you an idea... Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Composite channel configuration problem. seymoria 6 4,594 2012-01-15, 10:15 PM
Last Post: seymoria
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,387 2011-06-27, 02:06 AM
Last Post: sub
  Problem with GB-PVR - Cannot Watch Channels and Administrator Problem Greg Smith 10 4,456 2011-05-22, 05:09 PM
Last Post: sub
  Problem with switch to DST next 4 2,322 2011-03-29, 08:42 PM
Last Post: darag2358
  Huge database (+27GB) - is it a problem? pme 7 3,014 2011-01-24, 12:37 AM
Last Post: gEd
  MCE 2005 IR Blaster problem persim 6 3,450 2010-12-29, 01:28 AM
Last Post: persim
  Another pause problem fleapower 10 3,784 2010-12-15, 09:33 PM
Last Post: fleapower
  remote problem in GBPVR Zacken 5 2,609 2010-12-08, 09:00 PM
Last Post: Zacken
  Transcode Problem axeman91 7 3,314 2010-11-22, 09:02 AM
Last Post: goelectric
  Automatic Transcoding Not Working taz 3 2,248 2010-11-22, 09:01 AM
Last Post: goelectric

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

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

Linear Mode
Threaded Mode