Giter VIP home page Giter VIP logo

vsmp-zero's People

Contributors

rec0de avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vsmp-zero's Issues

Display flashes but then nothing happens

PS.: I was a bit early with my question. I got it solved by setting

#define LIGHSENSE 0
#define HWACCEL 0

Everything is now working as intended! Thanks for you awesome project :-).
I would like to suggest to set defaults a bit more defensive i.e. deactivating lightsense and hardware acceleration by default.

Original Post:

I got every working so far, following closely your readme. vsmp gets compiled and I am able to start it:

$ sudo ./vsmp ../out.mkv 1
IT8951 initialized
FFmpeg init done
Display cleared

Dhe E-Ink Paper flashes black two times, but then nothing more happens. If you could provide some ideas how to debug this it would be highly appreciated!
For testing I have set

#define FRAMES_PER_HOUR 600
#define FRAME_STEP_SIZE 10

E-Ink product I use: "1872ร—1404, 7.8inch E-Ink display HAT for Raspberry Pi"
I use this file as sample: https://filesamples.com/formats/mkv (1080p)

Support for non-IT8951 displays

Hello,

thank you for sharing this project. I have a problem with this project though and don't know where to start searching.

Hardware: Raspberry Pi Zero WH, Waveshare 7,5" 800x480 V2 screen. (https://www.waveshare.com/wiki/7.5inch_e-Paper_HAT)
Software: I built ffmpeg from source on raspbian, installed the bcm2835 library and then compiled vsmp without problems.

ffmpeg output:

ffmpeg version N-102011-g098314e1e5 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 8 (Raspbian 8.3.0-6+rpi1)
  configuration: --extra-ldflags=-latomic --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree --extra-libs=-latomic
  libavutil      56. 73.100 / 56. 73.100
  libavcodec     58.136.101 / 58.136.101
  libavformat    58. 78.100 / 58. 78.100
  libavdevice    58. 14.100 / 58. 14.100
  libavfilter     7.111.100 /  7.111.100
  libswscale      5. 10.100 /  5. 10.100
  libswresample   3. 10.100 /  3. 10.100
  libpostproc    55. 10.100 / 55. 10.100
Hyper fast Audio and Video encoder

And i encoded a sample movie file using your ffmpeg settings, only changed the width to 800px. SPI is enabled and GPU memory raised to 128MB.

When i start vsmp, I get no further output besides this:

pi@vsmp:~/vsmp-zero $ sudo ./vsmp out.mkv
Attempting to read vsmp-index file
Resuming playback at frame 0

and then nothing. I don't get IT8951 initialized string in the output like i saw in other issues. If there is no vsmp-index file present, i get "Segmentation fault" output from vsmp. This is the same if I connect or disconnect the display, enable or disable hw acceleration or use the packaged ffmpeg from the official repo instead of custom built one.

Any help appreciated, thank you!

UPDATE I don't know if it's relevant but I get this when I build vsmp with DRYRUN 1:

sudo ./vsmp out.mkv
Attempting to read vsmp-index file
Resuming playback at frame 0
[NULL @ 0x3295080] No codec provided to avcodec_open2()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.