[libav-tools] capture and stream to rtmp from a single source?

Jeremy Hansen jeremy at skidrow.la
Wed Dec 11 03:41:43 CET 2013


Right now I’m using avconv to capture video from a BlackMagic Design Mini Recorder PCIe card.  This is working great.  My next step is to trying to stream live to a rtmp server (Using nginx and the rtmp module).  

Here’s my current command line:

bmdcapture -C 0 -m 14 -V 3 -A 2 -F nut -f pipe:1 | \
avconv -y -i - -c:v libx264 -c:a aac -ar 44100 -strict experimental -s 640x360 -b:a 160k /pub/video/"$SHOW"_$TIME.mp4

What would I have to do to stream to rtmp as well?

Thanks
-jeremy


More information about the libav-tools mailing list