txt3rob
Posts: 365
Joined: Sat Aug 11, 2012 3:45 pm
Contact: Website

unable to start pi cam

Thu Oct 17, 2013 11:22 am

Code: Select all

pi@picam ~ $ raspivid -t -1 -w 960 -h 540 -fps 25 -b 500000 -vf -o - | ffmpeg -i - -vcodec copy -an -f flv -metadata streamName=myStream tcp://0.0.0.0:6666
ffmpeg version N-57213-g37d6b2b Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct 17 2013 00:26:24 with gcc 4.6 (Debian 4.6.3-14+rpi1)
  configuration:
  libavutil      52. 46.101 / 52. 46.101
  libavcodec     55. 37.100 / 55. 37.100
  libavformat    55. 19.102 / 55. 19.102
  libavdevice    55.  4.100 / 55.  4.100
  libavfilter     3. 88.101 /  3. 88.101
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.103 /  0. 17.103
pipe:: Invalid data found when processing input
any ideas?
The Raspberry Pi Hell Guy - Random Ramblings to assist me and others.
http://raspberrypihell.blogspot.com
My Github - http:/www.github.com/random-robbie/
http://www.smspi.co.uk - send free uk sms via your raspberry pi from here

txt3rob
Posts: 365
Joined: Sat Aug 11, 2012 3:45 pm
Contact: Website

Re: unable to start pi cam

Thu Oct 17, 2013 11:44 am

worked using

Code: Select all

raspivid -t 9999999 -w 480 -h 270 -fps 15 -b 500000 -vf -o - | ffmpeg -i - -vcodec copy -an -r 15 -f flv -metadata streamName=myStream tcp://0.0.0.0:6666
The Raspberry Pi Hell Guy - Random Ramblings to assist me and others.
http://raspberrypihell.blogspot.com
My Github - http:/www.github.com/random-robbie/
http://www.smspi.co.uk - send free uk sms via your raspberry pi from here

ethanol100
Posts: 648
Joined: Wed Oct 02, 2013 12:28 pm

Re: unable to start pi cam

Thu Oct 17, 2013 11:50 am

You can set unlimited recoding time with -t 0.

Return to “Camera board”