This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:linux:video_capture [2019/04/01 20:56] gcooper |
computing:linux:video_capture [2019/04/01 21:13] (current) gcooper |
||
---|---|---|---|
Line 28: | Line 28: | ||
* USB video capture device is ''/ | * USB video capture device is ''/ | ||
* USB audio capture device is number 1 '' | * USB audio capture device is number 1 '' | ||
+ | * Captured and encoded in one go | ||
+ | * Small resultant file size | ||
< | < | ||
- | ffmpeg -f v4l2 -standard NTSC -thread_queue_size 512 -i /dev/video0 -f alsa -thread_queue_size 512 -i hw:1,0 -vcodec libx264 -preset superfast -crf 25 -s 720x576 -r 25 -aspect 4:3 -acodec libmp3lame -b:a 128k -channels 2 -ar 48000 out.avi | + | ffmpeg -f v4l2 -standard NTSC -thread_queue_size 512 -i /dev/video0 -f alsa -thread_queue_size 512 -i hw:1,0 -vcodec libx264 -preset superfast -crf 25 -s 720x576 -r 25 -aspect 4:3 -acodec libmp3lame -b:a 128k -channels 2 -ar 48000 yourvideo.mp4 |
+ | </ | ||
+ | |||
+ | < | ||
+ | ffmpeg -i input -vf " | ||
</ | </ | ||
===== Trim a Video Without Encoding ===== | ===== Trim a Video Without Encoding ===== | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
< | < |