Dear c/c++ people,
What I'm trying to do is something like that:
# wget http://server.com/my_mpeg_stream. mp4 | myprog -
so I can use my program (myprog), which is able to decode mp4 streams (file based only at the moment) , for decoding web streams as well.
Can someone tell me how to read from stdin, as it would be a mp4 file?
Or is there even a better solution?
Thanks Johann
What I'm trying to do is something like that:
# wget http://server.com/my_mpeg_stream. mp4 | myprog -
so I can use my program (myprog), which is able to decode mp4 streams (file based only at the moment) , for decoding web streams as well.
Can someone tell me how to read from stdin, as it would be a mp4 file?
Or is there even a better solution?
Thanks Johann
Comment