View Single Post
Old 2007-02-02, 09:37   #26 (permalink)
fabriceD06
Portal Member
 
Join Date: Jan 2007
Location: Nice
Age: 30
Posts: 123
Thanks: 4
Thanked 12 Times in 3 Posts

Country:

My System

Default

Quote:
Originally Posted by frodo View Post
2. c++ is not a problem,
The main problem i had with ffmpeg was that it was file based
What i would like is something like:
Code:
byte* transCoded=ffmpeg.transcode(byte* tspacket);
so i supply a mpeg-2 ts packet and get a transcoded mpeg-2 ts packet back

Frodo
After look the source code of ffmpeg server (the streaming server based on ffmpeg) i think it is possible but not easier, it necessary to create a helper class to intialize different context (AVFormat, etc..) and some input stream and output stream in wrapper.

Some time is necesary to write this helper

Fabrice
fabriceD06 is offline   Reply With Quote