Comments (1)
Okay, a little followup info -- I was finally able to get electricsheep to
render sheep on the screen. I found inspiration in this discussion -->
http://libav-users.943685.n4.nabble.com/Libav-user-got-picture-ptr-of-avcodec-de
code-video2-always-returns-0-for-a-particular-MTS-file-td4360493.html -- where
the advisor points out that the video in question contained "non-displayable"
(?) frames for which avcodec_decode_video2() returned 0 in the flag used to
indicate a valid video frame.
Thus I changed CContentDecoder::ReadOneFrame() method to repeatedly attempt to
get a valid frame (with a maximum of 10 attempts before giving up) and it turns
out that for some sheep, there are as many as 5 frames at the beginning that
have to be skipped before the first usable frame is obtained. However, there
are no other frames in that sheep that have to be skipped this way.
This makes me wonder why this happens -- is it a quirk of the codec used by
electricsheep or something? Also, what is the behavior of electricsheep on
other platforms? After all, this is shared code that should pretty much behave
the same way on all supported platforms. Can anyone say how it works on
Windows/Mac?
At any rate, this wasn't the only problem with electricsheep that prevents its
proper use. It seems that the input processing part is also somewhat broken
because when I run the screensaver via the command line, I cannot terminate it
from its window, even with Ctrl+C; I always have to go to the command line and
press Ctrl+C there. (Maybe the deprecation message mentioned in ticket #13 has
something to do with that.)
Original comment by [email protected]
on 9 Nov 2013 at 6:56
from electricsheep.
Related Issues (20)
- Mac - Windowserver
- ContentDecoder.cpp uses deprecated ffmpeg function calls HOT 20
- Imac- settings keep changing and sheep deleted
- DisplayOutput/OpenGL/glx.cpp:538:28: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated HOT 1
- Sheep will not install on leopard
- Pixelated images HOT 3
- After a few minutes, the video pauses and "es.scr stopped working" appears...
- screen saver log in HOT 2
- No Multi Monitor support on GNOME 3
- configure: WARNING: boost/thread.hpp: present but cannot be compiled
- libGL error: failed to load driver: swrast
- Cannot compile electricsheep under ubuntu 14.04
- Voting fails after fullscreen HOT 1
- When I try to run the program, (having downloaded a sheeps pack), all i get are short little images. HOT 1
- co 84 blows up HOT 5
- co 89 blows up
- [avi @ 0xXXXXX] max_analyze_duration reached HOT 5
- Make script does not properly install electricsheep under KDE HOT 2
- electricsheep-preferences does not run under *ubuntu HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electricsheep.