사용자 도구

사이트 도구


ffmpeglive
  • RTSP/RTP camera:
ffmpeg -i "rtsp://192.168.1.22/mycamera" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f flv rtmp://127.0.0.1/live/mp4:myStream
  • MPEG-TS stream:
ffmpeg -i "udp://localhost:1234" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f flv rtmp://127.0.0.1/live/mp4:myStream
  • Native RTP stream:
ffmpeg -i "unicast.sdp" -vcodec libx264 -vpre default -vpre baseline -g 60 -vb 150000 -strict experimental -acodec aac -ab 96000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -f flv rtmp://127.0.0.1/live/mp4:myStream
ffmpeglive.txt · 마지막으로 수정됨: 2014/01/10 10:15 저자 minetech