PDA

View Full Version : X264 producing mpeg4 Asp


bratao
4th April 2006, 04:52
Hi,
I want to modific x264 to encode mpeg4-asp compatible videos...
I know c very good, but very low about video encoding. but im my mind with little modifications and if´s it possible..
Can anyone Help me in this task, with info like what h.264 have that make asp incompatible ?
i know that is a Dumb job, because Xvid is there, but i know nothing about video , and the best way is working on it..
My now list:
-Cabac(easy)
-Calv(easy)
-S.A.P players only support half pixel(hard)
-Inloop deblocking(normal)
-Trellis
-Croma m.e ??
But i have so many questions, like what the maroblock size in asp ?

thnks..

kotrtim
4th April 2006, 05:05
http://forum.doom9.org/showthread.php?t=96059

Well, have a read.... It's possible to make an asp codec to produce sp compatible but you cannot make a compatible asp for x264 as avc and asp is so different

If you are interested, LMP4 is the asp codec for fffmpeg while x264 is avc for ffmpeg

foxyshadis
4th April 2006, 05:34
Of course, you could always create your own frankenstein format with bits of both and modify your own decoders. Everything's GPL so no one's stopping you. xD Not that standalones would have a chance of playing it....

DarkZell666
6th April 2006, 17:46
Of course, you could always create your own frankenstein format
Triple LOL !! **Sorry for any disturbance caused by such a loud laugh ... XD** I like this :p

Let's get serious again shall we ? ;)

@bratao :
I like the idea, but I doubt it's technically feasible ... or even useful ...
Are you actually trying to do an hybrid codec producing an ASP compatible stream but with AVC's efficiency ? Or are you just trying to add ASP capability to x264 ? If it's the latter for sure it'll be rather easy. Otherwise ... good luck my friend ;)

sade
6th April 2006, 20:40
I think you would have to change so much that it would be easier to write one from scratch but for the record
-Trellisthrow it away. The current trellis code is CABAC only and since ASP has only huffman..
-Croma m.e ??
I think the whole me is one of the few thinks you dont have to modify(you can ignore the partitions asp doesn't have)

DeathTheSheep
8th April 2006, 05:34
you cannot make a compatible asp for x264 as avc and asp is so different
I think that says it best ;)
Without having an intimate knowledge of the code, there's no way for someone to know if this is even remotely possible :)

AVC is much different from ASP on nearly every level, or so I've heard. Supposedly, many internal compression algorithms are more efficient, etc...
XviD is claimed to be one of the "best" ASP codecs out there by metrics and Doom9 comparisons...and it's been around much longer than x264. IMO, I think a project designed for ASP, solely for ASP, and developed for a long time with the purpose of providing the best possible ASP quality, would probably have more of a shot than a "conversion" of a newer project focused entirely on a different standard, AVC.

Cheers!