The merge of the multiple audio branch has started
Expect issues
Quote** Failed at make**
Solved in r7795 ** Failed at make** FIXED (http://www.avidemux.org/smf/index.php?topic=10443.msg56104#msg56104)
@Mean congrats. I was reading the commit a little bit and notice the nifty LU's...
printf("Adding Filter %s -> %"LU"... \n", filter, filterTag);
No more PRIu32's I guess is the reason so it reads easier? Or are there still 16bit operating systems with a 16bit integer where you have to specifically write that as long int to get all 32bits?
It only works for 32 & 64 bits
16 bits wont work as it is assumed an int is at least 32 bits
Preliminary test shows the existing multiple audio tracks are kept when saving MPEG-TS .TRP to .TS. The Audio Track Configuration looks promising. Nothing functional yet?
Anything else that should be given attention? You gonna like this one zakk.
The UI is not finished
I'm updating the python part to have working save/load project and will finish the UI just after that
Wow! Just great!
I've done only one try so far (in copy mode): h.264/mp2/mp2.ts to mkv: perfectly synchronized.
This saves a lot of disk usage, Thanks very much!
Mean, any approximative delay before we can encode audio and/or select tracks with this new version? Thx.
A few days, i just need to bind the UI .
It contains some logic so it takes some times
Detection of tracks works. Audio Tracks Configuration still not functioning, I guess? Don't know how far things are already implemented? Just in case, my findings/remarks:
- Track numbering is not the same: 1, 2, 3 for track(s) present and 0,1,2 for the track itself. Would be easier and less confusing if same numbering is used and both started from 0 (easier software wise). See red marker 1st picture.
- Found tracks are all selected 0, hope this is not staying this way? found track 0 selected track zero, found track 1, selected track 1.
- When editing and saving, in the same video: track settings are not remembered and go back to default. Yellow markers on both pictures. If I'm to early with this, forget I even wrote it here.
Can we have some indication what each found track is? MP1, MP2, AC3 and possible channel indication 2.0 2.1, 5.1 and whatever you did come across. Still looking promising and nice job done. Some audio tracks have labels or flag telling if this certain language or an descriptive audio language, would be nice if these would be implemented at a future date.
gruntster and mean, sorry to trouble you with this
still work in progress
Thanks a lot.
The UI should be ok
BUT:
What works :
* Copying several tracks
* Encoding one track
What does not work
* Encoding several tracks. There's a bug somewhere
Nice work maestro. Did test arte HD .TS (satellite), was easy to move tracks from position. Lot of users going to like this feature. Moving dolby track to track zero 0 or away.
should be okay now (encoding several tracks)
Brief tests confirms this to work. copy 1 track, re-encode 2 tracks from mpeg audio to ac3.
Did 2 small tests with mp2 to mp3 and eac3 copy (1 or 2 tracks). Seems to work great!
At the moment, is mp3 encoder set to stereo, joint stereo or mono?
Congratulations and thanks.
I'm stoked you guys are getting good results. I still have a build error in Qt, but I was going to let it stew for a bit to see if they patch it.
You loaded the other libraries to? libqt4-dev libqt4-opengl-dev
and the new ones: libopencore-amrwb-dev libopencore-amrnb-dev For the wiki maybe? Agent_007
could be this one is not needed: libdts-dev
sudo apt-get install build-essential cmake fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl-dev libsdl-sound1.2-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev make pkg-config subversion yasm
If you know of still missing/needed libraries, please let me know.
I can test the build process during Easter with Ubuntu if someone provides me the commands. I can also add the to wiki after that.
Most is already present for 2.6 http://www.avidemux.org/admWiki/doku.php?id=build:install_2.6
on Ubuntu 11.10
Install required tools and libraries, open terminal and issue this command
sudo apt-get install build-essential cmake fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl libqt4-opengl-dev libsdl-sound1.2-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev make libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev pkg-config subversion yasm
Get the source code 1st time: checkout from terminal:
svn co svn://svn.berlios.de/avidemux/branches/avidemux_2.6_branch_mean/
compile all:
cd avidemux_2.6_branch_mean
bash bootStrap.bash --deb --with-qt4 --with-gtk --with-cli
Quote** ALL DONE **
** The installable packages are in the debs folder **
browse to
avidemux_2.6_branch_mean/debs and install what you want.
update source code following times: update: from terminal
svn up svn://svn.berlios.de/avidemux/branches/avidemux_2.6_branch_mean/
currently installed:
dpkg -l build-essential cmake fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl libqt4-opengl-dev libsdl-sound1.2-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev make libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev pkg-config subversion yasm
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===========================-===========================-======================================================================
ii build-essential 11.5ubuntu1 Informational list of build-essential packages
ii cmake 2.8.5-1ubuntu1 cross-platform, open-source make system
ii fakeroot 1.17-1 tool for simulating superuser privileges
ii g++ 4:4.6.1-2ubuntu5 GNU C++ compiler
ii gcc 4:4.6.1-2ubuntu5 GNU C compiler
ii gettext 0.18.1.1-3ubuntu1 GNU Internationalization utilities
ii liba52-0.7.4-dev 0.7.4-16 library for decoding ATSC A/52 streams (development)
ii libaften-dev 0.0.8+git20100105-0ubuntu1 audio AC3 encoder - development files
ii libasound2-dev 1.0.24.1-0ubuntu10 shared library for ALSA applications -- development files
ii libdca-dev 0.0.5-4 decoding library for DTS Coherent Acoustics streams (development)
ii libdts-dev 0.0.5-4 backward compatibility place-holder for libdca
ii libfaac-dev 1.28-0ubuntu1 AAC audio encoder (development)
ii libfaad-dev 2.7-6ubuntu1 freeware Advanced Audio Decoder - development files
ii libglib2.0-dev 2.30.0-0ubuntu4 Development files for the GLib library
ii libgtk-3-dev 3.2.0-0ubuntu6 development files for the GTK+ library
ii libgtk2.0-dev 2.24.6-0ubuntu5 Development files for the GTK+ library
ii libmad0-dev 0.15.1b-5ubuntu1 MPEG audio decoder development library
ii libmp3lame-dev 3.98.4-0ubuntu1 An MP3 encoding library (development)
ii libopencore-amrnb-dev 0.1.2-1 Adaptive Multi Rate speech codec - development files
ii libopencore-amrwb-dev 0.1.2-1 Adaptive Multi-Rate - Wideband speech codec - development files
ii libpng12-dev 1.2.46-3ubuntu1.2 PNG library - development
ii libqt4-dev 4:4.7.4-0ubuntu8.1 Qt 4 development files
ii libqt4-opengl 4:4.7.4-0ubuntu8.1 Qt 4 OpenGL module
ii libqt4-opengl-dev 4:4.7.4-0ubuntu8.1 Qt 4 OpenGL library development files
ii libsdl-sound1.2-dev 1.0.3-3.1 Development files for SDL_sound
ii libvdpau-dev 0.4.1-2ubuntu1 Video Decode and Presentation API for Unix (development files)
ii libvorbis-dev 1.3.2-1ubuntu2.1 The Vorbis General Audio Compression Codec (development files)
ii libvpx-dev 0.9.6-1 VP8 video codec (development files)
ii libx264-dev 2:0.116.2042+git178455c-1ub development files for libx264
ii libxml2-dev 2.7.8.dfsg-4ubuntu0.2 Development files for the GNOME XML library
ii libxv-dev 2:1.0.6-2 X11 Video extension library (development headers)
ii libxvidcore-dev 2:1.3.2-3 Open source MPEG-4 video codec (development)
ii make 3.81-8.1ubuntu1 An utility for Directing compilation.
ii pkg-config 0.26-1ubuntu1 manage compile and link flags for libraries
ii subversion 1.6.12dfsg-4ubuntu5 Advanced version control system
ii yasm 1.1.0-1 modular assembler with multiple syntaxes support
Now with trackinfo showing, just what is needed, thanks.
Just encoded dual audio mp3: works! Thanks a lot.
external audio should work now
Only ac3/mp3 supported, only mp3 tested
More testing required:
With .ts as source adding external .mp3 does nothing, it only set unmarked channels back to marked and keeps original audio tracks.
With avi to mp4 adding second audio track from mp3 works.
Had a quick look around and could not find directly a summary with what audio codecs support multiple audio tracks with what video codecs in what media containers (format).
If someone has a list or matrix with this info?
QuoteHad a quick look around and could not find directly a summary with what audio codecs support multiple audio tracks with what video codecs in what media containers (format).
What compliance to standards and compatibility to players is concerned:
MP4: 2 AAC tracks (usually in combination with MPEG-4 ASP or MPEG-4 AVC)
AVI: 2 MP3 tracks (usually in combination with MPEG-4 ASP)
MKV: multiple audio tracks and if you wanna use non standard audio track format
Quote from: mean on April 01, 2012, 07:30:07 AM
should be okay now (encoding several tracks)
Most excellent. You can check that major feature off the to-do list.
Warning: At least r7895 displays "Frame type: P-TFF" for I frames also (bottom of Avidemux window), which can make clean cutting difficult. (my last version r7745 does show I-frame correctly).
The audio parsers are not hooked, the files generated might be a bit borked (it depends on the muxer)
That also explains why local playback is not working properly
While copy mode is OK, reencoded audio is still unsynchronized (200ms shift at the beginning, 400 at the end of video).
Any idea why reencoding audio would ADD audio frames and increase delay ? (same result with mkvextraction and audacity reencoding).
with a specific audio codec or any of them ?
I tried every audio codec accepted with mkv or mp4v2 containers.
Result is always audio 400ms too early.
Funny thing, I put the A-Marker a few P-Frame later (instead of 0:00:00, by the way no more I-frames ?) and this time I got 600ms too late in my copy/mp3/mkv.
(all tests with first 5mn of video)
Sample please
20Mo ts Sample: http://dl.free.fr/leD0KBgmB (http://dl.free.fr/leD0KBgmB)
mkv Result:http://dl.free.fr/kxXvquCFG (http://dl.free.fr/kxXvquCFG)
Thanks
Confirmed
Any workaround ?
Maybe better with last patch, win32 build in progress
Just encodeda 8GB file: result OK! ;)
Looks like Avidemux 2.6 has become my ultimate tool! Thanks!
Can we have some kind of safeguard of copying/saving more then two audio tracks into avi container.
When saving MPEG-TS with more then 2 audio streams in to avi container.Avidemux shuts down unexpected without leaving crash file or anything.
Perhaps check if more then 2 audio streams when saving in to avi container: warning pop-up saying so and preventing avidemux to process (saving this video) and opening the Audio tracks configuration window?
I'm cleaning up the avi muxer
thank you as always, looking forward.
Again, does someone know if the mp3 encoder is set to "stereo" or "joint stereo" ? Thanks.