Jean-Sébastien Guay wrote:
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"?

Sorry, I didn't answer this part. In your case, RTSP is going to be a container (demuxer, as you found out), containing interleaved elementary streams of audio and/or video (just like an .avi, .mpg, or .ogg file).

Once you enumerate the streams (av_find_stream_info() ), you'll then be able to instantiate the codec to decode them.

--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to