fork(1) download
  1. 1) ffplay udp://127.0.0.1:10000
  2. 2) ffmpeg -i file.wav -f mpegts udp://127.0.0.1:10000
  3.  
  4.  
  5. output from ffplay:
  6.  
  7. ffplay udp://127.0.0.1:10000 0B f=0/0
  8. ffplay version 0.10.3 Copyright (c) 2003-2012 the FFmpeg developers
  9. built on May 6 2012 08:49:39 with gcc 4.6.3
  10. configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/i386-linux-gnu
  11. libavutil 51. 35.100 / 51. 35.100
  12. libavcodec 53. 61.100 / 53. 61.100
  13. libavformat 53. 32.100 / 53. 32.100
  14. libavdevice 53. 4.100 / 53. 4.100
  15. libavfilter 2. 61.100 / 2. 61.100
  16. libswscale 2. 1.100 / 2. 1.100
  17. libswresample 0. 6.100 / 0. 6.100
  18. libpostproc 52. 0.100 / 52. 0.100
  19. [mpegts @ 0x8cfd220] Unable to seek back to the start
  20.  
  21. output from ffmpeg:
  22.  
  23. ffmpeg -i bugsbunny1.wav -f mpegts udp://127.0.0.1:10000
  24. ffmpeg version 0.10.3 Copyright (c) 2000-2012 the FFmpeg developers
  25. built on May 6 2012 08:49:39 with gcc 4.6.3
  26. configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libdirac --disable-decoder=libdirac --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/i386-linux-gnu
  27. libavutil 51. 35.100 / 51. 35.100
  28. libavcodec 53. 61.100 / 53. 61.100
  29. libavformat 53. 32.100 / 53. 32.100
  30. libavdevice 53. 4.100 / 53. 4.100
  31. libavfilter 2. 61.100 / 2. 61.100
  32. libswscale 2. 1.100 / 2. 1.100
  33. libswresample 0. 6.100 / 0. 6.100
  34. libpostproc 52. 0.100 / 52. 0.100
  35. Input #0, wav, from 'bugsbunny1.wav':
  36. Duration: 00:00:04.29, bitrate: 88 kb/s
  37. Stream #0:0: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11025 Hz, 1 channels, u8, 88 kb/s
  38. [NULL @ 0x845c320] Requested sampling rate unsupported using closest supported (16000)
  39. Incompatible sample format 'u8' for codec 'mp2', auto-selecting format 's16'
  40. [mpegts @ 0x844e800] muxrate VBR, pcr every 1 pkts, sdt every 200, pat/pmt every 40 pkts
  41. Output #0, mpegts, to 'udp://127.0.0.1:10000':
  42. Metadata:
  43. encoder : Lavf53.32.100
  44. Stream #0:0: Audio: mp2, 16000 Hz, 1 channels, s16, 128 kb/s
  45. Stream mapping:
  46. Stream #0:0 -> #0:0 (pcm_u8 -> mp2)
  47. Press [q] to stop, [?] for help
  48. size= 76kB time=00:00:04.32 bitrate= 143.4kbits/s
  49. video:0kB audio:68kB global headers:0kB muxing overhead 12.060185%
  50.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty