View Full Version : H.264 file - VirtualDubMod can't handle it, VirtualDub can!


olikl
9th June 2008, 03:02
Hi,
I am reading for over 6 hours now, I am really desperate right now...
I am just trying to edit some TS (h.264/ac3) files, i.e. cutting them and putting together a few files and inserting a few pictures.

What I did:
I demuxed the files in .264 and .ac3 files.
Using avc2avi, I put all .264 files in .avi files.

What I have now:
An .avi and an .ac3.

VirtualDub loads the .avi without any problems, I added an index with it and saved it as .avi again - No problems! I can view it with any media player and it is still in Full HD. Unfortunately, it can not handle .ac3 files...

So I tried VirtualDubMod. At first I took and low quality .avi (640x480, no h264) and added an .ac3 stream to it and saved it again. It worked superb!
Then I tried to load the .avi files that worked wonderfully with VirtualDub... But VirtualDubMod just gives me an error: Error decompressing video frame 0. A codec-specific error occurred. (error code 1)I can neither play nor edit the file.

So one program can handle .ac3, but can not handle .h264. The other one can handle the opposite.

I really have no solutions left and feel like having searched the whole internet for this... I am SO CLOSE to solving my problem, I just need VirtualDubMod to open the files that VirtualDub can without any problems! Btw, I have ffdshow installed and configured if this is of importance.

Thank you SO MUCH!
Oli

Dark Shikari
9th June 2008, 03:08
The solution is to stop using H.264 in AVI. :p

setarip_old
9th June 2008, 03:13
@olikl

Hi!

I believe that you'll be able to get VirtualDub to deal with .AC3 audio if you install the following:AC3ACM v1.2 by fccHandler
Released October 22, 2005

This is version 1.2 of an AC-3 ACM Codec for Windows. Basically I've
wrapped an Audio Compression Manager interface around the free liba52
library by Aaron Holtzman and Michel Lespinasse, and the ac3enc code
by Fabrice Bellard from ffmpeg. This makes it possible to preview,
decode, and encode AC-3 audio in VirtualDub (or almost any ACM client).

roozhou
9th June 2008, 05:06
Try avi_mux_gui

Placio74
9th June 2008, 06:21
...Unfortunately, it can not handle .ac3 files...
Can.

1. Decode AC3 audio > installed AC-3 ACM Codec

2. Add AC3 audio > use AC3 input plugin (http://forums.virtualdub.org/index.php?act=ST&f=7&t=12664) (of course in latest VirtualDub).

olikl
9th June 2008, 14:35
Can.

1. Decode AC3 audio > installed AC-3 ACM Codec

2. Add AC3 audio > use AC3 input plugin (http://forums.virtualdub.org/index.php?act=ST&f=7&t=12664) (of course in latest VirtualDub).

Hi,
.ac3 now shows up as supported format, but it just gives me "The audio stream has a custom format that cannot be supported".
So, any way around this?
Is it possible to get VirtualDubMod to accept the .avi file? Maybe by encoding the file with VirtualDub to another format? Which would be suitible for this?
edit: Just tried to save the .avi with VirtualDub: "Video compression error: The source image format is not acceptable (error code -2)." What now?

Thanks!

olikl
9th June 2008, 15:11
I muxed the .ac3 in the avi with avi mux gui and opened it with VirtualDub now... VirtualDub accepts the ac3 but it is very very laggy... What can I do now?

audyovydeo
9th June 2008, 15:26
What can I do now?


http://neuron2.net/dgavcdec/dgavcdec.html

1h spent reading instructions will save you 1 day of pain.

cheers
audyovydeo

olikl
9th June 2008, 15:32
Ok, thanks!
Before I start reading... Is it worth it? Can I get VirtualDubMod to open the file afterwards?

audyovydeo
9th June 2008, 15:35
I am reading for over 6 hours now, I am really desperate right now...... Is it worth it?

1h < 6h ... ;-)


VirtualDub yes, I never used VDmod.

cheers
a/v

olikl
9th June 2008, 15:48
Hi,
yeah man!!!
VirtualDubMod finally accepts the .avs file now. I can mux .ac3 to it, compress it with divx and save it!
Can't tell you how happy I am!

Thanks!!!

audyovydeo
9th June 2008, 15:57
Hi,
yeah man!!!
VirtualDubMod finally accepts the .avs file now. I can mux .ac3 to it, compress it with divx and save it!
Can't tell you how happy I am!

Thanks!!!

The underlying problem here is that you are converting a vintage 200x technology (H264) to a vintage 199x (DivX).

While I can conceive the situation where such an operation is required, I scratch my head as to its medium- and long-term implications.


cheers
a/v

olikl
9th June 2008, 16:12
I want to share some of the Euro games in HD with my friends and I am not able to upload 20 gigs every evening... But a 1080i DivX is still better than a 576p...
Can you recommend me a better codec that I can use with VirtualDub to have a smaller file size afterwards?

audyovydeo
9th June 2008, 16:23
I want to share some of the Euro games in HD with my friends and I am not able to upload 20 gigs every evening... But a 1080i DivX is still better than a 576p...
Can you recommend me a better codec that I can use with VirtualDub to have a smaller file size afterwards?

depends on what they play back on : if it's not on a computer then I agree xVid is the best way out.

Have you tried Avidemux ? Never used it on a H264-in-TS source, but you might give it a go.


enjoy the Euro08 !
audyovydeo

olikl
9th June 2008, 16:36
I tried Avidemux, but it is very unstable and I do not like this GTK environment... VD is much better.

Which coded would you recommend for playback on PC? I just created a 100MB DivX out of a 350MB TS and it looks surprisingly nice!! Very few artefacts but all in all great quality!

nm
9th June 2008, 18:00
Which coded would you recommend for playback on PC?
If the PCs are fast enough (dual core or equipped with a hardware-decoding GPU), I'd recommend a good H.264 encoder, like x264. You'll get the same visual quality at about 20-40 % lower bitrates than with DivX/XviD. Encoding will be about 2 times slower though.

olikl
9th June 2008, 20:25
Ok... Files are really big...
Is 1 MB per second enough for 1440x1080i?

nm
9th June 2008, 20:51
Depends on the source and your tolerance for artifacts, but yes, 8 Mbps is probably enough when using an MPEG-4 ASP or AVC encoder.