Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th December 2008, 19:46 | #21 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
However, as TSPE can process at the packet level, there is a way to edit just the audio out but leave the video intact. This isn't so easy to do however, and will take some experimentation to get to know how to do it easily. Level of difficulty for this is 5/10. Lets take 1 swear word as an example. You will have 3 edits: 1. The start of the movie to the beginning of the swear point (section A) 2. The swear point (section B) 3. The end of the swear point to the end of the movie (section C) To do audio editing, set the "Frame Step" mode to be audio instead of Video (bottom left hand corner). This makes the F+ and F- buttons jump to audio frames instead of video frames. Now do the following: Setup section A: 1. Set the start point to the start of the movie. 2.Set the end point to the start of the swear word. 3. Click Add to add this section to the EDL. Setup section B (the swear word): 4. Set the start point to be the start of the swear word. 5. Set the end point to the be end of the swear word. 6. In the PID list, uncheck the audio stream. (This strips out the audio stream for section B) 7. Click Add to add this section to the EDL. Setup section C (from the end of the swear word to the end of the file) 8. Set the start point to the end of the swear word. 9. Set the end point to the end of the file. 10. In the PID list, re-check the audio stream. 11. Click Add to add this section to the EDL. To complete the edit: 12. Turn off "Clean Video" and "Clean Audio" under "Clean Edits" from the menus. 13. Click the Edit button. This should now copy everything up to the swear word intact, then strip the audio only for the swear word itself, then copy everything after the swear word intact. As long as you play Last edited by Ventolin; 27th December 2008 at 23:06. |
|
27th December 2008, 21:25 | #22 | Link |
Registered User
Join Date: Oct 2006
Posts: 303
|
I'm trying to understand the PTS stamps, I have a common problem I'm encountering with the Hauppauge HDPVR unit, it has audio dropouts and then it resets and basically just starts a new recording at that spot in the stream, unfortunately the video usually continues for a half a dozen frames or so, before it restarts. I can pretty much cut out the bad place and maintain sync, I know exactly what I want to cut out, but I can't seem to match up the timestamps(PTS) in xport(which are exact matches for what are exactly in the ts file) with the ones you show.
For example the first PTS of the ts file is always 43843, but according to TSPE the first PTS is: 00:00:00:14 (29) 487 .. how to I match these two PTS stamps up? I'm not seeing a correlation between the two, I tried changing from PCR to PTS based in the Options->Timestamp Mode, but I didn't see any difference. Upon looking I do see how they correlate, 487 is the ms value of 43843, is there anyway I can get the raw 43843 to show in TSPE |
27th December 2008, 22:12 | #23 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
TSPE shows the PTS in a number of formats: In the decode window you have: Code:
PID: 0x0203 Continuity Counter: 4 PTS: 13:02:29:07 (15) 46949.304s DTS: 13:02:29:04 (09) 46949.184s MPEG2 Timestamp: 08:54:15:09 ... PES Header: Stream ID: 224: Video Stream: 0 ... PTS Ticks: 4225437376 DTS Ticks: 4225426576 eg: 4225437376 / 90000 = 46949.304 seconds Converting from seconds to actual timestamp gives you the timestamp shown at the start of the packet. I'm not sure how xport calculates it, but I think TSPE does all xport does anyway as far as I know (but I haven't used xport in a while). Hope that helps, Vent |
|
27th December 2008, 22:32 | #24 | Link | |
Registered User
Join Date: Oct 2006
Posts: 303
|
Quote:
|
|
27th December 2008, 23:01 | #25 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
Added to the list! Cheers, Vent |
|
28th December 2008, 00:08 | #26 | Link | |
Registered User
Join Date: Oct 2006
Posts: 303
|
Quote:
I was writing out an edited file, that was 29.97FPS and it kept reporting : Detected framerate 12.500 fps. The edited file seems to be fine, but just wondering where it got the 12.5 FPS number from, or am I totally misunderstanding what it means, like I said it's no biggie because the edited file was just fine. Another question about cutting/editing. When I set an end point, if for instance I set it on the first packet of an audio frame, will that frame be included or excluded from the edit. You also said it has I-Frame and P-Frame accuracy, so if I'm trying to fine tune my cuts, would I position the end cut on a P-Frame or just prior to the P-Frame? Sorry for all the questions, but I think I can work very well with this program, but I just want to understand how the cut points function, exactly. Edit: Ignore the end point question, I found the option to include it or not include it in the EDL file. Last edited by rebkell; 28th December 2008 at 01:05. |
|
28th December 2008, 01:42 | #27 | Link | ||||
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
Quote:
Quote:
Quote:
Hope that helps, Regards, Vent |
||||
28th December 2008, 02:49 | #28 | Link |
Registered User
Join Date: Oct 2006
Posts: 303
|
Ahh, clean edits, ok.
Also what is the significance of Auto Find Sensitivity? I lowered it and it found some discontinuities that were giving me trouble, I lowered it to 10 and it seems to find all the bad places in this file I'm working with. What do the numbers represent? The default is 30 I believe. I'll try to upload a piece of this file for you to look at the 12.5 FPS thing, it's just one of the standard 1080i, Hauppauge recordings. |
28th December 2008, 03:04 | #29 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
The Auto Find Sensitivity adjusts the depth of the search it does when you first load a file. Higher is better but slower, though in your particular file it just so happens to pick up the glitches you have. Cheers, Vent |
|
28th December 2008, 03:26 | #30 | Link |
Registered User
Join Date: Oct 2006
Posts: 303
|
Ok, I gave you bad info, I actually don't find anything with Auto Find, the one it does when it loads a new file. It was actually Scan that finds all the problems, I think I was overlooking some bad places it was putting in the Markers tab section. I just cut out the file and demuxed it and then remuxed it and the a/v sync was pretty much dead on.
I'm sorry for the bad info I was giving, but I did learn a lot and I know my problem areas pretty well and this looks like I can fix them, I'm going to have to cut out anywhere from 6 to 8 frames to maintain sync, but it's a bad place in the file anyway, so it's really no big loss considering it was a bad place anyway. The good thing is that everytime I have an audio dropout, when the unit recovers it always starts afresh with an IDR frame and the audio is exactly 100 ms ahead of the audio. We/you really need some of this stuff documented, I know it's a pain, but it's hard to determine some of this stuff even with trial and error, I probably would have never figured out the clean edits thing, since it seems to basically override other things. |
28th December 2008, 18:32 | #31 | Link |
Registered User
Join Date: Oct 2006
Posts: 303
|
One more feature request, when you display the Frame type in the bottom right status bar, it would be convenient if you signified if the I Slice was an IDR frame.
Another thing I've noticed, it may be by design, is that when you are navigating on the track bar and you click to the right or left of the slider, it sometimes jumps two minutes and if held down it will jump numerous times, which is all well and good, but it doesn't display any of the frames when it jumps, only the last one when it stops. All in all, this program is really nice, it has a lot of controls and it's just a matter of learning how to use them for my needs. |
29th December 2008, 18:45 | #32 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
Glad to hear you are able to get your glitches sorted! I got your sample file thanks, will look into the framerate bug. IDR frame now identified in the bottom right status corner as requested, also IF+/- jumps to IDR frames if they are present in the stream. Need to do some more testing with that though. Documentation is important, I know, trouble is the program is in quite a state of flux at the moment, so some of the options are changing and a whole lot of others are being added. Alot of the options are there so you can turn them off if something goes wrong though, normally the option defaults are the ones you should always use. I do feel though that you shouldn't really have to RTFM if you want to know how to do something, the program should tell you or it should be obvious, so that's where I would like to head towards. Trackbar behaviour is by design, requests are actually made for frames, but the video decoders just can't handle that level of "scrubbing" - it takes alot to decode the video let alone deal with hundreds of requests in a split second. To aid navigation, quite a few keyboard shortcuts and mouse controls have been added. Enough to please both keyboard and mouse jockeys alike! That with Directshow filter control will be in the next release due shortly. Regards, Vent |
|
29th December 2008, 19:46 | #33 | Link |
Registered User
Join Date: Oct 2006
Posts: 303
|
Are there any keyboard shortcuts for navigating the preview window? The trackbar control may be by design, but it jumps 2 minutes and sometimes 3 minutes, no matter how fast I click and release the mouse button. It can actually jump over an entire commercial with this behavior.
Keep up the good work, is there a new version available, you said the IDR shows up in the window, is a new beta version available for download? |
29th December 2008, 23:29 | #34 | Link | |
Registered User
Join Date: Mar 2002
Posts: 117
|
Quote:
So a "fix my stream" would be a nice function. |
|
30th December 2008, 18:58 | #35 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
New public version isn't available yet, though fully paid users may have a chance to test before the next public beta is released. Regards, Vent |
|
30th December 2008, 19:08 | #36 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
If the output is still scrambled, there isn't anything TSPE will do to descramble the output. However, if it's a case of missing tables, there is a possiblity. Table editing support is high on the priority list, though I'm not sure it will make it to the next public beta. If you can send me a sample, I'll see if there's anything that can be done. Regards, Vent |
|
31st December 2008, 01:40 | #37 | Link |
Registered User
Join Date: Jan 2002
Posts: 62
|
Did you mean to say something after this? Seems like an incomplete statement. Thanks for those directions for editing out audio, that should work perfectly. Next thing I know, my wife will be complaining that she can't hear it, but see can see them mouth it... haha... So just thought I would ask, is there anyway out there, to blur the mouth or anything like that. I mean, I think for the most part just cutting the audio would work great, but some videos are really close up on a face or something. I know this is out of taste for some people, and like I said before, not looking to get into arguements about what I want to edit. I seriously doubt its possible, but let me know if you have any ideas....
|
31st December 2008, 04:57 | #38 | Link | |
Registered User
Join Date: Oct 2001
Posts: 125
|
Quote:
"As long as you play the file as a transport stream you will maintain sync, if you demux it you will loose sync at the edit point. To fix this, just demux in separate parts for processing then reassemble afterwards." As for blurring of mouth, a quick hand infront of the eyes works well, as does changing the video input on the TV with a quick flick of the remote. You should know exactly where the swear words are if you cut them out! If you want to do it in the video, you'll have to re-encode with a blur filter (using a digital compositor or AVS script for the blur), or just cut the whole GOP out (from I/P frame to I frame). Cheers, Vent |
|
31st December 2008, 07:40 | #39 | Link |
Registered User
Join Date: Jan 2002
Posts: 62
|
Yeah, i figured that was gonna be the answer but thought I would ask. I honestly don't care, cutting the audio is good enough, and I absolutely don't want to re-encode. What I have been doing, is just ripping the sub titles and doing a search through those for the f words, and it gives me the timestamp right there which is within pretty much a second of when it plays... so then I just use your fine piece of software to pinpoint it and snip it out. Great detailed instructions you gave by the way. This is the reason why I was wondering if you can just enter in a time that you wanted to goto in the video? Did you add this feature, I noticed you said you were going to. Was wondering if it has been added to the downloadable file yet?
|
1st January 2009, 14:19 | #40 | Link |
Registered User
Join Date: Jan 2004
Posts: 55
|
I downloaded TSPE yesterday along with the trial license and managed to do a few edits ok. However, today it will no longer edit. I can open files, move through them, select edit points etc, but when I click on "Edit" to do the final edit, it always immediately fails with
Error: Index was outside the bounds of the array. at FmX1GV7Hfyex.3rSrxSTS.3I9TgLAHWw6yjYty6cd() PID: 0, iPii: 0, ProgIndex: 0 Warning: No identified video PID found in this section. Total time taken 0.06 seconds, write speed 0.0 MB/s Edit complete: successfully written file with 376 bytes. It is doing this on the file I successfully edited yesterday as well as others. Not sure what I am doing wrong. (Oh and BTW, the email address under Help - betatest@bitstreamtools.com - is bouncing as unknown). Last edited by Renzz; 1st January 2009 at 14:22. |
|
|