PDA

View Full Version : mkv or h264/ac3 to something


gamerscloset
7th July 2007, 16:38
Hi, I have a .mkv which I've split to an .h264 video file, apparently with B frames, and an .ac3 audio file. I've been unsuccessful in finding a way to join these into a single file that's not a .mkv file. My goal is to convert .mkv files to either .TS or .avi, preferably a format with surround sound and high video resolution.

Any help on this would be greatly appreciated.

-GC

bond
9th July 2007, 22:08
it should be doable with yamb to merge them into mp4

gamerscloset
10th July 2007, 16:58
I finally got it to work with mkvextract, which extracts to an avi and ac3 file. I can then merge with another tool who's name I forget at the moment. It's on a different computer. If anyone wants to know I can check at home.

deets
10th July 2007, 19:48
out of curiosity, whats wrong with keeping the original mkv?

gamerscloset
10th July 2007, 19:56
I'm playing the videos on a Tvix 4100 which doesn't support mkv yet.

jwhyche
11th July 2007, 21:34
I was under the impression that h264 AVC didn't do well in AVI files. Something about b-frames if I remember right.

gamerscloset
11th July 2007, 21:41
I think only some h264's have b-frames.. the ones without are ok.

I'm now looking into going from mkv to mp4 as it might be a better conversion.

Dark Shikari
11th July 2007, 22:31
I was under the impression that h264 AVC didn't do well in AVI files. Something about b-frames if I remember right.
B-frames work fine; otherwise Xvid wouldn't work!

Its --b-pyramid that doesn't work in AVI files, I believe.

foxyshadis
12th July 2007, 11:13
It all works fine for playback, even pyramid. But have you ever tried editing an xvid without packed bitstream? It's an exercise in frustration. That's why avi is so reviled - inevitably people want to edit them, and complain when the problems come up. (Not that avc in mp4 editing is much better in avidemux, yet. It acts as bad as normal vfw editing. Still some work to go on that module.)

I'd be interested in hearing whether your Tivx can support AVC in mp4.

Kurtnoise
12th July 2007, 13:12
I'd be interested in hearing whether your Tivx can support AVC in mp4.
According to the specs (http://www.tvix.co.kr/Eng/products/4100sh.aspx), it does...Although updating the FW couln't hurt.

strider01
15th July 2007, 00:20
I finally got it to work with mkvextract, which extracts to an avi and ac3 file. I can then merge with another tool who's name I forget at the moment. It's on a different computer. If anyone wants to know I can check at home.

Please can you let me know what tool will mux h264 and ac3 into an avi. I'm able to demux the mkv, however, virtualdub doesn't accept h264 input so i can't mux them that way.

PhilH
21st July 2007, 01:07
Should have read the post. Didn't notice that you wanted to mux into a .avi file.

PuzZLeR
21st July 2007, 05:44
I was under the impression that h264 AVC didn't do well in AVI files. Something about b-frames if I remember right.AVI is an old container designed way before today's codecs' advanced capabilities.

Two things:
1. H.264 can have, by its standard, up to 16 multiple reference frames. AVI, by its nature, can't "see" that far in range.

2. AVI has a max file size of 4GB. This would work with alot of content, but much of today's HD content, even compressed, would not work here.

I know there's something like ODML AVI, but I personally never tried it, and I don't see many others caring about it either.

squid_80
24th July 2007, 02:13
I know there's something like ODML AVI, but I personally never tried it, and I don't see many others caring about it either.Actually the limit is 2GB, and that's only if you're relying on microsoft's AVIFile API. Virtualdub, avisynth, avimux_gui can all handle OpenDML fine.