Advertisement
Guest User

Untitled

a guest
Jan 30th, 2016
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. FFServer :
  2. ffserver -f ffserver.conf
  3.  
  4. ffserver.conf :
  5. HTTPPort 8090
  6. <Feed feed1.ffm>
  7. File /tmp/feed1.ffm
  8. FileMaxSize 200K
  9. </Feed>
  10. # HLS compatible
  11. <Stream test.m3u8>
  12. Feed feed1.ffm
  13. Format hls
  14. VideoFrameRate 15
  15. VideoSize 352x240
  16. VideoBitRate 256
  17. VideoBufferSize 40
  18. VideoGopSize 30
  19. AudioBitRate 64
  20. StartSendOnKey
  21. </Stream>
  22.  
  23. ffmpeg -i 2.mp4 http://127.0.0.1:8090/feed1.ffm
  24.  
  25. vlc http://localhost:8090/test.m3u8
  26.  
  27. Got this error :
  28. [hls @ 0x1db8850]failed to rename file tmp to
  29.  
  30. FFMpeg Version :
  31. ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
  32. built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement