PDA

View Full Version : how to convert realmedia to mpeg with the fastest speed


wata
21st November 2003, 12:28
like to convert some realmedia to mpeg1/2, burn it to dvdrw so it be view with a dvd player elsewhere
i have realsplitter install
i choose very fast option so i can encode in realtime
i try tmpgenc but the output doesn't have sound


i try eo video, but it is too slow, i don't care about the finish file size as long as it is fast since i would erase the dvdrw once finish watching it

i have a wintv pvr250 is there anyway to utilize the hardware encoder without pluging my video-out to the pvr250 video input?

thanks

try another one, Super DVD Creator
it is just as slow as eo video cause it doesn't allow the modify any setting. :(

cfriedl
30th November 2003, 05:54
I get rm9 to mpeg2 this way.

http://forum.doom9.org/showthread.php?s=&threadid=65915

hope this helps.

Liisachan
30th November 2003, 15:48
Originally posted by cfriedl
I get rm9 to mpeg2 this way.

http://forum.doom9.org/showthread.php?s=&threadid=65915

hope this helps. I once tried the above-mentioned method...RealmediaSplitter is really cool, you can even open .rm with VirtualDub this way...BUT I found "fps=25" would cause the sync prob, probably because the ReadVideo is actually in a variable framerate...

So, I would use EO Video, especially if the quality matters.
Maybe... RealMedia--(EO Video)--> Huffyuv AVI--(TmpgEng)--> MPEG2 ?
I'm not sure if this is the fastest (I doubt it) but anyway this should be possible.

LeonMcNichol
1st December 2003, 22:15
Yeah, EO Video is probably your best way, but it's very slow and if you have a slightly corrupted rm file, the video will stop at the corrupted spot and just continue with the audio. There really needs to be a way to keep the audio in avs.

RadicalEd
1st December 2003, 23:20
Originally posted by Liisachan
I once tried the above-mentioned method...RealmediaSplitter is really cool, you can even open .rm with VirtualDub this way...BUT I found "fps=25" would cause the sync prob, probably because the ReadVideo is actually in a variable framerate...

So, I would use EO Video, especially if the quality matters.
Maybe... RealMedia--(EO Video)--> Huffyuv AVI--(TmpgEng)--> MPEG2 ?
I'm not sure if this is the fastest (I doubt it) but anyway this should be possible.

Hmm.. though he should be able to load the file directly in TMPG, which would work since it's going straight through directshow into TMPG, without vfw as the weak link. If TMPG's resizers and stuff are good enough for the cause, that sounds like it would be the best method.

cfriedl
2nd December 2003, 07:25
I have a variable bitrate rm9 file encoded with producer9.2 via rmfactory. Tmpgenc will not complain if I try to encode to mpeg2 with this file as the source. However the resultant mpeg has no audio.

Another option I tried was to split the audio and video streams into separate rm9 files with the tool dtdrive posted recently. However this still gave me no audio in the encoded mpeg file.

The only way I've been able to get this to work is to strip the audio stream as a wave file first (graphedit or streamboxripper) and use this as the audio input. Then the file is fine with no sync problems.

cfriedl
15th December 2003, 12:56
OK, I've played with this some more. Thought I'd report in case its of use to someone else.

I've been trying to transcode some rm files from 450kbps to around 70kbps. Why ... because I have about 20 hours of lectures which I want to fit on a single CD. Right now they take up 8 cds. Since I give them away for free, it costs a lot to post that many CDs from Australia to whereever in the world someone wants them. Each rm file is about 2 hours duration. Not much action ... just a person standng and talking, and occassionally drawing or gesturing.

Using the latest AVISynth (2.5.3) and realmedia splitter, I was able to simply frameserve to RMFactory and re-encode. At the start the audio was in sync. However the audio got progressively out of sync with the video and was noticibly out by the end.

I got the same sync problems whatever I did. I tried separating video and audio and then muxed with VDub. Then encoded with RMfactory. Out of sync. Tried to frameserve to Producer plus 9.0 but also out of sync. Lots of trials. Lots of sync failures.

What finally worked was to time-stretch the audio. Using Vdub, I used the audio->interleaving option to shift the audio so that at the end of the video it was in sync. This was just to give me the amount I needed to time-stretch. Typically it was -0.25 to -0.5 s. Then in wavelab I applied time stretch, preserving pitch. (Actually I had to shrink the audio length). I then muxed this new audio file with the video stream and encoded to rm9. Voila. Audio in sync and small file size.

On my Athalon 1200, 256Mb system, time for each steps for a 2 hour rm video was:
1 hour to split video & audio in the first step (encode to Huffy)
1/2 hour to get audio offset and apply time stretch
7 hours (rm9 encode - EHQ 80 - with fast first pass (thanks Karl)

total 8-9 hours.

I don't have a strict comparison with EO Video but I recall trialing it a few months ago. It did a great job converting a 2+ hour rm8 file to mpeg2. It was also very easy to use. However it ran for about 40 hours on the same system.

So now I have a process which I can use. I also use this to transcode rm9 archive files I've recently created. I capture VHS or DV tapes of free lectures and then encode to rm9 at 1400 kbps. This gives me high quality with a relatively small file size which is great to use as an archive from which I can transcode to a smaller bitrate for later distribution.

Hope this is of use to others.


Finally - just want to thank everyone who contributes in whatever way to this site. Its hard to imagine what I'd be doing without all your knowledge to support me. Probably banging sticks together and picking fleas from some other apes butt. All of you rock. :)

karl_lillevold
15th December 2003, 16:20
thanks for posting such detailed information on how to fix the a/v sync problem.

Trans-coding RM to RM is in fact so useful, in the next release of Producer I have been told there is now official support for it, without the need for RealMediaSplitter. With this I would hope a/v sync has been resolved, but no guarantees.

wata
3rd January 2004, 12:27
anyone have solve the rm to mpeg using tmpegenc which result in no audio
i really can't stand the slow speed of eo video/super dvd creater, eo video take 25mins to convert 5mins of realmedia using xp2400 (already set the bitrate to constant and not 2 pass vbr)

RadicalEd
4th January 2004, 06:19
yeah,
The only way I've been able to get this to work is to strip the audio stream as a wave file first (graphedit or streamboxripper) and use this as the audio input. Then the file is fine with no sync problems.

Though I'm not sure why loading the RM into tmpg's audio input wouldn't work.