rien / reStream

Stream your reMarkable screen over SSH.
MIT License
734 stars 56 forks source link

ffplay is not showing up even though reStream is capable of capturing a video with ffmpeg #44

Open tholzschuh opened 3 years ago

tholzschuh commented 3 years ago

I tried using reStream, but it didn't really work: First of all I couldn't use "10.11.99.1" for some reason but had to change everything to "192.168.178.47".

Then the ssh-copy-id for some reason didn't work. It didn't report any errors, but the remarkable didn't obtain a ~/.ssh/authorized_keys files. After I manually added my ssh key it worked though (I accidentally first used a ed25519 key, maybe that was why?).

Anyhow. While using the -o option to record my screen works fine, just plainly using the script won't open an ffplay player.

The script printed: `ffplay version 4.3.1 Copyright (c) 2003-2020 the FFmpeg developers built with gcc 9.3.0 (GCC) configuration: --disable-static --prefix=/nix/store/6rr3cb4fgd0bm54frnab9ay2d95ln38w-ffmpeg-full-4.3.1 --target_os=linux --arch=x86_64 --enable-gpl --enable-version3 --disable-nonfree --enable-shared --enable-pic --disable-small --enable-runtime-cpudetect --disable-lto --enable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --enable-ffmpeg --enable-ffplay --enable-ffprobe --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avresample --enable-avutil --enable-postproc --enable-swresample --enable-swscale --enable-doc --disable-htmlpages --enable-manpages --disable-podpages --disable-txtpages --enable-bzlib --enable-libcelt --enable-libdav1d --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --enable-libfribidi --enable-libgme --enable-gnutls --enable-libgsm --enable-ladspa --enable-libmp3lame --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdc1394 --enable-iconv --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmysofa --enable-libopus --enable-librsvg --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvmaf --enable-libvpx --enable-libwebp --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --enable-lzma --enable-nvenc --enable-openal --enable-libopencore-amrnb --disable-opengl --enable-libopenjpeg --disable-openssl --enable-libpulse --enable-librtmp --enable-sdl2 --enable-libsoxr --enable-libspeex --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-zlib --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping

libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 0 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
`

Any thoughts?

I used ffmpeg 4.3.1 on NixOS. ffplay itself is also working (it plays the video I captured with -o just fine)

lgm42 commented 3 years ago

Okay, for my part, I succeed creating a new certificate without any password and it works like a charm ! Thanks for the job !

SmartLayer commented 3 years ago

This is still a bug since one should be using stuff like ssh-agent to hold the key in memory instead of repeatedly asking the user for the passphrase of the key.