-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
I keep getting this error when I try run reSnap.sh. I am working with a mac and a remarkable 2, running software version 3.16.2.3.
% ./reSnap.sh
ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers
built with Apple clang version 16.0.0 (clang-1600.0.26.4)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1_4 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
libavutil 59. 39.100 / 59. 39.100
libavcodec 61. 19.100 / 61. 19.100
libavformat 61. 7.100 / 61. 7.100
libavdevice 61. 3.100 / 61. 3.100
libavfilter 10. 4.100 / 10. 4.100
libswscale 8. 3.100 / 8. 3.100
libswresample 5. 3.100 / 5. 3.100
libpostproc 58. 3.100 / 58. 3.100
[rawvideo @ 0x134e05740] Packet corrupt (stream = 0, dts = 0).
Input #0, rawvideo, from 'fd:':
Duration: N/A, start: 0.000000, bitrate: 1051315 kb/s
Stream #0:0: Video: rawvideo (Y1[0][16] / 0x10003159), gray16le, 1872x1404, 1051315 kb/s, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> png (native))
[in#0/rawvideo @ 0x600002648100] corrupt input packet in stream 0
[rawvideo @ 0x134e07b00] Invalid buffer size, packet size 1126393 < expected frame_size 5256576
[vist#0:0/rawvideo @ 0x134e05e60] [dec:rawvideo @ 0x134e06db0] Error submitting packet to decoder: Invalid argument
[vist#0:0/rawvideo @ 0x134e05e60] [dec:rawvideo @ 0x134e06db0] Decode error rate 1 exceeds maximum 0.666667
[vist#0:0/rawvideo @ 0x134e05e60] [dec:rawvideo @ 0x134e06db0] Task finished with error code: -1145393733 (Error number -1145393733 occurred)
[vist#0:0/rawvideo @ 0x134e05e60] [dec:rawvideo @ 0x134e06db0] Terminating thread with return code -1145393733 (Error number -1145393733 occurred)
[vf#0:0 @ 0x134e071e0] No filtered frames for output stream, trying to initialize anyway.
Output #0, image2, to '/tmp/reSnap/snapshot_2025-01-16_19-02-30.png':
Metadata:
encoder : Lavf61.7.100
Stream #0:0: Video: png, rgb24(progressive), 1404x1872, q=2-31, 200 kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc61.19.100 png
[out#0/image2 @ 0x600002f4c000] video:0KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
[out#0/image2 @ 0x600002f4c000] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A speed=N/A
Conversion failed!
feh WARNING: /tmp/reSnap/snapshot_2025-01-16_19-02-30.png does not exist - skipping
feh: No loadable images specified.
See 'man feh' for detailed usage information
Some inspection suggested that the memory map after /dev/fb0 is just too small to be the frame buffer, ranging from addresses 6fe00000-6ff00000.
The relevant lines of the map file:
6dcdc000-6e642000 rw-p 00000000 00:00 0
6e642000-6fe00000 rw-s a9d00000 00:06 1138 /dev/fb0
6fe00000-6ff00000 rw-p 00000000 00:00 0
jli
Metadata
Metadata
Assignees
Labels
No labels