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. |
|
|
#1 | Link |
|
Registered User
Join Date: Apr 2004
Posts: 1,037
|
Xvid CLI
I tried to search some info about cli version but without success.
I want to encode Xvid directly to native mp4 container and see if there are some speed improvements or/and additional settings to play with. I supose Mencoder has xvid codec (version of xvid?). But I didn't find information how to encode via mencoder. Right now investigating Megui. |
|
|
|
|
|
#2 | Link |
|
Swallowed in the Sea
Join Date: Oct 2002
Location: Marseille, France
Posts: 4,399
|
yep...you can find some infos in MeGUI thread or in mplayer/mencoder guides/FAQ.
Otherwise, you can try avs2avi to encode and mp4box to mux your stream in the mp4 container.
__________________
The problem, of course, is that there are many smart people in the world... Steve Jobs [my random stuff] | [Please, no MeGUI support via PM] |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Apr 2004
Posts: 1,037
|
mp4box is alternative way. But is it possible to encode with Xvid like x264 via CLI ? It results very comfortable and without any GUI and/or mp4box. Indeed , GUI helps much when there are too many setings and automized process of multipass,container etc.
Btw , what version of Xvid has last mplayer http://www.aziendeassociate.it/cd.asp?dir=/mplayer (28 of june) ? |
|
|
|
|
|
#4 | Link |
|
clueless n00b
![]() Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,275
|
the closest equivalent to x264.exe is encraw.exe.. you won't find it compiled almost anywhere, and it's like the early x264.exe versions: no avisynth input, only raw output, and feature limited. I'd much appreciate if you could extend it though
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
|
|
|
|
#5 | Link |
|
Registered User
Join Date: Oct 2002
Location: Canada
Posts: 8,776
|
I would be interrested by a x264.exe-like xvid CLI with AVS input.
__________________
Detritus Software |
|
|
|
|
|
#6 | Link | |
|
Swallowed in the Sea
Join Date: Oct 2002
Location: Marseille, France
Posts: 4,399
|
Quote:
If anybody is interested : http://cvs.sourceforge.net/viewcvs.p.../util/xvidenc/
__________________
The problem, of course, is that there are many smart people in the world... Steve Jobs [my random stuff] | [Please, no MeGUI support via PM] Last edited by Kurtnoise; 7th July 2005 at 23:24. |
|
|
|
|
|
|
#7 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 10,818
|
xvid encraw was updated yesterday with the addition of -vhqmode switch.
still encraw is not on par with VFW...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! |
|
|
|
|
|
#8 | Link | |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
Quote:
__________________
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 |
|
|
|
|
|
|
#9 | Link |
|
Mr. Sandman
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 10,818
|
uhm...
__________________
MPEG-4 ASP Custom Matrices: EQM V1(old), EQM AutoGK Sharpmatrix (aka EQM V2), EQM V3HR (updated 01/10/2004), EQM V3LR, EQM V3ULR (updated 04/02/2005), EQM V3UHR (updated 17/12/2004) and EQM V3EHR (updated 05/10/2004) Info about my ASP matrices. MPEG-4 AVC Custom Matrices: EQM AVC-HR Info about my AVC matrices My x264 builds. Mooo!!! Last edited by Sharktooth; 8th July 2005 at 14:56. |
|
|
|
|
|
#10 | Link |
|
Moderator
![]() Join Date: Nov 2001
Posts: 9,780
|
seems xvidenc is only supposed to output a raw mpeg-4 stream, also its not possible to set any xvid options
__________________
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 |
|
|
|
|
|
#11 | Link |
|
clueless n00b
![]() Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,275
|
as I said.. encraw seems the most promising approach but it takes somebody with serious C knowledge to add the additional input and output types and somebody with good xvid knowledge to expose the additional options. The additional zone types seem especially challenging because you have to check them for each frame and force certain frame type decision (like greyscale, or make the first zone frame an i-frame, etc).
If there was a really good C IDE (akin VS, showing contents of variables not addresses is already a good start), and I had time (which I do not.. MeGUI takes precedence and I have some interesting ideas for the future), I'd do it myself but since I can use mencoder it's not a priority. As a little encouragement I promise to fully support an enhanced encraw in MeGUI.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
|
|
|
|
#12 | Link | |
|
Registered User
Join Date: Oct 2002
Location: Canada
Posts: 8,776
|
Quote:
__________________
Detritus Software |
|
|
|
|
|
|
#13 | Link | |
|
Registered User
Join Date: Feb 2002
Location: Syracuse, NY
Posts: 179
|
While a bit round-about, but in theory by using VirutalDub one could encode XviD using just CLI. Basically, some front-end program constructs a job file and pass it to vdub.exe.
VirtualDub's job file format is well documented, so the only sticky bit would be to decipher the opaque portion that's passed to the XviD codec: Quote:
After looking at some job files generated by VirtualDub and referencing XviD's code briefly, it appears that the data passed is simply the CONFIG structure (defined in config.h and vfwext.h). In summary, with VirtualDub's help, all that's required to encode XviD is a front-end program that:
Anyone want to volunteer?
__________________
When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute--and it’s longer than any hour. That’s relativity. -- Albert Einstein |
|
|
|
|
|
|
#14 | Link | |
|
clueless n00b
![]() Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,275
|
Quote:
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
|
|
|
|
|
#15 | Link |
|
Registered User
Join Date: Apr 2004
Posts: 1,037
|
There is precompiled Mencoder binaries - XviD 1.1.x branch - x264 svn on Sherpya's site. http://oss.netfarm.it/mplayer-win32.php
I Didn't test it yet. Any documentation? |
|
|
|
|
|
#16 | Link |
|
clueless n00b
![]() Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,275
|
IgorC: we've been using that for a long while.. but mencoder's xvid support is limited.. it doesn't offer all the xvid features, and it's a huge app for the task that does a lot more in other areas that is not really needed, and it's mp4 output is worthless.
But that has all been said already..
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|