I have a raw avi file, which i can compress (encode) in virtual dub with xvid, ffdshow or x264. But when i try to set audio, virtual dub only allows MP3. I want, for instance, to set X264 with AAC or ffdshow with AC3. Why can't i select these audio encoders? Or do these combinations work only in MKV, MOV, MP4 files and not AVI?
+ Reply to Thread
Results 1 to 6 of 6
-
-
AC3 is valid for AVI. AAC probably is too, but I don't like dealing with AAC and I don't keep up with it so I cannot say for sure.
VirtualDub isn't really a very good choice for audio encoding. It would be best to produce a video only file with it, encode the audio with something else, and then mux them together in VirtualDub. Yes, VirtualDub has limits in what it can encode to. It might be possible to fix your problem that you can use VirtualDub, but I don't know how.
I do NOT recommend using AVI if your video is X.264. Any playback device other than a PC is probably not going to like that. -
Why can't i select these audio encoders?
Optionally you can use the external encoder feature of the latest VirtualDub, but I have no idea of how to deal with that
(I'm still using version 1.9.11).
As for AAC in AVI, yes it's possible, BUT you should 1) encode the audio track separately and 2) multiplex with AVI-Mux GUI. -
I agree with Jman98. I use VirtualDub a lot and even have the AC3 and AAC encoders installed but it will still grumble complain and fail a lot. The easiest method is use FFMpeg directly with an entry such as: ffmpeg -i "C:\PathToVideo\VideoName.mp4" -c:v libx264 -c:a ac3 -ac 6 "0046.avi".
Or, if you are familiar with VirtualDubs external encoders feasture, use it to do the same with:
Audio command line -i - -c:a ac3 -ac 6 "%(tempaudiofile)"
Video Command Line -f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -qscale 1 -vcodec libx264 "%(tempvideofile)"
Muxer command line -i "%(tempvideofile)" -i "%(tempaudiofile)" -vcodec copy -acodec copy "%(outputname)"
The above Audio -ac 6 will give 6 channel audio but use -ac 2 if you are looking for stereo. -
I installed all the needed audio and video encoders separately, since they do not "arrive" with k-lite codecs pack like they used to. So i will enocde the audio in another program after video compression.
Don't know how to use those command lines, not going to bother.
Heard about avi not being friendly with x264. I guess my next best encoder for avi is ffdshow? Since all those others (Intel, Microsoft, Cinepack, ) i have not used an don't really know what to expect from them. -
Just to clarify, FFDShow doesn't have many ENCODERS any more. The last version I believe that had them was ffdshow_rev3507_20100707_clsid as posted by Brooke Holloway along with the location to download on the thread https://forum.videohelp.com/threads/356824-ffdshow-virtualdub-problem?p=2248905#post2248905. I keep that one to use as FFDShow encoders.
Also K-Lite only contains the VFW codecs used for video ENCODING by VirtualDub if you install the MEGAPack as list at http://codecguide.com/features_mega.htm .
The only reason I mentioned FFMpeg is that it doesn't need to be installed, and doesn't have limitations when it comes to mixing and matching of Video codecs, Audio codecs and File container formats except for when the combination is not valid. If you have only a few to convert I work, indeed, go for a self contained program that works but if you do more than that, I would recommend getting familiar with Virtualdub, especially its external encoders and that includes FFMpeg.
Lastly, you can just ask the experts here to post a command line that you can cut and paste that will work.
Similar Threads
-
mp4 videos AAC 5.1 -> AC3 (quickest audio encode?)
By alexeliasson in forum Video ConversionReplies: 2Last Post: 7th Feb 2013, 08:02 -
Handbrake - AC3 5.0 Ch - Can't maintain 5.0 Ch to AAC or AC3(ffmpeg)
By kingaddi in forum DVD RippingReplies: 30Last Post: 26th Aug 2012, 19:27 -
how to encode aac 5.1 to ac3 on the fly in 64-bit windows 7
By MR 3 in forum AudioReplies: 3Last Post: 4th Apr 2010, 17:47 -
Avi to Ac3 user guide. How to encode the audio from an avi to ac3 .
By freebird73717 in forum User guidesReplies: 5Last Post: 9th Dec 2009, 21:53 -
demux audio from avi then two audio sources(aac 2ch + ac3 6ch)
By fatcat23 in forum ffmpegX general discussionReplies: 4Last Post: 21st Sep 2008, 01:19