Code Monkey home page Code Monkey logo

Comments (11)

windyuan avatar windyuan commented on June 17, 2024 1

@arpu if you have png file. you can try gstreamer to convert to NV12.
gst-launch-1.0 filesrc location=in.png ! pngdec ! videoconvert ! video/x-raw, format=NV12 ! filesink location=out.nv12

if you have Ricoh Theta S camera. you can convert fisheye video mp4 to NV12 by
gst-launch-1.0 filesrc location=in.mp4 ! qtdemux ! avdec_h264 ! videoconvert ! video/x-raw, format=NV12 ! filesink location=out.nv12

from libxcam.

windyuan avatar windyuan commented on June 17, 2024

@liuyinhangx will follow up this issue.
what's your cmdline. any more details? we did not find this issue in last release.

from libxcam.

RomanArzumanyan avatar RomanArzumanyan commented on June 17, 2024

./test-image-stitching
--input /home/roman/Videos/input.nv12
--output /home/roman/Videos/output.mp4

Both input & output have default sizes (1920x1080 and 1920x960 corresp.)

from libxcam.

liuyinhangx avatar liuyinhangx commented on June 17, 2024

We can't reproduce this issue, could you let us know the opencv version and beignet version (or the latest commit id).

from libxcam.

RomanArzumanyan avatar RomanArzumanyan commented on June 17, 2024

OpenCV 3.2.0
Beignet commit a7dc7692a4f00f33c09a2ad5bc7b58bb9fdd43e5 on master

from libxcam.

windyuan avatar windyuan commented on June 17, 2024

do you have tools to check /home/roman/Videos/input.nv12 is a correct image? I'm thinking about is it possible input.nv12 is already corrupt.

from libxcam.

RomanArzumanyan avatar RomanArzumanyan commented on June 17, 2024

Hi,
Input isn't broken - actually it's attached to 1st message in thread (converted from nv12 to png).

from libxcam.

liuyinhangx avatar liuyinhangx commented on June 17, 2024

Hi, please try to set OCL_TILING to 0 in the terminal:
$ export OCL_TILING=0

from libxcam.

RomanArzumanyan avatar RomanArzumanyan commented on June 17, 2024

Hi,
Exporting solves the issue. Thanks a lot.

from libxcam.

arpu avatar arpu commented on June 17, 2024

hello i get some problems too can you upload the image as nv12? to test for me

from libxcam.

arpu avatar arpu commented on June 17, 2024

@windyuan thx for this hint! works

from libxcam.

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.