User Tools

Site Tools


computing:linux:video_capture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:linux:video_capture [2019/04/01 20:58]
gcooper
computing:linux:video_capture [2019/04/01 21:13] (current)
gcooper
Line 33: Line 33:
 <file> <file>
 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 -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
 +</file>
 +
 +<file>
 +ffmpeg -i input -vf "yadif=1:1,hqdn3d=3,drawbox=y=ih-h:w=0:h=6:t=max,format=yuv420p" -crf 23 -preset medium -c:a aac -movflags +faststart -metadata title="Title" output.mp4
 </file> </file>
  
 ===== Trim a Video Without Encoding ===== ===== Trim a Video Without Encoding =====
 +
 +  * ''-ss 00:00:10'' trim 10 seconds from beginning
 +  * ''-to 02:47:10'' will be end of trimmed video
 +  * ''-c copy'' don't re-encode (very much faster)
  
 <file> <file>
computing/linux/video_capture.1554173911.txt.gz · Last modified: 2019/04/01 20:58 by gcooper