Last active
August 29, 2015 14:02
-
-
Save Technicus/c143b782b0678edb3d8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/bash | |
raspivid -t 9999999 -w 960 -h 540 -fps 25 -b 500000 -o - | ffmpeg -i - -vcodec copy -an -metadata title="Streaming from raspberry pi camera" -f flv [url]/[id] | |
Output: | |
$ ./stream_start | |
ffmpeg version 0.8.10-6:0.8.10-1+rpi1, Copyright (c) 2000-2013 the Libav developers | |
built on Mar 22 2014 02:13:15 with gcc 4.6.3 | |
*** THIS PROGRAM IS DEPRECATED *** | |
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. | |
[h264 @ 0x2af660] max_analyze_duration reached | |
[h264 @ 0x2af660] Estimating duration from bitrate, this may be inaccurate | |
Seems stream 0 codec frame rate differs from container frame rate: 2400000.00 (2400000/1) -> 25.00 (25/1) | |
Input #0, h264, from 'pipe:': | |
Duration: N/A, bitrate: N/A | |
Stream #0.0: Video: h264 (High), yuv420p, 320x240, 25 fps, 25 tbr, 1200k tbn, 2400k tbc | |
Output #0, flv, to '[url]/[id]': | |
Metadata: | |
title : Streaming from raspberry pi camera | |
encoder : Lavf53.21.1 | |
Stream #0.0: Video: libx264, yuv420p, 320x240, q=2-31, 1k tbn, 1200k tbc | |
Stream mapping: | |
Stream #0.0 -> #0.0 | |
Press ctrl-c to stop encoding | |
^Cmmal: Aborting program.0 size= 281kB time=10000000000.00 bitrate= 0.0kbits/s | |
frame= 250 fps= 59 q=-1.0 Lsize= 302kB time=10000000000.00 bitrate= 0.0kbits/s | |
video:296kB audio:0kB global headers:0kB muxing overhead 1.760365% | |
Received signal 2: terminating. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment