![]() Also, avconv is from a different project to FFmpeg, you should go to #libav for help with it. Thanks relaxed, checking with arecord -L now. However, I haven't been able to find the right audio card, is there anyone who has done similar? Hi, I understand it's possible to record your desktop using avconv -f alsa -i hw:0,0 -f x11grab -r 15 -s $(xwininfo -root | grep geometry | awk ) -i :0.0 -acodec wmav1 -vcodec flv -b:v 16384k output.avi. thanks for help llogan will try the audio and stuff later will let you know how i go. Ffmpeg for audacity 2.1.3 install#ok now just need to install pulseaudio and get that working instead of mucking around and getting alsa to working and audio should be good to go :D oh, mine chooses rawvideo by default instead of mjpeg like i thought it would. my webcam seems to freeze when using "-input_format yuyv422". you've placed it as an input option for your alsa device. ![]() ok just tried script again with the new filter you gave me and now getting Option input_format not found. anyway, for the logo just add "-i logo.png" or whatever, and then use another overlay filter to place it where you want. Ffmpeg for audacity 2.1.3 plus#thats why i moved from debian to arch to get the upto date and working packages apps lol plus "it works" Arch does a good job at keeping up and doesn't need no stinkin' forks. you just want to add the scale for the webcam, so the whole filtergraph will look like: "scale=1024:-1,setpts=PTS-STARTPTS scale=120:-1,setpts=PTS-STARTPTS overlay=10:H-h-10,format=yuv420p" $ yaourt -Q ffmpeg extra/ffmpeg 1:2.1.3-1 "scale=1024:-1,setpts=PTS-STARTPTS setpts=PTS-STARTPTS overlay=10:H-h-10,format=yuv420p" so this whole line changes? then use "scale=120:-1,setpts=PTS-STARTPTS" add "-input_format yuyv422" as an input option for your webcam for the big encoding example, then change -video_size to 320x240 i am also going to push it and say I want a png file to added above the webcam when we get the scale size right :D thanks llogan for the help don't webcams ouput small sizes anymore? i like to group options by video, audio, etc. ffmpeg -f v4l2 -list_formats all -i /dev/video0 the camera is fine just twice the size of what I want lol i forgot to add "-g 2" for your command as an output option ![]() ![]() then you can use the size it provides instead of scaling it Thraul: you have to see what sizes your webcam supports. i tried cutting the -video_size 240x120 in half to 120圆0 but camera image still the same size :( camera webcam overlay a little bg trying to reduce it The streaming part worked then found the part about -vf too add a camera to the stream so added it I slapped it together using different scripts I found online. thanks llogan no buffer error messages :D no dropped frames Thraul: ffmpeg -f x11grab -video_size 1600x900 -framerate 30 -i :0.0 -f v4l2 -video_size 240x120 -framerate 30 -i /dev/video0 -f alsa -ac 2 -i plughw:0,0 -filter_complex "scale=1024:-1,setpts=PTS-STARTPTS setpts=PTS-STARTPTS overlay=10:H-h-10,format=yuv420p" -map "" -map 2:a -vcodec libx264 -maxrate 3000k -bufsize 4000k -acodec libmp3lame -ar 44100 -b:a 128k -f flv My Script is here - Command Out and Errors Here - any help appreciated. I have managed to get a "sorta' working script working but the camera overlay stops due to buffering errors. Hi I am trying to use ffmpeg to screen my desktop (including system audio) and webcam (with mic) to twitchtv. configure creates Makefile as a symlink to itself, why?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |