skip to main | skip to sidebar

I Didn't Know This Yesterday

Things that I didn't know until today. Generally of a work-related technical nature.

Thursday, 31 July 2008

To create a continuous pipe to stream a real-time video

At the server:


> mkfifo fifo.flv
> APPTOMAKEFLVFILE fifo.flv &
> netcat -l -p 1234 < fifo.flv

At the client

> netcat SERVERADDRESS 1234 | ffplay pipe:


In this case, the APPTOMAKEFLVFILE is compiled from the output_example.c file that comes with the ffmpeg download from http://ffmpeg.mplayerhq.hu/
Posted by LJ at 16:44

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2010 (4)
    • ►  July 2010 (1)
    • ►  April 2010 (1)
    • ►  March 2010 (1)
    • ►  January 2010 (1)
  • ►  2009 (4)
    • ►  November 2009 (1)
    • ►  September 2009 (1)
    • ►  May 2009 (1)
    • ►  January 2009 (1)
  • ▼  2008 (44)
    • ►  December 2008 (3)
    • ►  October 2008 (2)
    • ►  September 2008 (5)
    • ►  August 2008 (6)
    • ▼  July 2008 (12)
      • To create a continuous pipe to stream a real-time ...
      • To pipe data into ffplay over a network
      • Compiling against libavcodec
      • Blender real-time engine
      • stdout over IP
      • mkfifo
      • Streaming raw image data into Flash
      • BitmapData.copyChannel
      • Improving Z depth rendering in Away3D
      • Mapping flv video to geometry in Actionscript
      • Correcting texture distortion in Away3D
      • Javascript
    • ►  June 2008 (16)