我有一個IP攝像機與RTSP流。我想用我的樹莓派作爲錄音機。這個想法是:openRTSP錄製與分段
- Pi正在開始;
- 啓動後,Pi應自動開始錄製流並使用h.264編解碼器保存;
- 當文件達到100MB或1小時時,Pi開始記錄它到一個新的;
但我不知道如何做到這一點?
我試圖使用命令:
openRTSP rtsp://user:[email protected]:554/cam/realmonitor -w 1280 -h 720 -f 15 -P 3600 -i /home/pi/nagrania/MyVdeoFFmpeg.avi
但我只收到:
Usage: openRTSP [-p <startPortNum>] [-r|-q|-4|-i] [-a|-v] [-V] [-d <duration>] [-D <max-inter-packet-gap-time> [-c] [-S <offset>] [-n] [-O] [-t|-T <http-port>] [-u <username> <password>] [-s <initial-seek-time>] [-z <scale>] [-w <width> -h <height>] [-f <frames-per-second>] [-y] [-H] [-Q [<measurement-interval>]] [-F <filename-prefix>] [-b <file-sink-buffer-size>] [-B <input-socket-buffer-size>] [-I <input-interface-ip-address>] [-m] <url> (or openRTSP -o [-V] <url>)
我做錯了什麼?使用任何參數都會導致顯示此提示。
我也試過VLC,但是我無法爲它設置分割,文件大小遞增太快。
我使用安裝了lates Raspbian的Raspberry Pi。
Thx,一旦我再次訪問服務器,我會盡快嘗試。 – Filip 2014-11-03 15:41:39