PDA

View Full Version : Splitting large HDTV mpeg2 files


Vapor
12th August 2004, 17:55
Well, I've tried about every program I've found and just can't seem to find one which does what I need. Searching these forums opened new avenues to pursue but still no joy.

I have several HDTV files around 12-20gb in size. Most are MPEG2 TS but some are ES or program streams with either AC3 or other audio. My main concern is 1280x720p or 1920x1080i MPEG2 TS with AC3 audio.

I'm looking for a tool to split these files into useable DVDR (5&9) sized files which remain playable without losing audio sync etc.

I've tried all sorts of combinations, demuxing, remuxing etc. etc. but in all cases each program falls short or fails. I'm pretty experienced in the SVCD/DVD encoding/manipulating department and thought I could overcome this by applying myself, seems not.

I'm only looking for a split to filesize option, I know I can use other editors (MPEG2VCR, Cutteraran et al) to cut by timeframe but I process far too many of these files to be guesstimating output filesizes. Any batch option would be a bonus.

I'm capable of demuxing the files into their parts, so a program accepting only seperare video and audio will do.

Any help at all would be appreciated.

moon1234
13th August 2004, 07:26
Why not just use DVD2AVI and Avisynth? It may be a manual process, but once you have the .d2v file you just use trim commands in AVIsynth to cut out commercials etc. This is assuming that you can get the transport stream output into a program stream. Once that it done, everything else is a cake walk.

This is assuming that your final destination will be Xvid or a re-encode with CCE or TMPEG.

-Moon1234

Emp3r0r
13th August 2004, 07:58
You can use HDTVtoMPEG2 to split your ts files into smaller mpg files. Try that and let me know if you have any sync problems.

Vapor
13th August 2004, 12:30
moon1234 :: I've considered the DVD2AVI+Avisynth method but it's long winded and still gives no split to filesize controls AFAIK. If I'm wrong then please correct me :) Also, I'm not permitted to re-encode the streams at all - the streams are delivered to me on removable hard drive for evaluation but once I'm finished I am required to archive them to DVDR. At the moment I'm just raring them and use that to split them. I'm just getting complaints from the re-evaluation bloke that he can't view any of the material without reconstructing it :/ I am pretty conversant with both DVD2AVI and Avisynth though and willing to learn additional functions if one would suit my purpose.

Emp3r0r :: Ooo, I'm due a fresh batch this weekend sometime, will report back with my findings. Thx.

Cheers for the help chaps.

Vapor
13th August 2004, 17:21
I've restored 2 of my backups and the HDTVtoMPEG2 tools does the trick perfectly on the first file but the second one produced only a 3K file.

I've read the notes for the tool and see that the PID's for video and audio can vary, so I tried both recommended values, no result, same 3K file.

I assume this is due to me not knowing the correct PID's for the streams, how would I obtain this info as trying to load the file into say Rejig, Tmpg, Mpeg2VCR or similar either fails or doesn't seem to find the stream ID's?

Apologies if this is a bit simple, I've only had experience with program streams and seperate a/v files :S

Is it possible to convert from transport stream to program stream so I'm back in familiar territory? Or would I be better reading up and becoming adept processing transport streams instead?

eb
14th August 2004, 00:16
use bbtool1.9 or ProjectX

eb

Vapor
14th August 2004, 12:18
Cheers, worked a treat. ID's for vid / aud were set to 0x72 and 0x73 for some reason. HDTVtoMPEG2 split them properly once set, perfect audio sync on all files processed so far.

I think it's time I do a bit of reading on these new found tools and transport streams in general, thanks for all the pointers and advice.