koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.91k stars 237 forks source link

Raspberry pi: ffmpeg-linux-arm: Syntax error: newline unexpected #1399

Closed bondskin closed 3 months ago

bondskin commented 3 months ago

I see the following error messages constantly (it started a few days ago, most likely related to upgrade to 0.95.0):

[TheOffice] motion recording starting
[TheOffice] -hide_banner -analyzeduration 0 -probesize 2597786 -reorder_queue_size 0 -rtsp_transport tcp -f rtsp -i rtsp:[REDACTED] -vcodec copy -acodec copy -bsf:a aac_adtstoasc -movflags frag_keyframe+empty_moov+default_base_moof+skip_sidx+skip_trailer -f mp4 pipe:3
[TheOffice] motion recording started
[TheOffice] /home/pi/.scrypted/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-arm: 8: /home/pi/.scrypted/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-arm: Syntax error: newline unexpected

[TheOffice] motion recording completed Error: stream ended
[HDS ::ffff:192.168.2.147] Delegate finished streaming for 1 without setting RecordingPacket.isLast.         Can't notify Controller about endOfStream!
[HDS ::ffff:192.168.2.147] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.
[TheOffice] ffmpeg exited
unhandledRejection Error: 6
    at /@scrypted/homekit/main.nodejs.js:2:1088114
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[TheOffice] motion recording starting
[TheOffice] -hide_banner -analyzeduration 0 -probesize 3401679 -reorder_queue_size 0 -rtsp_transport tcp -f rtsp -i rtsp:[REDACTED] -vcodec copy -acodec copy -bsf:a aac_adtstoasc -movflags frag_keyframe+empty_moov+default_base_moof+skip_sidx+skip_trailer -f mp4 pipe:3
[TheOffice] motion recording started
[TheOffice] /home/pi/.scrypted/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-arm: 8: /home/pi/.scrypted/node_modules/@scrypted/ffmpeg-static/artifacts/ffmpeg-linux-arm: Syntax error: newline unexpected

[TheOffice] motion recording completed Error: stream ended
[HDS ::ffff:192.168.2.147] Delegate finished streaming for 1 without setting RecordingPacket.isLast.         Can't notify Controller about endOfStream!
[HDS ::ffff:192.168.2.147] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.
[TheOffice] ffmpeg exited
unhandledRejection Error: 6
    at /@scrypted/homekit/main.nodejs.js:2:1088114
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

Hardware Model (please complete the following information):

Client (please complete the following information, if applicable):

Additional context Add any other context about the problem here.

koush commented 3 months ago

armv7 not supported.

RomanGz commented 3 months ago

armv7 not supported.

WTH - Since what version?

koush commented 3 months ago

maintenance stopped on arm7 a year ago.

hugoj-goncalves commented 2 months ago

v0.93.0 works fine