Thread
:
Grab audio/video with meconder.
View Single Post
trlopes1974
2011-08-05 , 19:06
Posts: 87 | Thanked: 46 times | Joined on Nov 2010 @ lisbon, portugal
#
3
grab=capture from cam (/dev/video0 or /dev/video1) and mic and consequently encode that to an mp4/avi file.
Regarding ffmpeg I'm having stange behaviours:
ffmpeg -f alsa -ac 2 -i hw:0 -f video4linux2 -i /dev/video0 -acodec ac3 -ab 128k -vcodec mpeg4 -b 6000k -r 25 test5.avi
ffmpeg -f alsa -ac 2 -i hw:0 -f video4linux2 -s 320x240 -i /dev/video0 -acodec ac3 -ab 128k -vcodec mpeg4 -b 6000k -r 25 test5.avi
ffmpeg -f alsa -ac 2 -i hw:0 -f video4linux2 -s 320x240 -i /dev/video1 -vcodec libx264 -acodec libfaac test.mp4
ffmpeg -f alsa -ac 2 -i hw:0 -f video4linux2 -s 320x240 -i /dev/video1 test.mp4
none of these produced any file and in the top of that, when /dev/video0 is specified my phone reboots.
When /dev/video1 is specified, nothing happens, I can see the front red light but no file is produced also.
Quote & Reply
|
trlopes1974
View Public Profile
Send a private message to trlopes1974
Find all posts by trlopes1974