Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- -vcodec libx264 -vpre "$QUAL" -s "$OUTRES" -level 30 -b:v 600K -minrate 600K -maxrate 650K -bufsize 1835K
- -dinterlace -f mpegts -f flv "$URL"
- ffmpeg -f alsa -ac 2 -ab 96K -i hw0,1 -f video4linux2 -s "$INRES" -r "$FPS" -i /dev/video0 -acodec libmp3lame -ar 44100
- -vcodec libx264 -vpre "$QUAL" -s "$OUTRES" -level 30 -b:v 600K -minrate 600K -maxrate 650K -bufsize 1835K
- -dinterlace -f mpegts -f flv "$URL"
- I have these two scripts set up in my ~/.bashrc.
- OUT PUT ERRORS:
- ffmpeg version N-35681-g16abd68, Copyright (c) 2000-2011 the FFmpeg developers
- built on Dec 11 2011 22:09:57 with gcc 4.6.2 20111125 (prerelease)
- 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
- libavutil 51. 32. 0 / 51. 32. 0
- libavcodec 53. 42. 0 / 53. 42. 0
- libavformat 53. 24. 0 / 53. 24. 0
- libavdevice 53. 4. 0 / 53. 4. 0
- libavfilter 2. 53. 0 / 2. 53. 0
- libswscale 2. 1. 0 / 2. 1. 0
- libpostproc 51. 2. 0 / 51. 2. 0
- ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM hw0,1
- [alsa @ 0x109e9e0] cannot open audio device hw0,1 (No such file or directory)
- hw0,1: Input/output error
- bash: -vcodec: command not found
- bash: -dinterlace: command not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement