Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout bei Zugriff auf ffmpeg Testpfad #130

Open
mcuiobroker opened this issue Sep 2, 2023 · 2 comments
Open

Timeout bei Zugriff auf ffmpeg Testpfad #130

mcuiobroker opened this issue Sep 2, 2023 · 2 comments
Labels
question Further information is requested

Comments

@mcuiobroker
Copy link

Timeout wird nach ca 5-10 Sekunden angezeigt, wenn man auf Tespfad für ffmpeg klickt.
ffmpeg wurde installiert.
sudo apt install ffmpeg -y

image

image

ffmpeg ist vorhanden

prox@iobrokerPROD:/usr/bin$ dir ffmpeg
ffmpeg
@GermanBluefox
Copy link
Contributor

Please enable debug log. In this log you will see which ffmpeg command will be executed, like:
ffmpeg -y -rtsp_transport udp -i rtsp://admin:******@192.168.178.150:554/stream=1 -loglevel error -vframes 1 /opt/iobroker/ioBroker.cameras/snapshots/192_168_178_150.jpg

When you execute this command on CLI, you should get the jpg. Only in this case adapter can get the snapshot. Elsewise your rtsp parameters are invalid

@GermanBluefox GermanBluefox added the question Further information is requested label Sep 27, 2023
@mcuiobroker
Copy link
Author

Debug-Log nach Klick auf Testpfad

cameras.0
2023-10-15 21:02:07.158	warn	TypeError: rtsp.executeFFmpeg is not a function at processMessage (/opt/iobroker/node_modules/iobroker.cameras/main.js:191:22) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.cameras/main.js:33:34) at Adapter.emit (node:events:514:28) at Adapter.emit (node:domain:489:12) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5831:34) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:322:37) at processImmediate (node:internal/timers:476:21)

cameras.0
2023-10-15 21:02:07.093	warn	States system pmessage io.messagebox.system.adapter.cameras.0 {"command":"ffmpeg","message":{"path":"/usr/bin/ffmpeg"},"from":"system.adapter.admin.0","callback":{"message":{"path":"/usr/bin/ffmpeg"},"id":31,"ack":false,"time":1697396527092},"_id":86131552} rtsp.executeFFmpeg is not a function

cameras.0
2023-10-15 21:00:48.545	debug	Snapshot from 192.168.178.137. Done!

cameras.0
2023-10-15 21:00:46.785	debug	Executing /usr/bin/ffmpeg -y -i rtsp://admin:*****@192.168.178.137:554/live/ch0 -loglevel error -vframes 1 /opt/iobroker/node_modules/iobroker.cameras/snapshots/192_168_178_137.jpg

Das Bild wird gespeichert und ist auch ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants