New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test surround view falied #589
Comments
Have you installed (either build by source or installing the libraries) the X264 encoder? |
@Vankeee |
@Vankeee |
@zongwave then I renamed calib_results_front.txt to intrinsic_camera_front.txt |
@brmarkus You see the bold part, did I install the X264 encoder? |
@pennluo extrinsic_camera_front.txt record the camera's position and rotation information as below: #extrinsic fisheye camera calibration, positions in millimeters, rotations in degrees |
Maybe this helps: https://stackoverflow.com/questions/34024041/writing-x264-from-opencv-3-with-ffmpeg-on-linux |
Thanks! |
@brmarkus I still got "XCAM ERROR test-surround-view.cpp:625: parse fisheye dewarp info(idx:0) failed." |
@Vankeee |
@brmarkus @zongwave Hi |
@pennluo When I compiled,it turned out that : I searched some, it maybe something about opencv version. |
How do I convert a rotation matrix to Euler angles? |
@pennluo |
@Vankeee |
@pennluo |
@Vankeee can you share your extrinsic_camera_.txt and calib_results_.txt ? |
HI @Vankeee . an you share your extrinsic_camera_.txt, calib_results_.txt and RRfin? |
Here is my command:
test-surround-view --module soft --input0 1.yuv --input1 2.yuv --input2 3.yuv --input3 4.yuv --output output.mp4 --in-w 640 --in-h 540 --out-w 1920 --out-h 640 --topview-w 1280 --topview-h 720 --scale-mode dualconst --frame-mode multi --save true --save-topview true --loop 1
I ran it on ubuntu 16.04, opencv 3.3.1
It turned out that :
input0 file: 1.yuv
input1 file: 2.yuv
input2 file: 3.yuv
input3 file: 4.yuv
output file: output.mp4
input width: 640
input height: 540
output width: 1920
output height: 640
topview width: 1280
topview height: 720
scaling mode: dualconst
frame mode: multiframe
save output: true
save topview: true
loop count: 1
OpenCV: FFMPEG: tag 0x34363258/'X264' is not supported with codec id 28 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x00000021/'!???'
XCAM INFO test-surround-view.cpp:620: calibration config path:./calib_params/
XCAM WARNING calibration_parser.cpp:201: open intrinsic file(./calib_params//intrinsic_camera_front.txt) failed.
XCAM ERROR test-surround-view.cpp:152: parse intrinsic params (./calib_params//intrinsic_camera_front.txt)failed.
XCAM ERROR test-surround-view.cpp:625: parse fisheye dewarp info(idx:0) failed.
What‘s wrong? Sorry, I am a newbee.
The text was updated successfully, but these errors were encountered: