Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
hardware:raspi-vc [2020/05/18 10:51] – derpeter | hardware:raspi-vc [2020/07/15 10:13] – [read encoded video with gst and provide output via srt server] derpeter | ||
---|---|---|---|
Line 6: | Line 6: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
== gstreamer pipe gen srt mit kaputtem alsasrc-audio vom usb: | == gstreamer pipe gen srt mit kaputtem alsasrc-audio vom usb: | ||
Line 31: | Line 33: | ||
== Capture from UVC capture device and stream rtmp | == Capture from UVC capture device and stream rtmp | ||
+ | |||
+ | === video4linux | ||
gst-launch-1.0 | gst-launch-1.0 | ||
+ | |||
+ | === raspivid wrapper | ||
+ | gst-launch-1.0 rpicamsrc bitrate=5000000 | ||
+ | |||
+ | = read encoded video with ffmpeg from the cam | ||
+ | ffmpeg -f video4linux2 -input_format h264 -video_size 1920x1080 -framerate 30 -i /dev/video0 -vcodec copy -an test.h264 | ||
+ | |||
+ | = read encoded video with gst and provide output via srt server | ||
+ | gst-launch-1.0 rpicamsrc bitrate=8000000 ! video/ |