Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Andrey Utkin
2012/2/24 Dmitry Volyntsev xeioexcept...@gmail.com: I found out the answer by myself. May be it could be useful for other ffmpeg newbies. It is impossible to feed only rtp stream to libav for just depacketising purpose without establishing rtsp input by means of libav It is possible,

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Dmitry Volyntsev
OK, if so. May be I wrong. Could you, please, explain how can I integrate the libavformat rtsp protocol to my program, in case it already has own global event loop. Using libavformat in case of rtsp format leads to blockage of my event loop from time to time. Thanks you for answering On Fri, Feb

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Andrey Utkin
2012/2/24 Dmitry Volyntsev xeioexcept...@gmail.com: OK, if so. May be I wrong. Could you, please, explain how can I integrate the libavformat rtsp protocol to my program, in case it already has own global event loop. Using libavformat in case of rtsp format leads to blockage of my event loop

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Dmitry Volyntsev
Oh, my fault. I had to mention that I can't use threads and locking mechanisms for efficiency reasons (highloaded application). I need to make rtsp/rtp stream processing with least possible overhead. Event loop is libevent-based. But thanks you, again, for advices!:) I have no questions anymore

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-24 Thread Andrey Utkin
2012/2/24 Dmitry Volyntsev xeioexcept...@gmail.com: Oh, my fault. I had to mention that I can't use threads and locking mechanisms for efficiency reasons (highloaded application). I need to make rtsp/rtp stream processing with least possible overhead. Event loop is libevent-based. But thanks

Re: [Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-23 Thread Dmitry Volyntsev
I found out the answer by myself. May be it could be useful for other ffmpeg newbies. It is impossible to feed only rtp stream to libav for just depacketising purpose without establishing rtsp input by means of libav //! Demuxer will use avio_open, no opened file should be provided by the

[Libav-user] [libav-user] demuxing of incoming rtp stream by means of libavformat and custom IO

2012-02-17 Thread Dmitry Volyntsev
Hi All! I have a question related to demuxing of incoming rtp stream by means of libavformat. 1) My program has it own event loop (libevent) and I can't easily integrate libavformat routines to reading from udp and tcp sockets straightforwardly 2) I already wrote custom IO routines and RTSP