Guest User

ffmpeg rtp streaming

a guest
May 14th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1.  
  2. ffmpeg -re -f v4l2 -i /dev/video0 -s 320x240 -r 29.97 \
  3. -vcodec libx264 -pix_fmt yuv420p -s 320x240 \
  4. -c:v libx264 -crf 27 \
  5. -tune zerolatency -profile:v baseline -level 30 -flags +global_header \
  6. -f rtp rtp://127.0.0.1:4008 > test.sdp
  7.  
  8. ##WORKS
  9. ffplay rtp://localhost:4008
  10.  
  11. ##copying test.sdp to another machine and running
  12. ffplay -i test.sdp
  13.  
  14. produces an error:
  15.  
  16. Could not find codec parameters for stream 0 (Video: h264): unspecified size
  17. Consider increasing 'analyzeduration' and 'probesize'
Add Comment
Please, Sign In to add comment