PDA

View Full Version : x264 encoder directshow filter


j5
2nd July 2004, 11:12
Hi, I wrote a directshow filter to test x264 encoder.
ffdshow is good but seem like complex:)
If it make sense and x264 CVS go on,i will continue this.

http://www.sharesome.com/x264ds

based on x264 CVS 20040630
- built with Microsoft VS.net 2003 (with nasm)
- Inter and Intra Analyse feature enabled(no configuration yet)
- bitrates control not work (ask x264 question)
- DirectX 8.1+
- RGB24 Colorspace Input (other colorspace directx will transfer)
- Directshow Transform Filter
- Platform: Windows 2000 , Windows XP, Windows Server 2003 , Windows 98/Me ??
- Video Size: width(16n)x height(16m) (QCIF, CIF, SIF, etc.)
- Container: AVI Mux/Splitter, FOURCC("H264")
- Player: VideoLan VLC (not good, distort)
- Decoder: VideoSoft H264 Decoder Directshow Filter(good)
- test sequence and bitstream (FourCC"H264")



j5 <j5liu@sina100.com>

bond
2nd July 2004, 11:41
ok, first impression with a yv12 source via .avs: works great :)

now we only need x264 to handle advanced stuff like b-frames, a mp4 dshow muxer able to handle h.264 and a virtualdub-like video app based on dshow to make full use of dropping outdated technologies like vfw and avi ;)

RadicalEd
2nd July 2004, 19:28
Originally posted by bond
a mp4 dshow muxer able to handle h.264

x2 :O

stephanV
2nd July 2004, 19:48
you mean mp4 muxers cant handle h264 yet and avi can??? :devil:

BoNz1
2nd July 2004, 19:59
Originally posted by stephanV
you mean mp4 muxers cant handle h264 yet and avi can??? :devil:

It is evil isn't it :devil:

Originally posted by bond
a mp4 dshow muxer able to handle h.264


x3.

Also, maybe I missed it, but it would be great to have the source code for this directshow encoder too :).

bond
2nd July 2004, 20:08
avi can store any content for which a vfw encoder exists...
still this doesnt mean anything, whether the storage will work correctly (bframes-in-avi/vorbis-in-avi/vbrmp3-in-avi) is a totally different question...

as you might understand, mpeg is interested in making all their stuff workable 100% correctly, without the need for hacks, so avi is definitely not an option for them ;)
instead they define a whole sperate document (iso 14996-15), which defines an enhancement to the .mp4 container format (iso 14996-14), for being able to exploit _every_ existing feature mpeg-4 avc offers (without using hacks of course ;) )

Originally posted by BoNz1
Also, maybe I missed it, but it would be great to have the source code for this directshow encoder tooindeed, sources are a must

stephanV
2nd July 2004, 20:32
Originally posted by BoNz1
It is evil isn't it :devil:


i found it more ironic than anything else :p

anyway, i will shut up now ;)