Posts

Showing posts with the label ffmpeg

New years resolution?

Image
No, what is your video resolution from your monitor? May not seem important, unless you need to get a replacement monitor that will support your existing setup or you need to do some desktop video such as the command: $ avconv -f alsa -i hw:1 -f x11grab -r 25 -s 1280x768 -i :0.0 -vcodec libx264 -threads 4 file.avi In this case it is 1280x768. Of course you could use a smaller portion of the desktop to capture. So how do we find the desktop resolution. There are several ways. The least verbose: $ xdpyinfo  | grep 'dimensions:'      dimensions:    1280x768 pixels (338x203 millimeters) But if you wanted more information try: $ xrandr Screen 0: minimum 320 x 200, current 1280 x 768, maximum 4096 x 4096 VGA-0 disconnected (normal left inverted right x axis y axis) LVDS connected 1280x768+0+0 (normal left inverted right x axis y axis) 305mm x 183mm    1280x768       60.0*+    1280x720...

Quickie home made video.

Image
First attempt at merging video and audio. Pretty easy with ffmpeg on Linux. The chess video is no longer a silent film. Microsoft allegedly has an equivalent ffmpeg. ffmpeg may also be known as libav or avconv. $ ffmpeg -i git.mp3 -i chess.flv  chess.mp4 Pretty lucky here as the video and the movie were about the same length. Being a film editor must be fun, We will do more complicated stuff later. Makes for much respect for noted film maker Ken Burns and all his crew. Do not have a guitar anymore, but again that was me playing the guitar.

Test movie

Had some old video without audio and had some old audio without video, so I decided to put them together to see what would happen. Feel like I am in an old silent movie theatre playing the piano. Actually that is me playing the guitar from many years ago. Did it in no time at all with ffmpeg.