View Full Version : Avidemux (with emphasis on x264/h264 GUI)
LoRd_MuldeR
31st May 2006, 10:54
In SVN rev 2027, the XviD and x264 both have the option for two pass with average bitrate encoding. So I guess that's settles that. Of course, testing is needed.
Cool :cool: But it's not in Celtic's latest build yet...
What MPEG PS issues do you speak of? I have not had any problems.... :?
The problem is, that I want to cut MPEG-2 files I captured from TV. Those files are 12.000 kbps for video and 320 kbps / 44 Khz for audio. I set Audio and Video both to "copy" and select "MPEG PS" as output container. But AviDemux shows an error message, because my MPEG-2 file is not Video-DVD compatible. Okay, it is not Video-DVD compatible, indeed. But who cares? I'm not going to burn it on any Video-DVD. Just want to cut out a part and that's it. Unfortunately there's no way to disable that limitation. So I have to choose another container in order to force AviDemux to do the job. "MPEG-2 TS" seems to work, but doesn't allow seeking and MPlayer/MEncoder reports some sync errors. At the moment I use OGM as output for my MPEG-2 files. This seems to work with MEncoder/MPlayer, but still doesn't allow seeking. Furthermore all other players refuse to play those OGM files! Would be much better to put the MPEG-2 video into the "correct" container.
I already reported the problem on the bug tracker....
celtic_druid
31st May 2006, 12:32
r2028 | mean | 2006-05-31 02:09:16 +1000 (Wed, 31 May 2006) | 1 line
dual pass, average bitrate for x264
I'll put a new build up.
Kostarum Rex Persia
31st May 2006, 15:39
Disaster, Avidemux in build 2027 lost ability to save files in MP4 container!!!
celtic_druid
31st May 2006, 15:53
Check the log because from recollection rev2029 or 2030 fixed that.
LoRd_MuldeR
31st May 2006, 16:49
2-pass, Avarage Bitrate seems to work fine :D
But I found a problem: The status window just freezes during the encoding. At the beginning it was updated about each 5 seconds and frozen in-between. But then, after about one minute, it was completely frozen and Windows added "(No Response)" to the title bar. I had to wait until the encoding was done and I had no status information at all.
Seems like the there's a problem with the GUI thread...
Any one else experienced that ???
Kostarum Rex Persia
31st May 2006, 20:13
Yes, I experienced that. It's very annoying.
LoRd_MuldeR
1st June 2006, 00:21
Reported the freezing problem on the bug tracker.
I got another question: Is there a way to save my x264 settings? I see there are two buttons available "Load Defaults" and "Save Defaults". But those are grayed all the time. Am I missing something?
:confused:
SadaraX
1st June 2006, 00:50
But I found a problem: The status window just freezes during the encoding. Seems like the there's a problem with the GUI thread...
I just ran the test with XviD and x264, and there was no freeze... But I am running the program in Linux. So its probably the windows build....
LoRd_MuldeR
1st June 2006, 15:12
I want to test this (http://fixounet.free.fr/avidemux/win32/r2031_win32.zip) build, but it doesn't work, because some DLL called "libiconv-2.dll" is missing.
I already installed latest GTK+ and Celtic's builds never asked for that DLL...
celtic_druid
1st June 2006, 15:30
Try: http://celticdruid.no-ip.com/temp/libiconv-2.7z
LoRd_MuldeR
1st June 2006, 15:43
Try: http://celticdruid.no-ip.com/temp/libiconv-2.7z
Thx :D
I'm not sure if that build fixed the freezing problem.
At least it did not freeze completely so far, but not tested very much yet.
And it still freezes for about 5sec between each update...
And that build has outdated x264 version included.
I still prefer Celtic's builds :cool:
celtic_druid
1st June 2006, 16:15
That build was cross compiled, not built with mingw under windows right?
LoRd_MuldeR
1st June 2006, 16:41
That build was cross compiled, not built with mingw under windows right?
No idea. I was just asked to test it on the bug-tracker...
LoRd_MuldeR
1st June 2006, 21:08
About the freezing problem:
Comment by mean (mean)
Ok, so it is coming either from celtic druid built or from your gtk
I'll close the bug as it is not one
:scared:
celtic_druid
1st June 2006, 22:24
Doesn't actually freeze here. Didn't test mean's build since it didn't like my libvorbisenc-2.dll. Complains about missing vorbis_analysis when that is in libvorbis-0.dll anyway not enc. Does it minimise to the systray? Mine doesn't seem to any more.
LoRd_MuldeR
1st June 2006, 22:32
Doesn't actually freeze here. Didn't test mean's build since it didn't like my libvorbisenc-2.dll. Complains about missing vorbis_analysis when that is in libvorbis-0.dll anyway not enc. Does it minimise to the systray? Mine doesn't seem to any more.
Well, maybe "freeze" is not 100% clear.
It's just that the window gets updated every ~5 seconds.
In-between those updates, the window doesn't response at all.
This means the window cannot be moved and the button doesn't highlight when I move the mouse over it.
That's not a big problem, just a little nasty.
The main problem is, that a few times the status window was completely frozen! When this happened, I did not get any status information until encoding was done! Windows also added a "(No Response)" message to the titlebar, so I guess if I had clicked "X" then Windows would have just killed Avidemux. However the file that came out was okay.
About the "Minimze to Tray" feature:
Seems like they made it optional. There is an "Go to systemtray when encoding" option in the preferences window.
celtic_druid
1st June 2006, 22:37
Status updates every ~1sec here. No freezes. What I meant is that it doesn't go to the tray here even with that option enabled. It used to before the recent updates to that area.
LoRd_MuldeR
1st June 2006, 22:46
Status updates every ~1sec here. No freezes. What I meant is that it doesn't go to the tray here even with that option enabled. It used to before the recent updates to that area.
Just checked it:
With the option enabled the Main Window is minimized and a Trayicon is created. However both windows are still present on the Taskbar.
BTW: Is there a way to save my x264 options? "Save Defaults" is grayed here all the time. Am I missing something or is this feature not available yet?
celtic_druid
1st June 2006, 22:52
Right. Apparently there is a tray icon or rather there is a blank space where one should be. Hovering over it shows the percentage of the job and all. Just no icon. Need to look into that. From recollection though it used to remove the windows from the taskbar.
SadaraX
4th June 2006, 23:06
Right. Apparently there is a tray icon or rather there is a blank space where one should be. Hovering over it shows the percentage of the job and all. Just no icon. Need to look into that. From recollection though it used to remove the windows from the taskbar.
There have been some fixes for the Icon I believe, though I cannot say for windows. If its still a problem in the latest SVN, please post about it and I will communicate it to mean.
BTW: Is there a way to save my x264 options? "Save Defaults" is grayed here all the time. Am I missing something or is this feature not available yet?
Yes, yes there is! :) I am very happy to announce that the feature of saving codec settings and filter settings as pre-defined loadable options has finally be implemented, and quite handilly I might add.
In recent builds the new "Custom" menu has been added. This allows you to define custom made preset files for ANYTHING, include video codecs, audio codecs, and audio/video filter settings (seperately or all together).
Here's an example for the video codec:
1) Open a video
2) Select the video codec you want (like x264)
3) Configure codec with the options you want
4) Save the file as a Project file somewhere....
5) Open that project file in a text editor (like vim, notepad, wordpad, etc)
6) Now you need to edit and remove whatever you do not want to be loaded as a preset
** You must leave the line that says "var app = new Avidemux();"
** If you want to keep the filters, leave the //** Filters ** section, if you want keep the video leave the //** Video Codec conf **, and so on.
7) Save the file in $HOME/.avidemux/custom with a .js as the file extention
Next time you reload avidemux, the preset option will appear in the custom menu and can be loaded
celtic_druid
5th June 2006, 12:42
Works fine under linux. Nice little animated icon. Ogm files still crash here though. Well actually I used the same ogm file. Suppose I should test a different one.
Ogm files working for anyone else as input?
LoRd_MuldeR
5th June 2006, 20:57
Works fine under linux. Nice little animated icon. Ogm files still crash here though. Well actually I used the same ogm file. Suppose I should test a different one.
Ogm files working for anyone else as input?
Jupp, it crashes!
First it scanns the whole OGM but then AviDemux just crashes without any message...
LoRd_MuldeR
5th June 2006, 21:05
There have been some fixes for the Icon I believe, though I cannot say for windows. If its still a problem in the latest SVN, please post about it and I will communicate it to mean.
Yes, yes there is! :) I am very happy to announce that the feature of saving codec settings and filter settings as pre-defined loadable options has finally be implemented, and quite handilly I might add.
In recent builds the new "Custom" menu has been added. This allows you to define custom made preset files for ANYTHING, include video codecs, audio codecs, and audio/video filter settings (seperately or all together).
Here's an example for the video codec:
1) Open a video
2) Select the video codec you want (like x264)
3) Configure codec with the options you want
4) Save the file as a Project file somewhere....
5) Open that project file in a text editor (like vim, notepad, wordpad, etc)
6) Now you need to edit and remove whatever you do not want to be loaded as a preset
** You must leave the line that says "var app = new Avidemux();"
** If you want to keep the filters, leave the //** Filters ** section, if you want keep the video leave the //** Video Codec conf **, and so on.
7) Save the file in $HOME/.avidemux/custom with a .js as the file extention
Next time you reload avidemux, the preset option will appear in the custom menu and can be loaded
When I saved the project it just crashed.
It created a project file, but it was incomplete!
Whole file:
//AD <- Needed to identify//
//--automatically built--
//--Project: C:\moo.js
var app = new Avidemux();
//** Video **
// 01 videos source
app.load("E:/VIDEO_TS/_Video-In_20060530_020948.mpg.idx");
//01 segments
app.clearSegments();
app.addSegment(0,0,413);
app.markerA=0;
app.markerB=412;
app.rebuildIndex();
//** Postproc **
app.video.setPostProc(0,0,0);
app.video.setFps1000(25000);
//** Filters **
app.video.addFilter("kerneldeint","order=1","threshold=7","sharp=0","twoway=0","map=0");
app.video.addFilter("crop","left=16","right=12","top=2","bottom=4");
app.video.addFilter("resize","w=640","h=480","algo=2");
app.video.addFilter("msharpen","mask=0","highq=1","strength=75","threshold=15");
//** Video Codec conf **
SadaraX
6th June 2006, 01:46
When I saved the project it just crashed.
It created a project file, but it was incomplete!
What version of Avidemux are you running? I found that if you tried to save a project with two-pass average bitrate mode, it crashed. Mean has fixed problem (a little while ago). It works for linux, so you may need to get an updated version from the SVN.
celtic_druid
6th June 2006, 03:56
I put a new version up later. Got a few more packes to install before I can try cross compiling though. See if that makes any difference.
LoRd_MuldeR
7th June 2006, 20:36
The latest revision does now allow MPEG PS output for non-standard bitrates/samplerates. So I can use "Copy" mode plus "MPEG PS" container for my captured MPEG-2 files. That's really great, because I can cut my MPEG-2 files now! Avidemux is far the best MPEG-2 cut tool I've ever used !!!
So if you need to cut an MPEG-2 file, try Avidemux! ;)
LoRd_MuldeR
10th June 2006, 13:59
Damn, it happened again:
AviDemux was frozen during an 6 hours encoding today :angry:
I had to kill the process :(
Falling back to MEncoder until this is fixed...
SadaraX
13th June 2006, 01:06
Damn, it happened again:
AviDemux was frozen during an 6 hours encoding today :angry:
I had to kill the process :(
Falling back to MEncoder until this is fixed...
Hmm, if can reproduce the problem, can you give us the console print out? It might help.
Eitherway, even more bug fixes have been added recently. We are trying to grab all of the bug reports on the tracker at the moment and fix them before the official release happens.
About the OGM files, I am not having any problems loading them. Can you provide a sample of the video that causes you problems?
SadaraX
13th June 2006, 01:40
Latest win32 build from Mean for everyone to test....
http://fixounet.free.fr/avidemux/win32/r2065_win32.zip
CruNcher
13th June 2006, 23:43
please a resize preview option for the croop filter at least it's so hard to work with 1920x1080 stuff on lower display resolutions :(
and a Audio None option would be also great :D
SadaraX
14th June 2006, 01:24
please a resize preview option for the croop filter at least it's so hard to work with 1920x1080 stuff on lower display resolutions :(
and a Audio None option would be also great :D
I have added your request to the list. To save with no audio, go to the Menu: Audio -> Main Track
* Select: None
CruNcher
14th June 2006, 06:39
ah great didn't saw that on the first sight :) hmm how about more x264 options i miss vbv_maxbitrate and direct auto also level settings
Kostarum Rex Persia
2nd July 2006, 21:50
What's going on with Avidemux 2.2 development, on celtic_druid site last build is very old 2049?
Can someone give me a direct download link to newest beta 2.2 build? Thank you.
LoRd_MuldeR
2nd July 2006, 23:12
What's going on with Avidemux 2.2 development, on celtic_druid site last build is very old 2049?
Can someone give me a direct download link to newest beta 2.2 build? Thank you.
Have a look here:
http://fixounet.free.fr/avidemux/win32/
Kostarum Rex Persia
3rd July 2006, 11:15
Thanks, but I read on Avidemux forum that newest build is 2097? But, on site http://fixounet.free.fr/avidemux/win32/ newest build is 2083!!!
Where I can find really newest builds?
celtic_druid
3rd July 2006, 12:31
Win32 was broken in 2092, at least here with the changes to ADM_avsproxy_net.cpp
Svn is actually at r2111.
Kostarum Rex Persia
3rd July 2006, 17:17
So, can you be so nice and compile build 2111?
Thank you.
celtic_druid
4th July 2006, 03:28
As I said, not for win32.
quake74
4th July 2006, 14:26
Is this the right place for feature requests? Lately I am using a HTPC which saves in DVR-MS format. Currently I use DVRMSToolbox http://thegreenbutton.com/forums/thread/99008.aspx to convert it to mpg and then edit that one with avidemux. Is it possible to add dvr-ms input support in avidemux?
LoRd_MuldeR
4th July 2006, 14:53
Is this the right place for feature requests? Lately I am using a HTPC which saves in DVR-MS format. Currently I use DVRMSToolbox http://thegreenbutton.com/forums/thread/99008.aspx to convert it to mpg and then edit that one with avidemux. Is it possible to add dvr-ms input support in avidemux?
-> http://bugs.avidemux.org/
LoRd_MuldeR
24th July 2006, 21:39
New Win32 builds of AviDemux available:
AviDemux v2.3 rev2235 (EXE file only!) (http://fixounet.free.fr/avidemux/win32/avidemux_2.3_r2235_win32.zip)
AviDemux v2.3 rev2214 (including required DLLs) (http://fixounet.free.fr/avidemux/win32/avidemux2.3_r2214_win32.zip)
BTW: Can we expect a new Celtic build now?
celtic_druid
25th July 2006, 03:57
Well if ADM_avsproxy_net.cpp was fixed and it has been updated to work with current x264.
LoRd_MuldeR
25th July 2006, 15:04
Well if ADM_avsproxy_net.cpp was fixed and it has been updated to work with current x264.
The log for ADM_avsproxy_net.cpp says:
Revision 2215 - (view) (download) - [select for diffs]
Modified Thu Jul 20 19:25:17 2006 UTC (4 days, 18 hours ago) by mean
File length: 4207 byte(s)
Diff to previous 2093
merged win32 fixes
celtic_druid
25th July 2006, 19:30
Updated it to support latest x264, tried to build it, but it failed because spidermonkey now needs to be thread safe.
Built nspr, rebuilt spidermonkey, built avidemux and it crashes. So it could be awhile before I release a new build.
mean
25th July 2006, 19:47
http://fixounet.free.fr/avidemux/win32/avidemux_2.3_r2246_win32.zip
That one (update only from rev2214 link given above) is from 2.3 branch and contains :
* Fixed avsproxy (it works here at least, win32, linux and linux64)
* Massively multithreaded DVD(lavc) encoding
* Should fix the freeze problem definitively
* Contains x264 latest version from svn, now it works in 2 passes mode on windows. I don't really know why it wasn't working.
@Celtic druid:
I had the same problem.
I rebuild libpsnr4 without too much problem for win32
I spend a lot of time to tweak js to build for win32 with proper compiler and flags and it was crashing too :)
So i took the js from firefox and rebuilt the js.dll.a and it runs fine.
JS is a pain to build. On the other hand, it works fine and allows users to easily do complicated script.
If you want i can make you a tarball with all the library+include files i use so that you can pick what is of interest for you.
If you are interested, just say it.
Thanks.
Ps: It is cross compiled form linux (build is much faster) but i believe it should work fine on windows + mingw or whatever you use as long as it is mingw/cygwin based.
Doom9
25th July 2006, 19:49
Massively multithreaded DVD(lavc) encodingmassively? did lavc finally get proper multithreaded support? last time I checked lavc's multithreaded mpeg4 asp encoder delivered almost no speed advantage over the singlethreaded version.
mean
25th July 2006, 19:57
Multithreaded because for DVD output using lavcodec based mpeg2 codec there is between 3 and 4 threads :
- One for audio (doesn't do much if you are reusing an existing audio track)
- One or two for video. Mpeg2 multithreading works well in lavcodec, albeit with a slight quality decrease
- One for the muxer
Just a warning, it is from the -dev branch and that version has probably some nasty bugs (nastier than the usual ones at least)
celtic_druid
25th July 2006, 20:21
Yeah it was libpsnr4. Grabed the dll from the mozilla ftp and it no longer crashes.
I have also cross compiled in the past. Didn't bother timing though. Also, not faster when you have to set it all up first.
Problem here with SDL, probably because I linked against recent svn. Could also be that I linked statically. GUI loses all text.
Tray icon still doesn't display the encoding status. Under linux I get a nice animated icon and all. Also during encoding if set to minimise to tray, there didn't used to be any windows left on the taskbar, correct?
mean
25th July 2006, 21:11
"Tray icon still doesn't display the encoding status. Under linux I get a nice animated icon and all. Also during encoding if set to minimise to tray, there didn't used to be any windows left on the taskbar, correct?"
I just checked, the windows are still in the taskbar
Don't know if they disappeared at one time
For the SDL vs text, no idea
I just noticed that SDL >=1.2.10 has a different behaviour at initialization time but that should be detected by the code
Just in case, the whole bin/lib/include i'm using to build win32 binaries from linux
http://fixounet.free.fr/avidemux/win32/avidemux_libs.tgz
LoRd_MuldeR
26th July 2006, 10:18
@Celtic Druid
Thanks for the build, I'll do some testings ASAP.
But you forgot one required DLL file in your ZIP: libxml2.dll
And I got a question:
Why do those (http://fixounet.free.fr/avidemux/win32/?M=D) build require all those additional DLLs like "xvidcore.dll" and "libx264.dll" and so on, while your build only reuires a few of them?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.