Ludicrous of Boorg
15th September 2009, 18:34
I have a Hauppage ATSC tuner. I used to use it with Windows, and its software captured video produced a .mpg file. I then cut commercials out with MPG2CUT2, thanks to advice from these forums, and worked with it from there.:thanks:
I've since built a better computer with Linux (Ubuntu 9.04 64-bit). I can capture video with Kaffeine, but that produces an MPEG2 Transport Stream. The best thing I found to cut this is still MPG2CUT2 in Wine, but it warns that it doesn't always do this right. I'm beginning to believe it, since every encoding method I've tried to make a DivX/MPEG4 AVI file from that had one problem or another, most involving the cut points. A couple of encoders may work with the cut video, but have other problems, so I'd like to avoid this approach if I can. I suppose I could cut the resulting AVI, but that could leave 5 seconds of commercials or more in at each break; and watching commercials in videos I make is no way to go through life! ;)
I've tried both ProjectX and RePlex 0.1.6 for converting the video to a packet stream so I can use MPG2CUT2. ProjectX says it doesn't support ATSC, and it doesn't seem to. RePlex I just tried, but it gives me a buffer overflow.
So I'm looking for either an easy way to cut the transport stream around commercials, or a way to convert it to a packet stream. One option is DgIndex + AviSynth, but copy/pasting the frame numbers of the beginnings and ends of commercials, after preprocessing, is not what I call easy; plus encoding that with VirtualDub is way slower than Handbrake. Any suggestions?
I've since built a better computer with Linux (Ubuntu 9.04 64-bit). I can capture video with Kaffeine, but that produces an MPEG2 Transport Stream. The best thing I found to cut this is still MPG2CUT2 in Wine, but it warns that it doesn't always do this right. I'm beginning to believe it, since every encoding method I've tried to make a DivX/MPEG4 AVI file from that had one problem or another, most involving the cut points. A couple of encoders may work with the cut video, but have other problems, so I'd like to avoid this approach if I can. I suppose I could cut the resulting AVI, but that could leave 5 seconds of commercials or more in at each break; and watching commercials in videos I make is no way to go through life! ;)
I've tried both ProjectX and RePlex 0.1.6 for converting the video to a packet stream so I can use MPG2CUT2. ProjectX says it doesn't support ATSC, and it doesn't seem to. RePlex I just tried, but it gives me a buffer overflow.
So I'm looking for either an easy way to cut the transport stream around commercials, or a way to convert it to a packet stream. One option is DgIndex + AviSynth, but copy/pasting the frame numbers of the beginnings and ends of commercials, after preprocessing, is not what I call easy; plus encoding that with VirtualDub is way slower than Handbrake. Any suggestions?