Hi, I apologise I am not sure which forum this question was most suitable for but I am in desperate need of help.
I have a .RM video file of an old TV show episode which is 2 hours long and 200 MB. The problem is the audio is a good 20 seconds off from the video which is obviously making it unwatchable.
Firstly, I am using Windows 7 and Windows Media Player and Windows Live Movie Maker don't even recognise the file type. I would really appreciate some help on a software which will recognise the file, and allow me to edit it and "slide" the audio to the correct place and save the video without losing any quality (as the quality is already pretty poor). I hope there is a free software out there than can do this (and not leave a watermark) as I cannot afford to buy any software at the moment.
Any help would be greatly appreciated and I do ask that all advice is explained in the most basic, simple, easy-to-understand way possible as I know everyone here will be a tech genuis and I am very much a tech noob/dummy.
+ Reply to Thread
Results 1 to 18 of 18
Searched "edit .RM video file", got zero hits for editing but some for converting. Converting & then editing may be the way to go.
assuming your .RM file is not b0rked, you should give a try to MKVtoolnix, which can add or remove audio delays without re-encoding.
NOTICE, the result will be an MKV file, not a RealMedia one
Another possibility: ffmpeg supports RM remuxing, with or without the help from a proper and up-to-date GUI.
Last edited by El Heggunte; 7th Nov 2020 at 09:46. Reason: clarity"Like this facility, I don't exist."
In the short term you can use a media player that lets you delay/advance the audio relative to the video. Pretty much all the third party players support that. MPCHC, VLC, PotPlayer, etc.
I don't have any RM file but I do have an RMVB file. VirtualDub2 was able to open the video. But you will probably have to reencode the audio and video to create a new file with the audio delay/advance.
"Like this facility, I don't exist."
As I recall, RealMedia files (video and/or audio) were a highly-compressed format generally not meant for editing. Supposedly, you could do some editing with Real's tools, but even then what you could do with them was rather limited. (And I'm not sure if Real's tools are still available, or work.)
If you can separate the audio from the video/remux it, you might try converting it to a better-editable format and see if you don't mind whatever loss you might have by re-encoding the audio.If cameras add ten pounds, why would people want to eat them?
All versions of RM are designed for streaming (there were also streaming only versions) and it's been through multiple revisions (It's up to Version 11/RealMedia HD), with some revisions incompatible with older versions. It's always been possible to convert TO RM, but editing the converted video has always been extremely difficult without conversion to another format.
As for any Real related software, be very careful as they've been known to contain adware and spyware. I just downloaded the latest RealMedia player as I read that some older versions allowed exporting of the audio only, and I had to opt out of installing WinRAR and sending my info to Real. Come to find out, it didn't have an export option. Though that may be available in the paid version.
Basically this is footage from Big Brother U.K. 2004 and back then there was a live feed from the house broadcasting 24/7 for two and a half months. This is a 2 hour clip of the live feed from something known as “fight night” (where the live feed got pulled off the air and there was a police investigation). Anyway, this footage has been lost for 16 years and thousands of people are wanting to see the unedited footage - which is why I offered to do it.
I’m not sure if it’s something to do with the fact it is cut from a continuous livestream that it’s showing the length of the video is that long?
Here is a link to the streaming site so you can see how the audio is off.
www . video brother . net (remove spaces)
You then click “Archives” at the top, select “United Kingdom”, select “Season 5”, then “Day21d-FightNight”
You should have an ad-blocker installed or you will get a few pop ups.
Yes I’ve noticed there is a black screen at the beginning of the original file but not on the website - however the audio starts at the same place on both? Maybe this is what’s throwing the audio off? I don’t know what would cause this or how to correct it though.
The site owner told me she converts the original files to MP4 to upload them to the site.
Last edited by michaelsimpson7; 11th Nov 2020 at 06:36.
Yeah, the original file was terribly /horribly multiplexed
It is VERY variable-frame rate, according to ffmpeg and ffprobe...
just like the ancient streaming WMVs (read: ASFs), the old RealVideo software loved to drop frames when the bitrate was not sufficient.
I didn't get the "black frames" during the first 8 seconds, I got 1 static frame during those 8 seconds... tested with MPC-BE, MPC-HC and MPV
FWIW: I remuxed the video stream to an AVI file and the decoded audio to a WAV file... the AVI reports its duration as 01:59:07, whereas the WAV says 1:58:00"Like this facility, I don't exist."
Yes, VFR video is hard to convert properly. This AviSynth script keeps A/V sync:
a = ffAudioSource("bb.rm") v = ffVideoSource("bb.rm", fpsnum=25, fpsden=1) AudioDub(v,a)
I have no involvement with the website I am literally just a fan. I have no idea what settings they use. I am in touch with the site owner though so if you have any specific questions I can ask her.
When I asked her if the final file needs to be .RM she replied:
MP4 is what streams online but avi is fine too. I have a program that can convert any file type.
Here's the rm video re-encoded to mp4 with properties similar to the videobrother.net site, except the audio is in sync with the video:
For the sake of completeness you can reproduce what I did with:
1) Install AviSynth+ 64 bit.
2) Download the ffmpeg source filter: http://avisynth.nl/index.php/FFmpegSource . Put a copy of the x64 ffms2.dll in AviSynth+'s plugins64+ folder.
3) Download/install a static 64 bit version of ffmpeg.
4) Create a plain text file with NotePad:
a = ffAudioSource("bb.rm") v = ffVideoSource("bb.rm", fpsnum=25, fpsden=1) AudioDub(v,a) ResampleAudio(44100) MergeChannels(last, last)
5) Open the AVS script with a 64 bit editor or media player that supports AviSynth scripts as input. I recommend 64 bit VirtualDub2. Preview the script to verify everything is working.
6) Use NotePad to create a batch file to run ffmpeg:
Start /b /low "ffmpeg" "G:\program files\ffmpeg64\bin\ffmpeg.exe" -y -benchmark -init_hw_device qsv=hw -filter_hw_device hw -v verbose ^ -i %1 ^ -c:v libx264 -preset slow -crf 19.5 -g 50 -movflags faststart ^ -profile:v high -level:v 3.1 -adaptive_b 1 -rdo 1 -g 50 -colorspace smpte170m -color_range tv ^ -acodec aac ^ "%~dpn1.avc.mp4"
7) Drag the AVS script onto the batch file. An MP4 file will be created in the same folder as the RM video and the AVS script. Depending on the speed of your computer it may take from 5 minutes to an hour or more.