Hi Robert,
Well the docs are better than when I first looked at ffmpeg a number of
years back ;-)
Well, it's hard to get some technical info from what docs there seem to
be. Things like what formats are supported read/write/readwrite, what
the "format strings" are for av_find_input_format, etc. I needed to go
to the code for those things (avformat/allformats.c).
I'm also wondering how to specify the actual format of an rtsp feed. I
have a URL of the form
rtsp://xx.xx.xx.xx:554/img/media.sav
and for ffmpeg to be able to read that, I need to set the format to
"rtsp", but I know that the video is actually in mpeg-4. ffmpeg doesn't
seem to automatically figure that out, because even though data is
transferred, no image shows up (I'm guessing the decoder can't read the
data it gets from the camera because it thinks it's in some other
format). Do I have some way of telling it "this is mpeg-4 over rtsp"?
I would have thought rtsp would be a protocol and not a codec, but
looking at avformat/allformats.c, it's set up as a "demuxer":
REGISTER_DEMUXER (RTSP, rtsp);
If you aren't using audio then I don't think the plugin does any sync.
Perhaps Tanguy can clarify this.
The camera does support audio, so I think I need to tell the plugin to
not use it somehow. Perhaps I could add an option "noaudio" in the
options string? Or is there already something for that?
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org