Log in

View Full Version : Could someone make me a MEncoder binarie ?


Eastermeyer
16th March 2006, 10:25
Hi!

I would like to test the MPEG4 Codec written by skal.
You can find it in this page:
http://skal.planet-d.net/coding/sklmp4.html

But I am a noob at programming.
I quote the Homepage:

* The two interfacing files are ve_skl.c (encoding) and vd_skl.c (decoding). Put this files into /libmpcodecs directory, and edit the corresponding Makefile.
* Also copy the header file include/skl_mpg4_c.h into the same /libmpcodecs directory.
* Register the newly exported vf_info_t and vd_functions_t struct into ve.c and vd.c respectively.
* Hack a little more cfg-mencoder.h and mencoder.c, in order to add a new command line option. This should amount to adding the following code where applicable:
#define VCODEC_SKL 12
case VCODEC_SKL: sh_video->vfilter=vf_open_encoder(NULL,"skl",(char *)mux_v); break;
Hint: In fact, in order to hack mencoder.c, you should mimick XViD's codec code.
* Rebuild mplayer and mencoder binaries ... The final linking will have errors (Lots of)(It's my fault). => You must link with the static library libskl_syst.a.
* Also: use g++ for linking, not gcc!! My library is not a real ISO-C one: it (still) contains exception-handling code.
* Don't forget to edit your .mplayer/codecs.conf if you want to declare this new codec (or change the FourCC). Here is an example for the new codec decoding entry:

videocodec skl
info "SKL (MPEG-4)"
status working
fourcc DIVX,divx
fourcc xvid,XVID,XviD
fourcc mp4v
fourcc DX50
format 0x4
driver skl
out YV12
dll "libskl_syst.a"


I must admit this is not a very user-friendly process, but i can assure you it works ;)


Could someone make me a MEncoder binarie with skal's codec in it please ?

Eastermeyer
19th March 2006, 21:09
Nobody ? http://www.wsulink.com/htmlarea/images/smile_sad2.gif

Amnon82
20th March 2006, 01:41
I'll try it tomorrow ...

celtic_druid
20th March 2006, 15:05
Might be easier just to grab one of my old ffdshow plugin compiles. Drop it in your ffdshow dir and it should still work.

http://www.aziendeassociate.it/cd//ffdshow/plugins/skl_drv_mpg.7z

Eastermeyer
21st March 2006, 19:04
I thank you both.
It did not function unfortunately. And I am also not to be installed ready an older version.

Did you survive , Amnon82 ?
I last very gratefully if I would get it.

Amnon82
21st March 2006, 23:10
... I'm to busy :(

Selur
22nd March 2006, 10:33
And I am also not to be installed ready an older version.
laste release note for skals mpeg4 asp codec if from 03/04 so celticdruids build is probably up to date. ;)

btw. you did read that b-frames are not supported by the codec?

Cu Selur

celtic_druid
22nd March 2006, 14:27
As far as I know it was the latest, unless there was a new release recently.

What exactly didn't function about it? I just tried it with a current cvs ffdshow and it still seems to work 100% fine.

Eastermeyer
25th March 2006, 10:28
After a restart of my system i could use the codec with ffdshow and celtic_druid's dll.

The codec isn't that bad , you're talking about.

But for Batch-Processing , i recommend a MEncoder binarie like i wrote in the topic Title.

So i'm waiting , till amnon or anybody else survived , and i got it.

celtic_druid
25th March 2006, 19:01
http://mirror05.x264.nl/celtic_druid/force.php?file=./mencoder-skl.7z

Eastermeyer
25th March 2006, 20:37
Thank you!
You're my hero.

edit:

I think there is something wrong.
-sklopts is not an MEncoder option

celtic_druid
26th March 2006, 04:25
Yeah, I noticed that when patching. The page says -sklopts, but the ve_skl source says -sklencopts. I suppose I could have changed it the other way (sklencopts_conf to sklcopts_conf in ve_skl.c), but I didn't, so use -sklencopts.

Selur
31st March 2006, 13:27
@Estermeyer: remember to post your findings testings skals codec :)

Sirber
31st March 2006, 14:22
why not use xvid? :confused:

celtic_druid
31st March 2006, 15:12
I guess because lotso people have already tested XviD. Also iPod's and PSP's don't support b frames for MPEG-4 right? So it could be worth comparing for such a purpose?

Doesn't look like they have used it anyway. You know you go to all the trouble of compiling a special mencoder build, cooking dinner, cleaning the house and what do you get???