Code Monkey home page Code Monkey logo

Comments (8)

TBSniller avatar TBSniller commented on June 4, 2024

Please try to use a greater capture resolution. E.g 720p and then go deeper

from piccap.

tavalin avatar tavalin commented on June 4, 2024

I've tried setting the capture resolution to 1280 x 720 through updating the height and width properties files and still get the same error when I run the command.

cat /var/luna/preferences/piccap_capture_width 
1280
cat /var/luna/preferences/piccap_capture_height 
720
/media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos_libvtcapture -a xxx.xxx.xxx.xxx
Init graphical capture..
HAL_GAL_Init done! Exit: 0
HAL_GAL_CreateSurface done! SurfaceID: 250
HAL_GAL_CaptureFrameBuffer done! 0
HAL_GAL: gfx open ok result: 14
Halgal done!
Init video capture..
Driver created!
vtCapture_init failed: 11
Quitting...
-- Quit called! --
[1]+  Stopped (signal)           /media/developer/apps/usr/palm/services/org.webosbrew.piccap.service/hyperion-webos_libvtcapture -a xxx.xxx.xxx.xxx

from piccap.

TBSniller avatar TBSniller commented on June 4, 2024

You actually have to run it with params, please see hyperion-webos_libvtcapture --help
Only piccap as frontend uses these configuration files to run the binary with the specified parameters

from piccap.

tavalin avatar tavalin commented on June 4, 2024

Ok. I'm not sure what's happened but I'm now receiving the capture in Hyperion. Runnning the command from the command line still results in a segmentation fault.

Is it possible that there are two instances of the piccap service trying to run concurrently?

from piccap.

TBSniller avatar TBSniller commented on June 4, 2024

Not really. The second instance just would crash.
But we have seen that very rare first a higher capture resolution is needed before you can use lower

Btw actually piccap is really only a frontend, which doesn't do anything other than running a new command (what youve also did) with the given parameters
So obviously you have to stop PicCap before you can execute hyperion-webos from terminal :)

from piccap.

tavalin avatar tavalin commented on June 4, 2024

Not really. The second instance just would crash.

Maybe this is what has been happening when I run it from the command line. Is there a way to disable/stop the piccap service from the command line?

from piccap.

TBSniller avatar TBSniller commented on June 4, 2024

pidof hyperion-webos_libvtcapture | xargs kill -TERM
Should do the trick

from piccap.

tavalin avatar tavalin commented on June 4, 2024

Thanks @TBSniller - I think the issue is that piccap had already started an instance of hyperion-webos_libvtcapture using perhaps the 360p args which resulted in problems. When I used the CLI to run hyperion-webos_libvtcapture it kept crashing.

Now that I've killed the previous instance of hyperion-webos_libvtcapture I am able to successfully run it again from the CLI.

Much appreciated for your assistance on this.

from piccap.

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.