1, RMVB extract audio for MP3
Ffmpeg-i XXX.RMVB Xxx.mp3
2. Intercept by Time range
Ffmpeg-i xxx.rmvb-ss 00:00:10-t 00:10:00 Xxx.mp3
-ss Intercept Start time
-T intercept duration
3, the video quality of conversion
Ffmpeg-i Xxx.rmvb-qscale xxx.flv
-qscale is the quality of the video output, the lower the value the higher the image, but the larger the output file
4. Converted Video size
Ffmpeg-i xxx.rmvb-s 640*480 xxx.flv
-S convert video file size
5, the interception of the specified time thumbnail
Ffmpeg-i xxx.rmvb-f image2-ss 10-t 0.001-s 1024x768 xxx.jpg
-F enforces a format (not written or possible)
5. Capture the first 30 frames of GIF
Ffmpeg-i xxx.rmvb-f gif-vframes Xxx.gif
-vframes how many frames before
You can also intercept videos for a certain period of time into Gif-ss 00:00:10-t 00:10:00
6. Adjust the volume
Ffmpeg-i Xxx.rmvb-vol xxx.flv
-vol set the volume size, 256 is the standard volume. (Tested to reduce volume is more effective)
7. m3u8 Streaming Media
Ffmpeg-i xxx.flv-acodec libfaac-vcodec libx264-hls_time 60-hls_list_size 0 xxx.m3u8
FFmpeg transcoding instruction (test pass)