Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BartSte committed Jan 21, 2024
1 parent b8650cd commit a18d894
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,62 +415,8 @@ more information.
[docs](https://doc.qt.io/qt-6/linux-deployment.html) to run the app.
- [ ] Go through all the remaining dynamic libs using ldd and see which ones
can also be linked statically.

- [ ] FFMPEG?
Chatgpt help:

```
Here are some steps you can try to resolve the issue:
Ensure that the libavutil.a library is linked correctly with your
application. You can do this by checking the linker flags in your build
system.
Check that the version of the libavutil.a library matches the version of
the application. If there is a version mismatch, you may need to update the
library or the application.
Ensure that the hwcontext_vaapi.o file is present in the libavutil.a
library. If it is missing, you may need to recompile the library with the
hwcontext_vaapi.o file included.
```
- [x] Publish the directory tree as an archive as a release. Other more
sophisticated release methods can be used later.
- [ ] Test if it works on x11 and wayland.
- Wayland is fine
- When running on XWayland, and setting the QT_QPA_PLATFORM="xcb" the
program crashes (only in release mode). I will compile Qt6 in debug mode
an my app in RelWithDebInfo mode to see if I can get more information.
- Oke it does not always happen on xcb. When it does the following logs are
printed:
```
❯ build/bin/snapshot -g --loglevel debug
[2024-01-20 17:10:27.982] [debug] [: @ ] Loglevel: debug
[2024-01-20 17:10:27.982] [debug] [: @ ] Pattern: [%Y-%m-%d %H:%M:%S.%e] [%l] [%s:%# @ %!] %v
[2024-01-20 17:10:27.982] [debug] [: @ ] Compare potential stream rtsp:// to default
[2024-01-20 17:10:27.982] [debug] [: @ ] Compare potential stream udp:// to default
[2024-01-20 17:10:27.982] [debug] [: @ ] Compare potential stream http:// to default
[2024-01-20 17:10:27.982] [debug] [: @ ] Compare potential stream https:// to default
[2024-01-20 17:10:27.982] [debug] [: @ ] No valid stream found.
[2024-01-20 17:10:27.982] [debug] [: @ ] No file found.
[2024-01-20 17:10:27.987] [debug] [: @ ] Camera name: default
[2024-01-20 17:10:27.987] [info] [: @ ] Selecting default camera
[2024-01-20 17:10:27.987] [info] [: @ ] Camera created.
[2024-01-20 17:10:27.988] [debug] [: @ ] Starting video
[2024-01-20 17:10:28.029] [debug] [: @ ] formats: 11
[2024-01-20 17:10:28.029] [debug] [: @ ] resolution: 640x360
[2024-01-20 17:10:28.029] [debug] [: @ ] resolution: 1280x720
[2024-01-20 17:10:28.029] [debug] [: @ ] aspectRatio: 3.146875
[2024-01-20 17:10:28.029] [debug] [: @ ] Video state changed to Search
zsh: segmentation fault (core dumped) build/bin/snapshot -g --loglevel debug
```
lldb shows, when a crash occured, that the video object in the window is a
nullptr so that will have something to do with it.

- [ ] Cross compile for raspberry pi
- [ ] Segmentation fault when running --record without a camera being
Expand Down

0 comments on commit a18d894

Please sign in to comment.