Showing posts with label ffmpeg. Show all posts
Showing posts with label ffmpeg. Show all posts

Wednesday, November 13, 2019

ffmpeg: convert audio to acc but copy video

ffmpeg -i ./input_file.mkv -c:v copy -c:a libfdk_aac -vbr 3 output.mkv

Thursday, July 12, 2018

ffmpeg: Extract audio to mp3 from multiple mp4 video files

for i in *.mp4; do ffmpeg -i "$i" -q:a 0 -map a "$(basename "$i" .mp4)".mp3 ; done

Saturday, July 12, 2014

Capture desktop using ffmpeg and re-size the resulting video.

The following command can be used to record your display and the compress the resulting image ffmpeg -f x11grab -video_size 2560x1440 -i $DISPLAY -f alsa -i default -c:v ffvhuff -c:a flac test.mkv
ffmpeg -i test.mkv -vcodec libx264 -preset ultrafast -qp 0 -acodec copy -vf scale=-1:720 output.mkv

Sunday, September 18, 2011

ffmpeg: Convert mp4 to mov

To convert mp4 movie into mov movie the following command can be used:ffmpeg -i input_file.mp4 -acodec copy -vcodec copy -f mov output_file.mov