ffmpegdirectshowflash-media-serverflashmedialiveencoder

ffmpeg always passes the video through directshow?


ffmpeg always passes the video through directshow?

I need to get a streaming video that came from a ip camera, and pass it to directshow. I'm using ffmpeg to get this video, and I'd like know if on windows, everything that ffmpeg makes use the directshow?

Iknow how can I get a movie in rstp protocol, but I don't know how can I output it to directshow.

If true how can I get a movie, read it and pass the output to directshow?

Thanks.


Solution

  • ffmpeg is a self-contained compression/decompression tool/library, it does not use directshow by default, however you can configure it so that it uses directshow (via avisynth), and it can also be used with directshow-based applications, (ffdshow filter).

    In order to capture a rtsp stream using directshow I would suggest to use a rtsp source filter, you can find one here.

    For further understanding of the whole process I would suggest following a few directshow tutorials as a preliminary step.

    Edit:

    According to comments, it seems to me that you need a directshow source filter that can be used inside Flash Media Encoder. I do not know about any (free)filter for this, but there are comments here and here about how to deal this problem.