[FFmpeg-user] Streaming video over wifi network

Hema A hema.angamuthu at gmail.com
Wed Nov 2 11:48:34 CET 2011


Hi,

I am trying to encode and stream mpeg4 video using RTP to a vlc player.
When tested on X86 platform, the streaming is successful over wired network
(LAN). But when ported the same application on Android and tried to stream
over wifi, i get the following error in line;

url_fopen(&rtpctx->pb, rtpctx->filename, URL_WRONLY);

The function return -2 which seems to be ENOENT [possible call for
AVERROR(ENOENT)]

The inputs to url_fopen are;
rtpctx = This is the rtp format context [AVFormatContext]
rtpctx->filename = url address Eg: rtp://192.168.1.133:5004

Please suggest if any changes are required for url_fopen() especially over
the wifi network.

Thanks,
Hema


More information about the ffmpeg-user mailing list