Hi Luca, Thanks for checking, this confirms 100% that the problem was a library issue. This is rather curious since I downloaded ffmpeg from repository and built it myself. Maybe there's something wrong in the build scripts. I'll take a look.
C On Tue, Jun 23, 2009 at 6:34 AM, Luca Abeni <[email protected]> wrote: > Hi, > > Cuneyt Taskiran wrote: > >> Luca, >> Thanks for your help offer. What's really maddening about this problem is >> that the command line ffmpeg works, i.e. I can receive MPEG 2 TS data and >> save it to a file. But the API open file call hangs. >> >> The UDP address I'm using is behind a firewall so I cannot easily make >> that >> accessible. However, if you have VLC, you can start a UDP stream with >> vlc -vvv <video filename to broadcast> --sout <UDP address to broadcast> >> -ttl 12 >> > > I confirm that your program works here: > l...@nowhere:/tmp$ ./a.out udp://224.20.30.40:20000 > Registered file formats and codecs > Input name: udp://224.20.30.40:20000 > opened input > Input #0, mpegts, from 'udp://224.10.20.30:20000': > Duration: N/A, start: 91566.891267, bitrate: 104921 kb/s > Program 1 > Stream #0.0[0x44]: Video: mpeg2video, yuv420p, 320x240 [PAR 1:1 DAR > 4:3], 104857 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc > Stream #0.1[0x45]: Audio: mp2, 22050 Hz, 1 channels, s16, 64 kb/s > (well, the vlc command line you posted does not work, but I managed to use > the "streaming wizard" or whatever is the name ;-). > > The problem you are seeing is probably due to the library link problem you > posted in the following emails. > > > > Luca > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
