[FFmpeg-devel] [PATCH] url_split() ipv6 support

Andreas Öman andreas
Thu Sep 27 20:56:45 CEST 2007


Ronald S. Bultje wrote:
> Hi,

> Appears to work as before, the ipv6 ones fail, the rest works. Once in, the
> next patch will again fix the ipv6 ones.

Not entirely perfect though.

$ ./ffmpeg -i http://lonelycoder.com/hd/test_smp_fox.ts

(A not very uncommon url-format :-)

http://lonelycoder.com/hd/test_smp_fox.ts: I/O error occured
Usually that means that input file is truncated and/or corrupted.

but this works:

$ ./ffmpeg -i http://lonelycoder.com:80/hd/test_smp_fox.ts

Input #0, mpegts, from 'http://lonelycoder.com:80/hd/test_smp_fox.ts':
   Duration: 00:00:04.0, start: 81503.373822, bitrate: 14678 kb/s
   Stream #0.0[0x3ff]: Video: h264, yuv420p, 1920x1088, 25.00 fps(r)
   Stream #0.1[0x403]: Audio: 0x0000, 48000 Hz, 5:1, 448 kb/s
   Stream #0.2[0x20]: Audio: 0x0000

More information about the ffmpeg-devel mailing list