[Ffmpeg-devel] rtp - mpeg ts open problem
Wed Oct 25 11:46:50 CEST 2006
On Wed, Oct 25, 2006 at 10:58:20AM +0200, Anders Moden wrote:
> Hi !
> I have written a rtp alike protocol for our distributed network. The packages sent on the network are the same packages as included in a rtp stream output from vlc (except for the header witch is not included).
> When I try to decode these packages, the av_open_input_file eats a lot of packages before it will success. After that everything runs smooth.
> I have added is_streamed=1 in the protocol "open" callback as well as stated a max_packet_size of 1316 bytes witch is the package size of the rtp data.
> Is there any flag I have missed in the context or what could cause the open to require so many packages before detecting correct formats ?
see av_find_stream_info() iam pretty sure thats what causes the delay
and feel free to send a patch to make the timeconsuming part optional
if there is no other simpler solution ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-devel