Advertisement
Guest User

BEASTWICK FFMPEG

a guest
Dec 14th, 2011
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. ffmpeg -f alsa -ac 2 -ab 96K -i hw0,1 -f x11grab -s $INRES" -r "$FPS" -i :0.0+720,480 -acodec libmp3lame -ar 44100
  2. -vcodec libx264 -vpre "$QUAL" -s "$OUTRES" -level 30 -b:v 600K -minrate 600K -maxrate 650K -bufsize 1835K
  3. -dinterlace -f mpegts -f flv "$URL"
  4.  
  5. ffmpeg -f alsa -ac 2 -ab 96K -i hw0,1 -f video4linux2 -s "$INRES" -r "$FPS" -i /dev/video0 -acodec libmp3lame -ar 44100
  6. -vcodec libx264 -vpre "$QUAL" -s "$OUTRES" -level 30 -b:v 600K -minrate 600K -maxrate 650K -bufsize 1835K
  7. -dinterlace -f mpegts -f flv "$URL"
  8.  
  9. I have these two scripts set up in my ~/.bashrc.
  10.  
  11. OUT PUT ERRORS:
  12. ffmpeg version N-35681-g16abd68, Copyright (c) 2000-2011 the FFmpeg developers
  13. built on Dec 11 2011 22:09:57 with gcc 4.6.2 20111125 (prerelease)
  14. configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-libgsm --enable-libspeex --enable-postproc --enable-shared --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-debug --disable-static
  15. libavutil 51. 32. 0 / 51. 32. 0
  16. libavcodec 53. 42. 0 / 53. 42. 0
  17. libavformat 53. 24. 0 / 53. 24. 0
  18. libavdevice 53. 4. 0 / 53. 4. 0
  19. libavfilter 2. 53. 0 / 2. 53. 0
  20. libswscale 2. 1. 0 / 2. 1. 0
  21. libpostproc 51. 2. 0 / 51. 2. 0
  22. ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM hw0,1
  23. [alsa @ 0x109e9e0] cannot open audio device hw0,1 (No such file or directory)
  24. hw0,1: Input/output error
  25. bash: -vcodec: command not found
  26. bash: -dinterlace: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement