Do it this way. Go to Audio Cutter in the menu and save it as another aac file. For some reason convertin aac files to ac3 doesn't work right in megui. Don't know why. H264 TS Cutter gives you a butchered ts file when you cut with it. You can cut with DGAVCIndex too but I only use that to select like 10 seconds before the show and 10 minutes after the show ends if I recorded a lot more than the show.Originally Posted by Kilyin
+ Reply to Thread
Results 181 to 210 of 224
-
-
Originally Posted by Red Hat
-
Originally Posted by Red Hat
-
Got an acceptable result using +150 delay... I guess nothing is perfect.
-
It works fine for me. Use the audio cutter under the Tools Menu with the AAC file created by DGAVCIndex. DO NOT USE THE ONE IN INPUT for cutting audio.
-
Originally Posted by Red Hat
-
Originally Posted by MrCodeDude
Can someone (re)explain how to automatically remove the commericals?
FWIW I have VideoRedo and after I convert the .mkv into .mpg via GOTsent I still can't open/edit them in VideoRedo??? -
Hiya guys,
excuse me for jumping on the bandwagon here in this unruly fashion, but I have a similar situation :
I too have the HD PVR, and I save my caps direct to M2TS format. I then convert the caps to MKVs. I want to be able to edit out commercials as well, but it seems all apps available require elementary streams.
I have tried X264TSCutter, ProjectX and AvsP, none of which worked, I don't get a preview or anything. I have Haali Media Splitter and FFDShow installed, also AVISynth and all that shebang, but no joy.
Anyone here up for a full tutorial that would help me out ?
Or do I need to grab in TS to edit and then reencode to MKV ?
Thanks
BC55 -
I usually capture as TS. TsMuxerGUI can demux the streams. For simple cut editing (non re-encoding) I use h264ts_cutter.
-
Originally Posted by jagabo
do you experience any problems with this ? Do you re-encode to MKV after editing the TS in H264TS_Cutter ? I'm reading of audio sync probs etc ? Have you tried AvsP ?!
Thx
BC55 -
Originally Posted by bc55
When I do convert I use DgAvcIndex to create a DGA file, then AvcSource() in an AviSynth script. I usually just create my AVS files by hand with notepad. -
OK, when I open m2ts file I converted to TS in H264TS_Cutter, I get this error :
Could not init. video playback DS-Error.
I cannot access the Play, Preview or Cut symbols ..... -
When the HD PVR first came out in only produced TS files. Later updates allowed it to produce either TS or M2TS files. h264ts_cutter doesn't seem to work with its M2TS files. You can use TsMuxerGUI to convert M2TS to TS.
-
Originally Posted by jagabo
The result was the error message I posted ..... -
Have you tried remuxing the m2ts file to ts with TsRemux?
Alternatively, although a bit convoluted, if DGAVCIndex opens the m2ts file you have, you can demux to elementary streams and then remux to ts using TSMuxer. If anything else fails that could be your last resortSorry, I had to go see about a girl -
OK, DGAVCIndex opens the file, no probs. Demux also went fine. Still, the M2TS I remuxed to TS using TsRemux brings up an unhandled exception error on h264ts_cutter. As before. AvsP doesn't show a preview, for a reason I can't find, and VirtualDub MOD won't take any of this.
Actually, when I opened the M2TS file in DGAVCIndex, there are buttons on the bottom of the window to mark the start and end of the file, correct. If this could be done marking multiple segments to keep, and then demux the streams with the unselected portions cut out of video and audio, I'd be home free ..... -
DgAvcIndex's edit support only extends as far as a single mark-in and mark-out. You could save your video in segments and then load them all up via an AviSynth script:
Code:v1 = AvcSource("file1.dga") v2 = AvcSource("file2.dga") v3 = AvcSource("file3.dga") return(v1+v2+v3)
I'm running a test encode now using DirectShowSource and VirtualDubMod (to Xvid/MP3 AVI). VirtualDubMod is definitely getting the video and audio. I'll see if the audio and video are in sync when the encoding is done... -
Could you give me a link to that DirectShowSourceFilter plugin ? Also, how do I go about opening a file with THAT, and not with the standard dialogue ?
-
The DirectShowSource filter plugin should already be in VirtualDubMod. At the bottom of the Open Video File dialog select DirectShowSource in the Use AviSynth Template pulldown. You need to have AviSynth installed for this to work. All this does is automatically create a simple AviSynth script with DirectShowSource("filename.ext") with the filename filled in (with whatever file you select), then opens it.
The test encode of a TS file with VirtualDubMod and DirectShowSource ended up with a an A/V sync problem. It starts out OK but by the end of a 2 hour movie audio is about 3 seconds behind the video. I'm trying another encode now with:
DirectShowSource("filename.ts", fps=29.97, convertfps=true) -
Ok, jagabo, thanks for helping me out.
Actually, there is another solution that actually works out of the box : TOTAL MEDIA EXTREME by ARCSOFT. It came bundled with my HD PVR and offers a module to create AVCHD disks.
In that creation process, it lets you mark portions you want to edit out, and then creates a full menu structured folder on your harddisk or a DVD-R or DVD-R DL. I can then convert that M2TS file to MKV and the result is quality-wise the same as the original capture, sans the edited bits.
I'll try that VirtualDub Mod thing though .....
----------------------------------------------------------------------------------------------------------------------------------------
Following up on that, even the M2TS file TME makes goes out of sync if you edit out more than just the beginning or the end. I believe this too has to do with not editing exact keyframes.
VirtualDub Mod opened the M2TS file with DirectShowSource, no prob, and I edited that at the exact keyframes, waiting to see whether the resulting AVI plays in sync. -
My second attempt with DirectShowSource("filename.ts", fps=29.97, convertfps=true) also A/V sync problems. Back to DgAvcIndex I guess.
-
I am still struggling. I am not sure, whether VirtualDub or any other software is the source of the problem, or perhaps the codec used, player(s) .....
I will post results as they are reproduceable.
So far, I have not had a single file with audio in sync. -
VirtualDubMod only encodes the frames that are given to it. The problem is in AviSynth and DirectShowSource().
-
Originally Posted by jagabo
-
I try to make it a rule to read an entire thread before posting in it, but I just don't have the time to go through this whole thread at the moment. As a result, if this has been mentioned before in this thread, I apologize.
The following technique, which is neither fast nor pretty, is what I've been using until someone comes up with a frame accurate editor for hd-pvr files. I've used this technique quite a bit...with frame accurate cuts (as many as needed) and no a/v sync problems.
I create two graph (*.GRF) files for the ts that the hd-pvr produces:
The first is just the ts file being fed into CoreAVC Video Decoder. The graph is saved as video.grf
The second is just the ts file being fed into CoreAAC Audio Decoder. This graph is saved as audio.grf
The barebones avs file contains:
v=DirectShowSource("video.grf", audio=false)
a=DirectShowSource("audio.grf", video=false)
AudioDub(v, a)
If the file is going to be trimmed, I open the avs file in VirtualDub and make an interim copy using lagarith or huffyuv, and then trim that file in avisynth.
In case it affects how well the technique works, my captures for many months have been using "Simple GOP 4/32/128". I honestly don't remember how well the technique worked using the default "Simple No IDR GOP 4/32/0" and unfortunately I don't have the time to test it. -
I have found an alternate method :
Use Total Media Extreme, which is bundled with your HD PVR, to create an AVCHD disk of your capture, editing out the commercials etc. with the built-in cutting function when you build the AVCHD file.
Let TME make a directory on your harddisk with the AVCHD structure.
Use TSMuxerGUI to remux the M2TS file TME created into a TS file.
Use http://hauppauge.lightpath.net/software/hd_pvr/mp4creator_setup.exe to create an MP4 file from the TS you just made.
Now you have an MP4 file, which has audio in sync with the video, and you can then convert it to MKV or any other format you want.
I have used this method several times now, and all tries were successful ..... -
Originally Posted by bc55
Just choose your compression, leave frame rate as is ( or convert 50 fps to 25 if you like ), tick DROP FRAMES WHEN BEHIND and SYNC TO AUDIO and do your editing.
Afterwards, save as MKV in FULL PROCESSING MODE.
Takes a while, but does the trick too .....
Similar Threads
-
Saving space with MKV H.264 files
By Ahari in forum Newbie / General discussionsReplies: 269Last Post: 26th Apr 2013, 17:57 -
LaCinema Mini HD Connect cannot play MKV H.264 files ?
By centrino3 in forum Newbie / General discussionsReplies: 12Last Post: 12th Aug 2011, 09:45 -
How to edit .WTV files from Hauppauge HD-PVR (H.264/AC3) in Adobe Premiere
By milOtis in forum User guidesReplies: 2Last Post: 12th Apr 2010, 04:04 -
Accurately editing commercials from HD PVR h.264 .ts files
By finallygreen in forum Video ConversionReplies: 10Last Post: 28th Oct 2009, 14:14 -
Best way to convert/burn/play .mkv H.264 Blu-ray/HD DVD files on a Mac
By iMacMan in forum MacReplies: 7Last Post: 21st Mar 2009, 16:50