Log in

View Full Version : [Avidemux] ***FAQ*** <2008-10-02>


Pages : [1] 2

LoRd_MuldeR
23rd May 2007, 17:11
http://img403.imageshack.us/img403/8927/avidemuxqt46ob8.png (http://img174.imageshack.us/img174/2138/avidemuxqt46iy2.png)
Avidemux main window (QT4 Interface)

http://img232.imageshack.us/img232/3007/fileadmgtkplushf3ij2.png (http://img232.imageshack.us/img232/2197/fileadmgtkplushf3.png)
Avidemux main window (GTK+ Interface)

http://img406.imageshack.us/img406/6663/shotavidemuxfiltermannffv4.png (http://img386.imageshack.us/img386/4213/shotavidemuxfiltermannf1.png)
Avidemux "Filter Manager" window


What the heck is Avidemux?

Imagine an application which does everything VirtualDub can do, but runs on various platforms, supports a lot of containers, comes with all Codecs you need built-in and doesn't use the nasty VfW interface. That applications is Avidemux! And now the "official" version: Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It's graphical user interface looks pretty similar to VirtualDub and most features known from VirtualDub are available too. Avidemux natively supports a great number of file types, such as AVI, MPEG, VOB, TS, MP4, ASF, OGM, MKV and FLV. At the same time Avidemux natively supports a wide range of Video/Audio formats, including MPEG-1, MPEG-2, MPEG-4 ASP, H.264/AVC, DV, HuffYUV, MP3, AAC, AC-3 and Vorbis. Tasks can be automated using projects, job queue and powerful scripting capabilities. Video-DVD or (S)VCD compliant streams can be created with easy-to-use "Auto" wizards. Multi-threading is supported!


What OS is Avidemux availabe for and who made it?

Avidemux is developed as a cross-platform application. It is available for Linux, BSD, Mac OS X and Microsoft Windows under the GNU GPL license. The program was written from scratch by Mean <fixounet at free dot fr>, but code from other people and projects has been used as well. Avidemux is not a front-end to MPlayer/MEncoder, ffmpeg or anything else! Avidemux is a "standalone" application and it's fully self-contained. There are absolutely no dependencies, expect for the libraries that ship with Avidemux. Most of the Win32 development is done by Gruntster now, who has done some great improvements. Patches, translations and bug reports are always welcome.


Where can I get Avidemux?

The official Avidemux web-site is http://www.avidemux.org/. You can download pre-compiled binaries for the Windows platform from the official site, but those builds are not updated very often! Therefore it's highly recommended to grab the latest SVN build from Gruntster's web-site at http://avidemux.razorbyte.com.au/ or http://mulder.dummwiedeutsch.de/ (http://mulder.dummwiedeutsch.de/home/?page=projects#avidemux). Gruntster's builds are updated almost daily, so they contain the latest fixes and improvements. Pre-compiled binaries for MacOS/Intel can be found at http://harryvanderwolf.dyndns.org/. If you want to compile Avidemux yourself, you can grab the sources directly from the SVN server at svn://svn.berlios.de/avidemux/. A lot of useful information about Avidemux, compile instructions and guides can be found in the Avidemux Wiki at http://www.avidemux.org/admWiki/. For bug reports and feature requests, please visit the forum at http://www.avidemux.org/admForum/.


What encoders are supported by Avidemux?

Avidemux comes with several video encoders built-in: Xvid (MPEG-4 ASP), x264 (H.264 aka AVC), libavcodec (MPEG-4 ASP, MPEG-2, MPEG-1, FLV, HuffYUV, FFV1, MJPEG, H.263, DV) and mpeg2enc (MPEG-1, MPEG-2). Also it includes various audio encoders: LAME (MP3), FAAC (LC-AAC), Aften (AC3), Ogg Vorbis and TwoLAME (MP2). Please note that Avidemux does not support the platform-specific and outdated 'Video for Windows' (VfW) interface and it never will! This means there is absolutely no way to use DivX (or any other VfW-based Codecs) with Avidemux! But don't worry: Avidemux will open all files, that were encoded with DivX, just fine. Avidemux simply uses it's own (internal) MPEG-4 decoder instead of the proprietary DivX decoder. Furthermore the files encoded with Avidemux and Xvid will play 100% fine on a "DivX certified" player, as long as you use the appropriate encoder settings...


What video filters are supported by Avidemux?

Avidemux comes with a wide range of video filters built-in. Most of those filters were ported from MPlayer, VirtaulDub or Avisynth. There are filters for Cropping, Resizing (Bilinear, Bicubic and Lanczos) and Expanding. For processing of interlaced video, there are various Deinterlacing and IVTC filters (e.g. Yadif, TDeint, Kernel Deinterlacer, Smart Deinterlace, mcDeinterlace, DGBob and Decomb Telecide). Furthermore there are filters for Denoising (FluxSmooth, denoise3d/hqdn3d, Stabilize, Temporal Cleaner, etc.), Sharpening (MSharpen, asharp, etc.), Color Correction and many more. Last but not least there is a new plugin system for 'external' video filters now. So you can add additional filters to Avidemux without re-compiling!


How do I open Avisynth scripts in Avidemux?

Opening Avisynth scripts in Avidemux is a little bit tricky: First of all you have to make sure that Avisynth is installed properly on your computer. Then you must to open the AVS script file with the AVSProxy (avsproxy.exe), which ships with Avidemux. Once the AVSProxy is running, you can go back to the Avidemux main application and select 'Connect to avsproxy' from the 'File' menu. Please note that audio input is not supported via AVSProxy yet. There also is a GUI for the AVSProxy (http://forum.doom9.org/showthread.php?t=135354) (avsproxy_gui.exe), which hopefully makes your life easier...


Why there are different front-end/execuatbles for Avidemux?

There are currently three different user interfaces available for Avidemux! Each one has it's own executable file: The GTK+ based interface (avidemux2_gtk.exe) is the first graphical user interface that was developed for Avidemux. The Qt4 based interface (avidemux2_qt4.exe) was developed as an alternative to GTK+ and development seems to focus on Qt4 now. Also the QT4 interface offers native M$ Windows look & feel, which most users seem to prefer. Note that you can run the Qt4 interface with "-style" command to change the theme, e.g. "-style cleanlooks" or "-style plastique". Finally there's the CLI version of Avidemux (avidemux2_cli.exe), which runs without any graphical user interface. The CLI interface is used from a console and it's intended for batch processing.


How can I save/load my x264 or Xvid settings in Avidemux?

You can use Avidemux' scripting engine for that purpose: First run Avidemux, open some video file (it doesn't matter which one) and setup the x264/Xvid configuration as you want to save it. Next save your project via "File" -> "Save project as..." to a script file (e.g. my_x264_config.js) and exit Avidemux. Then open the resulting script file with your favorite text editor (e.g. Notepad++) and remove all the unneeded lines. All you need to keep are the "app = new Avidemux()" and the "app.video.codec(...)" lines. If you also want to save the audio Codec config, then keep the "app.audio.codec(...)" line too. Finally save the script file to the "C:\Documents and Settings\John Doe\Application Data\avidemux\custom" directory. From now on your script will show up in the "custom" menu in Avidemux' main window. Simply run that script to restore your configuration. The script might look like this:
var app = new Avidemux();
//** Video Codec conf **
app.video.codec("X264","AQ=22","188 00 00 00 00 00 00 ..... 00 00 ");
//** Audio **
app.audio.codec("lame",128,12,"00 00 00 00 02 00 00 00 00 00 00 00 ");
//End of script


How do I open several files/segments as one big file?

Run Avidemux and open the first file via "File" -> "Open...". Now you can append all the other files/segments: Simply use "File" -> "Append..." for each file you like to add. Please note that all files need to be in the same format! Furthermore they all need to have the same resolution and the same framerate. If you want to merge files with different formats, framerates or resolutions, then you must convert (re-encode) the individual files to a uniform format before joining them together!


Why do my MPEG-2 files get out of sync when I cut/edit them in Avidemux?

Captured MPEG files are generally from DVB S/T (in MPEG TS format) or from IVTV based cards or any other card with hardware MPEG-2 encoding (in MPEG PS format). These captures often contain transmission errors which end up as missing or broken frames! A video player (MPC, MPlayer, xine, VLC, etc.) will constantly re-sync the streams using the timing information embedded in the stream. Avidemux will not! Apart from the constant shift, which is easily recoverable using the timeshift filter, it will result in a growing synchronisation issue when encoding or transcoding. Even saving without re-encoding will be async! MythTV recordings are a prime example of this problem: The audio will be offset by approximately -330 ms at the start of the recording and the drift throughout the duration of the recording. Please note that not all MythTV recordings have this problem, just some depending on the software and hardware configuration. The only 100% reliable way to fix your MPEG-2 files is to use ProjectX. You can get ProjectX from http://project-x.sourceforge.net/, a tutorial can be found at http://www.avidemux.org/admWiki/index.php?title=Project_X.


How can I set the target filesize (e.g. 700 MB) in Avidemux?

If you want to encode your video to a specific filesize, e.g. 700 MB to fit on a CD-R, you need to use the "2 Pass" encoding mode. The 2-Pass mode is available for Xvid and x264 as well as for the MPEG-1/MPEG-2 encoders. It will give you maximum quality for a given filesize. In order to use the 2-Pass mode, choose "Two pass, final/video size" in the video encoder's "Configure" dialog. Then enter the desired size (in MBytes) in the edit box below. But take care: This value applies to the video size only, it does not take the audio size into account! Hence the size entered in the "Configure" dialog will not equal the total size of your output video, unless there is no audio stream in your file. In order to set up the target filesize properly, please use the "Calculator" tool! In the Calculator window choose your output container (e.g. AVI), choose your target media (or custom size) and enter the audio bitrate you have selected. Finally press the "Apply" button, before you close the Calculator window! Now the video encoder has been configured according to your desired total filesize and you can save your video.


Why I don't hear sound in Avidemux?

In most cases this is simply because you didn't enabled sound yet! By default Avidemux's audio output is set to "DUMMY", which means there is no audio output at all. Just go to "Edit" -> "Preferences" and switch to the "Audio" tab. Then change "Audio output" to "WIN32" or whatever suits your OS. Finally click the OK button. Now you should hear sound.


What do "Copy" mode and "Smart Copy" mean?

In Avidemux you can select "Copy" mode for both, audio and video, which equals "Direct Stream Copy" in VirtualDub. This means the streams will be copied "1:1" from the input file without any processing or re-encoding. Of course you can not apply any audio/video filters in that mode! Unfortunately the "Copy" mode requires the very first frame of your selection to be an I-Frame (Key Frame). That's because video files necessarily have to start with an I-Frame! Nevertheless Avidemux has a nice feature, which is called "Smart Copy". It gets used automatically in case you use the "Copy" mode, but the first frame of your selection is not an I-Frame. SmartCopy will only re-encode the frames that are located before the very first I-Frame. The rest of the video is copied 1:1 from the original video. Hence SmartCopy will only effect the first few seconds of the video (if it all), while the rest will be not be modified at all. Please note that "Smart Copy" is currently limited to MPEG-4 ASP (Xvid, DivX, etc.) video files!


How to enable DTS and AMR-NB support?

The decoders for DTS and AMR-NB aren't distributed with Avidemux due to patent right issues. However Avidemux 2.4 can automatically detect and use these libraries once they're installed. So if you'd like to decode DTS and AMR-NB soundtracks with Avidemux, download the libraries from http://rapidshare.com/files/47541079/avidemux_2.4_addons_win32.zip.html and drop them in your Avidemux folder. To check whether they're installed correctly, have a look at the "Help" -> "Built-in Support" window in Avidemux and search for libdca/amrnb.


Tutorial: How to convert an AVI file to Video-DVD format with Avidemux
http://mulder.dummwiedeutsch.de/etc/adm_wink/avi2dvd.htm

Tutorial: DVD Authoring Guide for Avidemux (using DVD Styler and ImgBurn)
http://www.avidemux.org/admForum/viewtopic.php?id=3570

BigDid
24th May 2007, 00:13
Congratulations and thanks to the FAQ writer :)

Did

Henrikx
24th May 2007, 11:07
I will translate it , for Avidemux Forum Gleitz WIKI.

Edit :
Ready !
Forum Gleitz Avidemux-Wiki (German) (http://gleitz.info/wiki/index.php/Avidemux)

joseph5
25th May 2007, 20:35
Does it have something like "Direct Stream Copy"?

buzzqw
25th May 2007, 22:07
Is possible to Copy streams both for audio and video

The cutting fuction, when trimming not at I frames also have a "Smart Rencode" fuction that will rencode only the frames (the few before the I frame) necessary to do the "Direct Stream Copy"

BHH

LoRd_MuldeR
26th May 2007, 10:11
Does it have something like "Direct Stream Copy"?

Yes, you can set "Copy" for audio and/or video (as you see on the screenshot above ^^)

LoRd_MuldeR
26th May 2007, 14:44
Added a few words on "Copy" and "Smart Copy" to the FAQ


//EDIT

What about moving discussion away from the FAQ thread?

LoRd_MuldeR
26th May 2007, 18:55
For some reason I cannot edit my post :(

Maybe one of the admins can do that for me. Text is here:
http://www.mytempdir.com/1339044


// EDIT

Seems that weird vBulletin problem is fixed for now :)

LoRd_MuldeR
15th July 2007, 22:01
Tutorial: How to convert an AVI file to Video-DVD with Avidemux
http://mulder.dummwiedeutsch.de/etc/adm_wink/avi2dvd.htm

marc999
20th September 2007, 17:07
So what happens if your file doesn't start with an I-frame and isn't MPEG-4 ASP video (and therefore you can't use Smart Copy)? Does that mean Avidemux will re-encode the video even though you selected "Copy"? If so, what would be the quality loss expected? What percent of files don't start with an I-frame?

LoRd_MuldeR
20th September 2007, 17:26
So what happens if your file doesn't start with an I-frame and isn't MPEG-4 ASP video (and therefore you can't use Smart Copy)?
You simply get a "The first frame is not an intra frame!" error message :p
(BTW: You could have found out that yourself by simply giving it a try ...)

What percent of files don't start with an I-frame?
Every file unavoidably starts with an I-Frame. If the very first frame was a P-Frame, which frame should it refer to ??? Nevertheless, if you select only a part of the video file, then the first frame of your selection might be a None-I-Frame and that's when "Smart Copy" is used.

foxyshadis
20th September 2007, 18:03
Every file unavoidably starts with an I-Frame. If the very first frame was a P-Frame, which frame should it refer to ??? Nevertheless, if you select only a part of the video file, then the first frame of your selection might be a None-I-Frame and that's when "Smart Copy" is used.

TS might not, and more rarely, AVI might not. (Other formats are usually unrecoverable if missing headers, though any can have a corrupted first frame.) I think avidemux just skips everything up to the next I/IDR/Recovery point, like most tools, but I don't have anything to test with here. (It's a common cause of audio desync if tools don't cut the audio as well. If I find some ts like that I'll test.)

LoRd_MuldeR
20th September 2007, 18:07
TS might not, and more rarely, AVI might not. (Other formats are usually unrecoverable if missing headers, though any can have a corrupted first frame.) I think avidemux just skips everything up to the next I/IDR/Recovery point, like most tools, but I don't have anything to test with here. (It's a common cause of audio desync if tools don't cut the audio as well. If I find some ts like that I'll test.)

I was referring to proper/complete files. Corrupted files can contain all kinds of weird things of course...

marc999
20th September 2007, 18:12
Thanks to you both!

trodas
21st October 2007, 21:27
Since VdubMod failed miserably with big mkv file and two audio tracks for me ( http://forum.doom9.org/showthread.php?t=131038 ) I tried Avidemux.

First at all, it lack the ability to edit the streams, like Vdub Mod does, so it is not the "same functionality" as claimed.

Second - it from 2h 10min movie take only first about 12 minutes.

And it somewhat complain about the bframes ???

http://img143.imageshack.us/img143/1271/avidemuxbugsh2.jpg

I used avidemux_2.4_r3658_win32

LoRd_MuldeR
21st October 2007, 21:50
First at all, it lack the ability to edit the streams, like Vdub Mod does, so it is not the "same functionality" as claimed.
VirtualDubMod was not mentioned in the FAQ at all!
Also note that in Avidemux you can find the Audio Streams at Audio -> Main Track.
Second - it from 2h 10min movie take only first about 12 minutes.
MKV support still is a "new" feature under development. If you find a file that does not work yet, please post your problem at the Avidemux forum. And if you do so, don't forget to provide a sample file that shows the problem! I'm sure Mean will look at your problem ASAP... Also note that VirtaulDubMod is a "dead" (discontinued) project and it's implementation of MKV is out-of-date!
And it somewhat complain about the bframes ???Well, as the message says: If your video contains b-frames, you need to use the so-called "special" mode. In that mode you will loose frame accuracy, yes. But there is no OpenSource video editor available yet, which is able to handle b-frames in a frame-accurate way! VirtualDub definitely does not do it. I heard some commercial editors actually do that, but I can't confirm. Also Mean said that "proper" b-frame support is a planned feature for the next major version of Avidemux...


// EDIT

Information from official Matroska site:
VirtualDubMOD

Project is more or less abandoned, nobody is working on it actively. Also, it can't support most of the modern MKV files anymore. Since version 1.5.10.1 it can handle the new lacing method. Better use mkvtoolnix or avi-mux GUI.

blizard
25th November 2007, 21:07
VirtualDubMod was not mentioned in the FAQ at all!
Also note that in Avidemux you can find the Audio Streams at Audio -> Main Track.

MKV support still is a "new" feature under development. If you find a file that does not work yet, please post your problem at the Avidemux forum. And if you do so, don't forget to provide a sample file that shows the problem! I'm sure Mean will look at your problem ASAP... Also note that VirtaulDubMod is a "dead" (discontinued) project and it's implementation of MKV is out-of-date!
Well, as the message says: If your video contains b-frames, you need to use the so-called "special" mode. In that mode you will loose frame accuracy, yes. But there is no OpenSource video editor available yet, which is able to handle b-frames in a frame-accurate way! VirtualDub definitely does not do it. I heard some commercial editors actually do that, but I can't confirm. Also Mean said that "proper" b-frame support is a planned feature for the next major version of Avidemux...


// EDIT

Information from official Matroska site:

I will add to Lord Mulders comment that you will be in a more stable user environment (GUI) with GTK+ then with QT4. That photo in your post show a QT interface.

There are some options that aren't accessible from QT interface like iPOD profile in Auto (Auto>iPOD), so it is better to make sure that problem in QT is also there in GTK+ before you make any bug report as GTK+ are the recommended GUI for AVIdemux for now. QT might look good, but is still in heavy development and there are difference in how GTK+ and QT work as different set of libraries for cross platform development. That is what I understand from googling around on both GTK+ and QT.


Why there are different versions of Avidemux?
There are currently three different user interfaces available for Avidemux. Each one has it's own executable file: The GTK+ based interface (avidemux2_gtk.exe) is the first graphical user interface that was developed for Avidemux and it still is the primary (recommended) one; the QT4 based interface (avidemux2_qt4.exe) is still under development and it's not completely working yet; and the CLI version of Avidemux (avidemux2_cli.exe) runs without any graphical user interface, because it's intended for batch processing.


Quote from first post about AVIdemux. I marked that part to make clear that statement about recommended GUI.

LoRd_MuldeR
26th November 2007, 01:16
some updates + new screenshots ;)

LoRd_MuldeR
30th November 2007, 21:07
I have just updated the "AVI to DVD" guide:
http://mulder.dummwiedeutsch.de/etc/adm_wink/avi2dvd.htm

Please note that your need Flash Player to watch that ;)

Mgz
18th January 2008, 10:24
video encoders built-in: Xvid (MPEG-4 ASP), x264 (H.264 aka AVC), libavcodec (MPEG-4 ASP, MPEG-2, MPEG-1, FLV, HuffYUV, FFV1, MJPEG, H.263, DV) and mpeg2enc (MPEG-1, MPEG-2). Also it includes various audio encoders: LAME (MP3), FAAC (LC-AAC), Aften (AC3), Ogg Vorbis and TwoLAME (MP2)


do those encoders and audio codecs support multi-thread?

LoRd_MuldeR
18th January 2008, 16:02
do those encoders and audio codecs support multi-thread?

Multi-threading support is not a question of Avidemux, it depends totally on the individual encoder! For example "x264" has awesome multi-threading support (100% load on all four cores of a Quadcore). At the same time the multi-threading support in "Xvid" is very limited (compared to x264). About the ffmpeg/libavcodec encoders: I'm not sure, but at least the MPEG-2 encoders seems to use two cores...

Note: In Avidemux you can configure the number of threads separately for each encoder.

cheshire2k
14th February 2008, 19:39
any idea on putting a dvd thru this ?

LoRd_MuldeR
14th February 2008, 21:23
any idea on putting a dvd thru this ?

Please express your question in a way it can be answered :rolleyes:

Avidemux can read VOB files (as found on DVD's) as well as create compliant MPEG-2 files (for burning onto DVD).
But Avidemux is neither a DVD ripping software nor a DVD authoring/burning software...

What exactly do you want to do?


[EDIT]

Maybe those guides can help you to get a start:
* http://www.avidemux.org/admForum/viewtopic.php?id=3469
* http://www.avidemux.org/admForum/viewtopic.php?id=3570


[EDITē]

Avidemux cannot read ISO files, nor can it read the video directly from DVD discs!
You need to use a ripping software (DVDFab Decrypter, DVD Decrypter, AnyDVD, etc.) to get the VOB files on your Hard Drive.
Then simply open the first VOB of the main movie (e.g. VTS_01_1.VOB) in Avidemux via "File" -> "Open".
If Avidemux asks for appending several files, then say "Yes". If it asks for indexing the MPEG file, say "Yes" again...

cheshire2k
15th February 2008, 15:57
sorry my bad It kept coming up with permission denied on reading the iso mounted to a virtual drive so I riped the dvd to a folder instead and works but takessssssssss FOREVER lastnite I set it running at 10pm 2 pass 1381 bitrate no audio max refs 3 with 3 filters and its still going now today at 2.56pm any reason why its taking forever ?.

foxyshadis
16th February 2008, 23:42
Your computer's too slow?

cheshire2k
16th February 2008, 23:57
:P i dont know why but on fairuse on full settings or using the same commands in the codec settings it only takes 8 hours to convert maybe 10 but ony this its taking forver :(

LoRd_MuldeR
17th February 2008, 04:53
I can assure you, that Avidemux isn't noticeable slower (or faster) than other video editors.
The bottleneck will be the encoder anyway (well, unless you use really heavy filters).
And since Avidemux is using x264 for H.264 encoding, there won't be any difference to other applications using x264.
The same applies to Xvid for MPEG-4 ASP encoding.

So there are basically two possible reasons why encoding speed is significant slower:
You either use different encoder settings (even if you didn't notice) or you use different filters...

cheshire2k
20th February 2008, 17:28
Is it me or is go faster when you select priority to below normal ?

LoRd_MuldeR
20th February 2008, 17:35
Is it me or is go faster when you select priority to below normal ?
You still have fun posting in the Sticky/FAQ thread, eh? :p


To answer your question:

It doesn't make any sens to get "faster" encoding speed by lowering the process priority of the encoding application!
Lowering the priority of other applications could indeed speed-up the encoding - in certain cases. But I guess that's not what you meant, right?


For information:

Process priorities only take effect when there are several processes running at the same time (processes with high CPU time consumption).
And of course only if there are more processes/threads running than CPU Cores. Otherwise each process/thread can happily run on it's own core.
So as long as your are running Avidemux only and don't do other CPU intensive tasks concurrently, the effect of priorities will be near zero ;)

I personally prefer "below normal" priority for Avidemux, so I can do other things (listen to music, surf the internet, and so on) while I'm encoding.
Those lightweight tasks won't "steal" too much CPU time from Avidemux, so encoding speed won't be effected in a noticeable way...

freedom4651
27th February 2008, 11:22
How can i add ASS subtitle in Avidemux without getting error ?
my subtitle file contain multiple style and japanese chracter. This file is fine when played using DirectVobSub, but when i try to make it hardsubbed using Avidemux, it always says "Cannot read_file for *D:\project\Natsuyaki Miyabi - Natsu Remember You.ass*"

Log file included

LoRd_MuldeR
27th February 2008, 14:17
@freedom4651
If you find a bug, you can file a bug report at http://bugs.avidemux.org/
You should also provide a sample file to reproduce the problem...

BTW: Instead of attaching your log, which requires approval, better use [CODE] (http://forum.doom9.org/misc.php?do=bbcode#code) tags in your post ;)

LigH
21st June 2008, 08:08
Feature request:

If Avidemux imports a Matroska file with native MPEG4-ASP video (e.g. built with MeGUI using xvid-encraw), it assumes FourCC = DIVX on exporting it to AVI. That may be "risky" when MPEG4-ASP features were set up in xvid-encraw which are beyond the abilities of DivX.

I'd like to see an option (e.g. in the "Input" settings) where I can chose a FourCC being assumed for "V_MPEG4/ISO/ASP" MKV imports (DIVX, DX50, XVID, maybe MP4V/LMP4/FMP4?). Possibly one for MPEG4-AVC too (although saving AVC AVIs may not be encouraged...).
__

P.S.: Would it even be detectable if DivX may not be able to decode some ASP video stream, and XviD (ffdshow) may be required?

LoRd_MuldeR
21st June 2008, 12:07
If Avidemux imports a Matroska file with native MPEG4-ASP video (e.g. built with MeGUI using xvid-encraw), it assumes FourCC = DIVX on exporting it to AVI. That may be "risky" when MPEG4-ASP features were set up in xvid-encraw which are beyond the abilities of DivX.

AFAIK Avidemux uses "DIVX" as default FourCC for MPEG-4 ASP in AVI in order to ensure Standalone player compatibility (some won't accept other FourCC codes).

I'd like to see an option (e.g. in the "Input" settings) where I can chose a FourCC being assumed for "V_MPEG4/ISO/ASP" MKV imports (DIVX, DX50, XVID, maybe MP4V/LMP4/FMP4?). Possibly one for MPEG4-AVC too (although saving AVC AVIs may not be encouraged...).
__

P.S.: Would it even be detectable if DivX may not be able to decode some ASP video stream, and XviD (ffdshow) may be required?

I think you have a much better chance to get that implemented by posting in the Avidemux forum:
http://www.avidemux.org/admForum/

But I think the developers are working on Avidemux 2.5 right now, so they might not be willing to add new features at the moment...

fatinmidage
21st June 2008, 14:12
a powerful tool,great~

prettylove99
18th July 2008, 05:26
it is a awesome video edited application
would u plz tell me how to add filters to Avidemux
many thanks in advance
best regards

LoRd_MuldeR
18th July 2008, 12:40
it is a awesome video edited application
would u plz tell me how to add filters to Avidemux
many thanks in advance
best regards

Avidemux uses "built-in" filters, so all the filters you see in the pre-compiled builds cannot be changed.
So you would have to edit the source code (implement the new filter) and re-compile Avidemux.

However Avidemux now supports Filter-Plugins, so new video filters can be added via plugins easily.
This way re-compiling Avidemux is not needed to add a filter. All you need is the Plugin DLL...

Another option: Use Avisynth input (AVSProxy GUI) and be able to use all Avisynth filters ;)

prettylove99
18th July 2008, 21:50
thanks for your feedback:)

prettylove99
18th July 2008, 23:24
sorry to bother u again
i am a beginner here
the question is that when i try to use the avsproxy gui to open a avisynth script( F:\MTV\1.AVS) it failed
the message is as below:
AVIsynth has encountered a problem ,please see the logo for detailed information!
this may be caused by a missing plugin,an invalid setting ,an imporper script or an unsupported input file.

AvsSocket Proxy, derivated from avs2yuv by Loren Merritt
Loading Avisynth.dll
Avisynth.dll loaded
Env created
Importing..

Avisynth error:
DirectShowSource: RenderFile, the filter graph manager won't talk to me
(C:\DOCUME~1\PRETTY~1\LOCALS~1\Temp\dshow_82262283.avs, line 1)
Initializing WinSock
WinSock ok
Socket bound to port 9999
Waiting for client to connect...

> Exit Code: 1

LoRd_MuldeR
19th July 2008, 12:41
"DirectShowSource: RenderFile, the filter graph manager won't talk to me"

You try to use DirectShowSource() but no suitable DirectShow filter for your source video is installed on your system!
Either install the suitable DirectShow decoders/encoders or try FFmpegSource as an alternative...

prettylove99
19th July 2008, 17:39
many thanks for your reply
but i can open this script(F:\MTV\1.AVS) by Virtualdub directly

LoRd_MuldeR
20th July 2008, 00:05
many thanks for your reply
but i can open this script(F:\MTV\1.AVS) by Virtualdub directly

Try to append CovertTuYUY2() to your script and try again...

prettylove99
20th July 2008, 00:20
1000thanks that you don't mind to take all the troubles to help me
you are so warmhearted
i will try it as you say and see what happen
best compliments

babaji
14th August 2008, 16:38
I am having a heck of a time trying to remux 1080i material with mplex, all kinds of errors .... is there a reliable way to remux such heavy material? open source preferably, running linux here

LoRd_MuldeR
14th August 2008, 16:45
What video format is your video? And from which container you want to re-mux to which one?

babaji
14th August 2008, 16:58
Thanks for the quick reply!

it's native mythtv, im looking to make a Xvid contained in an AVI, from the avidemux page it seems to suggest that dvb needs to be demuxed using projectx (done) and remuxed using mplex(problematic) I have tried using the -r 64000 and -r 98000 options from the mplex commandline but it always end up with the error **ERROR: [mplex] Too many frame drops -exiting

is there any advantage to using an other container? Can I somehow avoid the need to demux/remux the DVB Streams?

this is all kind of new to me, i have put in the hours learning to encode nice quality DVD's some years ago, now i feel I need to start over again to learn all the MPEG4 options, Oh well you never stop learing do you?

LoRd_MuldeR
14th August 2008, 17:03
There is no "native mythtv" container. DVB recordings usually are MPEG-2 Video in MPEG-PS or MPEG-TS container.
ProjectX is able to handle such files and it can produce MPEG-PS as output, so an additional muxing step is NOT needed.
Just check "to M2P" instead of "demux" in the ProcessWindow. The result should open in Avidemux.

BUT: You mention "1080i material", but HD material usually is H.264, not MPEG-2. If so, ProjectX cannot handle it !!!

babaji
14th August 2008, 17:32
i did not say the container was "native mythtv". What I was trying to convey to you is that it was a native mythtv recording. I beleiev it is a MPEG-TS.

One of the problems is the audio is very often well out of sync, the AVIDEMUX wiki can likely explain this better than i can. I have also seen these problems. Some players can hide this problem by re-syncing the streams as it plays. According to the AVIDEMUX wiki the solution is to use ProjectX to demux into seprate files then remux the back together afterwards. This should fix the audio sync problems and help mask other "transmission errors".

The problem I am having is that mplex does not handle the highres files very well, choking after just a few seconds and crashing. I was hoping somebody knew a better way to remux these files.

Do you know the commadline option for projectx to output in m2p?

LoRd_MuldeR
14th August 2008, 17:38
Note that you must set the correct delay in Avidemux! That is the "Shift" checkbox. You can enter positive or negative value!
The only thing that ProjectX is supposed to fix is a delay that varies over time, because this cannot be fixed with a constant delay.

A good way to find out the proper delay is DGIndex (http://neuron2.net/dgmpgdec/dgmpgdec.html) respectively DGAVCIndex (http://neuron2.net/dgavcdec/dgavcdec.html).

babaji
14th August 2008, 18:42
If anyone knows how to remux large 1080i files pleeeeeeze! let me know! I understand TMPEGENC has a product that can, but it's not free!

wg
27th August 2008, 18:31
Is it possible to check for & fix an out of sync XviD(And other AVI) file without re-encoding the entire file. Avi-Mux Gui will do this easily in windows, but I am now trying to migrate to Linux(Ubuntu Hardy) & have been advised Avidemux can do this, any advice as to how, would be much appreciated.

Thanks in advance.