FFMPEG: Converting RMVB to X264 MP4

Published: 2018-09-22 15:01:02 +0000
Categories: BASH,




If I'm honest, I'd forgot that Real Media Variable Bitrate was even a thing. Which is probably for the best as it's best left buried in the shrouds of time

Unfortunately, whilst sorting some old files, I found a bunch that were in RMVB format, so wanted to convert them to something a little more sane (and more widely supported) without sacrificing quality

This snippet details how to convert a directory of RMVB format files to X264 MP4's with MP3 Audio


for i in `ls *.rmvb`
    newfname=$(echo $i | sed 's/\.rmvb/\.mp4/')
    ffmpeg -i $i -c:v h264 -c:a mp3 $newfname



ffmpeg, RMVB, RealMedia, Convert, Transcode,

Latest Posts

Setting Git author details for a single repo (Git)
Checking Virtual Machine Resource Allocations with Libvirt (BASH)
Rsync over SSH with a custom port (BASH)
Remotely backing up PFsense Configuration (BASH)
FFMPEG: Converting RMVB to X264 MP4 (BASH)
Recursively print table (print_r equivalent) (LUA)
Bulk Delete Comments from (Self-Hosted) JIRA Issues (Misc)
Add a static entry to the ARP table (BASH)
SSL Cipher Hex codes to Human Readable Names (Misc)
Convert Ascii to Binary (BASH)

Copyright © 2019 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk and snippets.6zdgh5a5e6zpchdz.onion