Добрый день.
нужно сделать перекодирование видеопотока с IP-камеры Foscam FI9805E и отдавать по http://IP:port, поднята виртуалка под Vmware, версия OS:
root@iPerf:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie)
Release: 8.7
Codename: jessie
формат команды задаю примерно такой: cvlc -vvv rtsp://login:pwd@10.240.10.10:88/videoMain --rtsp-frame-buffer-size=200000 --sout '#transcode{vcodec=h264,vb=2000,scale=1,width=640,height=480}:http{mux=asf,dst=0.0.0.0:1234}'
при выводе выдает такое сообщение (c дебагом gdb):
[00007fffe400b678] avcodec generic debug: available hardware decoder output format 53 (vaapi_vld)
[00007fffe400b678] avcodec generic debug: available hardware decoder output format 109 (vdpau)
[00007fffe400b678] avcodec generic debug: available software decoder output format 0 (yuv420p)
[00007fffe4004e58] core generic debug: looking for hw decoder module matching «none»: 4 candidates
[00007fffe4004e58] core generic debug: no hw decoder modules matched
[00007fffe400b678] avcodec generic debug: enabling direct rendering
[00007fffd44c9388] stream_out_transcode stream out debug: decoder aspect is 1,327801:1
[00007fffd44c9388] stream_out_transcode stream out debug: source pixel aspect is 0,995851:1
[00007fffd44c9388] stream_out_transcode stream out debug: scaled pixel aspect is 0,995851:1
[00007fffd44c9388] stream_out_transcode stream out debug: source 640x480, destination 640x480
[00007fffd44c9388] stream_out_transcode stream out debug: source fps 0/0, destination 25/1
Исключение в операции с плавающей точкой
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fffe81c3700 (LWP 19267)]
0x00007fffd39ed5b6 in ?? () from /usr/lib/vlc/plugins/stream_out/libstream_out_transcode_plugin.so
(gdb)
vlc ставил с обычного репо, (VLC media player - 2.2.7 Umbrella)
видеоадаптер виртуалки:
root@iPerf:~# lspci -v -s 00:0f.0
00:0f.0 VGA compatible controller: VMware SVGA II Adapter (prog-if 00 [VGA controller])
Subsystem: VMware SVGA II Adapter
Flags: bus master, medium devsel, latency 64, IRQ 16
I/O ports at 1070 [size=16]
Memory at ec000000 (32-bit, prefetchable) [size=64M]
Memory at fe000000 (32-bit, non-prefetchable) [size=8M]
[virtual] Expansion ROM at 40000000 [disabled] [size=32K]
Capabilities: [40] Vendor Specific Information: Len=00 <?>
Kernel driver in use: vmwgfx
на моем рабочем компе с 27 федорой все работает без проблем. подскажите куда копать?