Quote:
Originally Posted by frodo 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