ogg_saver only works one time with my camera node without restarting [closed]

asked 2011-08-01 02:02:50 -0600

Miguel Prada gravatar image

updated 2011-08-01 20:59:03 -0600

I'm trying to develop a web server that can stream the images from the theora transport. So far I have no issue with streaming from a ogg file, but I'm unable to do that from the live camera images yet.

Anyways, while working on this I've realized that the ogg_saver node doesn't quite work on my machine. It does seem to subscribe to the appropriate topic and it also does write something to a file.

  • Resulting file is suspiciously small (~50kB for 1 minute of video).
  • Resulting file doesn't play on any player I've tried.

Is anyone able to record a video with the ogg_saver node following the instructions here? Do you have any idea of what I might be doing wrong?

Update: I was running some more tests and it seems that the ogg_saver node is indeed working. The issue was caused by a node developed by me to publish images from a uEye camera. Details are:

  • The ogg_saver produces a correct video only the first time I run it after spawning the camera node.
  • Subsequent runs of the ogg_saver without restarting the camera node will produce a ogv file but this file will not play correctly.
  • This doesn't happen with other camera nodes (i.e. with the openni_camera node): the ogg_saver node can be run several times to record as many videos without needing to restart the camera node.

I guess this must be related to how the images are published on my uEye camera node, and not the ogg_saver node itself. Any idea of why this might happen will be welcome.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by kwc
close date 2012-02-29 07:51:01

Comments

Any error messages?
Asomerville gravatar image Asomerville  ( 2011-08-01 03:25:52 -0600 )edit
Not that I noticed. Any specific log file that I should check? I can upload the resulting file if it's of any help.
Miguel Prada gravatar image Miguel Prada  ( 2011-08-01 03:33:51 -0600 )edit
I was wondering more about console output. From my experience the log files are generally pretty useless. Someone might be able to do something with the file, but I wouldn't upload unless someone specifically thinks it might be useful.
Asomerville gravatar image Asomerville  ( 2011-08-01 04:53:08 -0600 )edit