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

Version 1.8.0 breaks FullyKiosk stream #694

Closed
mhoogenbosch opened this issue Oct 15, 2023 · 13 comments
Closed

Version 1.8.0 breaks FullyKiosk stream #694

mhoogenbosch opened this issue Oct 15, 2023 · 13 comments
Labels
bug Something isn't working
Milestone

Comments

@mhoogenbosch
Copy link

mhoogenbosch commented Oct 15, 2023

With 1.8.0 i can't get the fully kiosk stream running.

2023-10-15 14:51:04.586519447  16:51:04.586 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:http://127.0.0.1:1984/api/stream.mjpeg?src=wallboard#video=h264#hardware
2023-10-15 14:51:04.689826606  16:51:04.688 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:http://127.0.0.1:1984/api/stream.mjpeg?src=wallboard#video=h264#hardware
2023-10-15 14:51:04.821423024  16:51:04.821 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:http://127.0.0.1:1984/api/stream.mjpeg?src=wallboard#video=h264#hardware
2023-10-15 14:51:04.994968407  16:51:04.994 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:http://127.0.0.1:1984/api/stream.mjpeg?src=wallboard#video=h264#hardware
2023-10-15 14:51:05.126808500  16:51:05.126 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:http://127.0.0.1:1984/api/stream.mjpeg?src=wallboard#video=h264#hardware

Camera config inside frigate config file:

    wallboard:
      - http://192.168.22.201:2323/?cmd=getCamshot&password=password
      - "ffmpeg:http://127.0.0.1:1984/api/stream.mjpeg?src=wallboard#video=h264#hardware"

With version 1.7.1 and below it works fine.

Running Frigate on docker, added the AMD64 version. All other camera's work just fine btw.

@AlexxIT AlexxIT added the bug Something isn't working label Oct 15, 2023
@hertzg
Copy link

hertzg commented Oct 16, 2023

Can confirm the same issue with nearly identical configuration

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 17, 2023

Can check this on next week

@mhoogenbosch
Copy link
Author

If you need anything I can help with, eg logs or anything.

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 17, 2023

I think I can install Kiosk somewhere

@AlexxIT AlexxIT added this to the v1.8.2 milestone Oct 24, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Oct 28, 2023

Please show: WebUI > Add > Hardware

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 28, 2023

Oh. Very crazy issue. Problem with hardware transcoding MJPEG to H264 via VAAPI

  • ffmpeg 5 + kiosk snapshot + old go2rtc = works
  • ffmpeg 5 + kiosk snapshot + new go2rtc = doesn't work
    Failed to end picture encode issue: 24 (internal encoding error)
  • ffmpeg 5 + dahua snapshot + old go2rtc = doesn't works
    No usable encoding profile found
  • ffmpeg 6 + kiosk snapshot + any go2rtc = doesn't work
    Failed to end picture encode issue: 24 (internal encoding error)
  • ffmpeg 6 + dahua snapshot + any go2rtc = doesn't work
    No usable encoding profile found

@mhoogenbosch
Copy link
Author

Please show: WebUI > Add > Hardware

Don't know if it is still needed, but:

name url
OK ffmpeg:...#video=h264#hardware=vaapi
OK ffmpeg:...#video=h265#hardware=vaapi
OK ffmpeg:...#video=mjpeg#hardware=vaapi
ERROR ffmpeg:...#video=h264#hardware=cuda
ERROR ffmpeg:...#video=h265#hardware=cuda

@hertzg
Copy link

hertzg commented Oct 28, 2023

Same, output for me too

name url
OK ffmpeg:...#video=h264#hardware=vaapi
OK ffmpeg:...#video=h265#hardware=vaapi
OK ffmpeg:...#video=mjpeg#hardware=vaapi
ERROR ffmpeg:...#video=h264#hardware=cuda
ERROR ffmpeg:...#video=h265#hardware=cuda

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 30, 2023

I think problem fixed in the latest master version

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 30, 2023

Related to #366

@hertzg
Copy link

hertzg commented Nov 1, 2023

Confirmed working with the lastest master build, on mac, standalone. (don't have access to the frigate instance to fully test it).

@AlexxIT
Copy link
Owner

AlexxIT commented Nov 2, 2023

This may depend on ffmpeg version. But I think, fix should support 5 and 6 versions

@AlexxIT
Copy link
Owner

AlexxIT commented Nov 4, 2023

https://github.com/AlexxIT/go2rtc/releases/tag/v1.8.2

@AlexxIT AlexxIT closed this as completed Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants