Posts Tagged ‘Ffmpeg’

Video in ASCII using VLC, SSH and refine with ffmpeg

This is how a video looks in ASCII.



How did we achieve it ?

- Login to a remote machine using ssh

- play a video using cvlc ( command line vlc )

- record the video using istanbul session recorder ( if u are in linux )

- convert it to mp4 format using ffmpeg

ffmpeg -i file.ogg -sameq  file.mp4

- Overlay the sound using ffmpeg and .mp3 of the same video. As in the sound would have played on remote machine and hence istanbul session recorder would not capture it.

ffmpeg -i file.mp4 -map 0.0 -i file.mp3 -map 1.0 -acodec copy -vcodec copy -ab 128k -ar 44100 file.mp4

- Crop the video, if you want to remove stuffs of your desktop before upload

ffmpeg -i output.mp4 -croptop 50 -cropbottom 50 output1.mp4

Tags : , , ,