Forum archive - TSPE beta out! (Editor / Analyser for H.264 / VC-1 / MPEG2 / BD / AVCHD...)

http://www.supermediastore.com/



Forum Archive Home -> Editing -> TSPE beta out! (Editor / Analyser for H.264 / VC-1 / MPEG2 / BD / AVCHD...)



TSPE beta out! (Editor / Analyser for H.264 / VC-1 / MPEG2 / BD / AVCHD...)

Ventolin posted 2009 Jan 07 00:23
Hi folks,

After a couple years of quiet development in the darkest corners of the Internet, another public beta of TSPE is now available!

http://www.bitstreamtools.com

For those that don't know, TSPE (Transport Stream Packet Editor) is a non-linear Editor / Analyser that can handle any Transport Stream with any format inside.

So, what's new...

Supported Formats:
MPEG2 / H.264 / VC-1 / AC-3 / DDP / MLP / DTS / DTS-HD / DTS-HD MA / AAC / MPEG1 Audio / MPEG2 Audio / PCM (everything? :)

.TS, AVCHD and .M2TS support including stripping the m2ts header to make normal 188 byte .TS files.

No re-encoding of the stream to preserve maximum quality, P frame to I frame accurate, clean video/audio editing, timestamp and table correction.

You can cut commercials from captured sources, detect commercials using format changes, scan for errors, import TSPE and M2R logs, fix broken streams including timestamp wraparounds, continuity errors, timestamp gaps, realign to start codes and resync audio.

Stream stripping with table correction, PCR remapping, Demuxing, Core Audio from HD audio extraction.

Video preview is much more accurate, uses your own (selectable) directshow filters, test and full edits are previewable with TSPE's own internal viewer, multi-part ts file joining with autosorting EDL (Edit decision List). Marker List to enable bookmarking of positions.

Packet Header Decode for analysis including broadcast tables (ATSC/DVB). Resizable interface.

Plenty more too, visit the website for details.

TSPE is now shareware, free trial period is 45 days. I wanted to release TSPE once I was sure it performed well enough to justify payment. It is still in beta testing, but most of the major bugs have been ironed out (I hope!).

Please let me know how you get along; of course I would like to know your feedback good or bad and especially if you have some streams which don't work properly.

Have fun,

Regards,

Vent



krthomas posted 2009 Jan 07 20:48
I've been tearing my hair out looking for a program to edit my HD PVR captures. I tried TSPE and was having some success, but a couple of issues:

- ffdshow produced a completely useless garbled image in the video preview window. I don't know the reason for this, but I uninstalled ffdshow and installed CoreAVC (trial) instead and the video preview worked perfectly. I would rather use ffdshow than pay for CoreAVC.

- After I got CoreAVC working, I had a hard crash (probably not related TSPE) and had to clear CMOS to reboot. Now TSPE won't start with a message about "Unable to find valid license file". I tried re-downloading the program and license again, but it won't start. Any ideas?

Can TSPE adjust frame rate? My captures are 59.940 fps and I want to reduce the frame rate.

If I can get this program running it will be well worth it's cost considering the time I've wasted looking for other solutions.



festmaster posted 2009 Jan 07 22:18
krthomas :
I've been tearing my hair out looking for a program to edit my HD PVR captures.


Have you tried VideoReDo? They have a fully functional 30 day trail and it handles my HD recordings perfectly.



Ventolin posted 2009 Jan 07 23:26
krthomas :
I've been tearing my hair out looking for a program to edit my HD PVR captures. I tried TSPE and was having some success, but a couple of issues:

- ffdshow produced a completely useless garbled image in the video preview window. I don't know the reason for this, but I uninstalled ffdshow and installed CoreAVC (trial) instead and the video preview worked perfectly. I would rather use ffdshow than pay for CoreAVC.

- After I got CoreAVC working, I had a hard crash (probably not related TSPE) and had to clear CMOS to reboot. Now TSPE won't start with a message about "Unable to find valid license file". I tried re-downloading the program and license again, but it won't start. Any ideas?

Can TSPE adjust frame rate? My captures are 59.940 fps and I want to reduce the frame rate.

If I can get this program running it will be well worth it's cost considering the time I've wasted looking for other solutions.

Hi,

I have sent you a PM with some details regarding your licence issue, I hope that will sort things out. Let me know how you get on.

Changing the framerate requires a full re-encoding of the source file, something that TSPE does not do.

Regarding FFDShow, I use it myself for development so TSPE is tuned for FFDShow. It's also tuned for CoreAVC so both should work fine. However, FFDShow isn't so great at seeking to very specific timecodes, so it may be that which is causing the issue. CoreAVC is much better in this regard.

The breakup may be happening because FFDShow isn't seeking to an I frame, but instead is seeking to something in between like a B or P frame. Video codecs need to start off with an I frame however to get a clean video frame, then decode each frame until it reaches the requested frame. However, not all codecs do this and the result is picture breakup.

To resolve possible FFDShow breakup, try only seeking to I-Frames using the IF+/- buttons in TSPE.

That should produce a good or better image, however, it's possible that FFDShow is still not seeking to the timecode requested by TSPE. So TSPE has a way of tuning the directshow filter in use to adjust for the offset.

To tweak the video display for FFDShow, do the following:
1. Turn on the OSD for FFDShow Video. To do this:
a. double click the FFDShow system tray icon, the filter property page should come up.
b. Click on the OSD option, which is the 4th from the top.
c. Click the checkbox next to the OSD option to turn it on
d. in the right hand side, find and select "Current Frame" and check the box next to it to turn it on.
e. Optionally, find and select "Frame Type" and check the box next to it to turn it on.
f. Click ok

2. In TSPE, click to an I-Frame using the IF+/- buttons.
3. Click the "View" button top left hand side to rotate the display windows until you see the packet Decode, you'll see something like this:
:
PID: 0x1011
Continuity Counter: 5
PTS: 19:41:44:14 (28)   70904.238s (1632121111) (Frame: 9782)
DTS: 19:41:44:04 (08)   70904.071s
Attributes: H.264 1280x720 (1280x720) @ 59.940 fps
...

Look for this value: (Frame: 9782) (9782 is just an example)
You should see the same or similar value in FFDShow in it's OSD.
If the numbers dont match, you can adjust the preview window by:
4. Select Options -> Timestamp Mode -> Preview Adjust...
5. Change the offset slightly backwards or forwards and click OK (eg. set to -4)
6. Check the accuracy with the IF+/- buttons again.

This procedure should help FFDShow find the right frame. For some reason however, with the latest FFDShow tryout, it seems quite tricky to get FFDShow to seek to the exact I frame requested. Hopefully this will be fixed in a future FFDShow release.

Incidently, you can change the directshow filter in use from within TSPE.

To change the directshow filter:
1. Click on Menu Options -> Direct Show Control Enabled?
2. Click on Menu Options -> Direct Show Control...
This will bring up a window where you can configure the direct show filters you want for each type of video stream and audio.
3. In the list on the left hand side, scroll down to the direct show video filter you want and select it.
4. Click "Add" next to the type of Video you want to change, E.g. H.264.
This adds the directshow filter to the drop down list under the video type. You can add multiple filters for a particular video type and TSPE will remember your chocies. You can remove a filter from the drop down boxes by pressing the "Delete" button next to the drop down box.
5. Click OK to save the changes.
6. If you video preview is open, click on the Video Checkbox under the video preview window to turn off the preview video.
7. Click on the Video checkbox again to turn back on the video preview.

You can right click the video preview to see what filters are in use.

Please be careful when choosing your own direct show filters however, as a wrong choice could cause TSPE to become non-responsive as the system tries to connect the directshow filter you requested. If the filter doesnt connect, this could take several minutes to fail. Similarly, choosing the wrong directshow filter can cause the filter to crash and take out TSPE with it. This unfortunately is a byproduct of DirectShow rather than TSPE.

Finally, it might be possible to make shorter GOPs in the HDPVR's encoding setup. A GOP of 12 - 15 frames is normal which is about half a second, but I have seen samples with very large GOPs of 4 seconds or so. Shorter GOPs mean more accurate editing and higher quality output at the expense of a higher bitrate and larger file.

I hope all that helps, let me know how you get on.

Regards,

Vent



Ventolin posted 2009 Jan 07 23:36
festmaster :
krthomas :
I've been tearing my hair out looking for a program to edit my HD PVR captures.


Have you tried VideoReDo? They have a fully functional 30 day trail and it handles my HD recordings perfectly.

Videoredo does not support H.264 transport stream files!



krthomas posted 2009 Jan 08 21:10
OK, the license fix worked. I was able to edit my capture (with CoreAVC) and everything worked great.

Then I reinstalled ffdshow (cleared my settings) and was also able to edit as well without any problems. If I notice any flakiness in the future I'll refer to your instructions.

The default GOP setting for the HD PVR is "Simple GOP 4/32/128". There's also "Advanced GOP 4/32/128" and then a "No IDR" version of each 4/32/0. I'm using the default.

In my edited captures at the beginning of each edit there is a tiny bit of jumbled video. I guess this is because some of the cuts I made are not on I-Frames? Any tips on how I can avoid this?

Overall, I'm pretty happy with my edits - 1GB of commercial removed from an hour show. Now I just need an easy way to change the frame rate.

Thanks for the help.



Ventolin posted 2009 Jan 08 22:27
krthomas :
OK, the license fix worked. I was able to edit my capture (with CoreAVC) and everything worked great.

Then I reinstalled ffdshow (cleared my settings) and was also able to edit as well without any problems. If I notice any flakiness in the future I'll refer to your instructions.

The default GOP setting for the HD PVR is "Simple GOP 4/32/128". There's also "Advanced GOP 4/32/128" and then a "No IDR" version of each 4/32/0. I'm using the default.

In my edited captures at the beginning of each edit there is a tiny bit of jumbled video. I guess this is because some of the cuts I made are not on I-Frames? Any tips on how I can avoid this?

Overall, I'm pretty happy with my edits - 1GB of commercial removed from an hour show. Now I just need an easy way to change the frame rate.

Thanks for the help.

Hi,

Glad to hear you are now editing successfully!

Regarding the "jumbled video" it might be because you are not setting I frames though TSPE should automatically find the closes I or P frame to cut at. Try making sure to use the IF+/- buttons to fine tune the start/end position. To get a better idea of what is happening, please send me a sample.

Try also changing the GOP settings to see if that solves the issue.

Do you get the same issue with CoreAVC? I have noticed the very latest FFDShow codecs producing some pixelation where the older builds did not.

It would help if you can send a short sample (30 - 60 seconds?) using each of the GOP settings for further analysis. If you are able to send samples, please turn off the two "Fix Tables" and "Fix Timecodes" checkboxes next to the Edit button.

For re-encoding, I would suggest looking at x264 into mkv.

Regards,

Vent



Bk2X posted 2009 Feb 14 11:33
Hello,

I've recently tried using TSPE to edit my h264 captures. However, I gave up for a couple weeks because I could not get the program to cut my edits after I made all my cut points. So yesterday I decided to try again and now I can't seem to render the video anymore in the program itself. I receive the following error...

Error: Auto Creating Filter Graph
Exception from HRESULT: 0x80040241
Error Loading Video, Disabling.

I have tried manually setting my directshow filters following the steps in a previous post and also used dsfmgr to make sure CoreAVC is the preferred filter. I am able to play the capture using MPC fine. I am not sure how this happened because the last time I ran the program I was able to view the video and make cuts without a problem. What might be some things I can check out so I can give this tool another try?



Ventolin posted 2009 Feb 14 23:05
Bk2X :
Hello,

I've recently tried using TSPE to edit my h264 captures. However, I gave up for a couple weeks because I could not get the program to cut my edits after I made all my cut points. So yesterday I decided to try again and now I can't seem to render the video anymore in the program itself. I receive the following error...

Error: Auto Creating Filter Graph
Exception from HRESULT: 0x80040241
Error Loading Video, Disabling.

I have tried manually setting my directshow filters following the steps in a previous post and also used dsfmgr to make sure CoreAVC is the preferred filter. I am able to play the capture using MPC fine. I am not sure how this happened because the last time I ran the program I was able to view the video and make cuts without a problem. What might be some things I can check out so I can give this tool another try?

Hi Bk2X,

Sorry to hear you are having trouble with the video preview. Here are some basic steps to try:

1. uninstall Haali Media Splitter (if installed)
2. Download the latest version from the Haali website
3. Install Haali Media Splitter
4. Uninstall / Re-install FFDShow again from the FFDShow website.

If you still have video preview issues after doing the above, then please send me a sample of about 50MB from the start of one of your caps. When you make the sample file, just use the byte position to navigate and set the end point, then uncheck both the "Fix Tables" and "Fix Timecodes" options next to the Edit button before making the sample edit. You can send me the sample by uploading to one of the File Sharing Websites such as Mediafire, zshare, rapidshare.de, etc etc.

Once I have the sample, I can better assist you with your setup and better perhaps find something that can be improved with configuring TSPE.

Thanks,

Vent



Ventolin posted 2009 Feb 15 21:08
Ventolin :
Bk2X :
Hello,

I've recently tried using TSPE to edit my h264 captures. However, I gave up for a couple weeks because I could not get the program to cut my edits after I made all my cut points. So yesterday I decided to try again and now I can't seem to render the video anymore in the program itself. I receive the following error...

Error: Auto Creating Filter Graph
Exception from HRESULT: 0x80040241
Error Loading Video, Disabling.

I have tried manually setting my directshow filters following the steps in a previous post and also used dsfmgr to make sure CoreAVC is the preferred filter. I am able to play the capture using MPC fine. I am not sure how this happened because the last time I ran the program I was able to view the video and make cuts without a problem. What might be some things I can check out so I can give this tool another try?

Hi Bk2X,

Sorry to hear you are having trouble with the video preview. Here are some basic steps to try:

1. uninstall Haali Media Splitter (if installed)
2. Download the latest version from the Haali website
3. Install Haali Media Splitter
4. Uninstall / Re-install FFDShow again from the FFDShow website.

If you still have video preview issues after doing the above, then please send me a sample of about 50MB from the start of one of your caps. When you make the sample file, just use the byte position to navigate and set the end point, then uncheck both the "Fix Tables" and "Fix Timecodes" options next to the Edit button before making the sample edit. You can send me the sample by uploading to one of the File Sharing Websites such as Mediafire, zshare, rapidshare.de, etc etc.

Once I have the sample, I can better assist you with your setup and better perhaps find something that can be improved with configuring TSPE.

Thanks,

Vent

Hi,

I have responded to your PM regarding this, for the others, the issue is caused by illegal PMTs in the stream. It looks as if this is produced by MyTheater as I have seen this issue very recently! It seems the original PMTs have all been merged to use the same PID which can be seen if each PMT is examined.

I have added (major) functionality to TSPE to be able to fix these streams and will be available in the next release which should be out very soon!

Regards,

Vent



Bk2X posted 2009 Feb 16 20:32
So after loading the .ts file were you able to view the video or is that the reason why it won't render?


Ventolin posted 2009 Feb 19 00:42
Bk2X :
So after loading the .ts file were you able to view the video or is that the reason why it won't render?

Yes, there is no video preview as the PMTs are bad - the directshow filters can't handle the stream. You can verify this if you try to open the file in graphedit.

In the next version, you will be able to fix the PMTs but you will need to pass it through TSPE first before you can have video preview working.

Regards,

Vent



Emanef posted 2009 Mar 16 17:36
Hi Ventolin

I've been using this to top and tail HD TS files, but all of a sudden I'm getting errors with it. It will read the files but whenever I try I get the follow type of message in the bottom left window:

Trial Version.
You have 6 days left for evaluation.
Licensed to: betatest, Email: betatest@bitstreamtools.com
Version: 0.740
Buffer Size: 1540096

Opening: H:\HD PVR Captures\2009_3_15_23_46_54.TS
Opening File...
Video Loaded.
Auto Finding PIDs
PID Attribute List:
PID: 0x1011: H.264 1280x720 (1280x720) @ 50.000 fps
PID: 0x1100: AC3: 2/0: L,R 44.1KHz 160Kbit/s

Scanning For Format Changes
File size: 10336894804 Bytes
Video Resolution from Codec: 1280 x 720 @ 50.00 fps
Duration from Codec: 28800.80
Duration from Timestamps: 28800.78
Average System Bitrate: 2871281.90
Done.
EDL is Empty, Using Currently Set Start & End Points.
Copying Data...
Processing EDL Item: 1 of 1
New PAT Generated.
New PMT Generated.

Error:
Index was outside the bounds of the array.
PID: 0, iPii: 0, ProgIndex: 0
Warning: No identified video PID found in this section.
Total time taken 0.16 seconds, write speed 0.0 MB/s

Edit complete: successfully written file with 376 bytes.

Error: Auto Creating Filter Graph
Error HRESULT E_FAIL has been returned from a call to a COM component.
Error Loading Video, Disabling.
Internal Viewer Closed.Trial Version.
You have 6 days left for evaluation.
Licensed to: betatest, Email: betatest@bitstreamtools.com
Version: 0.740
Buffer Size: 1540096

Opening: H:\HD PVR Captures\2009_3_15_23_46_54.TS
Opening File...
Video Loaded.
Auto Finding PIDs
PID Attribute List:
PID: 0x1011: H.264 1280x720 (1280x720) @ 50.000 fps
PID: 0x1100: AC3: 2/0: L,R 44.1KHz 160Kbit/s

Scanning For Format Changes
File size: 10336894804 Bytes
Video Resolution from Codec: 1280 x 720 @ 50.00 fps
Duration from Codec: 28800.80
Duration from Timestamps: 28800.78
Average System Bitrate: 2871281.90
Done.
EDL is Empty, Using Currently Set Start & End Points.
Copying Data...
Processing EDL Item: 1 of 1
New PAT Generated.
New PMT Generated.

Error:
Index was outside the bounds of the array.
PID: 0, iPii: 0, ProgIndex: 0
Warning: No identified video PID found in this section.
Total time taken 0.16 seconds, write speed 0.0 MB/s

Edit complete: successfully written file with 376 bytes.

Error: Auto Creating Filter Graph
Error HRESULT E_FAIL has been returned from a call to a COM component.
Error Loading Video, Disabling.
Internal Viewer Closed.

Any ideas what the problem might be please?

Thanks



Ventolin posted 2009 Mar 16 18:46
Hi Emanef,

I have just found out that this is a major bug that affects people with a temp licence and some people with a full licence.

I'm working hard on it as we speak and hopefully will have a fix (and new release) within 24 hours or so.

Will keep you updated of course!

Sorry for the inconvenience and thank you for your understanding.

Regards,

Vent



cincyreds posted 2009 Mar 17 01:15
Same errors here (temp license).

Thanks for the quick response.
TSPE has become THE tool for making frame-accurate edits on .TS files captured from my HD-PVR 1212 - no other tool like it at the moment.

The only issue I really have with it is more of an annoyance, but when advancing frame-by-frame in the video window (forward or reverse), the frames seem to jump backwards a frame or two, then forward 2 or 3 frames, then back again, forward again, etc. etc. It usually takes a bunch of button presses to get to the exact frame I'd like. This only seems to happen when advancing by individual frame and not by I-frame or by time jumps (1 or 10 second advances).

:)

Dean



Ventolin posted 2009 Mar 17 08:38
cincyreds :
Same errors here (temp license).

Thanks for the quick response.
TSPE has become THE tool for making frame-accurate edits on .TS files captured from my HD-PVR 1212 - no other tool like it at the moment.

The only issue I really have with it is more of an annoyance, but when advancing frame-by-frame in the video window (forward or reverse), the frames seem to jump backwards a frame or two, then forward 2 or 3 frames, then back again, forward again, etc. etc. It usually takes a bunch of button presses to get to the exact frame I'd like. This only seems to happen when advancing by individual frame and not by I-frame or by time jumps (1 or 10 second advances).

:)

Dean

Hi cincyreds,

Thank you for your kind words regarding TSPE!

The frame step issue you are seeing is because TSPE works at very low level (right down to the Packet) - you are moving through the stream exactly how frames are stored in the stream. Have a look at the byte positions as you step forwards a frame, you'll notice they will be going up every time. Now look at the PTS/DTS timestamps in the Decode window as you frame step. You'll notice the PTS jumps backwards and forwards as you describe. The PCR timestamp will always go upwards however.

So you are able to see the frames in the stream exactly where they are in the stream!

While this is useful for the advanced users amoung us, I'll add in a mode where it works at the PTS (Presentation Time Stamp) level so frame +/- works as you would expect.

The temp licence issue is addressed in the next post!

Regards,

Vent



Ventolin posted 2009 Mar 17 08:41
Hi folks,

New version 0.755 now up at website!

http://www.bitstreamtools.com/download

Hopefully this will fix the issues you have had with edits.

If you have a full licence you might have to regenerate your activation details and email them in again.

New 30 day temp licence, everyone's temp licences get reset to 30 days!

Quite a few new features added to 0.755, the most notable is the Table Editor.

This auto-sorts and auto-selects video and audio PIDs, can create missing PAT / PMT files for Topfield PVRs and others, supports ITVHD, AC3 stream now prefered instead of the mp2 audio description stream for BBCHD, fixes alot of broken tables from capture software outputs, you can drag/drop PIDs in the tree to re-order them and a whole host of other features too.

One issue is still remaining however, audio resync offset is not working, this will be fixed in the next update.

Please let me know how you get on with this release. I haven't had time to test this a much as I would like as the licence issue has pushed this release forward.

Apologies again for the inconvenience caused and thank you for your understanding!

Looking forward to your feedback,

Regards,

Vent



cincyreds posted 2009 Mar 17 14:08
Ventolin :

While this is useful for the advanced users amoung us, I'll add in a mode where it works at the PTS (Presentation Time Stamp) level so frame +/- works as you would expect.
Vent

Thanks for the great/fast support. Your explanation of the frame advance is perfect and now I understand why it works like it does. Looking forward to the "PTS" mode.....

A quick test of a video clip edit seems to show that the license issue has been fixed.
So far so good.

Just curious - while I'm on the trial license at the moment, what advantage is there to purchasing a full license right now? Is the current price shown a limited-time promotional price? If so - do you know what the regular price will be after initial release?
And if I purchase the full license now, will that allow for lifetime upgrades, etc?

Thanks.

:)

Dean



Ventolin posted 2009 Mar 17 14:58
cincyreds :

Just curious - while I'm on the trial license at the moment, what advantage is there to purchasing a full license right now? Is the current price shown a limited-time promotional price? If so - do you know what the regular price will be after initial release?
And if I purchase the full license now, will that allow for lifetime upgrades, etc?

Thanks.

:)

Dean

Hi Dean,

The new trial licence lasts for 30 days after which TSPE will stop working. The price at the moment is indeed a promotional price and is expected to increase, but the details have not been finalised yet.

If you purchased TSPE now, your licence will be valid upto version 2 which is quite some time away! With version 2 there will be an upgrade price however.

Of course if you do purchase TSPE you will get preferential support and your suggestions for product features will have a higher priority!

Your support would mean a great deal however, as it's been a long hard road to get TSPE to where it is today and every purchase injects enthusiasm and determination to make TSPE as good as it can be!

Regards,

Vent



cincyreds posted 2009 Mar 17 16:03
Ventolin :
Your support would mean a great deal however, as it's been a long hard road to get TSPE to where it is today and every purchase injects enthusiasm and determination to make TSPE as good as it can be!
Done. Just purchased it, but had to send an email to receive license file.

On a side note, when ordering, it didn't seem clear as to what to enter in the activation details section. I didn't enter anything because I had no idea what to put for username and the code fields. It would seem easier to automatically send the user the license file in the confirmation email right after purchase and just eliminate that part of the order page.

Anyhow - keep up the great work. It's the only tool I've seen that can reliably edit raw .TS files captured from the HD-PVR 1212.

After editing with TSPE, I convert the edited file to MKV using an outstanding free program named "XvidForPSP" (http://www.winnydows.com/page.php?2).
Don't let the title of the program fool you - it's a Swiss army knife for video conversion and I still can't believe such an incredible tool is freeware.

Thanks again for TSPE - it's a Godsend.

:)

Dean



Emanef posted 2009 Mar 18 03:07
That's great Ventolin! I'll give that a try! Thanks!

concyreds, what are you using XvidforPSP to do, make the MKV smaller than the captured TS? If you're keeping a similar size you might just want to demux and remux to mkv. Only takes a few mins to do a 2 hour movie, compared to hours to re-encoding.



cincyreds posted 2009 Mar 18 05:17
Emanef :
cincyreds, what are you using XvidforPSP to do, make the MKV smaller than the captured TS? If you're keeping a similar size you might just want to demux and remux to mkv. Only takes a few mins to do a 2 hour movie, compared to hours to re-encoding.

I use XviD4PSP to transform the captured TS to MKV for playback via wired ethernet on my TVIX 6500. Xvid4PSP does no re-encoding (unless you want to convert to some other format). Basically, it demuxes the raw transport stream, then remuxes to MKV as you mention. And yes - a 90 minute movie only takes a few minutes. The filesize is irrelevant - I want highest quality. Hard drive space is not an issue (I have about 12 terabytes right now).
There are other tools that demux/remux to MKV, but XviD4PSP is free and supports an unbelievable number of input/output formats. I'm not quite sure why the developer named his program "Xvid4PSP" because it does SO much more. It's one of the very few programs I've tried which properly transform a TS file into a MKV file and by far has the best user interface and capabilities.

Although the TVIX will play back TS files, navigation is limited. MKVs play back nicer on the TVIX and moving forward/backward is smoother and better supported. Also, the MKV container offers chapter support which the developers of the 6500 say is a planned feature addition for an upcoming firmware updgrade. I've already ripped my entire DVD collection to ISO format so every movie I own is now on a hard drive - no more DVDs.

I recently bought the HD-PVR 1212 which does a really nice job of capturing HD content from FIOS TV. I use TSPE mainly to remove commercials from recorded shows.

What would be REALLY great is if TSPE added support for saving to MKV (with the ability to add chapters). That would probably be a lot to ask, though.

:)

Dean



Emanef posted 2009 Mar 18 17:29
I didn't realise you could just remux in Xvid4PSP, I'll have to give it a go. I've been using TSmuxeR to demux and then MKVtoolnix to remux to mkv, but if that can do it all in one step and I can btach them that'd be less hassle.

Re adding MKN output support to TSPE.... might be worth asking the author.....! ;)



cincyreds posted 2009 Mar 18 21:18
Emanef :
I didn't realise you could just remux in Xvid4PSP, I'll have to give it a go. I've been using TSmuxeR to demux and then MKVtoolnix to remux to mkv, but if that can do it all in one step and I can btach them that'd be less hassle.

Very easy:

- Open the .TS file you want to convert.
- Choose "MKV" as the Format option.
- Make sure the "Denoise" and "Brightness" options are set to Disabled.
- Set both video and audio encoding to "Copy"

Click "Save" to choose your output filename, then click "Encode"
If you check the output log you'll see it basically demuxes, then remuxes to MKV - no re-encoding.

I was using the exact same tools as you (tsMuxer and MKVtoolnix) until I found Xvid4PSP.

:)



houba78 posted 2009 Mar 19 05:19
Hello,

Thank you for your software! It seems very promising, and I will buy it as soon as... I will be able to use it.

My purpose is to edit H264 files from my Canon HF100 camcorder.

Those .MTS files load easily in TSPE.

I can put Start and End points, then add them to EDL.

Then I cannot continue:

1) when I press Test, I get "Error: Quick-parsing packet header - Index was outside the bounds of the array."

2) when I press Edit, I get '"Error: Buffer underrun in edit operation, reading non-final blocks in final loop pass. PID: 4112, iPii: 0, ProgIndex: 0 Error: Edit failed, only 384 bytes written."

Thanks for helping!



Emanef posted 2009 Mar 19 13:53
Cheers cincyreds, I'll give that a try! :thumbs:


DVWannaB posted 2009 Mar 19 14:27
houba78 :
Hello,

Thank you for your software! It seems very promising, and I will buy it as soon as... I will be able to use it.

My purpose is to edit H264 files from my Canon HF100 camcorder.

Those .MTS files load easily in TSPE.

I can put Start and End points, then add them to EDL.

Then I cannot continue:

1) when I press Test, I get "Error: Quick-parsing packet header - Index was outside the bounds of the array."

2) when I press Edit, I get '"Error: Buffer underrun in edit operation, reading non-final blocks in final loop pass. PID: 4112, iPii: 0, ProgIndex: 0 Error: Edit failed, only 384 bytes written."

Thanks for helping!


hmmmmmm........sounds eerily similar to what I experienced using version 0.74.

Havent tried 0.75 yet and if I get the same errors as 0.74, then its back to H264TS Cutter. Its free and it works most of the time.



cincyreds posted 2009 Mar 19 14:34
DVWannaB :
hmmmmmm........sounds eerily similar to what I experienced using version 0.74.
Havent tried 0.75 yet

Definitely update to .755 - there was a major bug in .74 and .755 fixes it. I was also getting these same errors in .74 and .755 fixed it.



Emanef posted 2009 Mar 19 14:48
I've never been able to get H264TS Cutter to work, either on my Vista laptop or my XP desktop. Doesn't like any of my TS files. Gave up with it.


cincyreds posted 2009 Mar 19 15:07
Emanef :
I've never been able to get H264TS Cutter to work, either on my Vista laptop or my XP desktop. Doesn't like any of my TS files. Gave up with it.

Although I've been able to open my .TS files with H264TS_Cutter, it did not do a clean job of cutting on non-IFrame breaks. At each break there would be a short burst of pixelation on the final video. TSPE's output is perfect - transitions between cut points are seamless and noiseless no matter where I decide to cut.



houba78 posted 2009 Mar 20 05:57
houba78 :

1) when I press Test, I get "Error: Quick-parsing packet header - Index was outside the bounds of the array."

2) when I press Edit, I get '"Error: Buffer underrun in edit operation, reading non-final blocks in final loop pass. PID: 4112, iPii: 0, ProgIndex: 0 Error: Edit failed, only 384 bytes written."

Thanks for helping!

cincyreds :
DVWannaB :

hmmmmmm........sounds eerily similar to what I experienced using version 0.74.
Havent tried 0.75 yet

Definitely update to .755 - there was a major bug in .74 and .755 fixes it. I was also getting these same errors in .74 and .755 fixed it.


But I get these errors with version 0.755...

Does somebody have similar problems with Camcorders h264 files ?

Tonight I will try to edit a h264 HDTV file, as HDTV is now common in France.



DVWannaB posted 2009 Mar 20 09:40
thanks for that bit of good news there cincyreds. I am ready and willing to financially support these great little projects, but they need to work first :D


Ventolin posted 2009 Mar 20 12:16
Hi guys,

Sorry for the delay in replying, I have been quite busy.

Houba78 and others:

Sorry you are having trouble with .m2ts files. I can confirm there is a bug with Temp licences and M2TS files. I was hoping there would have been a quick fix for this and just fix and post an update, but it's proving to be a bit harder than I thought. Full licences do appear to work correctly though, but if you do have a full licence and find M2TS files don't work, then please let me know!

For the temp licence holders, all I can suggest is to strip the .m2ts header using a different utility - not even TSPE's strip function will work unfortunately. Obviously I want to get a fix out as soon as I can as will post here as soon as a new build is ready.

DVWannaB - I can certainly understand your reservations when something does not work as advertised! It's unclear whether you are trying to edit an .m2ts file or normal .ts file. I hope that when you try to edit a .ts file it works correctly! Please do keep an eye out for future versions; I hope that TSPE will meet your requirements soon!

cincyreds and Emanef - MKV support is planned you'll be pleased to hear, but is some way off at the moment. It will probably come after frame accurate editing is in place, though even that is some way off itself. I am planning on adding full editing support for MKV files but I think this would be a different product as there are alot of legal licence issues regarding this. It's also quite a lot of work to add as the MKV structure is just as complex as the Transport Stream container! Even so, I have not found a decent MKV editor to use myself, so I am keen to get this implemented.

cincyreds - from your request post, I'll reply here as it's quite tricky to track all the TSPE discussions on the net, I hope you don't mind me asnwering here. Almost all your requests are already on my todo list, I'll expand a little more though.

Frame Stepping in Frame Order instead of Stream Order, Customisable Keyboard Shortcuts, User Profile Settings are all pretty high on the todo list.

Commercial Detection at the moment works on "Attribute Changes". TSPE will pick up any change in Video Format or Audio Format (eg. 5.1 tp 2.0) almost instantanteously. The detection occurs when you open a file when it "Autofinds PIDs". If all your source material is 5.1 including adverts however, TSPE will not be able to detect them. Better commercial detection is certainly on the todo list, but is quite low down as there are very good tools available already that do commercial detection and produce an EDL file. I'm looking into supporting the output from those utilities at a much higher priority though.

MKV support is discussed earlier, as I said, I'd love to support MKV as an output option, but it's going to come some time after Frame Accurate Editing.

Documentation - As alot of the options are in flux and the GUI is scheduled for 2 updates, it's quite tricky to find the time to work on the docs. It is important I know but I'm just trying to keep my head above the water at the moment especially with all the major bugs that have appeared recently. However, I'm working hard on the project and will gradually add documentation as time permits.

I hope in the mean time, some of the more experienced users will continue to aid those that are starting out. I do realise that an easy to use application will benefit all users, both new and experienced alike!

DVWannaB - I agree the slider and scrubbing needs improvement. I am working on that as well as including a timeline. I rarely use the slider myself as I find the keyboard and mouse shortcuts alot easier to work with. It is quite intensive scrubbing H.264 HD material though!

Finally and most importantly, thank you for your support to all those that have purchased full licences! It really does help!

Regards,

Vent



DVWannaB posted 2009 Mar 22 21:38
Ok, I have run version 0.755 through its paces this weekend and I give it full marks. Definitely a step up from previous version. It was able to cut files that even H264TS Cutter was choking on. It also cuts and saves new file MUCH MUCH faster than H264TS Cutter. I will definitely purchase at the end of the trial period. Great work and keep the improvements coming. The best cutter for H264 TS files for the Hauppauge HD PVR 1212. I have not tried M2TS files yet. I have one file I will try later this week when I have some more time for playing.

EDIT:
last night I successfully edited an MPEG2.TS file that Videoredo, Womble MPEG Video Wizard, MPEG2Repair and MPEG Streamclip all couldnt handle. This app looks beter every day with room for more growth.



cincyreds posted 2009 Mar 25 03:45
Vent,

The HDPVR 1212 can capture HD video in either .m2ts or .ts format.

As far as I can tell, the only difference between the two formats is that the .m2ts packet includes an additional 4 bytes with PTS info (192 byte packets instead of 188 byte packets). If that's the case, would editing .m2ts files in TSPE be "smoother" or more accurate? Would random access be easier?

Which format do you recommend?

On a side note, I've read that some HDPVR drivers produce .m2ts files with regular 188-byte packets instead of 192-byte packets. If that's the case, would TSPE have any problems handling a .m2ts file that had an improper packet size?

Thanks.



Ventolin posted 2009 Mar 26 05:13
cincyreds :
Vent,

The HDPVR 1212 can capture HD video in either .m2ts or .ts format.

As far as I can tell, the only difference between the two formats is that the .m2ts packet includes an additional 4 bytes with PTS info (192 byte packets instead of 188 byte packets). If that's the case, would editing .m2ts files in TSPE be "smoother" or more accurate? Would random access be easier?

Which format do you recommend?

On a side note, I've read that some HDPVR drivers produce .m2ts files with regular 188-byte packets instead of 192-byte packets. If that's the case, would TSPE have any problems handling a .m2ts file that had an improper packet size?

Thanks.

Hi cincyreds,

There is a little more in the 4 byte .m2ts extra header than just a timestamp, but does not make a difference. I would recommend just having normal 188 byte .ts files.

TSPE analyses the stream to determine what kind of stream it is regardless of extension, so it will know whether the stream has 188 or 192 byte packets.

Hope that helps!

Regards,

Vent



Simple22 posted 2009 Mar 26 11:22
Ventolin :


In the next version, you will be able to fix the PMTs but you will need to pass it through TSPE first before you can have video preview working.

Regards,

Vent


Hello! Could someone out there describe how to fix the PMTs? I record with MyTheater, and I think the new MT beta is breaking things more than usual.

Thxs

Cam



Ventolin posted 2009 Mar 29 15:07
Simple22 :
Ventolin :


In the next version, you will be able to fix the PMTs but you will need to pass it through TSPE first before you can have video preview working.

Regards,

Vent


Hello! Could someone out there describe how to fix the PMTs? I record with MyTheater, and I think the new MT beta is breaking things more than usual.

Thxs

Cam

Hi Simple22,

Sorry for the delay in replying.

TSPE can fix a few table issues automatically - try testing the start or end point. If you see video then all you have to do is make a full edit and then reload the edit back into TSPE to be able to start editing with preview.

Sometimes though, manual fixing is required in which case you need to use the Table Editor under Menu Edit -> Table Options -> Table Editor.

In the table editor, you need to make sure you have:

1. PAT with PID of 0x0000
2. PMT under the PAT
3. Audio / Video / other streams under the PMT

The PAT tells you what "Programmes" are in the stream. You can have multiple Programmes, each with their own video and audio streams. These are like channels on your TV.

The PMT tells you what video / auido strams a particular Programme (or channel) has. So you might have H.264 Video and AC3 audio for instance.

Then you have the actual Elementary Streams (The Video and Audio streams etc).

If the PAT or PMT is missing or damaged, then the stream identification may be incorrect.

To correct the Video or Audio (or other) stream type, just select the stream in the tree, then change the stream type using the drop down, make sure the parent PID is set to the correct PMT and then click "Update".

You can drag/drop streams in the tree if you need to, and can re-arrange the order as well. This is useful for ensuring the first audio stream that is played is the desired audio stream in players where you can not change the current audio stream playing.

For Example, BBCHD has the audio for hearing impared track ontop of the AC3 track, so by default you would hear the audio for hearing impaired track. To fix this just drag and drop the AC3 track ontop of the MP2 audio description track so that comes first.

By default, the streams in the tree are sorted by PID and known Audio / Video and subtitle streams are automatically selected and other unwanted streams are unselected.

The last thing to check is to make sure that the PCR stream is set. The PCR is the clock reference stream and is shown in blue in the Tree. This is commonly the Video stream or a dedicated clock stream ("PCR PID").

Once you are happy with all the changes, click "Save".

The streams should now be updated in the main TSPE PID tree.

Once you make your edit, the tables will be corrected accordingly.

I hope that helps, if you have any questions please let me know! I'll update the website with this info soon.

Regards,

Vent



voiceovers posted 2009 Apr 03 22:10
Hi Vent,

Thank Heaven someone has finally found a way to effectvely edit these M2TS and TS files. When I bought my Hauppauge HD-PVR, I didn't realise I was joinging the ranks of the many who have lost lots of hair trying to find an editing solution!

Anyway, I'm looking at buying a full licence, but am running the trial at the moment, and I'm experiencing two issues with TSPE:

1) Even though I have followed your advice and installed Haali/Matroska splitter, and ffdshow, the video preview is still not accurate. Even though I'm running a quad core processor and have a 1Gb graphics card, it still takes almost 2 seconds for video and audio to sync when playing back, and, as a result, trying to get an accurate frame edit is more about guess work than being able to accurately step the video forward or back a frame at a time. Is there something I can do to make this more responsive/accurate?

2) I have a number of HD-PVR captures that have 5.1 audio. But when I open a 5.1 file in TSPE, it automatically alters the audio to stereo. What do I need to do to get the final edit to have 5.1 audio?

Thanks in advance,

Kerry



Ventolin posted 2009 Apr 05 19:06
voiceovers :
Hi Vent,

Thank Heaven someone has finally found a way to effectvely edit these M2TS and TS files. When I bought my Hauppauge HD-PVR, I didn't realise I was joinging the ranks of the many who have lost lots of hair trying to find an editing solution!

Anyway, I'm looking at buying a full licence, but am running the trial at the moment, and I'm experiencing two issues with TSPE:

1) Even though I have followed your advice and installed Haali/Matroska splitter, and ffdshow, the video preview is still not accurate. Even though I'm running a quad core processor and have a 1Gb graphics card, it still takes almost 2 seconds for video and audio to sync when playing back, and, as a result, trying to get an accurate frame edit is more about guess work than being able to accurately step the video forward or back a frame at a time. Is there something I can do to make this more responsive/accurate?

2) I have a number of HD-PVR captures that have 5.1 audio. But when I open a 5.1 file in TSPE, it automatically alters the audio to stereo. What do I need to do to get the final edit to have 5.1 audio?

Thanks in advance,

Kerry

Hi Kerry,

Thanks for your interest in TSPE!

Regarding accurate Video Preview - You will need the very latest versions of both Haali Media Splitter and FFDShow. Even then, it seems FFDShow is not able to seek to exact frames directly, so it has trouble displaying the right frame. CoreAVC on the other hand is much better at this and can display the right frame in TSPE. CoreAVC is not free however. Windows 7 beta also is able to do a good job but I haven't added support for Full licences for Windows 7 yet, but temp licences will work OK.

To find the right start/end points does take a few goes until you get used to your workflow. Using the Test buttons to find the start and end points really is a guide to get to the right start/end frames. To see the final result it is necessary to test joining two segments together and making a test from that. To do this select 2 entries in the EDL, right click and select "Test Edit Point". Then adjust the start and end points by moving forwards or backwards in P frame increments for the end point and I frame increments for the start point until you have fine tuned your edit (look in the bottom right hand corner to see what type of frame you are on). Remember that TSPE is not fully frame accurate at the moment, though that will come in due course, so it will take some trial and erorr to get the best possible edit. I'm also working on making testing and adjusting the edit points alot easier.

With regard to your audio, you should know that TSPE does not re-encode anything at all. There are two possiblities that can account for your results:

1. There really isn't 5.1 audio in your sources
2. TSPE is reporting the audio incorrectly

You will need to examine your source files carefully to establish if they really do have 5.1 audio. You can do this by examining the audio frames. To do this, first set the Frame Jump to Audio in the bottom left corner, then click F+ or F-. TSPE should jump to the audio frame header and show a decode of your audio header in the decode window. You should get consistant results throughout the stream.

After editing, reload the edit into TSPE and examine the audio headers again. They should be exactly the same as the source.

If you want, you can send me a couple of short samples and I'll check them for you. Just edit a minute's worth of source (and edit if you feel it shows a difference) and send it to me via a file sharing site like Mediafire / Rapidshare.de / zshare / etc. When you make a sample, please turn off Fix Tables and Fix Timecodes next to the Edit Button before you make your edit.

Finally, please note that there is a bug (in 0.755) in the edit code that prevents you editing an M2TS file with a temp licence, but a full licence should work ok.

Hope that helps,

Regards,

Vent



voiceovers posted 2009 Apr 05 19:12
Thanks for the thorough reply Vent. I'll give a CoreAVC a go and see if makes any difference. I have it on-hand, but is not installed on this machine.

Regarding the bug in the edit code for M2TS files, I've simply changed the extension on any of mine saved in that format to TS, and it's worked just fine. I've since starting recording to TS on the HD-PVR to avoid any future problems. And it seems TS is more user-friendly when editing than M2TS anyway.

Regarding the audio issue, here is an example of what happens when I load up an HD-PVR capture with 5.1 audio ..

PID 0x1100 Attributes Changed Near: 0x99ED994
From: AC3: 3/2.1: L, C, R, SL, SR, LFE 48KHz 384Kbit/s
To: AC3: 2/0: L,R 48KHz 384Kbit/s
PID Attribute List:
PID: 0x1011: H.264 1920x1088 (1920x1080) @ 25.000 fps
PID: 0x1100: AC3: 2/0: L,R 48KHz 384Kbit/s

If I load the same file into Cyberlink's PowerDirector 7, it reports it as 5.1 and I'm able to re-encode it in 5.1, but the re-encoding is the problem. That's the what I'm trying to avoid.

Thanks in advance,

Kerry



Ventolin posted 2009 Apr 07 21:01
voiceovers :
Thanks for the thorough reply Vent. I'll give a CoreAVC a go and see if makes any difference. I have it on-hand, but is not installed on this machine.

Regarding the bug in the edit code for M2TS files, I've simply changed the extension on any of mine saved in that format to TS, and it's worked just fine. I've since starting recording to TS on the HD-PVR to avoid any future problems. And it seems TS is more user-friendly when editing than M2TS anyway.

Regarding the audio issue, here is an example of what happens when I load up an HD-PVR capture with 5.1 audio ..

PID 0x1100 Attributes Changed Near: 0x99ED994
From: AC3: 3/2.1: L, C, R, SL, SR, LFE 48KHz 384Kbit/s
To: AC3: 2/0: L,R 48KHz 384Kbit/s
PID Attribute List:
PID: 0x1011: H.264 1920x1088 (1920x1080) @ 25.000 fps
PID: 0x1100: AC3: 2/0: L,R 48KHz 384Kbit/s

If I load the same file into Cyberlink's PowerDirector 7, it reports it as 5.1 and I'm able to re-encode it in 5.1, but the re-encoding is the problem. That's the what I'm trying to avoid.

Thanks in advance,

Kerry


Hi Kerry,

Form the above, it looks like your audio changes from 5.1 to 2.0 somewhere in the middle of your file. You can see for yourself what happens with the audio by double clicking the marker that is added when you open the file (should be under the Marker Tab at/near 0x99ED994)

Set frame jump to Audio in the bottom left corner of TSPE, then use the F+ and F- buttons to navigate your AC3 packets. Look in the decode window to see what the audio format is.4 before and after the marker You should see the audio changing from 5.1 to 2.0, but if it stays at 5.1 before and after the marker location then it just means it was a false positive.

If you want me to double check for you, just cut 30 seconds before and 30 seconds after that marker point and post the sample to one of the file sharing sites (tunring off Fix Tables/timecodes as instructed previously).

Regards,

Vent



voiceovers posted 2009 Apr 07 21:11
Thanks Vent. Yes, the HD-PVR is able to automatically detect when the audio being recorded changes from 2.0 to 5.1 and vice versa .. and does so in the recording process too. Because I'm capturing movies from my set-top box, that's how it's happening.

So, what might I need to do to make sure I keep all of the 5.1 portions without seeing everything changed to 2.0?

Also, I've noticed that TSPE has a fit and crashes is it's trying to edit files recorded at 1280 x 720. Is there a way to overcome that problem?

Oh, and I tried to buy a license via Plimus, but they refused to finalise the sale because I used my personal email address in the license info, but used a business PayPal account (using a different email address) to pay for it. i understand the need for security, but that's ridiculous. I wonder how many sales you might have lost as a result?

Kerry



Ventolin posted 2009 Apr 08 20:23
voiceovers :
Thanks Vent. Yes, the HD-PVR is able to automatically detect when the audio being recorded changes from 2.0 to 5.1 and vice versa .. and does so in the recording process too. Because I'm capturing movies from my set-top box, that's how it's happening.

So, what might I need to do to make sure I keep all of the 5.1 portions without seeing everything changed to 2.0?

Also, I've noticed that TSPE has a fit and crashes is it's trying to edit files recorded at 1280 x 720. Is there a way to overcome that problem?

Oh, and I tried to buy a license via Plimus, but they refused to finalise the sale because I used my personal email address in the license info, but used a business PayPal account (using a different email address) to pay for it. i understand the need for security, but that's ridiculous. I wonder how many sales you might have lost as a result?

Kerry

Hi kerry,

To make sure you have 5.1 audio just make sure your edits contain the 5.1 audio in the stream. It sounds kinda obvious but perhaps I'm still misunderstanding something?

TSPE doesn't nomrally crash when editing 1280x720p or anything else for that matter, but the directshow filters can crash which takes TSPE out with it. To determine what is causing the crash, just disable the video by unchecking the Video checkbox under the video window. You should find that TSPE doesn't crash (even if it outputs error messages). I am working on trying to stop the directshow filters from taking out TSPE as well when they do crash but that really isn't easy as I didnt write the filters! I have found CoreAVC to be much more resiliant than FFDShow however.

Sorry to hear you had trouble with purchasing TSPE and thank you for trying! There should not be an issue with having a different email address for the purchase and a different one for the activation (licence) details - many people do this. There may have been something else that caused an issue though, but if you give me more details via PM I can look into it for you.

Regards,

Vent



MrFreakSir posted 2009 Apr 16 04:31
Hi
Just want to say i think this is a stunning app, i was using the older version before with no end of problems. I tested out the Beta last night and it worked like a charm. I will deffo be purchasing a full license next pay day. Thanks alot! :D



HDedit posted 2009 Apr 18 05:39
I'm seriously considering this piece of software BUT I can't get it to work with BBCHD, which is a showstopper. On opening a file the tree view says '0x0918: Unknown (in blue); 0x0919: Unknown (in black); PAT PID: 0x0000 (in green)'. It seems from above you need to edit the table, but while I can make the PAT PID into a parent I don't know how to create a PMT. I hope this makes sense as I'm new at this H.264 business. :) Can you help?

Is there something wrong with the file? It's coming from a non-freesat satellite receiver. I know the BBC audio stream is currently misidentified, but fixing it (with BBCHD fixer, courtesy of DVBViewer ( http://www.dvbviewer.info/forum/index.php?s=65a3cb9ff677efaa2b477 ... p;p=135131 ) makes no difference. TSPE works fine with ITV HD.

Tia.



Ventolin posted 2009 Apr 20 22:06
HDedit :
I'm seriously considering this piece of software BUT I can't get it to work with BBCHD, which is a showstopper. On opening a file the tree view says '0x0918: Unknown (in blue); 0x0919: Unknown (in black); PAT PID: 0x0000 (in green)'. It seems from above you need to edit the table, but while I can make the PAT PID into a parent I don't know how to create a PMT. I hope this makes sense as I'm new at this H.264 business. :) Can you help?

Is there something wrong with the file? It's coming from a non-freesat satellite receiver. I know the BBC audio stream is currently misidentified, but fixing it (with BBCHD fixer, courtesy of DVBViewer ( http://www.dvbviewer.info/forum/index.php?s=65a3cb9ff677efaa2b477 ... p;p=135131 ) makes no difference. TSPE works fine with ITV HD.

Tia.

Hi HDedit,

TSPE was born to edit BBCHD (seriously!) so I know we will resolve your issue!

From your description it looks like you are missing both PAT and PMT. A transport stream must have a PAT and PMT to be a compliant transport stream. TSPE has auto inserted a PAT for you, but it looks like you need to manually insert a PMT.

So, try this:

1. Menu -> Edit -> Table Options -> Table Editor. This will show the Table Editor. You should see a green PAT with PID 0x0000 in the tree. Green means a new PID.
2. Select the PAT 0x0000 in the Parent PID drop down box
3. Type in the PID 0x0100
4. Select the stream type as PMT from the drop down
5. Click Update

This should now make a new PMT entry appear in the PID tree (which will be green if you click on something else to change the highlighted entry)

6. Now make sure the Video PID and Audio PIDs are under the PMT in the PID tree by dragging and dropping them as necessary.
7. Verify the stream type of the Video PID 0x0918 as H.264/AVC and parent as PMT PID 0x0100
8. Verify the stream type of the Audio PID 0x919 as AC3 and parent as PMT PID 0x0100

If the stream types or parent pids are incorrect you can change them with the drop down boxes and then click update when finished.

You should now have at least 4 entries in the PID tree similar to this:
PAT 0x0000
PMT 0x0100
0x918 H.264/AVC
0x919 AC3

9. Click Save to save the changes and close the Table Editor
10. Click Add in the EDL (bottom middle of the app) to add the entire cap to the edl (which also adds the Table editor changes to the EDL)
11. Make sure Fix Tables is selected (Fix Timecodes ticked is also highly recommended but not essential)
12. Click Edit

This will now create a new .ts file with the corrected PAT/PMT tables.

13. Load newly created .ts file back into TSPE.

You should now have a previewable and editable stream. Set start/end points as desired, clear the EDL before adding your new edit to the EDL and then click Edit to make your final output.

I hope that helps, let me know how you get on.

Regards,

Vent



Ventolin posted 2009 Apr 20 22:07
MrFreakSir :
Hi
Just want to say i think this is a stunning app, i was using the older version before with no end of problems. I tested out the Beta last night and it worked like a charm. I will deffo be purchasing a full license next pay day. Thanks alot! :D

Hi MrFreakSir,

Thank you for your very kind comments! I hope you continue to enjoy using TSPE!

Cheers,

Vent



CPB posted 2009 Apr 20 23:37
*MORNING EDIT*

I would still like to say, great program you have here!

I did some more research this morning, and I've answered some of my own questions from before, so I edited them out.

Basically, I'm using Hauppauge HD-PVR (1920x1080, 29.970fps, I-Frames occur roughly once per second, IDR I-frames occur roughly once every 4 seconds)
I'm editing the resulting TS files in TSPE. My cut out and cut in points are at exact I-Frames (not always IDR, but always I-Frames) - yet sometimes I still get a burst of pixelation, screen bounce (literally the picture bounces up and down), or some garbled screen image on the cut-in. It is really annoying.. why might this be happening if I'm cutting at I-Frames? I've tried cutting at other frames in-between I-Frames and sometimes its worse, sometimes there's no problem - it just seems really random to me.

I'm using CoreAVC, matroska splitter, and ffdshow for audio only.



HDedit posted 2009 Apr 21 05:11
Ventolin :

Hi HDedit,

TSPE was born to edit BBCHD (seriously!) so I know we will resolve your issue!

From your description it looks like you are missing both PAT and PMT. A transport stream must have a PAT and PMT to be a compliant transport stream. TSPE has auto inserted a PAT for you, but it looks like you need to manually insert a PMT.

So, try this:



Hi Vent,

Thanks for your detailed reply. However, I hit a hitch after step 8. When I hit save there is an error message saying 'Error: validating and saving tables. Index was outside the bounds of array'. I'm pretty sure I'm following your directions. The tree now has 'PAT PID: 0x0000' in green at the top; indented in green is '0x0100: PMT; indented equally below that is, in blue, '0x0918: H.264/AVC video' and, in black, '0x0919: AC-3 Audio'. I hope you can help again in time--I only have four days of evaluation time left! I shouldn't have installed it just before going on holiday--idiot! :)

Edit: reading earlier posts, might this be an issue with the temp license?



Ventolin posted 2009 Apr 23 20:30
CPB :
*MORNING EDIT*

I would still like to say, great program you have here!

I did some more research this morning, and I've answered some of my own questions from before, so I edited them out.

Basically, I'm using Hauppauge HD-PVR (1920x1080, 29.970fps, I-Frames occur roughly once per second, IDR I-frames occur roughly once every 4 seconds)
I'm editing the resulting TS files in TSPE. My cut out and cut in points are at exact I-Frames (not always IDR, but always I-Frames) - yet sometimes I still get a burst of pixelation, screen bounce (literally the picture bounces up and down), or some garbled screen image on the cut-in. It is really annoying.. why might this be happening if I'm cutting at I-Frames? I've tried cutting at other frames in-between I-Frames and sometimes its worse, sometimes there's no problem - it just seems really random to me.

I'm using CoreAVC, matroska splitter, and ffdshow for audio only.

Hi CPB,

Thanks for your kind words about TSPE!

For H.264, an IDR frame is a frame you can edit on in the same sense an I frame is for MPEG2. H.264 uses slices instead of frames which can be I, P or B slices - that is one frame can be a mix of all 3 types of frame. So a start point can only really be an IDR frame. However, it may be that an I frame is a complete frame in which case you could use it for a start edit point.

Furthermore, TSPE tries to identify the best place to make an edit, but it doesnt take IDR frames into consideration all the time as you have found that sometimes an I frame is OK for a start point. This is why the best advice is to try to edit on IDR / I frames for the start and IDR / I / P frames for the end point and then *testing* to see the results.

Until frame accurate editing is ready, it's a case of testing and fine tuning each edit point to find the best results. I am working hard to get to frame accuracy but there is still quite a bit of work to do.

The HD-PVR is not edit friendly with 4 seconds between IDR frames - please ask Hauppauge to give an option to change the GOP settings so it will be possible to record with say an IDR frame every half second (which is much more edit friendly without that much of a quality hit.)

Hope that answers your question.

Regards,

Vent



Ventolin posted 2009 Apr 23 20:37
HDedit :
Ventolin :

Hi HDedit,

TSPE was born to edit BBCHD (seriously!) so I know we will resolve your issue!

From your description it looks like you are missing both PAT and PMT. A transport stream must have a PAT and PMT to be a compliant transport stream. TSPE has auto inserted a PAT for you, but it looks like you need to manually insert a PMT.

So, try this:



Hi Vent,

Thanks for your detailed reply. However, I hit a hitch after step 8. When I hit save there is an error message saying 'Error: validating and saving tables. Index was outside the bounds of array'. I'm pretty sure I'm following your directions. The tree now has 'PAT PID: 0x0000' in green at the top; indented in green is '0x0100: PMT; indented equally below that is, in blue, '0x0918: H.264/AVC video' and, in black, '0x0919: AC-3 Audio'. I hope you can help again in time--I only have four days of evaluation time left! I shouldn't have installed it just before going on holiday--idiot! :)

Edit: reading earlier posts, might this be an issue with the temp license?


Hi HDEdit,

Sorry to hear you hit a snag at step 8. It sounds like a bug rather than anything to do with the licence. Can you please send me a sample of about 20MB? To do this, just set the start / end points (use the byte positions to work out where 20MB is), add to the edl, turn off fix tables and fix timecodes and then hit edit. Then upload to a file sharing site like mediafire / zshare / rapidshare, etc.

Don't worry about running out of evaluation time, PM me your username and valid working email and I'll send you an extended trial licence.

Thanks,

Vent



HDedit posted 2009 Apr 24 04:54
Ventolin :


Hi HDEdit,

Sorry to hear you hit a snag at step 8. It sounds like a bug rather than anything to do with the licence. Can you please send me a sample of about 20MB? To do this, just set the start / end points (use the byte positions to work out where 20MB is), add to the edl, turn off fix tables and fix timecodes and then hit edit. Then upload to a file sharing site like mediafire / zshare / rapidshare, etc.

Don't worry about running out of evaluation time, PM me your username and valid working email and I'll send you an extended trial licence.

Thanks,

Vent


Hi again,

Well, there is definitely something odd going on here. When I tried to make *any* edit there was an error message: 'Edit failed, only 0 bytes written'. This happened on everything, including files I have previously edited successfully from ITV HD!

I tried with a newly unrared copy of the program and it worked once again with ITV HD, but still not with BBC HD. I've used H.264 TS Cutter to get 20 MB of BBC HD.

Anyway, I'll PM you.

Thanks again.



Ventolin posted 2009 Apr 24 11:03
HDedit :
Ventolin :


Hi HDEdit,

Sorry to hear you hit a snag at step 8. It sounds like a bug rather than anything to do with the licence. Can you please send me a sample of about 20MB? To do this, just set the start / end points (use the byte positions to work out where 20MB is), add to the edl, turn off fix tables and fix timecodes and then hit edit. Then upload to a file sharing site like mediafire / zshare / rapidshare, etc.

Don't worry about running out of evaluation time, PM me your username and valid working email and I'll send you an extended trial licence.

Thanks,

Vent


Hi again,

Well, there is definitely something odd going on here. When I tried to make *any* edit there was an error message: 'Edit failed, only 0 bytes written'. This happened on everything, including files I have previously edited successfully from ITV HD!

I tried with a newly unrared copy of the program and it worked once again with ITV HD, but still not with BBC HD. I've used H.264 TS Cutter to get 20 MB of BBC HD.

Anyway, I'll PM you.

Thanks again.

Hi HDedit,

I did get your sample thanks, and the error you get when trying to save the new tables in the table editor is indeed a bug, thank you for that!

I'll make sure it's working for the next release and see if there is a workaround.

Regards,

Vent



HDedit posted 2009 Apr 24 11:41
Ventolin :



Hi HDedit,

I did get your sample thanks, and the error you get when trying to save the new tables in the table editor is indeed a bug, thank you for that!

I'll make sure it's working for the next release and see if there is a workaround.

Regards,

Vent


Whoa, that was fast! I didn't even bother reading here before pming you again with a second version of the file because I thought the first one hadn't uploaded, and you've already tracked it down. :)

Looking forward to the fix/workaround.



Ventolin posted 2009 Apr 26 16:11
HDedit :
Ventolin :



Hi HDedit,

I did get your sample thanks, and the error you get when trying to save the new tables in the table editor is indeed a bug, thank you for that!

I'll make sure it's working for the next release and see if there is a workaround.

Regards,

Vent


Whoa, that was fast! I didn't even bother reading here before pming you again with a second version of the file because I thought the first one hadn't uploaded, and you've already tracked it down. :)

Looking forward to the fix/workaround.

Hi HDedit,

Just to let you know there isn't a workaround for the table editor bug for 0.755, but I have fixed it now so it will be working in the next version.

Thank you for your sample!

Regards,

Vent



reinsuld posted 2009 Apr 30 02:25
Is it possible to use TSPE for fixing ts files with intentionally corrupted timecode?

I have couple .ts recordings with intentionally corrupted timecode - timecode jumped for following frames in such pattern:
2-3-1-5-6-4-...
There no way to demux these ts files to elementary streams with any tried demuxers- result is video, stopping about every 1 sec.
But same time there are no problems with playing these ts files - players play video frame-by-frame base.

Also tried with using TSPE to cut sample from this ts, but result is same 1 sec interval jumping video even with "disable all fix" TSPE option.

Any ideas, how to fix this?

Rein



Ventolin posted 2009 May 01 04:59
reinsuld :
Is it possible to use TSPE for fixing ts files with intentionally corrupted timecode?

I have couple .ts recordings with intentionally corrupted timecode - timecode jumped for following frames in such pattern:
2-3-1-5-6-4-...
There no way to demux these ts files to elementary streams with any tried demuxers- result is video, stopping about every 1 sec.
But same time there are no problems with playing these ts files - players play video frame-by-frame base.

Also tried with using TSPE to cut sample from this ts, but result is same 1 sec interval jumping video even with "disable all fix" TSPE option.

Any ideas, how to fix this?

Rein

Hi,

I'm not sure TSPE will fix this, but I would need a sample for analysis. To make a sample, turn off Fix Tables and Fix Timecodes next to the Edit button on the main gui. That should keep everything intact. Then upload it to a web filesharing site.

Regards,

Vent



akiraku posted 2009 May 06 09:41
does TSPE cut & output as well the subtitle stream?


tbean posted 2009 May 06 16:38
I am using the 0.755 version of TSPE on Windows Vista 32 bit and the filters TSPE says it is using are: ffdshow Video Decoder, AVI Decompressor, ffdshow Audio Decoder, Video Renderer, and Default DirectSound Device.

I have what I consider a very bad mismatch between the Video Preview window and the Test Window. The video in th Test window is approximately 2 seconds behind the Preview window. I have tried using the Preview Adjust... but have been unsuccessful making the video match.

This creates a problem with the resulting edit because I don't really know where my edit point is set. If I move to an I frame in the Preview window and the Test window is 2 seconds behind, am I really at an I frame?

In the post from Apr 05, 2009, Ventolin said "Then adjust the start and end points by moving forwards or backwards in P frame increments for the end point and I frame increments for the start point until you have fine tuned your edit" The information displayed in the bottom right corner of TSPE is: "I Slice (IDR)", "I, P, B Slice", or "I, P Slice". Do all of these qualify as an "I frame"?

In a post on another forum, Vendolin suggested setting edit points on a "P frame". Does this mean the "I, P, B Slice" is the one to use?

Since the Test window and the Preview window are so far off and all the navigation is done in the Preview window, how do I know if the Test window is on the same type of frame?

Thanks,
Tom



Ventolin posted 2009 May 06 19:22
akiraku :
does TSPE cut & output as well the subtitle stream?

Hi akiraku,

Yes, TSPE edits subtitles in a Transport Stream and further support is also planned.

Hope that helps,

Regards,

Vent.



Ventolin posted 2009 May 06 19:32
tbean :
I am using the 0.755 version of TSPE on Windows Vista 32 bit and the filters TSPE says it is using are: ffdshow Video Decoder, AVI Decompressor, ffdshow Audio Decoder, Video Renderer, and Default DirectSound Device.

Try uninstalling FFDShow and Haali Media Splitter if you have it installed. Then install the latest Haali and FFDShow. You should find your accuracy issues resolved. For even greater accuracy, try Haali with CoreAVC.

tbean :
In the post from Apr 05, 2009, Ventolin said "Then adjust the start and end points by moving forwards or backwards in P frame increments for the end point and I frame increments for the start point until you have fine tuned your edit" The information displayed in the bottom right corner of TSPE is: "I Slice (IDR)", "I, P, B Slice", or "I, P Slice". Do all of these qualify as an "I frame"?

In a post on another forum, Vendolin suggested setting edit points on a "P frame". Does this mean the "I, P, B Slice" is the one to use?


IDR frames if you have them (in H.264) are the frames to use as Start points.
If you have no IDR frames then use I frames as start points.
You can use an IDR or I frame or I,P frame as an end point.

TSPE by default will try and find the most appropriate start and end points, though choosing the start / end frames manually does give you greater control.

Hope that helps,

Regards,

Vent.



SamuriHL posted 2009 May 10 10:44
Just wanted to drop in and say I love this editor. It's working very well for me. I've run into the Windows 7 license bug as well and am looking forward to the next release that hopefully fixes that. An FYI for everyone, I've asked erik, the author of Comskip, to add edl output support for TSPE. :)

http://www.kaashoek.com/comskip/viewtopic.php?f=5&t=638

He said that he will try to add it at some point. This will be an awesome addition if he can get that to work.

Finally I just want to thank you for the hard work that goes into this editor. AVC editing is not easy as is evidenced by the lack of support for the major editors out there. Your product works very well and is really appreciated!



Ventolin posted 2009 May 11 20:11
SamuriHL :
Just wanted to drop in and say I love this editor. It's working very well for me. I've run into the Windows 7 license bug as well and am looking forward to the next release that hopefully fixes that. An FYI for everyone, I've asked erik, the author of Comskip, to add edl output support for TSPE. :)

http://www.kaashoek.com/comskip/viewtopic.php?f=5&t=638

He said that he will try to add it at some point. This will be an awesome addition if he can get that to work.

Finally I just want to thank you for the hard work that goes into this editor. AVC editing is not easy as is evidenced by the lack of support for the major editors out there. Your product works very well and is really appreciated!

Hi SamuriHL,

Thank you for your kind words!

I am in the process of adding support for importing Comskip EDLs. Because TSPE is packet/byte accurate, it's unlikely comskip will have support for generating TSPE edls in it's native format.

Hopefully this support will be ready for the next TSPE release.

However, I don't think Windows 7 support will be ready for the next release, but it is certainly on the todo list.

Regards,

Vent



SamuriHL posted 2009 May 14 11:46
I'm looking forward to the edl import functionality. That'll be a godsend to some of us!! Looks like being an HD PVR owner is finally going to be exciting. :)


Buddy_Boy posted 2009 Jul 01 04:18
I just ran into a really strange error. I have a paid copy of TSPE and have been using it for about three months and have successfully edited hundreds of MPEG-2 transport streams containing H.264 video and AC3 audio (Dish Network captures). Today I did something to my PC that completely broke TSPE. For a while I could not edit a single file, even files I had previously edited successfully. I kept getting this error:

'"Error: Buffer underrun in edit operation, reading non-final blocks in final loop pass. PID: 0, iPii: 0, ProgIndex: 0 Error: Edit failed, only 384 bytes written."

After trying a few things with no success I decided to restore my system to its state from yesterday. I had installed a new version of VMWare workstation today, but that was the only significant change I had made. Anyway, I restored to the restore point from yesterday, and tried TSPE, and everything was fine. I don't know if it was VMWare that made TSPE stop working, or some other change that was made in the last day, but whatever I did, it temporarily broke TSPE and I could not edit a file until I undid my changes from the past day. It wasn't the reboot that fixed things, I had done that a couple times before restoring my system.



daron posted 2009 Jul 04 16:12
No new version coming? Seems Ventolin has not been here for awhile.

I think TSPE would suit me perfect, but since I get the bug with the trial licence "Error: Index was outside the bounds of the array.", I can't try anything at all...

Can I open 2 ts files and merge them together to one longer file in TSPE?

Just need it as a very basic mts/m2ts editing tool.

Also, what happens with new versions? Would not like to pay for the licence if this is a dead project?



dhnj posted 2009 Jul 05 06:00
Can I open 2 ts files and merge them together to one longer file in TSPE?

Open the first file.
Select the EDL Tab.
Press Add.
Open second file.
Select the EDL Tab.
Press Add.
To merge the two file into one file press the Edit button.
You can also edit parts of first and seconf file and merge the edited EDL into to the final file.



Ventolin posted 2009 Jul 05 07:54
daron :
No new version coming? Seems Ventolin has not been here for awhile.

I think TSPE would suit me perfect, but since I get the bug with the trial licence "Error: Index was outside the bounds of the array.", I can't try anything at all...

Can I open 2 ts files and merge them together to one longer file in TSPE?

Just need it as a very basic mts/m2ts editing tool.

Also, what happens with new versions? Would not like to pay for the licence if this is a dead project?


Hi daron,

I'm very much here, just busy with trying to get the next verion out!

0.755 will not edit m2ts files with a temp licence. You will have to convert it to 188 byte .ts files and then use TSPE.

A full licence will work fine however.

This is actually an unintentional bug that might still be present in the next version as I haven't managed to track it down yet :( However, it only affects temp licences.

Next version 0.80 will have basic timeline support, 0.90 will have a new muxing engine, and 1.0 will be frame acccuate.

Hope that helps!

Regards,

Vent



Ventolin posted 2009 Jul 05 07:56
Buddy_Boy :
After trying a few things with no success I decided to restore my system to its state from yesterday. I had installed a new version of VMWare workstation today, but that was the only significant change I had made. Anyway, I restored to the restore point from yesterday, and tried TSPE, and everything was fine. I don't know if it was VMWare that made TSPE stop working, or some other change that was made in the last day, but whatever I did, it temporarily broke TSPE and I could not edit a file until I undid my changes from the past day. It wasn't the reboot that fixed things, I had done that a couple times before restoring my system.


Hi Buddy_Boy,

Yes, VMWare will totally interfere with the full licence of TSPE! Glad you managed to get TSPE working again however!

Regards,

Vent



TBoneit posted 2009 Jul 05 15:14
Hello Ventolin

I can not seem to get activated. Here is an excerpt from todays email.

Quote
"Hello
originally sent this on June 21 and again on July 1. I would really like to start using the software again as the temp license has run out

Hello

Please expedite.
I notice it says "Hardware locked to your PC" If I replace the PC how does that affect the software licensing?
Details:"
EndQuote

Snipped out the details of course. This time I also Cc'd to support.

It appears you have some problem with the activation process as I paid on the 21st of June.

Moving on "Hardware locked to your PC?
I to found the activation process less than intuitive. added to the fact that the program had expired and would not even run to get the details needed. I had to work on that to get it running enough to prompt for activation.

I liked the program when it was running or I wouldn't have spent the hard earned money for it.

Thanks for any help
Roger



Ventolin posted 2009 Jul 07 18:54
TBoneit :
Hello Ventolin

I can not seem to get activated. Here is an excerpt from todays email.

Quote
"Hello
originally sent this on June 21 and again on July 1. I would really like to start using the software again as the temp license has run out

Hello

Please expedite.
I notice it says "Hardware locked to your PC" If I replace the PC how does that affect the software licensing?
Details:"
EndQuote

Snipped out the details of course. This time I also Cc'd to support.

It appears you have some problem with the activation process as I paid on the 21st of June.

Hi Roger, I have replied to you via PM regarding this, thank you for bringing it to my attention.

TBoneit :
Moving on "Hardware locked to your PC?
I to found the activation process less than intuitive. added to the fact that the program had expired and would not even run to get the details needed. I had to work on that to get it running enough to prompt for activation.

I liked the program when it was running or I wouldn't have spent the hard earned money for it.

Thanks for any help
Roger

Thanks for your feedback regarding the activation process, and apologies for the issues you are having.

I agree the licencing system needs some improvement in various areas. I hope to have these issues resolved before TSPE moves out of beta.

When TSPE expires, you should have the option to activate when you get the expired notice. From this you can generate your activation details and send them in. If you do not have this option, then please let me know.

TSPE is hardware locked to a PC for full licences. If you change PC or your hardware, you will have to re-activate again, but this simply involves regenerating your activation details and sending them in. As long as the requests are reasonable a new licence will be sent out to you (ie. not every week!)

In most cases a full licence should be sent out to you within 24 hours, but please allow 7 days for the licence to be sent as this is a manual process at the moment. If you do not hear anything after this time, then please get in touch as you have done so in this forum.

I hope that helps, and apologies for any inconvenience caused.

Regards,

Vent



DVWannaB posted 2009 Jul 07 21:35
Ventolin :
daron :
No new version coming? Seems Ventolin has not been here for awhile.

I think TSPE would suit me perfect, but since I get the bug with the trial licence "Error: Index was outside the bounds of the array.", I can't try anything at all...

Can I open 2 ts files and merge them together to one longer file in TSPE?

Just need it as a very basic mts/m2ts editing tool.

Also, what happens with new versions? Would not like to pay for the licence if this is a dead project?


Hi daron,

I'm very much here, just busy with trying to get the next verion out!

0.755 will not edit m2ts files with a temp licence. You will have to convert it to 188 byte .ts files and then use TSPE.

A full licence will work fine however.

This is actually an unintentional bug that might still be present in the next version as I haven't managed to track it down yet :( However, it only affects temp licences.

Next version 0.80 will have basic timeline support, 0.90 will have a new muxing engine, and 1.0 will be frame acccuate.

Hope that helps!

Regards,

Vent


WoooHoooo!!!!

Nice when active user-feedback function actually works. Somebody is actually listening. Cant wait.



SamuriHL posted 2009 Oct 04 15:20
So is there anything being done on the next version? It's bee quite a while since we've heard anything. Just checking to see if it's still being worked on. I hope all is well.


Ventolin posted 2009 Oct 05 12:35
SamuriHL :
So is there anything being done on the next version? It's bee quite a while since we've heard anything. Just checking to see if it's still being worked on. I hope all is well.

Hi SamuriHL,

Yes, I'm working hard on the next version, just on the last major bug now, but it's *very* overdue!

Stay tuned,

Regards,

Vent



SamuriHL posted 2009 Oct 11 20:51
Thanks, Vent! I'm glad you're still working on it. Can't wait to see what you've got for us. :)


ManuHD posted 2009 Oct 16 12:34
Hi Ventolin,
I have the same problem as the other people have been having.

I am using the latest beta 0.755 on a XP machine, editing TS files without a problem for almost a month now, until today.
Now when I go to Test the Start or end Points I get;

Error:
Index was outside the bounds of the array.
PID: 0, iPii: 0, ProgIndex: 0
Error: Edit failed, only 376 bytes written.


What is even more strange is that I tried the same beta on 3 other PC's, two running XP and one running windows 7 and all 3 give me the same erorr.

Its almost like there is some kill switch with the app that stopped working all at once.
I even redownloaded the trial lic and program.

Here is the full log. Please help.

Trial Version.
You have 8 days left for evaluation.
Licensed to: BetaTest, Email: betatest@bitstreamtools.com
Version: 0.755
Buffer Size: 1540096

Opening: C:\Users\Manu\Desktop\2009_9_6_17_38_5.HNIC Game 6.TS
Opening File...

Error: Auto Creating Filter Graph
Exception from HRESULT: 0x80040265
Error Loading Video, Disabling.
Auto Finding PIDs
PID Attribute List:
PID: 0x1011: H.264 1920x1088 (1920x1080) @ 29.970 fps
PID: 0x1100: AC3: 3/2.1: L, C, R, SL, SR, LFE 48KHz 384Kbit/s

Scanning For Format Changes
File size: 67834536 Bytes
Duration from Timestamps: 38.41
Average System Bitrate: 14130342.85
Done.
Testing Start Point
Copying Data...
Creating Test Edit
New PAT Created.
New PMT Created.

Error:
Index was outside the bounds of the array.
PID: 0, iPii: 0, ProgIndex: 0
Error: Edit failed, only 376 bytes written.
Copying Data...
Processing EDL Item: 1 of 1
New PAT Created.
New PMT Created.

Error:
Index was outside the bounds of the array.
PID: 0, iPii: 0, ProgIndex: 0
Error: Edit failed, only 376 bytes written.
Overwriting Existing File
Copying Data...
Processing Selected EDL Item: 1 of 1
New PAT Created.
New PMT Created.

Error:
Index was outside the bounds of the array.
PID: 0, iPii: 0, ProgIndex: 0
Error: Edit failed, only 376 bytes written.



DiGG posted 2009 Oct 16 16:02
I got the SAME problem, brand new, never happened before, as if there is indeed a kill switch or for this particular day isn't working...

:
Opening: F:\Manual Recordings\JEMESOUVIENS_20091016052000.ts
Opening File...
Video Loaded.
Auto Finding PIDs
PID Attribute List:
PID: 0x1011: H.264 1280x720 (1280x720) @ 59.940 fps
PID: 0x1100: AC3: 3/2.1: L, C, R, SL, SR, LFE 48KHz 384Kbit/s

Scanning For Format Changes
File size: 9150791524 Bytes
Video Resolution from Codec: 1280 x 720 @ 59.94 fps
Duration from Codec: 6037.16
Duration from Timestamps: 6037.15
Average System Bitrate: 12125979.83
Done.
Copying Data...
Processing EDL Item: 1 of 1
New PAT Created.
New PMT Created.

Error:
Index was outside the bounds of the array.

PID: 0, iPii: 0, ProgIndex: 0
Error: Edit failed, only 376 bytes written.


I even reinstalled Vista *today*, just to be sure... it's not the problem. What's up? :(



David Hook posted 2009 Oct 16 23:00
Ventolin:
I am considering the purchase of your software, but am concerned with this "kill switch". Is this a real issue?
Also, it is my understanding that your software is bound to one PC. What if that PC becomes unusable?
TIA



cincyreds posted 2009 Oct 16 23:25
:
Error: Edit failed, only 376 bytes written.

I got this same error suddenly as well in the past few weeks, so I tried editing the same files with other tools and they also choked on it. I'm thinking it might have something to do with the file itself. I'm wondering if the other users are editing .ts files created by the Hauppauge HD-PVR 1212? After a couple days of this happening I haven't had the problem since.

Vent, one other small issue I'm hoping can be solved is that every time I open TSPE, the previous EDL loads in the "Markers" tab and I have to manually clear it before I start editing. I see no settings to control this.
Is there any way to force TSPE to always start with a blank EDL and Marker list?

Looking forward to the next version...

Thanks!

:)

Dean



DiGG posted 2009 Oct 17 07:31
cincyreds :
I got this same error suddenly as well in the past few weeks, so I tried editing the same files with other tools and they also choked on it. I'm thinking it might have something to do with the file itself. I'm wondering if the other users are editing .ts files created by the Hauppauge HD-PVR 1212?...

I'm trying to edit old and brand new files, made with the HD-PVR 1219. Editing with TS Sniper and h.264 ts cutter still works, but I MUCH prefer using TSPE. In my opinion the problem seem to be TSPE...

...or it would be a sudden and curious Windows Update messing with TSPE? :?:



The_Doman posted 2009 Oct 17 07:56
DiGG :
In my opinion the problem seem to be TSPE...

...or it would be a sudden and curious Windows Update messing with TSPE? :?:

It is not windows or something else but the TSPE application itself is time triggered it seems.

Out of curiosity I put the TSPE on my test PC with the clock set one month back, then everything works again. :wink:

This has happened before.



DiGG posted 2009 Oct 17 08:50
Ok, good to know I guess. I didn't bought TSPE just yet, as I'm waiting for a refined product (maybe next version of TSPE...) so of course I've been using the free license, and of course I change my date to last month and (hahaha) the license has run out! So, I can't tell if what you say is true (but I do beleive you) unless I *again* reinstall my OS.

Anyway, unless that "time bomb" on date is resolved, guess I'll have to use other programs. :(



ManuHD posted 2009 Oct 17 15:19
I did the setting the date back trick yesterday and it worked for about 30secs and then poped the "Unable to find a Valid Licence file" msg and the software shutdown.

hah This was on a new machine running windows 7 and now even when I set the date back to the present, the software will not open. My 30days of trial finished in One day. :/

Anyways....

Ventolin, where are you man? We need this fixed. Please.... How close is the 0.80 release?

Manu



ManuHD posted 2009 Oct 17 15:47
The_Doman,

With the date back trick, did you manage to use it for a extended period of time? What exactly did you do to make it work?
I did the date trick and it failed big time.

Thanks
Manu


The_Doman :
DiGG :
In my opinion the problem seem to be TSPE...

...or it would be a sudden and curious Windows Update messing with TSPE? :?:

It is not windows or something else but the TSPE application itself is time triggered it seems.

Out of curiosity I put the TSPE on my test PC with the clock set one month back, then everything works again. :wink:

This has happened before.



The_Doman posted 2009 Oct 17 17:51
ManuHD :
The_Doman,

With the date back trick, did you manage to use it for a extended period of time? What exactly did you do to make it work?
I did the date trick and it failed big time.

The 'date trick' only works on a system where TSPE has not been running on before.
If you tamper with the date/time afterwards it will disable the licence.

On my small (XP) test system i had set back the time one month to test, then TSPE seemed to work like normal.

Ofcourse this is all very cumbersome/unworkable so better we have to wait for a solution from the author.

Exactly the same thing happened with the previous beta version/license of the TSPE.



DiGG posted 2009 Oct 17 19:35



cincyreds posted 2009 Oct 17 20:20
ManuHD :
Ventolin, where are you man? We need this fixed. Please.... How close is the 0.80 release?
Manu

Are you kidding me? You guys are trying to get around purchasing the software by setting back your PC's date, and you hound the author because he will not "fix" the software so you can get around having to buy it?

Do you really expect Vent to be encouraged when he reads a thread like this and all he sees is people trying to avoid purchasing the software then complaining when the built in security prevents them from doing it?

We already know this is the best software out there for editing TS files, so pony up, support the author and purchase a license!



ManuHD posted 2009 Oct 17 21:36
Cincyreds,

No one is hounding the author and I am not trying to get around NOT purchasing the software.

I was simply trying to figure out why all of a sudden the software stopped working when I still had days left in the trial. Durrning that process I and other users noticed a few odd things about the tiral licence thats all it was.

I have no problem paying for this software and setting the time back is not going to CRACK the software.

The_Doman
Thanks for the info. while trying to figureout the errors I was having I used TSPE on all of the 4 systems I had so, I can't really test it.

Thanks again.



DiGG posted 2009 Oct 17 22:30
cincyreds :
Are you kidding me? You guys are trying to get around purchasing the software by setting back your PC's date, and you hound the author because he will not "fix" the software so you can get around having to buy it?


I'm not lying that I didn't bought the software, because frankly I'm waiting to invest into a frame-accurate editor, and although TSPE is by far the best editor for my hd-pvr captures, it still isn't offering that particular thing. I'm waiting for the next upgrade or news that it's gonna be implented. (I'm using other cutting programs too, which do 95% of what TSPE does, and those are free. I'm not rich and I'm really waiting to put all my bucks into THE magic do-it-all program)

Also, indeed, think of all the others "legit in trial" people using TSPE and having the same problem. Don't generalize that everyone is trying to take advantage...



Ventolin posted 2009 Oct 19 21:55
Hey guys,

Sorry I have not replied sooner and sorry you guys are having trouble with the beta and temp licences.

Well, I can't really comment about the "winding back the clock hack" for temp licences - you guys will have to deal with that yourselves!

However, I think I found the issue and have posted a "newer" version you can try here:

http://www.bitstreamtools.com/download/TS%20Packet%20Editor%200.755.rar

It has the same version number but is different from the version you get when you click the link on the website.

Please let me know if that version fixes the issue. If it does, I'll update the website link.

Note: this should only affect the temp beta licence - full licences should not be affected!

The next version 0.80 is almost ready for release - I'm just adding some icons (finally!) and tidying up a few things. I might release it to some full licence customers first to see if it's ready for public release, so I thank you for your patience in advance.

Frame accurate is due in 1.0. 0.90 will have a new muxing engine and independant PID editing using the timeline. The timeline is new for 0.80 and will be fully completed for 0.90.

Hopefully I'll be able to add Windows 7 support also for full licences. (Yes that means TSPE 0.755 is not yet Windows 7 compatible for full licences only).

0.80 has showanalyser and comskip import ability, but is a little rough around the edges.

There will be 2 versions of TSPE - Professional and Standard. The beta versions are all the "Professional" version. The Standard version won't have the analysis features. The Professional version is likely to be twice the price it is now and the standard version will be the current price, though this isn't final yet.

TSPE full licence is locked to a PC and follows the Windows OEM model - any significant change will require re-activation of TSPE. Quite a few products use this model but I am keeping an eye on the effectiveness of the policy and is by no means final.

Thanks for all your comments and feedback both postive and negative (there's no negative, just positive!) do keep it coming!

All the best,

Vent



The_Doman posted 2009 Oct 20 10:27
Ventolin :
However, I think I found the issue and have posted a "newer" version you can try here:

http://www.bitstreamtools.com/download/TS%20Packet%20Editor%200.755.rar

It has the same version number but is different from the version you get when you click the link on the website.

Please let me know if that version fixes the issue. If it does, I'll update the website link.


The saving/processing problem is solved.
On my (clean) test-PC with the current date set everything worked normally again. :)

Thanks for updating us about the developments of your TSPE tool!



DiGG posted 2009 Oct 20 11:23
Works great!

:
Frame accurate is due in 1.0. 0.90 will have a new muxing engine and independant PID editing using the timeline. The timeline is new for 0.80 and will be fully completed for 0.90.


Is there an ETA on that? There's an other product (don't know if I should name it here) that will offer frame-accuracy editing, and should be available for sale in a few weeks. I will spend ALOT to get frame-accuracy editing, I've been waiting for this for almost 2 years...



Ventolin posted 2009 Oct 20 11:57
DiGG :
Well, something is wrong for me. The old one (and other programs) load the TS just fine (I can see the video), but with this new version, I load a TS and I don't see the video! :(

Haali is loaded and configured as usual. Something I'm suppose to set differently?


(with latest version... grey as it can't show the video at all)


Hi DiGG,

It helps enormously of course if you turn on the video checkbox under the video window ;)

LOL I noticed you have sneakily edited your post but you're too late already!

Thanks for the update The_Doman & DiGG :)

Regards,

Vent



DiGG posted 2009 Oct 20 13:08
Ventolin :
LOL I noticed you have sneakily edited your post but you're too late already!

Ya, stupid me! Finally found it by myself lol!!



Ventolin posted 2009 Oct 20 13:34
DiGG :

:
Frame accurate is due in 1.0. 0.90 will have a new muxing engine and independant PID editing using the timeline. The timeline is new for 0.80 and will be fully completed for 0.90.


Is there an ETA on that? There's an other product (don't know if I should name it here) that will offer frame-accuracy editing, and should be available for sale in a few weeks. I will spend ALOT to get frame-accuracy editing, I've been waiting for this for almost 2 years...

Hi DiGG,

No ETA I'm afraid. I'm trying to keep to a new release every 3 months though, but I would rather release something less buggy less often than something very buggy but often.

Yes, there are other products available that will do frame accurate editing (some are already available) but none that will edit *any* transport stream regardless of what is inside. This is especially true when editing streams from BluRay. One thing to be aware of if you are editing high bitrate streams (20Mb/s +) is the encoding bitrate limit of the other frame accurate editors.

If you are willing to spend ALOT to get frame accurate editing, then why not get both?

Rest assured that I am committed to make TSPE the best it can be and it already has plenty of features that no other application has that I know of without spending a fortune (if it exists).

Regards,

Vent



DiGG posted 2009 Oct 20 14:10
Ventolin :
Yes, there are other products available that will do frame accurate editing (some are already available) but none that will edit *any* transport stream regardless of what is inside.

Well, I got confirmation it will edit MY transport streams (HD-PVR), which btw don't go over 13.5Mpbs. It's really all I need. You say there are others already out, I never heard of them lol!

Thanks for answering though.



ManuHD posted 2009 Oct 21 08:53
Ventolin :
Hey guys,


http://www.bitstreamtools.com/download/TS%20Packet%20Editor%200.755.rar

It has the same version number but is different from the version you get when you click the link on the website.

Please let me know if that version fixes the issue. If it does, I'll update the website link.


Vent


Hi Vent,

Thank you very much for the Fix. This version works great.
Thanks for all your work.

Manu



ManuHD posted 2009 Oct 21 09:08
Hi Vent,

Does TSPE support Canon HF-11 camcorder (AVCHD) .MTS files?

I tried one and get the following error. "Error:
Buffer underrun in edit operation, reading non-final blocks in final loop pass." Am I doing something wrong or its just not supported?

Opening: C:\CanonHF11\RAW\00050.MTS
Opening File...
Video Loaded.
Auto Finding PIDs
PID Attribute List:
PID: 0x1011: H.264 1920x1088 (1920x1080) @ 29.970 fps

Scanning For Format Changes
File size: 162981888 Bytes
Video Resolution from Codec: 1920 x 1080 @ 29.97 fps
Duration from Codec: 54.95
Duration from Timestamps: 54.99
Average System Bitrate: 23711514.89
Done.


Testing Start Point
Copying Data...
Creating Test Edit
New PAT Created.
New PMT Created.

Error:
Buffer underrun in edit operation, reading non-final blocks in final loop pass.
PID: 16, iPii: 0, ProgIndex: 0
Error: Edit failed, only 384 bytes written.



Ventolin posted 2009 Oct 21 09:47
ManuHD :
Hi Vent,

Does TSPE support Canon HF-11 camcorder (AVCHD) .MTS files?

I tried one and get the following error. "Error:
Buffer underrun in edit operation, reading non-final blocks in final loop pass." Am I doing something wrong or its just not supported?

Hi ManuHD,

TSPE 0.755 should edit this with a full licence, but due to a bug the temp licence will not edit an .m2ts/mts file.

TSPE 0.80 should edit this for both full and temp licences. It's almost ready if you can wait!

Regards,

Vent



ManuHD posted 2009 Oct 21 13:10
Niceee....

With HD-PVR TS files taken care of by TSPE and soon my Canon MTS files...... This program keeps getting better and better.

Thanks for the update.


Ventolin :
ManuHD :
Hi Vent,

Does TSPE support Canon HF-11 camcorder (AVCHD) .MTS files?

I tried one and get the following error. "Error:
Buffer underrun in edit operation, reading non-final blocks in final loop pass." Am I doing something wrong or its just not supported?

Hi ManuHD,

TSPE 0.755 should edit this with a full licence, but due to a bug the temp licence will not edit an .m2ts/mts file.

TSPE 0.80 should edit this for both full and temp licences. It's almost ready if you can wait!

Regards,

Vent



SamuriHL posted 2009 Oct 29 18:54
Any time frame on the W7 support? Without that I'm afraid I can't use TSPE at all. I have a couple streams I'd like to try it out on.


Ventolin posted 2009 Oct 30 23:09
SamuriHL :
Any time frame on the W7 support? Without that I'm afraid I can't use TSPE at all. I have a couple streams I'd like to try it out on.


Hi SamuriHL,

Hopefully in the next few days! I'll drop you a note...

Regards,

Vent




Login/Register to our forum to be able to post here.








DVDFab DVD to DVD lets you backup DVDs to DVDr, AVI or MP4 for portable devices. More info or download trial!
About   Advertise   Forum Archive   RSS Feeds   Statistics