or Connect
AVS › AVS Forum › Gaming & Content Streaming › ReplayTV & Showstopper PVRs › ReplayTV 5K Tools (Revision 4)
New Posts  All Forums:Forum Nav:

ReplayTV 5K Tools (Revision 4) - Page 3  

post #61 of 389
Check your DMF2 project settings.

Max bit rate should be 9800 and variable.
Audio should be 48khz, 224 bits.
And make sure you check off "do not encode compliant files"

Someone else posted this once before, and once I made this change (it's not the default), I have been burning w/out issue.
post #62 of 389
I have never changed my defaults from the standard DMF2 install defaults, and I have never had it re-encode [low quality files].
post #63 of 389
agent-x, any chance you could enable PMs? I want to discuss these stream errors a bit with you, but I don't think here is a good place. If not, I understand.
post #64 of 389
For those interested, I've written a batch file that will allow you to drag and drop any *.evt, *.ndx, or *.mpg and create a *.dvd.mpg. It also cleans up any intermediate/temporary files as well....

Code:
@echo off

rem rtvtools must be in the path

rem Grab input file and trim off extension - so drag and drop will work...
set temp=%1
set filename=%temp:~0,-5%

rem process file...
evtdump %filename%.evt" > evt.txt
rtvedit -t1 evt.txt
rtvconvert %filename%1.mpg" %filename%.dvd.mpg"

rem delete temporary files...
del %filename%1.evt"
del %filename%1.ndx"
del %filename%1.mpg"
del evt.txt

rem For those who want to stream the converted file back to a ReplayTV, comment
rem out the next two lines
del %filename%.dvd.evt"
del %filename%.dvd.ndx"
post #65 of 389
Quote:
Originally posted by maxjim
Are you always successful using this method? I've tried twice using the RTVedit and RTVConvert method and both times DMF2 required re-rendering. The good news is that the finished product seems to have no audio sync problems.
I've created 2 DVD's with RTVEdit, RTVConvert and DMF2 and DMF2 has not re-encoded either time.
post #66 of 389
thanks dszlucha

xactly what I was looking for.

cow
post #67 of 389
Quote:
evtdump %filename%.evt" > evt.txt
rtvedit -t1 evt.txt
I keep seeing -t1 being misused, so I would like to make clear what this switch actually does.

What does -t1 do?

-t1 is a switch to turn on an internal conversion to correct frame rates from video editors (29.97) to match the ndx/evt (30) plus an offset. This switch is only intended as a convenience for those users who handpick timestamps from an external video editor. It is not a magic switch that can be turned on all the time, if it were it would be on by default and there would be no reason to need a switch.

When should I use it?

You should only use -t1 when you create an edit script manually using timestamps derived from an external video editor.

When should I not use it?

You should not use it when you are using timestamps derived from the .evt or .ndx files. This includes any output from evtdump.

What if evtdump picks up some parts of a commercial? Will -t1 fix it?

No. In early parts of the show, the change is small enough that it may look like this works, but over time it will make the problem worse. Instead, if this happens, you can adjust it by adding or subtracting .5 seconds to the timestamp at the problem location.

What happens if I use it wrong?

You will see increasingly inaccurate edit points, the worst near the end of your program. I.e., you will introduce the same problem the switch is trying to correct.
post #68 of 389
Quote:
Originally posted by agent-x
When should I use it?

You should only use -t1 when you create an edit script manually using timestamps derived from an external video editor.
Does this apply when I hold SHIFT while using Virtualdub with MPEG2 capability? Or only when I don't use I-frames?
post #69 of 389
Quote:
Originally posted by dszlucha
Does this apply when I hold SHIFT while using Virtualdub with MPEG2 capability? Or only when I don't use I-frames?
From the rtvtools docs:

Quote:
Since RVTEDIT is intended to use times from EVTDUMP, the times used in the
edit list are based off the .ndx/.evt clock (which is different from the
stream clock). If you are creating an edit list manually, you must use an
application that will give you frame times (not MPEG times) or your results
will be off. The -t1 flag allows using frame times from an external
application. This only works for original RTV 5K streams (not converted or
edited).

VirtualDub-MPEG2, 1.5.4 or later, is recommended for manually finding edit
times. For best results, hold SHIFT to snap to I-frames and pick the one
where you want the edit to occur. Once you've created the edit list, use:

rtvedit -t1 <edit-script>

This will adjust the script times to the closest editable locations in the
stream. This should be much more accurate (within 2 frames from my testing
with medium quality streams).
Basically, any external MPEG editor will use a different time-base than the replay files.
Therefore, you need the switch unless you rely on the evt times themselves.
I-frames don't matter in regard to the "t1" switch, but you SHOULD snap to I-frames
when locating cut points.

Here's a slightly flawed analogy:
Suppose two guys, Ernie and Bert are driving from LA to Vegas. They take separate cars,
but drive the same speed. Each one keeps a log in which he writes down the time every 10 miles.
However, Ernie's watch is SLIGHTLY faster than Bert's.

Now, if you want to know at what time Ernie was at 100 miles, you'd have to rely on his watch.
Likewise, all of Bert's logs are based on his watch. So, if you want to know how long it takes
to get to a specific point along the route, you need to know whose watch was used to record the times.

Similarly, since the Replay "evt" times are a slightly different speed than most MPEG editors,
rtvedit needs to know whose watch was used to record the log. That's what the "t1" switch does:
it distinguishes between the default "evt" times, and the external editor times.

-BS
post #70 of 389
Good point, thanks. Let's say I use the .evt created punch in/out times, but I also use a time from Virtualdub/MPEG (I added one that the Replay did not detect). That would create a conflict.
post #71 of 389
I pulled an mpg file off the ReplayTV and then did the following:

Ran the file through the rtvedit program (no edits).
Ran the file thougth the rtvconvert program and demuxed the files.
Put the files into two different DVD burning programs (ULead Digital Movie Factory 2 and DVDLab) and burned a DVD with a simple menu.

Both the discs that I created have sound when I play them on the computer, but have no sound when playing on my DVD player. Do I need to convert the audio file before burning to a DVD?

Any help would be appreciated. And thanks to the authors for this great set of tools and all your hard work!

- madcap
post #72 of 389
Quote:
Originally posted by madcap
I pulled an mpg file off the ReplayTV and then did the following:

Ran the file through the rtvedit program (no edits).
Ran the file thougth the rtvconvert program and demuxed the files.
Put the files into two different DVD burning programs (ULead Digital Movie Factory 2 and DVDLab) and burned a DVD with a simple menu.

Both the discs that I created have sound when I play them on the computer, but have no sound when playing on my DVD player. Do I need to convert the audio file before burning to a DVD?

Any help would be appreciated. And thanks to the authors for this great set of tools and all your hard work!

- madcap

Your dvd player most likely has a problem with MPEG Audio, there are two things you can do....
1) configure your dvd player to output PCM data, not bitstream digital audio for these dvds. It's a pain to do, but it works for most players. Older toshiba players had this problem.
2) convert the audio to AC-3 2.0 with besweet or something else that will convert the audio. BesweetGUI makes the commandline besweet tools a bit easier to use, but they can still be tricky.
post #73 of 389
Quote:
Originally posted by madcap
I pulled an mpg file off the ReplayTV and then did the following:

Ran the file through the rtvedit program (no edits).
Ran the file thougth the rtvconvert program and demuxed the files.
Put the files into two different DVD burning programs (ULead Digital Movie Factory 2 and DVDLab) and burned a DVD with a simple menu.

- madcap
Did you me mean DVD Movie Factory? If so, you don't need to demux in the rtvconvert step unless your planning on doing something else with the audio. DVD Movie Factory imports the file fine without demuxing.
post #74 of 389
Okay guys, I have read this thread 4 times and printed it out for reference. I have read the user guide in the tools twice and also have a hard copy of that for reference.

I am new to the DVD burning world, but am a techie at heart. I am not able to get my arms around one part of the process. Namely, how is the final DVD.MPEG file burned directly to disc and played on standalone DVD players?

I thought that a DVD had to be comprised of .VOB files in order to play. I am only familiar with Nero's burning capabilities. Is that why people use the Ulead program? Does the Ulead program somehow extract a single VOB file from the DVD.MPEG file before publishing on the disc? I was hoping to use Nero for this final step.

Thanks for the help here. I feel like I am on the 3 yard line.

E. J.
post #75 of 389
I know I'm showing my naivete, but could someone familiar with OS X please tell me where to put these tools so I can execute them from the terminal?

Any help is greatly appreciated.
post #76 of 389
EJ
Some DVD players (especially cheap ones) can play *.mpg files directly off the DVD-R or even CD-R's. If you've got one of these players all you'll need is something like Nero to burn the files on the disk like any other data.

Most DVD players will require the .VOB's etc. so for that you may need DVDlab or Ulead's DMF2. You may be able to find some freeware to do this on DVDRhelp.com, but full DVD compliance may be an issue.
post #77 of 389
Quote:
Originally posted by Chadmanii
I know I'm showing my naivete, but could someone familiar with OS X please tell me where to put these tools so I can execute them from the terminal?

Any help is greatly appreciated.
Any directory that is in your path will work. Type set <enter> at a prompt to display the shell variables - pick a directory listed in the path. A good choice would be /Users/userid/bin (where userid is your login name), though your may need to create it [1]. Alternatively you can just run them from wherever you downloaded them [2].

Assuming a new terminal session (current dir is /Users/userid):
[1] mkdir bin
[2] If you downloaded the zip file and let StuffIt do it's thing, then this would be: ./Desktop/rev4/bin/osx/evtdump
post #78 of 389
I see another fellow was having a problem with the -d when using rtvconvert. He indicated he had fixed the problem, but I'm not having any luck. Using Win2000, and going into Dos using the "Run CMD".

Here's what I get:

J:\\DVR\
tvtools\
tvconvert -d Chicago1.mpg DVDChicago.mpg
Can't open file -d.mpg

In his example, I believe he left off the ".mpg" on the destination file name, but I get the same error message.

Any thoughts what I'm doing wrong? Looks like a DOS version problem maybe.

Jake
post #79 of 389
Okay, so last night it worked, first try. I used the batch file as listed above (thank you dszlucha) and each step was therefore automated. Couldn't have been easier. True drag and drop. Then Ulead DMF2 was great too. I used the free 30 day downloadable trial and it too worked without a a hitch.

Thanks to all who helped me and to all members responsible for the fantastic extras they have made for the RTV. This forum is great.

E. J.
post #80 of 389
These tools ROCK!!

Thank you Lee and Agent-x!
post #81 of 389
Thread Starter 
Quote:
Originally posted by jakebrake
I see another fellow was having a problem with the -d when using rtvconvert. He indicated he had fixed the problem, but I'm not having any luck. Using Win2000, and going into Dos using the "Run CMD".

Here's what I get:

J:\\DVR\
tvtools\
tvconvert -d Chicago1.mpg DVDChicago.mpg
Can't open file -d.mpg

In his example, I believe he left off the ".mpg" on the destination file name, but I get the same error message.

Any thoughts what I'm doing wrong? Looks like a DOS version problem maybe.

Jake
You must run RTVCONVERT from the actual command shell not from the Start->Run entry box. This probably goes for RTVEDIT too.

(Quick way to the shell is to go Start->Run and type in "CMD" and hit enter.)
post #82 of 389
Yes, that's how got to the command prompt. I went to start-run-cmd. (Win2000).

If acts as if it thinks "-d" is a file rather than a dos switch.

I also tried the "-d" at the end of the line rather than between "rtvconvert" and the input file name, but that didn't result in the two demux'd files (audio and video).

Jake
post #83 of 389
In need of some help.

I am using a WinTV-PVR-250 to capture cable broadcasts (HRC) for viewing on my RTV5040. The capture goes fine using Win2000 with these settings (and localplay "off"):
VIDEO:
Output Stream: Program
Rate: 6000 vbr
GOPs: 15
Resolution: 720x480
AUDIO:
48kHz @ 224 kbps, layer 2

I run the clip through rtvedit (no edits) and then rtvconvert, both of which complete successfully.

I then import the rtvconvert output using DVArchive.

I can playback the initial clip and the output of rtvedit on my PC via WXP Media Player with NO a/v sync problems (no problems at all actually).

However, the output of rtvconvert (played back on my PC via WXP Media Player) and the playback on my TV via RTV5040 have a constant a/v sync problem thoughout the clip.

H/W: PIII/800Mhz/256MB RAM/40GB HDD/NIC/

Any suggestions?
post #84 of 389
Quote:
Originally posted by jakebrake
Yes, that's how got to the command prompt. I went to start-run-cmd. (Win2000).

If acts as if it thinks "-d" is a file rather than a dos switch.

I also tried the "-d" at the end of the line rather than between "rtvconvert" and the input file name, but that didn't result in the two demux'd files (audio and video).

Jake
Make sure there are no spaces in your file names including the directory path. If there are, you will have to use quotes around them.
post #85 of 389
Quote:
Originally posted by emtoneill
In need of some help.

I am using a WinTV-PVR-250 to capture cable broadcasts (HRC) for viewing on my RTV5040. The capture goes fine using Win2000 with these settings (and localplay "off"):
VIDEO:
Output Stream: Program
Rate: 6000 vbr
GOPs: 15
Resolution: 720x480
AUDIO:
48kHz @ 224 kbps, layer 2



Any suggestions?
Yeah, Record on the ReplayTV and save on your PC until your ready to stream it back. I bought the replay so I could get away from the PC Tv cards. I get a lot better quality and consistency from the ReplayTV.
post #86 of 389
A GUI would be nice for this tool kit....I think it would help alot of people.
post #87 of 389
Quote:
Originally posted by reccitron
Make sure there are no spaces in your file names including the directory path. If there are, you will have to use quotes around them.
No spaces in file name. See previous post in thread. I started to test it in Win98se DOS, when I realized my file was larger than 2 Gb, so I have to leave on a NTFS drive and use Win2000. Are any of you guys using Win2000 or are you using NT and XP? I'm wondering if this problem is specific to Win2000 version of DOS.

For some reason it identifies the "-d" as the file it's suppose to open:

J:\\DVR\
tvtools\
tvconvert -d Chicago1.mpg DVDChicago.mpg
Can't open file -d.mpg


Jake
post #88 of 389
Thread Starter 
There are two versions of the DOS interpreter on Windows NT 4.0, Windows 2000 and Windows XP. command.com and cmd.exe ... Make sure you're using cmd.exe.
post #89 of 389
I love these files. No more sync issues and no more re encoding (with DVD Movie Factory 2).

I use the following batch file to help in the processing. Wrote it for myself, but maybe it will help some others. Drag the Replay evt file onto this file to get things going. I put the RTVTools files right in the same directory as my replay files, and the batch file expects this.

You will need to change two lines as indicated below for your specific setup so it will know were to find your replay files and were to find VirtualDub. For the record I am using Windows XP Home. Hope you find this helpful.

@echo off
Rem This process assumes that RTVTools are in the same directory as
Rem your movies. Change the two lines indicated ** below as needed.

color 73

Echo REPLAY to DVD Conversion
Echo _________________________

rem Change Directory to RTVTools and Replay MPG location...
rem ** edit the following line to the directory of your replay mpgs
CD c:\
eplay movies\\Local_guide

rem Grab input file and trim off extension so drag and drop will work...
set temp=%1
set filename=%temp:~0,-5%

rem process event file...
evtdump %filename%.evt" > evt.txt
echo Event file has been processed

rem check to see if manual edit desired
set yes=y
Set /P answer="Would you like to edit using Virtual Dub? [Y/N]"
If /I %answer% EQU %yes% goto edit
goto noedit

Rem Manual edit using VirtualDub
:edit
echo VirtualDub will be loaded. Note edit times
pause
rem **edit the following line to the directory for VirtualDub
call C:\\VirtualDub\\VeedubP4.exe %filename%.mpg
echo The evt.txt file will be loaded for you to manually edit
pause
evt.txt
rtvedit -t1 evt.txt
goto convert

Rem No Manual edit
:noedit
echo File will be auto edited
pause
rtvedit evt.txt

rem Convert file.....
:convert
rtvconvert %filename%1.mpg" %filename%.dvd.mpg"


rem delete temporary files...
del %filename%1.evt"
del %filename%1.ndx"
del %filename%1.mpg"
del evt.txt

rem delete next 2 lines to stream converted file back to a ReplayTV
del %filename%.dvd.evt"
del %filename%.dvd.ndx"

echo File processing Complete
pause
post #90 of 389
Quote:
Originally posted by jakebrake
[For some reason it identifies the "-d" as the file it's suppose to open:

J:\\DVR\
tvtools\
tvconvert -d Chicago1.mpg DVDChicago.mpg
Can't open file -d.mpg
Type "rtvconvert" by itself. Does it show:
rtvconvert [-d] <source.mpg> <dest.mpg>

If it doesn't show the [-d], you've got an old version in your path.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: ReplayTV & Showstopper PVRs
This thread is locked  
AVS › AVS Forum › Gaming & Content Streaming › ReplayTV & Showstopper PVRs › ReplayTV 5K Tools (Revision 4)