fala70
User

Fresh Boarder
Posts: 1
graphgraph
 
Click here to see the profile of this user
Decode Encode stream using filter - 2008/04/15 14:23 Hi,
I am not expert about filters of DirectShow but I think can be a good solution for my project.

well I've the problem to decode and encode video data. I've my project in c# and I receive those video data via socket with my personal protocoll. Now I need to decode and reencode those data. For this I'd like to use filters graph and ffdshow, but I don't know from where start.

I've not a file, I've a byte stream buffer input and I need an other byte buffer output with a new format.

someone can help where start !

thanks
at all
Stefano
  | | No public write access. Please register.
Daniel
Admin

Admin
Posts: 44
graph
 
Click here to see the profile of this user
Re:Decode Encode stream using filter - 2008/04/17 14:14 It might be harder than you think.

You should start by writing a source filter (most likely in C++) for your protocol. Then feed this into ffdshow with the appropriate mediatypes and, finally, dump this to some filewriter filter (most likely something that implement the IFileSink interface).
  | | No public write access. Please register.
Joomla Template by Joomlashack
Joomla Templates by JoomlaShack Joomla Templates by Compass Design