[Ffmpeg-devel] rtp - mpeg ts open problem

Anders Moden ffmpeg
Wed Oct 25 10:58:20 CEST 2006


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 ?

/Anders 




More information about the ffmpeg-devel mailing list