ogg_saver only works one time with my camera node without restarting
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 opennicamera node): the oggsaver 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.
Asked by Miguel Prada on 2011-08-01 02:02:50 UTC
Comments
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.
Asked by Asomerville on 2011-08-01 04:53:08 UTC
Not that I noticed. Any specific log file that I should check? I can upload the resulting file if it's of any help.
Asked by Miguel Prada on 2011-08-01 03:33:51 UTC
Any error messages?
Asked by Asomerville on 2011-08-01 03:25:52 UTC