Log in

View Full Version : Avidemux (with emphasis on x264/h264 GUI)


Pages : 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

LoRd_MuldeR
20th January 2007, 02:08
Like this?
http://img248.imageshack.us/img248/742/customquantfa1.th.png (http://img248.imageshack.us/my.php?image=customquantfa1.png)

SadaraX
20th January 2007, 03:03
Like this?
http://img248.imageshack.us/img248/742/customquantfa1.th.png (http://img248.imageshack.us/my.php?image=customquantfa1.png)


Thanks LoRd_MuldeR, but that is for XviD. I need it for x264... They are different from what I can tell. :)

LoRd_MuldeR
20th January 2007, 03:10
Thanks LoRd_MuldeR, but that is for XviD. I need it for x264... They are different from what I can tell. :)

Quantization Matrices for H.264 look like this:
http://forum.doom9.org/showthread.php?t=96298

So I think the GUI from the screenshot is suitable for x264.
It only needs the Combobox, which is grayed out on the screenshot, to choose one of those values:
4X4_LUMA, 4X4_CHROMAU, 4X4_CHROMAV, 8X8_LUMA
For 4x4 matrices, the unnecessary Edit Fileds need to be grayed out, of course.


// EDIT

Maybe it would be usefull if you also add a button to load a matrix from file.
Like this: http://www.webalice.it/f.corriga/x264/eqm_avc_hr.cfg

LoRd_MuldeR
3rd February 2007, 14:02
New Avidemux 2.4 SVN build for Win32:
http://fixounet.free.fr/avidemux/win32/2.4_r2796_win32.zip

This one should include the new Preview dialog.

SadaraX
4th February 2007, 12:49
http://img365.imageshack.us/img365/2615/20061010160402hx0ce6.th.jpg (http://img365.imageshack.us/my.php?image=20061010160402hx0ce6.jpg)

I have no idea where or what I got this x264 screen capture from. But if someone can tell me where that is from from, it would be very helpful. The custom matrix window is the only part of the new x264 update I am not finished with. :(

I just do not want to do it wrong...

LoRd_MuldeR
4th February 2007, 13:00
Hi, SadaraX
I think this screenshot is from the x264 GTK+ encoder.

http://tirnanog.fate.jp/mirror/x264/x264gtk.revision584.7z

// EDIT

BTW: What's wrong with http://www.avidemux.org/pun/ ???

// EDIT 2

For x264 GTK encoder, I think sources can be found here:
http://trac.videolan.org/x264/browser/trunk/gtk

SadaraX
4th February 2007, 13:16
Hi, SadaraX
I think this screenshot is from the x264 GTK+ encoder.

http://tirnanog.fate.jp/mirror/x264/x264gtk.revision584.7z

Thanks for the file... unfortunately I cannot run it. No Windows... :( Anyway, I will take it to a friends house and see what I can do.


// EDIT 2

For x264 GTK encoder, I thin sources can be found here:
http://trac.videolan.org/x264/browser/trunk/gtk

Hmm, not sure if I can compile that, but I might try.
EDIT: Actually, I found that I already x264 source on my system. Going to compile it. :)


// EDIT

BTW: What's wrong with http://www.avidemux.org/pun/ ???

Wow, the forum is still down? I thought it was just a bad day, I have been super busy for the last two weeks and I have not stopped by to see what is wrong.

News from the Avidemux homepage:

2007-01-27: Hosting issue

I'm having some SQL overload issue, so both the forum and the wiki are offline for the moment, i'm trying to get enough SQL bandwidth to do a backup but it does not seem to be that easy.

LoRd_MuldeR
4th February 2007, 13:17
If you need more screenshots from the x264 GTK+ encoder, I can make them and upload.

SadaraX
4th February 2007, 13:23
If you need more screenshots from the x264 GTK+ encoder, I can make them and upload.

No, I got it and I compiled it successfully. Damn, I really wish I had known about that GTK GUI sooner, it would have saved me a LOT of time....

svn://svn.videolan.org/x264/trunk

Every time my compile scripts recompile Avidemux, they also check and recompile x264. :)

LoRd_MuldeR
4th February 2007, 13:23
Maybe those can help too:

http://mulder.dummwiedeutsch.de/temp/matrix_01.gif
http://mulder.dummwiedeutsch.de/temp/matrix_02.gif
http://mulder.dummwiedeutsch.de/temp/matrix_03.gif

LoRd_MuldeR
7th February 2007, 23:49
I just noticed that there's a huge difference in Video Quality between Avidemux and VirtualDub!
In Avidemux the same video looks much worse than in VirtualDub :(

Here are two screenshots that clearly show the difference:
http://img527.imageshack.us/img527/3768/videovdubla4.png
http://img527.imageshack.us/img527/4151/videoadmbt5.png

Especially have a look at her hair and at the frame in the background.

The input file is a MPEG-2 file, captured from analog TV.
In both applications it's the exactly same input file and the same frame!
No filters enabled, no resize. Just the unchanged original video.

// EDIT

Here is another test:

Once the video directly from MPEG-2 input file:
http://img506.imageshack.us/img506/3327/capvduboj8.png
And now the video as exported (lossless, unprocessed) from Avidemux:
http://img506.imageshack.us/img506/3018/capadmyo4.png

Both shots taken in VirtualDub.
Again quality much worse in the video that was exported from Avidemux!

SadaraX
8th February 2007, 03:18
I just noticed that there's a huge difference in Video Quality between Avidemux and VirtualDub!
In Avidemux the same video looks much worse than in VirtualDub :(

Do you have post processing disabled in both of them?

Otherwise you are going to have talk with Mean.

I know there is an issue (not sure if it is a bug) in the color systems, which I have pointed out (I even pin-pointed the problem source file).

LoRd_MuldeR
8th February 2007, 08:35
Do you have post processing disabled in both of them?

Otherwise you are going to have talk with Mean.

I know there is an issue (not sure if it is a bug) in the color systems, which I have pointed out (I even pin-pointed the problem source file).

There no filters used in both applications and Avidemux's post-processing is completely disabled.
Doesn't seem to me that it's a color problem. The file exported from Avidemux to VDub doesn't show any difference in color, but still the quality is worse. Seems to be either a MPEG-2 decoder problem or the video is "filtered" in some way it shouldn't...

Gusar
8th February 2007, 12:22
Is it fixed, if you go Edit->Preferences->Input and tick 'Use libavcodec MPEG decoder'?

LoRd_MuldeR
8th February 2007, 13:18
Is it fixed, if you go Edit->Preferences->Input and tick 'Use libavcodec MPEG decoder'?

If I remember correctly, it didn't make any difference... :confused:

// EDIT

verified, makes no difference.

LoRd_MuldeR
8th February 2007, 22:36
I just noticed that there's a huge difference in Video Quality between Avidemux and VirtualDub!
In Avidemux the same video looks much worse than in VirtualDub :(

Here are two screenshots that clearly show the difference:
http://img527.imageshack.us/img527/3768/videovdubla4.png
http://img527.imageshack.us/img527/4151/videoadmbt5.png

Especially have a look at her hair and at the frame in the background.

The input file is a MPEG-2 file, captured from analog TV.
In both applications it's the exactly same input file and the same frame!
No filters enabled, no resize. Just the unchanged original video.

// EDIT

Here is another test:

Once the video directly from MPEG-2 input file:
http://img506.imageshack.us/img506/3327/capvduboj8.png
And now the video as exported (lossless, unprocessed) from Avidemux:
http://img506.imageshack.us/img506/3018/capadmyo4.png

Both shots taken in VirtualDub.
Again quality much worse in the video that was exported from Avidemux!

Okay, I have checked with AviSynth now instead of VirtualDub-MPEG2, and it's getting even more strange!

When I use DGIndex to create the .d2v file, the video looks the same as directly imported in VirtualDub-MPEG2 - very few chroma artifacts.
But when I make an AviSynth script with MPEG2Source(<path to .d2v>) and open in VirtualDub, it suddenly looks like in Avidemux - more chroma artifacts!

Nevertheless colors in Avidemux still are very different from anything I've seen in VirtualDub...

LoRd_MuldeR
11th February 2007, 16:21
There seems to be a problem with Avidemux.org

I get this "Lecture/Envoi d'emails" site, instead of Avidemux homepage.
Seems to happen only sometimes. When I try again later, the homepage returns.

Had this problem several times now...

// EDIT

Just reset my internet connection and it's solved for now :confused:

LoRd_MuldeR
11th February 2007, 19:44
Avidemux 2.4 Revision 2811
http://fixounet.free.fr/avidemux/win32/r2811_win32.zip

The previous build was broken, this one seems to work fore me :D

DarkZell666
12th February 2007, 13:09
Quick note: the previous problems reported about x264-in-mp4 and so on are at least partially solved (I'm encoding x264+aac in mp4 right now, and it seems to be working again).

Edit:
All these output combinations work perfectly now:
- xvid+mp3 in MP4
- xvid+aac in MP4
- x264+mp3 in MP4
- x264+aac in MP4.

This is just such a great news !

LoRd_MuldeR
12th February 2007, 14:07
Avidemux 2.4 Revision 2814
First install r2811_win32.zip (http://fixounet.free.fr/avidemux/win32/r2811_win32.zip), then update to r2814.zip (http://fixounet.free.fr/avidemux/win32/r2814.zip) :)

This update is a quick fix for the "Median 5x5" filter. Very nice to clean Chroma Noise from analog material!
Also the video is displayed at the right position now, when "SDL Accelerated" is selected for Video output.

// EDIT

DarkZell666, I got a question: Do your "x264+mp3 in MP4" files play properly in *all* players?
I did a quick test an the result was, that it played 100% fine in MPlayer, but MPC didn't play any sound :(
For the test I used latest MPC build, latest ffdshow-tryouts and latest Haalli Splitter.
Nevertheless "x264+faac in MP4" didn't show such problems ...

// EDITē

I have reported the problem in detail:
http://www.avidemux.org/admForum/viewtopic.php?pid=17066#p17066

LoRd_MuldeR
12th February 2007, 22:12
It seems that the "objectTypeIndication" is the problem with mp3 audio in MP4 and Avidemux!

Avidemux uses an objectTypeIndication of 107, while MP4Box will use 105.
Haali's Splitter doesn't recognize the objectTypeIndication of 105 for some reason.

Works 100% fine with MPlayer and VLC Media Player...

Henrikx
12th February 2007, 22:47
@LoRd_MuldeR
Itīs possible to translate Avidemux ?

DarkZell666
12th February 2007, 23:03
Oops, I'm indeed an mplayer addict and didn't imagine (read: forgotten :p) that other players may have revealed other problems :) Thx for investigating a bit further than I did ;)

LoRd_MuldeR
12th February 2007, 23:25
@LoRd_MuldeR
Itīs possible to translate Avidemux ?

There is no multi-language support in the current version.

I got no idea if Mean is planning such feature. Why not just ask him directly?
But I think it's enough work to get everything work, even without multi-language...

Is it so hard to understand Avidemux in English language?
Even stupid me can handle that *g*

SadaraX
12th February 2007, 23:44
There is no multi-language support in the current version.

I got no idea if Mean is planning such feature. Why not just ask him directly?
But I think it's enough work to get everything work, even without multi-language...

Is it so hard to understand Avidemux in English language?
Even stupid me can handle that *g*

I know there are some translations of Avidemux into some languages. I believe J.M. does a few of them. Let me see...

On my system Avidemux is available in French, Spanish, Klingon (that my be a joke, but the file is there), Russian, and Czech (I think).

celtic_druid
12th February 2007, 23:45
There are *.po files for several languages. Klingon is empty though. Looks like French, German, Russian and Czech are ok though.

LoRd_MuldeR
12th February 2007, 23:49
:eek: Never saw an option to change language in Avidemux!

oooops :o

Henrikx
12th February 2007, 23:50
@LoRd_MuldeR
Is it so hard to understand Avidemux in English language? No, but everyone does not speak English.
Even stupid me can handle that *g*
Then are all without English knowledge idiots.
@celtic_druid
THX

LoRd_MuldeR
13th February 2007, 00:03
@LoRd_MuldeR
No, but everyone does not speak English.

Of course you are right.

But most commands you need to know in Avidemux are simple words like "Open", "Append", "Save" and so on. Even if you don't speak English at all, you should be able to cope with that. Especially if you worked with similar tools before. And don't forget that English is still the "default" language in Computer Science. I doubt you will get far without English in this profession...

Anyway, problem seems to be solved now *g*

Henrikx
13th February 2007, 00:15
@LoRd_MuldeR
And don't forget that English is still the "default" language in Computer Science
The statement is not correct starting out from Conrad Zuse.But this is not the topic.
I translated for the ones who do not speak any English.
German MeGUI-WIKI ,AvsP,Smplayer.
Language barriers should not exclude.
What you find simple is perhaps complicated for the other one.
Therefore I have asked the question.

SadaraX
13th February 2007, 03:12
@LoRd_MuldeR

The statement is not correct starting out from Conrad Zuse.But this is not the topic.
I translated for the ones who do not speak any English.
German MeGUI-WIKI ,AvsP,Smplayer.
Language barriers should not exclude.
What you find simple is perhaps complicated for the other one.
Therefore I have asked the question.

If you ever do a German translation for Avidemux, I know that the developers would like to include your German translation. :)

Schrade
13th February 2007, 05:51
I've been playing with AVIDemux by encoding to the PSP Full Res format and I really like how easy it is to do this.

What I don't like though is that all the videos are tagged with "Avidemux" as the name of the video.

Can some tag editing features be added to the program please? Just some way to choose the filename as the tag/title of the video would be fine with me.

Also, is there a way to script the Auto -> PSP Full Res settings? I'd like to just make scripts for the Custom menu with appropriate names to match what I want done. Like "PSP Full Res 100MB" "PSP Full Res 1000Kbps" and just change the x264 settings.

Right now in order to do what I want I have to go to the Auto menu and select PSP Full Res then press OK. Then I have to load my custom x264 settings.

I just want to be able to go to Custom -> My Custom Setting and have it all done in one step.

SadaraX
13th February 2007, 06:11
I've been playing with AVIDemux by encoding to the PSP Full Res format and I really like how easy it is to do this.

What I don't like though is that all the videos are tagged with "Avidemux" as the name of the video.

Wow, he finished making the PSP stuff work? I thought that was going to be broken for a while... heh, I guess I missed stuff when the Avidemux forums were down.

I have no idea what is causing that, because i have never used it. But I will have a look in a while, you might get better results by asking on the Avidemux forums.

Can some tag editing features be added to the program please? Just some way to choose the filename as the tag/title of the video would be fine with me.

Also, is there a way to script the Auto -> PSP Full Res settings? I'd like to just make scripts for the Custom menu with appropriate names to match what I want done. Like "PSP Full Res 100MB" "PSP Full Res 1000Kbps" and just change the x264 settings.

Right now in order to do what I want I have to go to the Auto menu and select PSP Full Res then press OK. Then I have to load my custom x264 settings.

I just want to be able to go to Custom -> My Custom Setting and have it all done in one step.

This might help. If it does not, I will add more to the article for help with creating a custom menu.
http://www.avidemux.org/admWiki/index.php?title=Project_files

LoRd_MuldeR
17th February 2007, 22:45
Avidemux 2.4.0 Revision 2826:
http://fixounet.free.fr/avidemux/win32/soustitre.zip

LoRd_MuldeR
20th February 2007, 23:36
Avidemux 2.4.0 Revision 2838:
First install r2811_win32.zip (http://fixounet.free.fr/avidemux/win32/r2811_win32.zip) and then update to 2838.zip (http://fixounet.free.fr/avidemux/win32/2838.zip)

ludeboy12
21st February 2007, 01:33
great lil app thanks.

an auto ps3 profile would be nice but i guess its not really that big of a deal.

SadaraX
21st February 2007, 02:21
great lil app thanks.

an auto ps3 profile would be nice but i guess its not really that big of a deal.

Audo PS3? What is that?

Schrade
21st February 2007, 05:36
Avidemux 2.4.0 Revision 2838:
First install r2811_win32.zip (http://fixounet.free.fr/avidemux/win32/r2811_win32.zip) and then update to 2838.zip (http://fixounet.free.fr/avidemux/win32/2838.zip)
Thanks for posting these downloadable updates. Really comes in handy :)

LoRd_MuldeR
22nd February 2007, 22:09
A new Avidemux 2.4 QT4 build can be found here:
http://fixounet.free.fr/avidemux/win32/2.4_qt_win32.tar.gz

Seems to be more complete than last QT4 build, but still not ready for working...

LoRd_MuldeR
25th February 2007, 19:02
Avidemux 2.4 Revision 2847:
This time r2847_win32.zip (http://fixounet.free.fr/avidemux/win32/r2847_win32.zip) is a complete package including GTK+ and CLI version.

A few new features:
- ability to save as packed bitstream (you should ALWAYS depack when loading, and just save as packed or unpacked). Avidemux needs it unpacked internally whatever the output format is.
- much better bitrate histogram, also gives max & average bitrate ,nb of consecutive B frame, # of I/B/P frames

Also x264 has been updated to latest revision.

LoRd_MuldeR
1st March 2007, 20:07
Avidemux 2.4 Revision 2853:
First install the r2847_win32.zip (http://fixounet.free.fr/avidemux/win32/r2847_win32.zip) package and then update to r2853_win32.zip (http://fixounet.free.fr/avidemux/win32/r2853_win32.zip)

This update fixes a bug with opening WMV files.
Furthermore the "Built-in support" dialog was improved.

LoRd_MuldeR
2nd March 2007, 21:35
Avidemux 2.4 Revision 2853:
First install the r2847_win32.zip (http://fixounet.free.fr/avidemux/win32/r2847_win32.zip) package and then update to r2857_win32.zip (http://fixounet.free.fr/avidemux/win32/r2857_win32.zip)

This update fixes the bitstream packer/unpacker.

// EDIT

Avidemux 2.4 Revision 2859:
First install the r2847_win32.zip (http://fixounet.free.fr/avidemux/win32/r2847_win32.zip) package and then update to r2859_wi32.zip (http://fixounet.free.fr/avidemux/win32/r2859_wi32.zip)

Revision 2859 fixes a crash that could happen because SSE2 instructions were called when only MMX instructions should be used. This made the "Blend Remover" filter crash on my AthlonXP CPU with "Illegal instruction" error. Now it has been fixed.

LoRd_MuldeR
3rd March 2007, 18:10
Avidemux 2.4 Revision 2859 GCC4-SVN build:
First install the r2847_win32.zip (http://fixounet.free.fr/avidemux/win32/r2847_win32.zip) package and then update to adm_gtk_gcc4.zip (http://fixounet.free.fr/avidemux/win32/adm_gtk_gcc4.zip)

That one has been compiled with gcc4 experimental svn branch use at our own risk your house gonna burn

This build fixes the "Libavcodec has been miscompiled" warning that appeared in stderr.txt with previous builds.
Please check if it works stable and report back...

DarkZell666
4th March 2007, 08:26
In the 2 or 3 most recent builds, using vorbis causes the encoding to stall at the beginning (crashing Avidemux). Opening the calculator also crashes AviDemux with a c++ error in audioencoder_vorbis.cpp @ line 124. (Other audio formats don't suffer this problem).

I'll try the latest builds more in depth, but there's always a setting or another that isn't saved on exit. Actually, the "save preferences on exit" setting isn't saved, so I wouldn't be surprised if that had something to do with it :p
**Edit: DAMN CAT !!! It climbed on the keyboard while I was finishing something else and I hadn't finished writing my post ...*

The vorbis problem doesn't seem to always happen. Btw I've just opened an xvid+mp3 avi with packed bitstream. I unpacked it, and I can't reencode the video because the video codec combobox is grayed, and locked on "Copy".
***Re-edit: the video codec combobox only grays when I choose "avi, unp. vop" or "avi, Pack vop" output formats. Is it normal ?
***Re-edit again: the vorbis encoder crash only happens once I saved my work as a project or if I re-load the project I've just saved. Otherwise it doesn't crash (and other formats still don't have the problem, so "project+vorbis" is no go ATM).

LoRd_MuldeR
4th March 2007, 12:46
The vcodec combobox must be grayed when "avi, unp. vop" or "avi, Pack vop" is selected, because in this mode Avidemux will pack/unpack the bitstream. This cannot be done at the same time as the encoding. If you have a packed bitstream AVI, you must first unpack it and then use then load unpacked file to do the work. Afterwards you can re-pack if you need to...

About the "project+vorbis" bug: I think if you send a bug report to Mean, he will be able to fix it. I guess it's the project file which is either not written or read properly. Maybe you should send your project file too.

DarkZell666
4th March 2007, 13:09
The vcodec combobox must be grayed when "avi, unp. vop" or "avi, Pack vop" is selected, because in this mode Avidemux will pack/unpack the bitstream. This cannot be done at the same time as the encoding. If you have a packed bitstream AVI, you must first unpack it and then use then load unpacked file to do the work. Afterwards you can re-pack if you need to...There must have been a flaw in avidemux 2.3 then, 'cause I don't remember this happening at all (or I'm a moron and didn't use avidemux properly XD)


About the "project+vorbis" bug: I think if you send a bug report to Mean, he will be able to fix it. I guess it's the project file which is either not written or read properly. Maybe you should send your project file too.Will do later on today (I'm in the process of formating my HDD right now ;))

LoRd_MuldeR
4th March 2007, 13:15
There must have been a flaw in avidemux 2.3 then, 'cause I don't remember this happening at all (or I'm a moron and didn't use avidemux properly XD)

I don't know how (un)packing worked in older versions, since I never do that. Maybe older versions just did not prevent improper usage of "avi, unp. vop" or "avi, Pack vop". Might also be possible that the latest changes to the (un)pack code make a difference...

2857 / mean / 39 hours / fix also packer to be divx compliant
2856 / mean / 39 hours / revamp packed bitstream unpacker, should be 100 % exact this time
2848 / mean / 6 days / disable vcodec when using pack/unpack bitstream

LoRd_MuldeR
4th March 2007, 17:42
Avidemux 2.4 Revision 2866:
First install the r2847_win32.zip (http://fixounet.free.fr/avidemux/win32/r2847_win32.zip) package and then update to r2866_win32.zip (http://fixounet.free.fr/avidemux/win32/r2866_win32.zip)

This build includes another fix for packed bitstream and some cosmetic fixes.

IceManZ
6th March 2007, 22:37
I don't really understand the purpos of pack or unpack bitstream !

Could someone explain it to me, I look here and there but don't get it ?

PS: When avidemux ask me if I want to unpack, I always say no since the file saved is still playeable...

LoRd_MuldeR
6th March 2007, 23:27
I don't really understand the purpos of pack or unpack bitstream !

Could someone explain it to me, I look here and there but don't get it ?

PS: When avidemux ask me if I want to unpack, I always say no since the file saved is still playeable...

Well, "packed bitstream" has something to with the way the different Frame types (I-Frames, P-Frames and B-Frames) are stored in the AVI file. In packed AVI's several frames are packed together into one "big" frame and dummy frames are inserted to keep the number of frames. Later the decoder will unpack those packed frames and display each frame at the correct time, the dummy frames will just be skipped. So while a normal AVI will have frames stored like this "1-2-3-4-5", a packed AVI will contain "p-d-d-d-d" where p is the packed frame that contains all the frames from 1 to 5 and the d's are dummy frames. When reading a normal AVI, the decoder will read frame 1 from the AVI file, then display frame 1, then read frame 2 from the AVI, then display frame 2, then read frame 3 from the AVI, then display frame 3 and so on. With packed bitstream the deocoder will read a "packed" frame from the AVI and thus get a bunch of frames at the same time (for example all frames from 1 to 5). Of course the decoder will display only the first of those frames, the rest will be kept in memory. When the next "dummy" frame is ready form the AVI, the decoder will discard the dummy frame and instead display one of the frames that are already in memory. This is done until all of the frames in memory have been displayed. Then another "packed" frame is read from the AVI, followed by a series of dummy frames. And so on. I hope you understand. It's a little bit confusing.

Packed bitstream is a "hack" introduced by DivX in order to workaround a limitation in the VfW interface (VirtualDub). It was needed to support B-Frames, because VfW isn't suitable for B-Frames. Packed bitstream is ugly and it's to be avoided at all costs! Nevertheless sometimes you have packed AVI's (for example AVI's made with VirtualDub/DivX) and want to edit them. In this case "unpacking" is required before editing in Avidemux...

// EDIT

Tried to make a little illustration:

http://img517.imageshack.us/img517/9561/packedbitstreamhs8.gif

// EDIT 2

A more detailed description can be found here:
http://itsjustonesandzeros.blogspot.com/2007/01/what-is-packed-bitstream.html