NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 4 5 6 7 8 … 56 Next »
Repairing the timeline of an MPEG

 
  • 0 Vote(s) - 0 Average
Repairing the timeline of an MPEG
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#11
2005-12-13, 08:00 AM
This is how to integrate into your postprocessing.bat
It can NOT be used in paralellprocesing.bat because the file MUST be completely written before.

When using retime it should be

Code:
move "%~dpn1.mpg" "%~dpn1_faulty.mpg"
retime "%~dpn1_faulty.mpg" "%~dpn1.mpg"
comskip %1
rectracker %1 > rectracker.log

or if you use mencoder

Code:
move "%~dpn1.mpg" "%~dpn1_faulty.mpg"
"c:\program files\mplayer\mencoder.exe" -of mpeg -ovc copy -oac copy "%~dpn1_faulty.mpg" -o "%~dpn1.mpg"
comskip %1
rectracker %1 > rectracker.log


I word of warning: I did NOT test so apriciate your feedback.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#12
2005-12-13, 08:35 AM
The information is now also in the wiki
See http://gbpvr.com/pmwiki/pmwiki.php/Utility/ReTime
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#13
2005-12-13, 10:19 AM
just out of curiousity, would this fix the error dvdauthor has with most mpeg2 files recorded from a PVR card (currently im having to demux and then remux all mpeg2 files before burning, if this is quicker i would prefer to use this)
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#14
2005-12-13, 10:41 AM
In short : Yes

You can try which runs quickest.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
gexi
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Nov 2005
#15
2005-12-13, 04:55 PM
erik, thanks for putting this on the wiki.

I've been trying to improve the WAF but its been taking a few steps back when the PVR150's incorrectly encoded files skip forward not backward when the instant replay button is pressed.

Hopefully this will take care of the problem.
pens18aj
Offline

Member

Posts: 124
Threads: 9
Joined: Aug 2005
#16
2005-12-15, 01:31 AM
erik Wrote:or if you use mencoder

Code:
move "%~dpn1.mpg" "%~dpn1_faulty.mpg"
"c:\program files\mplayer\mencoder.exe" -of mpeg -ovc copy -oac copy "%~dpn1_faulty.mpg" -o "%~dpn1.mpg"
comskip %1
rectracker %1 > rectracker.log

will this still allow the recordings to show in the "ready" list for Xrecord or recordings or will it produce the same results as the rename utility where the file could not be seen unless you played it from Video Libary?

Thanks
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#17
2005-12-15, 04:40 AM
pens18aj Wrote:will this still allow the recordings to show in the "ready" list for Xrecord or recordings or will it produce the same results as the rename utility where the file could not be seen unless you played it from Video Libary?

Thanks


The retimed file will end up with the exact same name as the original file, and should therefore be fine. If, for some reason, the utilities want to use the old file you can delete it. You will probably want to delete the old file anyway once you are confident the new file works as expected. Add the following line after the recoding line (before comskip will work):

del "%~dpn1_faulty.mpg"
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
ggee
Offline

Senior Member

Posts: 313
Threads: 88
Joined: Oct 2005
#18
2005-12-16, 12:38 AM
erik Wrote:This is how to integrate into your postprocessing.bat
It can NOT be used in paralellprocesing.bat because the file MUST be completely written before.

When using retime it should be

Code:
move "%~dpn1.mpg" "%~dpn1_faulty.mpg"
retime "%~dpn1_faulty.mpg" "%~dpn1.mpg"
comskip %1
rectracker %1 > rectracker.log


I word of warning: I did NOT test so apriciate your feedback.

Well, I tried it but something strange happened. I ended up with 3 mpg files. Not sure what really happened. As you can see, the one ending in -1.mpg seems to be the original.

Greg
Server:
GBPVR 1.4.7
Capture: Hauppauge PVR-150MCE

[COLOR="DarkRed"]Clients:
[/COLOR]
Media MVP: 2 wired(default dongle), 1 wireless(mvpmc dongle)
PCH A-100: 1 (mvpmcx2)
gexi
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Nov 2005
#19
2005-12-16, 04:01 AM
erik Wrote:This is how to integrate into your postprocessing.bat
It can NOT be used in paralellprocesing.bat because the file MUST be completely written before.

When using retime it should be

Code:
move "%~dpn1.mpg" "%~dpn1_faulty.mpg"
retime "%~dpn1_faulty.mpg" "%~dpn1.mpg"
comskip %1
rectracker %1 > rectracker.log

I found that I had to use:
call retime "%~dpn1_faulty.mpg" "%~dpn1.mpg"

or it would never come back from the retime batch file and comskip would never get called. Adding a
del "%~dpn1_faulty.mpg"
also worked great to remove the old one. Do others not have to use "call retime" in postprocessing.bat or should this be added to the wiki?
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#20
2005-12-16, 05:54 AM
gexi Wrote:I found that I had to use:
call retime "%~dpn1_faulty.mpg" "%~dpn1.mpg"

or it would never come back from the retime batch file and comskip would never get called. Adding a
del "%~dpn1_faulty.mpg"
also worked great to remove the old one. Do others not have to use "call retime" in postprocessing.bat or should this be added to the wiki?

Retime is a batch file, so you would need to call it if you wanted to continue with commands in the calling batch file.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  MPEG editor HtV 6 2,364 2007-10-09, 08:56 AM
Last Post: SuMo
  Comskip 0.79 build 31: ProjectX output and Timeline analysis erik 0 1,571 2006-04-03, 09:04 AM
Last Post: erik
  Commercial deletion with continues timeline erik 1 1,831 2005-10-23, 07:46 PM
Last Post: erik
  Comskip 0.77 has an integrated mpeg viewer erik 3 2,497 2005-09-27, 02:12 PM
Last Post: erik
  New plugin: Convert2wme 0.0.0 for MPEG-VCR erik 5 3,797 2005-06-10, 09:19 PM
Last Post: pwtenny

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

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

Linear Mode
Threaded Mode