{"action":"closed","issue":{"url":"https://api.github.com/repos/strands-project/aaf_deployment/issues/307","repository_url":"https://api.github.com/repos/strands-project/aaf_deployment","labels_url":"https://api.github.com/repos/strands-project/aaf_deployment/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/strands-project/aaf_deployment/issues/307/comments","events_url":"https://api.github.com/repos/strands-project/aaf_deployment/issues/307/events","html_url":"https://github.com/strands-project/aaf_deployment/issues/307","id":139273093,"number":307,"title":"recording of head and interaction camera not working","user":{"login":"marc-hanheide","id":1153084,"avatar_url":"https://avatars.githubusercontent.com/u/1153084?v=3","gravatar_id":"","url":"https://api.github.com/users/marc-hanheide","html_url":"https://github.com/marc-hanheide","followers_url":"https://api.github.com/users/marc-hanheide/followers","following_url":"https://api.github.com/users/marc-hanheide/following{/other_user}","gists_url":"https://api.github.com/users/marc-hanheide/gists{/gist_id}","starred_url":"https://api.github.com/users/marc-hanheide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc-hanheide/subscriptions","organizations_url":"https://api.github.com/users/marc-hanheide/orgs","repos_url":"https://api.github.com/users/marc-hanheide/repos","events_url":"https://api.github.com/users/marc-hanheide/events{/privacy}","received_events_url":"https://api.github.com/users/marc-hanheide/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-08T13:03:54Z","updated_at":"2016-03-22T15:07:32Z","closed_at":"2016-03-22T15:07:32Z","body":"the error message is \r\n\r\n```\r\n1457441743\t08/03/2016, 13:55:43\t/head_camera/video_recorder\tUnable to convert bgr8 image to bgr8\t/tmp/binarydeb/ros-indigo-image-view-1.12.15/src/nodes/video_recorder.cpp: 85\r\n1457441742\t08/03/2016, 13:55:42\t/interaction_camera/video_recorder\tUnable to convert bgr8 image to bgr8\t/tmp/binarydeb/ros-indigo-image-view-1.12.15/src/nodes/video_recorder.cpp: 85\r\n```\r\n\r\nSee source code here: http://docs.ros.org/jade/api/image_view/html/video__recorder_8cpp_source.html\r\n\r\n```\r\n    try\r\n00074     {\r\n00075       const cv::Mat image = cv_bridge::cvtColorForDisplay(cv_bridge::toCvShare(image_msg), encoding, use_dynamic_range, min_depth_range, max_depth_range)->image;\r\n00076       if (!image.empty()) {\r\n00077         outputVideo << image;\r\n00078         ROS_INFO_STREAM(\"Recording frame \" << g_count << \"\\x1b[1F\");\r\n00079         g_count++;\r\n00080       } else {\r\n00081           ROS_WARN(\"Frame skipped, no data!\");\r\n00082       }\r\n00083     } catch(cv_bridge::Exception)\r\n00084     {\r\n00085         ROS_ERROR(\"Unable to convert %s image to %s\", image_msg->encoding.c_str(), encoding.c_str());\r\n00086         return;\r\n00087     }\r\n```\r\n\r\ngoogling didn't help so far... any idea?"}}