digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Mencoder: How to compile mencoder for Athlon? (http://www.digitalfaq.com/archives/encode/9214-mencoder-how-compile.html)

fozzieb 04-23-2004 10:56 AM

Way off topic here but does any one know where i can download a DVD image of Debian Linux?

Fedora is a bit unstable still (just a bit)

cheers

kwag 04-23-2004 11:03 AM

Hi fozzieb,

http://www.linuxiso.org

I strongly suggest you give "Knoppix" a try, which is based on Debian ;)
http://www.knoppix.net

-kwag

fozzieb 04-23-2004 11:32 AM

cheers kwag, I have knoppix live cd and i thought that i would give debian a go (virtual systems make it soo easy to test things)

cheers

incredible 04-23-2004 03:18 PM

@ yaz!

This stretches my nerves .... since 2h im trying to get d2v files to work with mencoder .... neither vfapi files do run even if set in the codecs.config file :evil:

How do you get d2v files being accepted by mencoder??

kwag 04-23-2004 03:21 PM

Hi Inc,

I'm in the same shoes as you :roll:
I can read VOBs perfectly, but I can't process a .avs (fake avi) via MakeAVIs or VFapi :!:
It must be some CODEC conflict issue.

-kwag

vmesquita 04-23-2004 03:22 PM

What's the point of using d2v with mencoder if you can feed VOBs directly? O r is it just for fun? :D

kwag 04-23-2004 03:28 PM

Quote:

Originally Posted by vmesquita
What's the point of using d2v with mencoder if you can feed VOBs directly? O r is it just for fun? :D

Maybe just for fun :D
But you're right, I'm starting to use encodes directly from VOBs, specially now that I'm upgrading my FreeBSD box to the latest version, so encoding there should fly ( better than in Windoze ) :lol:
Plus Mencoder can read VOBs on any supported platform, so I can use it on my PowerPC on Mac OS X too :cool:

-kwag

incredible 04-23-2004 03:51 PM

My point is that I would like to ... so every help would be apreciated! :wink:


As you see via VFAPI mencoder recognises the format, shows the right fps and so on!
As I saw in the last log of RDS_Coreia .... he could load that ffdshow.ax driver which makes working the input of ffdshow makeavis, so I think this via d2v (as I got the d2vreader.ax also installed, should work).

Heres my log ....
Code:

C:\Programme\MPlayer>Set filea="G:\TOY_STORY\toystorydg_d2v_vfapi"

C:\Programme\MPlayer>mencoder -include C:\Programme\MPlayer\templates\MakeAVISne
w.conf -vc vifp -lavcopts vbitrate=2120  "G:\TOY_STORY\toystorydg_d2v_vfapi".avi
 -o "G:\TOY_STORY\toystorydg_d2v_vfapi"2.m2v
MEncoder dev-CVS-040420-06:00-3.3.1 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1969 MHz (Family: 6, Stepp
ing: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/Administrator/.mplayer/codecs.conf: Can't open '/home/Administrato
r/.mplayer/codecs.conf': No such file or directory
Reading mplayer/codecs.conf: 61 audio & 171 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/Administrator/.mplayer/mencoder: No such file or direc
tory
Reading config file C:\Programme\MPlayer\templates\MakeAVISnew.conf
font: can't open file: /home/Administrator/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
success: format: 0  data: 0x0 - 0x181000
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [vifp]  720x576  24bpp  25.000 fps    7.4 kbps ( 0.9 kbyte/s)
[V] filefmt:3  fourcc:0x70666976  size:720x576  fps:25.00  ftime:=0.0400
input fps will be interpreted as 25.00 instead
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [yuvcsp]
==========================================================================
Forced video codec: vifp
Cannot find codec matching selected -vo and video format 0x70666976.
Read DOCS/HTML/en/codecs.html!
==========================================================================
Exiting...

C:\Programme\MPlayer>pause
Drücken Sie eine beliebige Taste . . .


kwag 04-23-2004 04:01 PM

Quote:

Originally Posted by incredible

C:\Programme\MPlayer>pause
Drücken Sie eine beliebige Taste . . .[/code]

Maybe because your machine is a little drunk, believing in taste :?:
That's what I understand there :lol:

Back to topic,
I get the same error log you get ;)

-kwag

incredible 04-23-2004 04:35 PM

"Drücken Sie eine beliebige Taste . . ." = "Hit any key" :)

The VFAPI Codec is properly installed and lets me for example view via Vdub VFAPI avi files ... so the codec in my system works.

Heres my codecs.conf part of VFAPI

Code:

videocodec vfapi
  info "VFAPI Reader Codec v1.05"
  status untested
  fourcc VIFP
  driver vfw
  dll "codecs/VFCodec.dll"
  out YV12,YUY2


incredible 04-23-2004 05:07 PM

Well but as promised I do offer my 2 latest compiled AthlonXP builds, working well using VOBs and FFvfw MakeAvis.

They have been compiled in CygWin and are configured using
Code:

./configure --enable-largefiles --enable-static --confdir=mplayer/ --enable-win32
Afterwards compressed via UPX compr.Engine in CygWin.

The default codecs.conf was still set to FFvfw Makeavis but can be over-read in your on codecs.config file in the folder mplayer/

20040420 Release (1.530 kb)

and the very latest release from mplayerHQ ...
20040423 Release (1.599 kb)
(just compiled)

Packages are self extracting archives.

Cheers Inc.
:wink:

Jellygoose 04-25-2004 05:27 AM

So what would be the advantages of these 2 versions you posted over the one that comes with MencodeME package for instance?

I figure these versions are optimized for Athlon XP processors, so you will get more speed right? Are there any other differences? Do I need a codecs.conf file with these builds? sorriy for my ignorance inc. :oops:

rds_correia 04-25-2004 06:18 AM

Hi J3ll,
It all depends on how Inc. compiled his builds, but from what I've seen from Inc. since he likes to keep an open door for future codecs, he should have compiled it without the codecs.conf built in the executable thus needing an external codecs.conf file.
I take that for granted looking at Inc.'s error log a bit above this post.
Now I really would like to go Inc.'s way because we can go for any frameserver that suddenly comes up :wink:
In such sense I as Inc. need some help from yaz who left us here drooling ( :lol: ) until he shows up again saying how D2V sources can be used.
Imagine guys that still have FAT16 drives and can't go for FAT32/NTFS.
They need VOB files below 2Gb. The workaround with the type command pipped with mencoder is an option but it seems to deliver some bad info to mencoder thus producing bad ETAs and things like that.
So. Anybody has an ideia on how-to D2V to be configured on the codecs.conf? :D
Cheers

incredible 04-25-2004 07:12 AM

Quote:

Originally Posted by rds_correia
Imagine guys that still have FAT16 drives and can't go for FAT32/NTFS.

YEP! I do have NTFS BUT as you see there are also some advantages if we beside makeavis that "d2vSource.ax" and "vfapi codec.dll"

SO VFAPI provides RGB24

BUT which format xxxxxxx (codecs.conf) or which FourCC got tha d2v ??? To be recognised right by Mencoders??

@ Jell

I compiled these ones using Athlon XP optimisation AND codecs.conf integrated BUT I saw that if theres a condecs.conf in the mplayer folder Within whrre Mencoder.exe is stored ... the internal config settings will be over-readed .. so later cofdecs.conf changes would be recognised.

yaz 04-26-2004 03:02 AM

@all (waiting for me)
sorry to say, but i'm hit by my provider. my qoutes run over & i'm restricted ... for awhile. so i'm cut short.
just to make it more hard i did crashed my system with a careless registry cleaning, so i spent most of my time with system rehealing :-( (i dropped more than 600 entries so u can imagine)
- ffdshow now worx but ... it feeds flipped video (ye know, head over heel) .... dunno why. shows up good on when played, but flipped when served. flipvertical() is a solution but it's less 'elegant' :-(
- d2v not accepted anymore (???) neither directly nor when converted by vfapi (never done before, anyway) :-( however, the fourcc should be 'VIFP' when converted (at least, vfcodec.dll is registered in vidc.vifp). windos accepts it but mencoder kicks off. & yes, it serves rgb.
my suspect of former solution is tsunami's vfapi as it was installed before friday but i haven't tested it.
this d2v business is useful for ppl using fat where vobs are fragmented, so (imho) it'd be worth to make it available. on the other hand, feeding vobs with multiple streams may also dumb mencoder. the same for vobs not stripped properly (the good old trick of smartripper) so, be carful !

dunno whether it helps or not but ... that's all i got at the moment.
the bests
y (the careless undertaker :-()

incredible 04-26-2004 04:06 AM

Hi yaz! Nice to see you here again.

As you can see some posts above, I tried many things to get that vfcodec.dll recognised by mencoders decoding engine. Everything is set correctly in the system32 and in the registry (like when done like the ffvfw.dll as makeavis "avis" reader) :arrow: but still no luck with that vfcodec.dll!
I can read easly vfapi converter ceonverted d2v's using VirtualDub, so the codec is not the problem ... and its FASTER than makeavis!

The simple d2v input doesnt work ... shure as I dont know which FOurCC is used by .d2v or neither the Format values whch can be used instead of FourCC characters within the "codecs.conf" syntax/listing.

rds_correia 04-26-2004 04:17 AM

Hya all,
Maybe yaz is right and feeding mencoder with any fake avi/vob/whatever will make it do crazy stuff, but as he also said it could be worth testing as it may come handy for those that cannot leave FAT16 for instance.
The Mplayer/Mencoder documentation clearly states that they can make changes to the codecs.conf in order to read other video formats, but we have to know the correct fourcc...
What a mess.
Maybe I'll post at their cygwin/user forum to see if someone can help us here.
Cheers

Prodater64 04-26-2004 04:39 AM

Quote:

Originally Posted by yaz
this d2v business is useful for ppl using fat where vobs are fragmented, so (imho) it'd be worth to make it available. on the other hand, feeding vobs with multiple streams may also dumb mencoder. the same for vobs not stripped properly (the good old trick of smartripper) so, be carful !

Excuseme, but..., could you frameserve m2v across avs file (any mpeg2source, without any other filter if you don't want it) -> makeavis -> menconder?

incredible 04-26-2004 04:57 AM

m2v cant be directly served via Avisynth (maybe via dirctshowsource() but thats not the way!) ... load the m2v DIRECTLY into mencoder as it understands m2v (mpeg2 Element.Stream) ... if you want to filter via avisynth, do let run m2v via DVD2AVI and do the known way via mpeg2source() in avisynth and then perform a makeavis on that avs.


BTW: Yesterdy I encoded i.e. a very good clean DVD source (no filtering needed) via direct Vobinput into mencoder.exe :arrow: 63fps on 704x576! *lol*
(AthlonXP Overclocked to 2530mhz, 220fsb real)

Prodater64 04-26-2004 05:05 AM

Quote:

Originally Posted by incredible
m2v cant be directly served via Avisynth (maybe via dirctshowsource() but thats not the way!) ... load the m2v DIRECTLY into mencoder as it understands m2v (mpeg2 Element.Stream) ... if you want to filter via avisynth, do let run m2v via DVD2AVI and do the known way via mpeg2source() in avisynth and then perform a makeavis on that avs.

Sorry, but i misspelled I said m2v but I want to say d2v. (talking about your problem)

Quote:

Originally Posted by incredible
BTW: Yesterdy I encoded i.e. a very good clean DVD source (no filtering needed) via direct Vobinput into mencoder.exe :arrow: 63fps on 704x576! *lol*
(AthlonXP Overclocked to 2530mhz, 220fsb real)

Wow!!!

incredible 04-26-2004 05:15 AM

If you do not want any filters working in your just mpeg2source("xxx.d2v")-script, ..... then makeavis via aviynth makes no sense! As it takes cpu power while frameserving a source which mencoder on the other side could directly understand :arrow: the VOB ! (from which you generated the d2v file).

So if you got multiple VOBs and an NTFS filesystem, you can just merge the multiple vobs in a console window by

copy /b part1.vob + part2.vob + part3.vob + part4.vob total.vob

This "whole" total VOB finally will be encoded very fast in mencoder and will be as filetype understood DIRECTLY.


----------------------------------------------------

ALSO NICE TIP!: You dont need to demux the AC3's out of the total VOB! :arrow: Look for dspguru's downloadpage where the latest besweet beta now comes with a new ac3enc.dll and there you will also find a VOBinput.dll .... by this you can directly encode new AC3s out of the VOB audio Substreams in BesweetGUI!

Just load the IFO file from the movie incl. VTS into IfoEdit, see which VOB substream which audio language carries (0x81, 0x82....) and determine that substream in Besweet in the VOB Substream input window.


All times are GMT -5. The time now is 11:48 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.