Hi,
Thank you so much for taking your time to reply to me.
I am afraid I am not explaining myself properly. My knowledge is limited to C#.
I can create a Process within my C# Winform App.
I have this 1st) process:
-f mjpeg -r 30 -i pipe:0 -c:v libtheora -q:v 7 -r 30 -f ogg pipe:1
I supply a byte array for pipe:0 from images (1 after another) until there are no more.
The pipe:1 gives me an output byte array that if I choose to write to a binary file would give me an OGG formatted file which I have tested and played with VLC.
I want to know if I could reverse this procedure. namely, extracting the original jpegs fron this OGG which is still within my running app as a byte array.
These arguments will work but the stdput are jpegs written to my hard drive:
-i pipe:0 -qscale 1 h:\out\img-%05d.jpg
What I am after is to replace ‘h:\out\img-%05d.jpg’ with something like:
{jpeg format} pipe:1
If I knew if this was possible and was given the correct arguments then I would be able to capture the byte array back in jepg formats (where I would use the hex values of the header of a jpeg to delineate the individual ‘frames’) .
I do not even know if it is possible and I cannot find anything related to this scenario by searching the Web.
The only output I have got from several guess is ‘pipe closed’.
A typical guess would be:
-i pipe:0 -qscale 1 -f mjpeg pipe:1
Thanks for your time