Hi,
Cuneyt Taskiran wrote:
I am trying to read Multicast MPEG-2 TS data from the URI udp://
225.1.1.14:5014. I can display the video from this URI using VLC.
[...]
However, when I try to open the same URI from my program,
av_open_input_file() hangs with no error messages. Here's what I have:
av_register_all();
printf("Input name: %s\n", input_filename);
if( av_open_input_file(&pFormatCtx, input_filename, NULL, 0, NULL) != 0
) {
fprintf(stderr, "could not open input: %s!\n", input_filename);
return -1;
}
I can't see what can be wrong with the code. Should I be using
av_open_input_stream() instead?
If you provide an easy way to reproduce the problem you are seeing
(sample code that compiles, and a URL that does not work - or a way to
generate a network stream that does not work), I'll try to have a look
at this problem.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user