Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. ALSA command line (which causes the v4l2 stream to drop frames):
  2.  
  3. ./ffmpeg-stax -y -v 2 \
  4. -f alsa -ar 48000 -ac 2 -i plughw:0 \
  5. -f video4linux2 -re -tvstd pal -s 768x576 -i /dev/video0 \
  6. -async 0 -vsync 0 -qscale 6 -aspect 16:9 -ab 128k -r 25 -f avi out.avi
  7.  
  8. OSS command line, which gives smooth audio and video stream at 25fps:
  9.  
  10. ./ffmpeg-stax -y -v 2 \
  11. -f oss -ar 48000 -ac 2 -i /dev/dsp \
  12. -f video4linux2 -re -tvstd pal -s 768x576 -i /dev/video0 \
  13. -async 0 -vsync 0 -qscale 6 -aspect 16:9 -ab 128k -r 25 -f avi out.avi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement