PDA

View Full Version : Need to remux HDTV Recording


Ingram
12th July 2005, 02:21
Cuttermaran no longer wants to do it, even with the - f3 option. ImagoMPGMuxer just closes whenever I try to remux a AC3 and MPV HDTV recording.

Is there a program at all that can handle doing it?

Toti
12th July 2005, 17:49
Interesting that you post this thread on how to remux compliant TS files. I first post my thread on how to compress MPEG2 HD files. I have used Main Concept MPEG Encoder, Womble MPEG2VCR and (TMPGEnc with HDTV2MPEG, yes it does have an option to output TS) to multiplex the TS output.

I am creating my own MPEG2 HD files and AC3 from either MOV, Xvid(avi), WMV9 or TS files. I compress video with TMPGEnc 2.58 Plus and audio gets edited with Sound Forge 8.0 and recompressed to AC3 in Sonic Foundry Soft Encode 1.0. After the Soft Encode the AC3 has NO HEADER and no mux program will accept it. In order to get the header on the AC3 I run it through BeSweet.

I first used Womble to Mux the video and audio to TS files (used the 9/2004 edition and the 6/2005 edition). When played back in My HD card MDP-130 with DVI card. The video plays fine but the audio cracks, breaks or stops (but in sync) very often. At first I thought it was a problem with the audio encoder (Sonic Foundry Soft Encode 1.0) but Sound Forge 8.0, Windows Media player, TMPGEnc, DVD2AVI & VLC play the audio just fine. Since MDP-130 plays MPEGs as well as TS files I muxed the video in TMPGEnc and created a .mpg file instead of a .ts file. The Video card play it just great so it is perfect for me.

However, I would like to create a .ts compliant file that I can back up in D-VHS or DVD-Dual layer. I have been reading and seems that .ts files is just transport stream. The file must be ASTC compliant in order to be truly compliant and it has to do with the PID (multiplex data). I also found a TStoASTC program but does not want to accept the .ts file from womble. It gives me an error message.

To answer questions before they arise. Why create your own .ts file if you are capturing it in .ts file to begin with? Three reasons:

1. You can convert any file you download from any source you want to your standard .ts. For example, trailers from HD Apple or in WM9 HD format. Hey!! even WMV9 HD DVDs that are out already like Terminator 2 Extreme. You must use the DRM remover first.

2. You can fit a complete HD movie (with no visual degradation, since using VBR) in a Dual Layer disc (make it fit in 8.5GB not 20GB). Alas, HD-DVD right now, no wait and no $1,000 player with $30 a disc.

3. Later when DirecTV moves to MPEG4 HD and HD-DVD (some encoded with MPEG4) are out. You can still encode your .TS files and keep playing them in your Home theater without buying new a new player.

How good is the .ts files I end up with? well, I would post a video that I have compressed and you can download the same exact video from apple and see for your self (don't know if I can, probably not). Same file size and (at least to me) same quality.

I have a Sony 32" LCD XBR TV and I can't see the difference.

Please post your results in how to mux your compliant .ts files.

Pookie
12th July 2005, 22:27
Ingram - You didn't specify if you wanted the file to be muxed back into a TS or a "regular" Mpeg2 file - If you just want .MPG material:

THIS one works quite well.
http://www.kvcd.org/downloads/mplex.exe

*Note - You'll have to manually type in the .AC3 file name when you click on the audio file choice.

Choose "Mpeg2" for the muxing option.

Ingram
13th July 2005, 00:33
Yes, MPEG. After I cut ads out and stuff I want to be able to put it back together as a MPEG file so I can then encode it to dvd or what have you.

Mplex from cuttermaran doesnt work so I doubt this one will either.

Womble doesnt work either.

Nothing seems to work.

Ingram
13th July 2005, 00:39
Hmm seems to work, only a few errors

Multiplexing information
Video stream data rate : 1615250 bytes/sec (12922000 bits/sec)
Audio stream 1 data rate : 57344 bytes/sec (458752 bits/sec)
Overhead data rate : 29956 bytes/sec (239648 bits/sec)
Total data rate : 1702550 bytes/sec (13620400 bits/sec)

Multiplexing file movie.mpg
video PTS (32780.00ms) underflow at pack 23310 by 0.99ms
video PTS (33740.00ms) underflow at pack 24008 by 0.07ms
video PTS (34700.00ms) underflow at pack 24700 by 0.36ms
3 video underflows (SCR >= PTS or DTS)

NOTE: The resulting file may not play back correctly.
Try increasing the mux rate.
Finished multiplexing movie.mpg

Pookie
13th July 2005, 01:27
Seems to work well for me if I use the following settings (in green)

http://www.uploadhouse.com/images/941901632Muxer.jpg (http://www.uploadhouse.com/)

Ingram
13th July 2005, 01:34
Yep those settings work for me also. Before I was just changing the forced mux rate value from 0 to whatever the bitrates combined was which was 2034900 lol.

What does the startup delays (MS) do to the audio, I didnt notice any delay.

dlight
2nd September 2005, 23:37
Do you know if this would fix TS files which result in gradually out-of-sync encodes? I have a lot of trouble encoding TS files such as this because they result in gradually out-of-sync avi's. I have read a ton of threads on this but nothing has worked for me so far.

Pookie
3rd September 2005, 00:45
Other than reception glitches, the biggest culprit in A/V desync is due to programs broadcasting at 5.1 384kbs but the commercials broadcast at 2.0 192kbs. If you use ProjectX to demux, the application will do a very good job at maintaining A/V sync. Then, run the resulting .AC3 file through AC3 Cutter to remove any final inconsistencies.


Another Way that Works (for me, at least)

1) ProjectX - Convert TS to M2P (an MPG2 file)

2) Mpg2Cut2 - Remove Commercials

3) Load Resulting Mpg files into DGIndex and let it create AC3

4) Run AC3 through AC3DelayCorrector

5) Convert/Encode MPEG2 video

6) Mux AC3 file back into newly encoded video file.

dlight
3rd September 2005, 03:14
Pookie - Thanks for the advice. What if my TS file is a movie without commercials?

I have had no luck with ProjectX, I get a log full of GOP errors. I have read the guides and can't seem to get it to work. I thought that I read that PX wasn't yet ready for HD content. Advice?

Pookie
3rd September 2005, 18:13
Run the file through Mpeg2Repair

http://users.adelphia.net/~mwilczyn/mpeg2repair/

This can take a bit of time, especially if the file has many errors in it.

Demux the fixed file with DGIndex

If the demuxed AC3 file has something like "xxxxxxxx-483ms.ac3" in it, run AC3Delay Corrector on it.

dlight
7th September 2005, 02:53
Pookie - many thanks. I tried one file and that worked, now I'll try one that didn't work before.

One thing to add: Once you run it through AC3 Delay Corrector and are ready to add the stream to the video (in Vdubmod anyway) I had to leave the "Delay audio track" box set to 0 instead of the value in the file name. When I didn't do this the file got out of sync.

eb
7th September 2005, 05:30
To remux easiest way is to use ReJig program.
You can even mux .mp3 to .vob
See sample (http://www.mininova.org/tor/105137)
There is 4 audio tracks muxed to .vob /mp3, mp2, ac3 2.0, ac 5.1/

eb

Selur
16th September 2005, 17:37
Anyone else getting a warning from antivir when trying to use mpeg2repair?

Cu Selur

SamuriHL
17th September 2005, 17:22
Neat. I just opened a thread on cdfreaks recently about this very issue. I was told to try TMPGEnc for muxing and it works for me. I record an HD transport stream from my cable box, edit it with VideoReDO(I *HIGHLY* recommend this program...especially if you have transport streams with errors as it'll correct them). What I want to do, however, is split the resulting mpeg to elementary streams and reencode the video file. The reason for this is that I want to stick the HD mpeg on a DVD-5 and sometimes they come out to 5-6 gigs. I'd like to reduce the bitrate a bit on the video file and then multiplex the original AC3 audio back in. TMPGenc was great for multiplexing and works fine. The problem I have is I don't know what encoder will handle reencoding the video file...keeping it as HD at say 1920X1088 or 1280X720 resolutions. Nothing I've tried will work at those resolutions. Everything maxes out at DVD resolution. I can use rejig to do this but personally I'd rather reencode the video rather than transcode it. Does anyone have any thoughts?

And for those having multiplexing issues, try the free version of TMPGenc and see if that works for you. VideoReDo will be adding multiplexing into the next version supposedly. I can't wait.

Pookie
18th September 2005, 00:09
TMPGEnc Will Do it. Under "Mpeg Settings" -->Profile And Levels-->MP@HL or HP@HL

SamuriHL
18th September 2005, 00:39
You are correct. I never noticed that before. It's not what I'd call a "fast" encode. :) What I finally ended up doing was using an AVS script with QuEnc. It took 3.5 hours, but, it definitely worked. TMPGEnc wants to take 8+ hours to do the same reencode. The AVS script allows me to do other modifications, too, like cropping video and other various things. However, it's always good to have multiple methods so I appreciate the response.