Page 1 of 1

Floating point exception ,when transcode with Pi2

Posted: 05 Dec 2016 07:25
by anuo
I am using a raspberryPi 2.I want to stream the video of camera to network.

the command below work well:
raspivid -w 240 -h 135 -o - -t 0 |cvlc -v stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8081}' :demux=h264

I want to stream ogg,I must transcode,but the command below can't work:
raspivid -w 240 -h 135 -o - -t 0 |cvlc -v stream:///dev/stdin --sout '#transcode{vcodec=theo,vb=500,acodec=none}:std{access=http,mux=ogg,dst=10.0.0.11:8081}' :demux=h264

I changed mux mp4 ,and vcodec mp4v,the result is same.
I got message:Floating point exception

where is the problem?someone can help me?Thanks!

Re: Floating point exception ,when transcode with Pi2

Posted: 06 Dec 2016 02:10
by Jean-Baptiste Kempf
Floating point exception is usually a device by 0. Can you force the fps, by any chance?

Re: Floating point exception ,when transcode with Pi2

Posted: 06 Dec 2016 05:19
by anuo
Floating point exception is usually a device by 0. Can you force the fps, by any chance?
thank you!

I tried to set fps 25 or 15 ,I got "Floating point exception" too :cry:

raspivid -w 240 -h 135 -o - -t 0 |cvlc -v stream:///dev/stdin --sout '#transcode{vcodec=theo,vb=500,acodec=none,fps=25}:std{access=http,mux=ogg,dst=:8081/ogg}' :demux=h264

Re: Floating point exception ,when transcode with Pi2

Posted: 07 Dec 2016 00:33
by Jean-Baptiste Kempf
Ok, then we need a backtrace.