![]() |
![]() FFmpeg bacic commandTo reduce a video's size with ffmpe : Since 2013 a video format much better than H.264 is widely available, namely H.265 (better in that it compresses more for the same quality, or gives higher quality for the same size). To use it, replace the libx264 codec with libx265, and push the compression lever further by increasing the CRF value - add, say, 4 or 6, since a reasonable range for H.265 may be 24 to 30. Note that lower CRF values correspond to higher bitrates, and hence produce higher quality videos. Basic convertion : FFmpeg automatically knows what video and audio it can support and will convert the your specific format file. - Convert the audio by encoding the audio codec "libvorbis" - Convert the video by encoding the video codec "v9" & audio "libvorbis" - The command ffmpeg -codecs will print every codec FFmpeg knows about. This command copies the video stream from input.webm into output.mkv and encodes the Vorbis audio stream into a FLAC. The -c flag is really powerful. Adjust the dimensions of your video using FFmpeg This will copy the video and audio streams (-c:av copy) but will trim the video. The -t option sets the cut duration to be 10 seconds and the -ss option sets the start point of the video for trimming, in this case at one minute (00:01:00) Extract the audio only from video This command creates a GIF of the same dimensions as the input file. ![]() Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |