Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > VirtualDub, VDubMod & AviDemux

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th December 2005, 21:22   #1  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Avidemux supports mp4 and mov files now...

I don't know if this is has been mentioned before (if yes delete this thread) but now the last Avidemux builds support mp4 and mov files as input.

For those who don't know what Avidemux is : this is mainly a free editor for AVI, MPEG files + mp4 & mov files now. There are a bunch of video/Audio filters included to edit your files. So, check out the website : http://avidemux.berlios.de/index.html


There are certainly some bugs but this is a great stuff...
Kurtnoise is offline   Reply With Quote
Old 12th December 2005, 02:15   #2  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
doesnt seem to support .mp4 output?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 12th December 2005, 10:30   #3  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
nope but there is MPEG-1/MPEG-2. I think it's planned...
Kurtnoise is offline   Reply With Quote
Old 12th December 2005, 10:33   #4  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,583
give it mp4 output and there'll be a stampede of people coming their way
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 4th February 2006, 09:53   #5  |  Link
SadaraX
Registered User
 
SadaraX's Avatar
 
Join Date: Mar 2004
Posts: 81
The mp4 support is only in the SVN/CVS versions. When then 2.2.x branch of the SVN is finished and put out to release version, Avidemux will officially support mp4.

Right now Avidemux can read mp4/mov very well, though not perfectly yet. Output of mp4 is about half done, I think XviD+AAC work good, but h264 has not been finished yet.

If anyone would like to try Avidemux from the latest SVN, there are wiki docs (I maintain about half of them myself) about compiling it yourself, though its relatively straightforward.

http://openfacts.berlios.de/index-en...title=Avidemux
http://openfacts.berlios.de/index-en...videmuxInstall
SadaraX is offline   Reply With Quote
Old 4th February 2006, 11:25   #6  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
do you know how avidemux does the mp4 muxing? what tool, what lib?

edit: if someone sets up a win build i would be more than happy to test it
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free

Last edited by bond; 4th February 2006 at 11:35.
bond is offline   Reply With Quote
Old 4th February 2006, 11:44   #7  |  Link
SadaraX
Registered User
 
SadaraX's Avatar
 
Join Date: Mar 2004
Posts: 81
Quote:
Originally Posted by bond
do you know how avidemux does the mp4 muxing? what tool, what lib?

edit: if someone sets up a win build i would be more than happy to test it
You can give this one a try, though I don't know to what level the support was finished at that time.
http://fixounet.free.fr/avidemux/win32/r1726_win32.zip
SadaraX is offline   Reply With Quote
Old 4th February 2006, 12:01   #8  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by SadaraX
You can give this one a try, though I don't know to what level the support was finished at that time.
http://fixounet.free.fr/avidemux/win32/r1726_win32.zip
thx but i already found that one, doesnt support mp4 output

any idea how to contact the avidemux guys best? is there an irc channel?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 4th February 2006, 12:20   #9  |  Link
Drachir
Teetrinker
 
Drachir's Avatar
 
Join Date: Jan 2002
Posts: 258
Avidemux use FFmpeg for MP4 muxing with all his bugs, AFAIK.

Muxing based at libGPAC would be nice. But MEAN (developer from Avidemux) mentioned there isn't much documentation, how to use the lib.

Support for Timed Text could be interesting. Avidemux come with a tool to extract VOB sub and convert it to SRT.

I don't know any other tool beside MP4Box that convert SRT to Timed Text.
__________________
Play GO ( http://en.wikipedia.org/wiki/Go_(board_game))
Drachir is offline   Reply With Quote
Old 4th February 2006, 13:08   #10  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
hm maybe he knows ffmpeg and is able to add the ctts creation with b-frames to it?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 5th February 2006, 00:06   #11  |  Link
SadaraX
Registered User
 
SadaraX's Avatar
 
Join Date: Mar 2004
Posts: 81
Quote:
Originally Posted by Drachir
Support for Timed Text could be interesting. Avidemux come with a tool to extract VOB sub and convert it to SRT.

I don't know any other tool beside MP4Box that convert SRT to Timed Text.
What is Timed Text? I do not know anything about it. Though I am helping to write more features for the SRT subtitles. In the long run, with diligence, I am hoping to write quite a few nice features for it. But right now I am about half-way done with an auto-correction option for OCR reading errors.
SadaraX is offline   Reply With Quote
Old 5th February 2006, 00:31   #12  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
Quote:
Originally Posted by SadaraX
What is Timed Text? I do not know anything about it. Though I am helping to write more features for the SRT subtitles. In the long run, with diligence, I am hoping to write quite a few nice features for it. But right now I am about half-way done with an auto-correction option for OCR reading errors.
mpeg-4 timed text is the only official subtitle format ever defined by mpeg

basically there is no spec for how ttxt should look like in "text form", so there are two forms of how to do this:
1) .ttxt developed by the gpac project (handled by mp4box)
2) texml developed by apple (handled by mp4box and quicktime)

imho .ttxt from gpac is much nicer for personal editing and authoring a ttxt stream than apples texml.
strictly speaking it also doesnt matter what you use, cause in the end the stream will be the same when being placed in .mp4

Quote:
Originally Posted by SadaraX
Best way to contact Mean and anyone else who can help is at the Avidemux forums. http://www.avidemux.org/pun/
There is not IRC channel that I know of.
thx, i already posted there
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 5th February 2006, 01:24   #13  |  Link
XmSurfer
Registered User
 
XmSurfer's Avatar
 
Join Date: Jan 2006
Posts: 46
Any plans to output matroska? A search of the website yielded no info.
XmSurfer is offline   Reply With Quote
Old 5th February 2006, 02:40   #14  |  Link
SadaraX
Registered User
 
SadaraX's Avatar
 
Join Date: Mar 2004
Posts: 81
Quote:
Originally Posted by XmSurfer
Any plans to output matroska? A search of the website yielded no info.
No one but myself and J.M. have discussed it. I am hoping to get the format added with multi-audio-tracks and soft subtitles. There was a push to get OGM more supported with these features, but the consensus seems to be that after mp4 is more or less finished that MKV is the next task.

Of course, I have not discussed any of this with Mean, so its only between myself and a little bit with J.M.
SadaraX is offline   Reply With Quote
Old 6th February 2006, 18:25   #15  |  Link
XmSurfer
Registered User
 
XmSurfer's Avatar
 
Join Date: Jan 2006
Posts: 46
Quote:
Originally Posted by SadaraX
No one but myself and J.M. have discussed it. I am hoping to get the format added with multi-audio-tracks and soft subtitles. There was a push to get OGM more supported with these features, but the consensus seems to be that after mp4 is more or less finished that MKV is the next task.

Of course, I have not discussed any of this with Mean, so its only between myself and a little bit with J.M.
I hope it comes to pass. I can't wait. Actually I can, I've been waiting for Gabest to update his matroska muxer for ~1.5years, so I can wait for MKV output from avidemux.
XmSurfer is offline   Reply With Quote
Old 7th February 2006, 10:41   #16  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
SadaraX, can you maybe make a win32 compile for avidemux 2.2 latest svn? mean doesnt seem to be able to atm and i know nothing about compiling

or anyone else?

if latest avidemux svn really supports mp4 editing and mp4 output this tool would be the first freely available, virtualdub-like, mp4 editor
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 7th February 2006, 17:54   #17  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,583
Quote:
if latest avidemux svn really supports mp4 editing and mp4 output this tool would be the first freely available, virtualdub-like, mp4 editor
And you'd get a bunch of marriage proposals from the MP4 fans here
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 8th February 2006, 20:45   #18  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
ladies and gentlemen: the first freely available virtualdub-like mp4 editor:
http://4nykey.nm.ru/w32/avidemux-svn.exe

enjoy but beaware that this is not an official release and that there are potentially still bugs
i will test it extensively asap and report any issues
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 8th February 2006, 21:59   #19  |  Link
SadaraX
Registered User
 
SadaraX's Avatar
 
Join Date: Mar 2004
Posts: 81
Quote:
Originally Posted by bond
SadaraX, can you maybe make a win32 compile for avidemux 2.2 latest svn? mean doesnt seem to be able to atm and i know nothing about compiling

or anyone else?

if latest avidemux svn really supports mp4 editing and mp4 output this tool would be the first freely available, virtualdub-like, mp4 editor
Sorry for not responding Bond. I would not know how to compile the windows binary, though I would be willing to try. Can anyone provide some steps to do it?

Quote:
Originally Posted by bond
ladies and gentlemen: the first freely available virtualdub-like mp4 editor:
http://4nykey.nm.ru/w32/avidemux-svn.exe

enjoy but beaware that this is not an official release and that there are potentially still bugs
i will test it extensively asap and report any issues
Any bugs that are related to the program itself, please post on the http://www.avidemux.org/pun/ forums.

I should have mentioned, though hopefully the wiki-docs would explain it also, that guide to compiling from SVN is for linux only. Sorry, though if someone cares to write down the steps, I will add a windows section
SadaraX is offline   Reply With Quote
Old 8th February 2006, 22:53   #20  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,770
actually i made some quick tests with basically all streamtypes imagineable (b-ref, multislices aso...) and it seems to work pretty good already
there are minor issues but the big one is that it doesnt create the mandatory ctts with b-frame streams (actually a bug in ffmpeg). the author though told me that this should be working already
than it seems to have problems demuxing mp4 asp files with b-frames

my current issue list:
Code:
- doesnt create ctts on streams with b-frames when muxing and encoding (with both asp and avc) 
- avidemux gives an "index is not up to date" error message on some mp4 and also avi files that should be correct. it seems to be with b-frame asp streams (not avc). this also leads to jerky playback in avidemux. it does not matter what created the mp4 (tested mp4box, mp4creator and 3ivx muxer) or the avi (tested xvid and divx - no error message tough when loading packed bitstream). i guess its because avi doesnt know/index b-frames and for mp4 (which signals b-frame timestamps in ctts) ctts isnt readout while opening?
- crashes when trying to passthrough quicktime7 files (both asp and avc)
- doesnt want to open 64bit mdat atom files
- passthrough doesnt seem to work on vfr streams (0kb mp4 created), tested both asp and avc (multiple entries in stts atom signal vfr)
- sets avgbitrate to 0 and maxbitrate to 9500kbps with asp
- unorthodox 25025 timescale (seems to be correct) for 25fps content

- vosh, vol, gov aso is not removed from the keyframes when passing through asp avi files to mp4 (tested both divx and xvid) or when encoding to mp4 (xvid and libav tested)
- when encoding with libav asp the vol aso isnt placed in the mp4v.esds.decConfigDescr.decSpecificInfo which is the place where to vol has to be stored in mp4 (only once as its not allowed to change) and very important. works fine with xvid encoding
- packed bitstream doesnt get automatically unpacked when using mp4 output (when unpacking while opening the input avi it works fine) in both cases: muxing from a packed avi to mp4 (maybe an error message saying that passin through packed bitstream to mp4 isnt possible would be good?) and encoding to mp4 with xvid while enabling packed bitstream in xvid (that option should maybe simply be disabled when mp4 output is chosen?)
- when passing through avc in avi (x264) to mp4 it seems the output mp4 is not correct at all. when i try to extract the raw video stream with mp4creator i get the "nal length past end of buffer - sample 1 size 91544645 frame offset 5 left 14741" error



things not related to mp4:
- it seems cutting is only able if the final stream has at least two keyframes, altough theoretically only one at the start should be enough
- cuts need to start with a keyframe. avidemux allows that a cutted stream starts anywhere (tough the frames before the first keyframe cant be decoded)

- appending is possible with streams using not the same settings (eg cabac + no cabac, gmc vs.no gmc aso) but thats not possible in mpeg-4 asp and avc (for avc its theoretically possible if you have 2 pps (eg 1 with cabac, the other without), and each stream refers to the corresponding pps, but i am not sure if existing players support this?)
- unpacking packed bitstream doesnt get rid of the "p" in the divx userdata "DivX503b1393p" signalling that the stream is still packed (in both xvid and divx) that will bork some decoders relying on that flag
- depending on the number of b-frames set the output video stream has less frames (eg 2 b-frames -> 2 less frames in the output than in the input...) i guess thats a ffmpeg bug (with both avi and mp4)

about how to install, i downloaded the last official version from here and simply overwrote this with the 2.2 svn compile
had to download two more dlls and than it worked fine
still keep in mind that this is not an official release but a svn compile not done by the avidemux devs but 4nykey (thx! )

about how to compile it, mean gave me some tips:
Code:
There are a few requirements :
- gtk+ 2.0 / gtk+ 2.0-dev from gtk.org/win32
- libxml2 from xmlsoft
- mingw
- pkg-config
- libmad (libmad.sf.net)
- recent autoconf & automake
- perl
- spidermonkey lib from mozilla.org
Once everything is there, make -f Makefile.dist should produce the configure script
Then ./configure --with-jsapi-include=path_to_jsapi.h
should work and autoprobe the libraries

The final trap is that the library order is reversed on win32 compared to unix-es
so the link line has to be altered manually (the simplest is to put it in a file and edit the file)
actually imho very good stuff
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free

Last edited by bond; 9th February 2006 at 14:52.
bond is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.