ffmpeg 通过通过组播发送本地TS流文件

命令:
ffmpeg -re -i /media/1.mpg -r 1800  -c copy -f mpegts udp://239.1.1.1:7000



环境:
ffmpeg version 1.1.3 Copyright (c) 2000-2013 the FFmpeg developers
   built on Jul 17 2013 15:52:04 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
   configuration: --enable-memalign-hack --enable-shared --enable-libx264 --enable-gpl --enable-libmp3lame --enable-avresample --enable-libfaac --enable-filters --enable-nonfree
   libavutil           52. 13.100 / 52. 13.100
   libavcodec         54. 86.100 / 54. 86.100
   libavformat       54. 59.106 / 54. 59.106
   libavdevice       54.   3.102 / 54.   3.102
   libavfilter         3. 32.100 /   3. 32.100
   libswscale           2.   1.103 /   2.   1.103
   libswresample     0. 17.102 /   0. 17.102
   libpostproc       52.   2.100 / 52.   2.100
Hyper fast Audio and Video encoder

你可能感兴趣的:(ffmpeg)