[libav-tools] capture and stream to rtmp from a single source?
lu_zero at gentoo.org
Wed Dec 11 14:32:58 CET 2013
On 11/12/13 03:41, Jeremy Hansen wrote:
> 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?
Have a rtmp server somewhere (crtmpd is my current favourite) and
replace /pub/video/"$SHOW"_$TIME.mp4 with rtmp://serverhost/app/path/
(yes it is that simple)
More information about the libav-tools