VLC syntax to transcode and stream to stdout?

About encoding, codec settings, muxers and filter usage
WillTower
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2016 18:38

VLC syntax to transcode and stream to stdout?

Postby WillTower » 06 Oct 2016 19:11

I am trying to transcode and stream a local video to stdout and play it back in an Adobe AIR/Flex app on the same machine. My purpose in this is to expand the video capabilities of my app beyond what Adobe AIR currently supports.

I have an extensive write up and example code on StackOverflow:
http://stackoverflow.com/questions/3985 ... -to-stdout

The gist is that I CAN stream to a local file and a valid .flv file is created. However when I stream to stdout, I get data coming into my app but it is not rendering as video for some reason, perhaps because the correct metaData header isn't being sent (but this metaData does get written to an .flv). This technique of reading byte data from stdout is a valid Adobe AIR technique and I am able to stream from ffmpeg into my app.

These are the commands I am using (and I have tried many variations):

Code: Select all

-I rc // remote control interface -vvv // verbose debuging --sout // transcode, stream to stdout "#transcode{vcodec=FLV1}:std{access=file,mux=ffmpeg{mux=flv},dst=-}"
Is there something obvious I am missing?

I don't want to clutter this question with too much detail so see my StackOverflow question or ask if you need more detail.
I am really stuck on this so any help would be much appreciated!

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 19 guests