[Libav-user] using stdout for output stream

Arash Cordi arash.cordi at gmail.com
Tue May 22 14:42:53 CEST 2012


hi all,

i want to send output stream data to stdout but url_fopen() only accepts
file path

when i try this:

if (url_fopen(&oc->pb, "/dev/stdout/", URL_WRONLY) < 0) {
                fprintf(stderr, "Could not open '%s'\n", outfile);
                exit(1);
            }

i get an error

is there another way to get a ByteIOContext pointing to stdout?

thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120522/bb2187cd/attachment.html>


More information about the Libav-user mailing list