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
#21
2005-12-16, 08:30 AM
I will update the wiki (when it is accessible again) with the accumulated learning

so its now

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

and

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"
del "%~dpn1_faulty.mpg"
comskip %1
rectracker %1 > rectracker.log
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
pens18aj
Offline

Member

Posts: 124
Threads: 9
Joined: Aug 2005
#22
2005-12-17, 01:06 AM
I am trying to get the mencoder.exe to run in my postprocessing.bat but I do not see the files getting changed. How can I tell if I am getting an error? I do see the postprocessing.bat being called. I did try the retime.bat but same results. :confused:
where does it set the enviorment settings to find the recordings for these to work. "%~dpn1.mpg" "%~dpn1_faulty.mpg"
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#23
2005-12-17, 01:33 AM
pens18aj Wrote:I am trying to get the mencoder.exe to run in my postprocessing.bat but I do not see the files getting changed. How can I tell if I am getting an error? I do see the postprocessing.bat being called. I did try the retime.bat but same results. :confused:
where does it set the enviorment settings to find the recordings for these to work. "%~dpn1.mpg" "%~dpn1_faulty.mpg"

There are no environment settings for this. The dos shell converts the %~dpn into a full drive letter, path and file name (minus the extension in this case). gbpvr provides the full path and file name to postprocessing.bat.

You should be able to watch the results of the batch file shortly after the end of the recording. The directory will suddenly display the _faulty.mgp file for a short while. You can also run the Task Manager and watch all the programs fire off in sequence. You will see comskip and mencoder.
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
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#24
2005-12-17, 07:11 AM
YOu can also run this manually by dragging and dropping a mpeg file on the script.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
pens18aj
Offline

Member

Posts: 124
Threads: 9
Joined: Aug 2005
#25
2005-12-17, 02:27 PM
erik Wrote:YOu can also run this manually by dragging and dropping a mpeg file on the script.

That was great helped me test with. I found when I did a copy and past of the command lines to the PostProcessing.bat via VNC the syntax got messed up on the "quotes " so it was not finding the location of the MPG file.

Thanks again I knew it had to be something stupid.
groover km
Offline

Senior Member

Posts: 731
Threads: 43
Joined: Mar 2005
#26
2006-02-10, 06:01 AM
Erik,

Can you help me with this? I have tried to add the instruction to call retime.bat to my postprocessing.bat and I think I've royally screwed it up...

I tried to 'drag and drop' a file on it... and all it did was delete the file! AAARRGH!

(did anyone record the office tonight?)

I am lost, you'll see where I rem'ed out the delete line (yeh, too late), but if you could have a look I'd be really grateful. I've included retime.bat as well. I drop a file on postprocessing.bat and I see a dos box flash up for a second, then nothing.

Cheers.
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!
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#27
2006-02-10, 07:14 AM
Retime uses two support programs bbdmux and mplex1, make sure they ar in the same directory as retime (gbpvr home dir?)
Als retime assumes the video of the mpeg pas pid 0xe0 and the audio 0xc0.
if this is incorrect the output will be empty.
You can not drag and drop a file on retimr because it needs two parameters, input and output.
Try to open a cmd window in the gbpvr home dir and run retime by hand.
If the filename of the mpeg files contain space enclose the names in double quotes (")
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
groover km
Offline

Senior Member

Posts: 731
Threads: 43
Joined: Mar 2005
#28
2006-02-10, 07:24 AM
thanks erik, i'll give it a try.
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!
groover km
Offline

Senior Member

Posts: 731
Threads: 43
Joined: Mar 2005
#29
2006-02-10, 01:14 PM
erik Wrote:YOu can also run this manually by dragging and dropping a mpeg file on the script.

I don't know what I was doing, but I couldn't get this to work; this is where I got confused. Moral of the story, don't mess with stuff when it's late, you're tired, etc...

Okay, I got up this morning and a couple of recordings have run in the night complete with 'retime'. I know this because I REMed out the delete instruction so I still have the faulty file, and checking the file properties I can see the times they were created. I also was able to watch the processes called through the Task Manager in sequence when a recording ended.

I opened the remuxed file to check the timeline and it was perfect. Fantastic! Wish I'd got round to adding this in earlier. Thanks Erik.

Only problem I have now, the files are not showing up in GB-PVR recordings, which is strange. As far as I can see they are the same filenames as the original, apart from the fact that the capitalisation is stripped out, eg:

Original file=
Bob_the_Builder_2005020....etc

New file=
bob_the_builder_2005020....

Everything else is the same, and if I change the capitalisation it still doesn't show up in the Recordings. Any idea what I may be doing wrong?

Thanks for all your help.
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!
nitrogen_widget
Offline

Posting Freak

Posts: 797
Threads: 33
Joined: Aug 2005
#30
2006-02-10, 07:09 PM
I recorded the office. It was titiled "Valentines Day"
Too bad it didn't rename.
Niether did Erle.

The comskip files renamed but not the .mpg file.
It probably has some commercials in it also. A flubbed recording seems to confuse comskip.

Before I had comskip,comclean & rename working flawlessly for 2 months.
Then this timing bug cropped up in almost all my recordings & one of the 3 randomly stopped functioning depending on which hauppauge driver I changed to.
I'll try adding this to see if it makes things play right.

I've been running everything manually to get by this & I find it interesting that a fixed file is about 100mb smaller than the original.
Then comskip works better & comclean runs also but running manually is a pain & i'm not smart enough to program a batch file to automate it. Sad

But If I can't get this straightened out I think i'm going to just swap in my theatrix 550 & see how that works.
« Next Oldest | Next Newest »

Users browsing this thread: 2 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,290 2007-10-09, 08:56 AM
Last Post: SuMo
  Comskip 0.79 build 31: ProjectX output and Timeline analysis erik 0 1,528 2006-04-03, 09:04 AM
Last Post: erik
  Commercial deletion with continues timeline erik 1 1,800 2005-10-23, 07:46 PM
Last Post: erik
  Comskip 0.77 has an integrated mpeg viewer erik 3 2,412 2005-09-27, 02:12 PM
Last Post: erik
  New plugin: Convert2wme 0.0.0 for MPEG-VCR erik 5 3,723 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