GithubHelp home page GithubHelp logo

took over my desktop about raspilive HOT 7 CLOSED

figuerres avatar figuerres commented on June 19, 2024
took over my desktop

from raspilive.

Comments (7)

figuerres avatar figuerres commented on June 19, 2024

running the command with stdout and stderr piped to log files allowed me to use control c to stop it.
i also can say that i had full video on my local screen.
when i tried to access the pi over the network from chrome it tried to play but just spun.... not sure what the problem is.
i did see that the stdout logging showed no errors and did show the code running.
stderr log was empty.

also the /home/user/camera folder is created and was beeing written to but linux tools installed do not play the files -- not sure what to do at this point.

from raspilive.

figuerres avatar figuerres commented on June 19, 2024

the pull request seems to be the same thing i have seen, i have an hdmi screen connected while i try to create the video server. this is hapening and does take over the desktop.
#23

from raspilive.

jaredpetersen avatar jaredpetersen commented on June 19, 2024

Hi @figuerres,

I normally use this software on a headless Raspberry Pi so I don't run into this problem. It sounds like a -n placed at the end of the array here and a version revision to 2.0.2 is all that's needed.

I would merge #23 but it makes two unnecessary changes that the author has neglected to resolve. If you submit a new pull request that adds that flag I'd happily accept it.

from raspilive.

figuerres avatar figuerres commented on June 19, 2024

i am investigating this issue and i am starting to think that something about ffmpeg on the pi is in error and that this might be an issue to resolve with the ffmpeg developers.

the -n or --nopreview are not in the ffmpeg info i have found so far.... i can't find this option.
also i ran a different command and had the same problem and was not able to make a -n do anything.

so if i find out what is up i will post here with any news.

i also saw another command that might get me what i need so if this ffmpeg is not a simple fix and the other way does what i want i may just go with something that works ....

right now i think your code is ok, i think this is an ffmpeg issue , perhaps even a new issue as i pulled the source and built it on my pi, so might be a new bug.

from raspilive.

jaredpetersen avatar jaredpetersen commented on June 19, 2024

Oh, interesting. My initial thought is that it's raspivid's fault. raspivid is the utility responsible for capturing video from the Raspberry Pi Camera Module and it has a bunch of pre-processing video options.

Here's the doc for raspivid: https://www.raspberrypi.org/app/uploads/2013/07/RaspiCam-Documentation.pdf

There's a section in there on the option -n, --no-preview:

Do not display a preview window
Disables the preview window completely. Note that even though
the preview is disabled, the camera will still be producing frames,
so will be using power.

This seems like a reasonable culprit. I don't think Ffmpeg has anything to do with opening display windows -- it's just a video processing tool.

from raspilive.

figuerres avatar figuerres commented on June 19, 2024

i think you are right, i am new at these camera and video utilities on linux and i did not see in your code that you call raspvid .... so i was only looking at ffmpeg options !

from raspilive.

jaredpetersen avatar jaredpetersen commented on June 19, 2024

This should be fixed now 😄

from raspilive.

Related Issues (20)

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.