PDA

View Full Version : Does Avidemux 2.3 update its internal codecs?


nukesgoboom
4th October 2006, 20:27
Avidemux 2.3 is awesome! however i dont see an option to update the codecs. it comes bundled with all its own codecs. MeGui has an update feature, so that you can update to a new revision of x264 as soon as its released, but i have not found the same feature on Avidemux 2.3

is it possible to update the codecs bundled with Avidemux 2.3?

mean
5th October 2006, 08:08
It depends
Concerning most of the decoders, they are statically linked in avidemux so you can't update them.
On the other hand, they are mostly coming from libavcodec and are resynced with upstream on a regular basis. That leaves libmpeg2 & VP3 decoders which do not need to be upgraded.

As far as the encoders are concerned, on linux it uses the one on your system so you can upgrade them as long as the api is compatible

Concerning windows, xvid/faa* and x264 are provided as external dll
So normally you can drop-in your updated xvid4 dll and it should continue to work.
Same for x264 etc..

celtic_druid
5th October 2006, 09:03
Technically x264 isn't a bundled codec, since it isn't a codec.

With my builds just about everything is linked statically including x264, lame, aften, faad, faac, etc. So no possiblity to update until I update and recompile/link.

Romario
5th October 2006, 19:27
mean, what is your ideas about Avidemux 2.3 final?

mean
5th October 2006, 19:43
What do you mean ?
In terms of content, date ?

There are 2 things apart from bugfixing that are ongoing :
- Translations
- PSP output

The final should be ready in about 3 weeks after a preview2 in about 10 days

Romario
5th October 2006, 19:58
Yes, in terms of content and date.

Can Avidemux 2.3 cuts video files. For example, I want to remove unnecessary parts from x264 mp4 file and MPEG2 file.

Sharktooth
5th October 2006, 20:00
Yes. I dont know if it is frame accurate for MP4 files but even VDub isnt for AVI files containing video streams with b-frames...

mean
5th October 2006, 20:25
The only case where it is frame accurate when cutting (i.e. not re-encoding) is mpeg4 or msmpeg4v3 (aka divx3). You have to use smart copy mode & avi output.

Else you have to cut at gop boundaries (or whatever it is called depending on the codec/technology)

Romario
6th October 2006, 01:24
Ok, thanks. mean, one more question: do you plan to improve splitting mechanism in Avidemux, and in which version? 2.4, perhaps?

nukesgoboom
6th October 2006, 01:51
avidemux 2.3 uses libx264.dll the only other .dll i can find is x264vfw.dll, megui uses the CLI x264.exe

where does someone find updated versions of libx264.dll? the x264 site, http://x264.nl/ , does not have libx264.dll on the downloads page.


i enjoy using avidemux 2.3 because it can copy the audio in the source file to destination and automatically muxes the video and audio into the container.

with megui i have to do it by hand afterwards with the .mp4 muxer feature. if i want the same audio from the source, i have to load it into virtualdub and save .wav and mux it later.

mean
6th October 2006, 08:45
Romario: It is very tricky to allow restriction free cutting with minimum re-encoding. The output must allow seamless reading between the recoded part and the untouched part. On PC it is easy because the players are in general very tolerant, but i aim the generated files play well also on hw player (standalone DVD,...).


nukesgoboom:
The name follows the unix library name convention.
Try renaming x264vfw.dll to libx264.dll and see what happens
Might work or not, as long as the native x264 api is stil available and exported by x264vfw.dll it should.

celtic_druid
6th October 2006, 09:27
I have built libx264 in the past and bundled it with my cli builds when someone requested it. Haven't recently though. Next x264 build, I will include the lib.

tomos
8th October 2006, 01:52
how do you get avidemux to read mp4 files?

i've tried 2.2 and 2.3 and both just say:

Attempt to open F:\1.mp4 failed!

this was a clip made with megui/x264

the prog opens vobs etc just fine tho.

it mentions during the install needing GTK+ but i cant see anything but source code to download

mean
8th October 2006, 17:27
Have a look in stdout.txt to see what it does not like in your mp4 files
Else normally it should read most mp4/3GP/mov files which are all variants of mov format.

Romario
8th October 2006, 20:57
I have built libx264 in the past and bundled it with my cli builds when someone requested it. Haven't recently though. Next x264 build, I will include the lib.

How to use libx264 and where to put that file. Please explain that to me, because I'm confused. :confused: :confused:

celtic_druid
9th October 2006, 03:20
In avidemux's or your system path, then if avidemux. Basically just overwrite the old one.

dumbuser
9th October 2006, 04:44
Last night I downloaded the newest Preview of Avidemux and then overlaid Celtic_Druid's last build. I have been rather impatient you see! :) The work seems to be coming along nicely. I tested with a small VOB making files in every common container and at least the more common format types. Everything seems to work as expected including x264.

There are a few things I did run across however:

1. Trying to work with a m2v file and asking for any external audio file crashes the program. It just goes away! Not when you complete the request but when you press play. I do miss this very much as I work more with DV and M2V than VOBs.

2. Making a compatible QuickTime file using x264, FAAC in a MP4 container you get video with no audio in QT. Also the resulting audio in other players seems distorted like there is sideband information.

3. Nice to see DTS added to the source audio options. But please note I could not get sync to picture under any circumstances.

I do appreciate the additions in options for audio and that the front and rear channels are no longer right and left respectively. :P

So the questions I have are:

1. Are you still on track for a official release? You mentioned another preview in a week or so.

2. Is there even an off chance that the volume control will work?

3. Or that there may be less CPU usage with perhaps another driver? I have always assumed this was due to the program being ported, but for Windows users it is extraordinarily high and some things are very difficult to preview. Using SDL does speed things up just a bit, but is very clumsy to use.

4. I noticed an avs proxy when I was installing, are there plans to use this to import avs files?

Thanks for all the hard work and looking forward to the next preview and subsequent release.

BTW Given I did NOT experience any problems with the x264 library I did not try Celtic_Druid's build. While I am using r582 for other programs and Celtic's latest is r584 I did not notice any differences for the options I was using and the small VOB I mentioned is very difficult to get good encodes.

mean
9th October 2006, 08:06
1- was fixed yesterday in r2460/r2461
2- Ok
3- Could you elaborate ? The win32 build may not have libdca compiled in

1- The only big problems left are PSP output which is better but still not ok and i18n support on some platform to handle translations
2- It is platform specific/audio device specific. I assume you mean for win32 ?
3- It seems to be GTK that is very slow on win32. It should not have a big impact on encoding speed though as gtk is not very used while doint it
4- It should already work. Both win32/win64/linux/linux64.

dumbuser
10th October 2006, 03:12
"3- Could you elaborate ? The win32 build may not have libdca compiled in"

3. Libdca is showing up in the build. It may be that I do not have enough CPU power to support. I Will try again with SDL running. Ya! It does kinda work with SDL, just not smooth.

"2- It is platform specific/audio device specific. I assume you mean for win32 ?"

2. Yes, I'm running XP 32 on a P4 3G

"4- It should already work. Both win32/win64/linux/linux64."

4. Tried to load an avs as in "Open" or just tried, "Load project" but that makes no sense. Do I need to do something special?

Thanks for the response, waiting with bated breath! :)

mean
10th October 2006, 08:05
Please have a look here
http://www.avidemux.org/pun/viewtopic.php?id=2060

dumbuser
10th October 2006, 12:07
Yes! Tried it, does work! No sound. When trying to add sound it crashes. Well! goes away. I'm assuming this is a frame service?

tomos
11th October 2006, 02:52
Have a look in stdout.txt to see what it does not like in your mp4 files
Else normally it should read most mp4/3GP/mov files which are all variants of mov format.

hi, just tried this again now (just reinstalled windows)

and the stdout says this when trying to read an mp4 created by megui/x264


*******************
Avidemux 2, v 2.3.0
*******************
http://fixounet.free.fr/avidemux
Code : Mean & JSC
GFX : Nestor Di , nestordi@augcyl.org
Testing : Jakub Misak
FreeBSD : Anish Mistry, amistry@am-productions.biz
Compiled for X86 Arch.
Initializing prefs

Registering Encoders
*********************
Mjpeg encoder registred
Xvid-4 encoder registred
FFMPEG encoder registred

3 encoder registered
SDL support on Version 1211
Global SDL init...
Initializing WinSock
WinSock ok
Initializing Dithering tables
Initializing global xvid 4
xvid build:xvid-1.2.0-dev
xvid thread:2
xvid SIMD supported:(cf)
MMX
MMXEXT
SSE
SSE2
Checking cpu capabilities
Cpu has MMX
Cpu has MMXEXT
Cpu has SSE
Cpu has SSE2
End of cpu capabilities check
Directory C:\Documents and Settings\TJ\avidemux exists.Good.
Using C:\Documents and Settings\TJ\avidemux as base directory for prefs/jobs/...
Preferences found and loaded
Found 17 video encoder
Found 10 audio encoder
Directory C:\Documents and Settings\TJ\avidemux\custom exists.Good.
No custom script
Found 0 custom scripts, adding them
Menu built
Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:3

Registering Filters
*********************

Device not found :OSS
Using dummy audio device
Spidermonkey initialized.
18000000 -> 18000000

3GPP /MP4/Quicktime file detected..
** opening 3gpp files **
Found video codec type :XXXX (58585858)
No index!
Deleting post proc
Cleaning up
Waiting for Spidermonkey to finish...
Cleaning up Spidermonkey.
End of cleanup

Images stat:
___________
Max memory consumed (MB) : 0
Current memory consumed (MB) : 0
Max image used : 0
Cur image used : 0
Global mem stat
______________
Memory consumed :0 (MB)

Goodbye...



no idea what this means or why this doesnt work

mean
11th October 2006, 07:52
dumbuser : yes it is video only ATM

tomos : Could you make available a small sample ?
From the log file there seems to be 2 problems :
* No index found for one of the track
* No codec recognized

tomos
14th October 2006, 20:00
i would love to be able to post a sampe except i cant split the file

i've tried yamb but that fails

[18:58:36] : Error opening file E:\Convert\v\1.mp4: Requested URL is not valid or cannot be found
[18:58:36] : Splitting failed.

i cant post a 7gig file :(

tomos
14th October 2006, 20:08
never mind, i tried again and yamb decided to work now ???

heres the clip (http://rapidshare.de/files/36740152/upload.mp4.html)

mean
15th October 2006, 09:51
I tried to load it, no problem on linux
Will try on win32 later

mean
15th October 2006, 19:12
Make sure you don't have non-ascii stuff in the filename/directory name
It does not work in win32

tomos
15th October 2006, 23:01
i'll try it straight from the root of the drive and no folders. its only called 1.mp4 so no funny characters

if it doesnt work after that, then what? am i out of luck?

any other programs that can do this? if not, i would have to go back to using vfw through virtualdubmod

celtic_druid
16th October 2006, 03:51
No crash here under win32. That is unless I press cancel when loading.

tomos
16th October 2006, 14:16
it doesnt crash for me, it just says

Attempt to open E:\1.mp4 failed!

celtic_druid
16th October 2006, 14:45
Loaded fine here before it didn't crash.

clsid
16th October 2006, 16:33
Perhaps an issue with large files? His file is 7 GB.

tomos
16th October 2006, 17:29
but the small file also does the same thing. it wont load and that is only 5 megs

celtic_druid
16th October 2006, 17:48
Try: http://home.wildit.net.au/celticdruid/mirror/avidemux/avidemux2.3.0rev2474.7z

if needed:
http://prdownloads.sourceforge.net/gimp-win/gtk+-2.8.18-setup-1.zip?download

That was the build I tried where it worked.

tomos
16th October 2006, 17:55
thanks mate. will try it later on tonight when @ home :)

tomos
19th October 2006, 02:34
tried that build CD and it opened the small version of the clip i uploaded although i couldnt seek through it (ony a few frames) but the full version wont open at all. it just says

Attempt to open E:\1.mp4 failed!

any other suggestions?

tomos
23rd October 2006, 00:39
anyone? is it something i am doing wrong or does this prog not support large files?

mean
23rd October 2006, 19:45
I think we have problem reproducing the issue

Romario
24th October 2006, 00:39
Have you resolved PSP encoding issue, mean?

tomos
24th October 2006, 01:38
I think we have problem reproducing the issue

thanks for trying dude :) . will have to stick to vfw and vdub for the time being tho :(