Log in

View Full Version : opensource RV9/10 decoder available in ffmpeg


bond
2nd December 2008, 22:49
Thanks to kostya we now have an opensource RV9/10 (aka RV40) decoder in ffmpeg/libavcodec

enjoy!

CruNcher
2nd December 2008, 23:48
I guess now would be a good time for a NGV Preview Release :)
i wonder where Karl is hiding himself currently @ Real Networks ;)

click2
8th December 2008, 07:45
My video playback's juddery. This is a huge development though, i uninstalled realplayer this morning... :cool:

Going to stay watching my rmvb's though mplayer for a while though until there's COOK support in ffdshow. (edit: wikipedia tells me there is. why can't i find it?)

clsid
8th December 2008, 12:24
There is some cook related code in ffdshow, but it is incomplete. I'll see if that can get fixed.

hellfred
17th December 2008, 23:12
Kostya has just comitted the (final?) patch for RV30 Loop filter to the FFmpeg mailing list (http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-December/057886.html). When comitted to svn, than decoding of RV30 and RV40 videos with FFmpeg should give AFAIK the same results as decoding using the Real decoder.

Dark Shikari
18th December 2008, 01:41
Kostya has just comitted the (final?) patch for RV30 Loop filter to the FFmpeg mailing list (http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-December/057886.html). When comitted to svn, than decoding of RV30 and RV40 videos with FFmpeg should give AFAIK the same results as decoding using the Real decoder.No, B-frames still decode slightly incorrectly--but the difference is usually too small to notice. Neither format allows B-references, so the errors can't propagate over time either.

iwod
24th December 2008, 09:18
Finally, since there are SO MANY Rmvb Video File on the net. It is great to have Rv40 support without Real Player.... which is like the worst player in the world.

click2
25th December 2008, 00:01
AND OF COURSE ALL THE FILES THAT I ENCODE MYSELF AND DO NOT RECEIVE ILLICITLY FROM THE INTERNET

anyways, any way of telling when patches like these arrive into svn ffdshow-tryouts? [and is there any way not to bump something on vbulletin?]

tetsuo55
25th December 2008, 00:18
FFdshow SVN already supports RV30 and RV40, however the image is juddery, also the decoder is slower than realplayer.

I'm not sure if kostya is fully aware of the judder because he stated on his site that all his samples play fine, but with a higher CPU usage than realplayer.

He also stated that the code can be sped up a lot with simd optimisations and by replacing a lot of the motion compensation code with h264 code.

Dark Shikari, maybe you(and/or michael?) could take a quick look for us if you want to? ofcourse after you're done with the current h264 enhancements

Here is kostya's original blog post about the perfomance:
http://codecs.multimedia.cx/?p=156

MatMaul
25th December 2008, 03:03
He also stated that the code can be sped up a lot with simd optimisations and by replacing a lot of the motion compensation code with h264 code.
I am currently porting the mmx h264 mc optimizations to the rv40 decoder.
Should take some time it's my first try in SIMD optimization.

EDIT : I just finished to port an other major mc function : it is currently 14% faster :)

Anima123
21st September 2010, 05:52
Sorry to bring this old thread on top of surface. I wonder if there's any improvement of RV decode speaking of the juggler playback behavior after a long time. Right now I still cannot completely un-install the RealPlayer from my computer.

iwod
21st September 2010, 07:29
I think the problem was solved sometimes ago already as i had yet to encounter another example of similar problems. Do you have any test clips on hand?

click2
22nd September 2010, 07:42
RV40 decoding seems pretty stable nowadays with recent ffdshow (and libavcodec based players).

COOK support is still a bit dodgy - although ffdshow now supports it, seeking causes strange audio artifacts (using either gabest splitter or MPCHC internal splitter).
There's still no internal MPCHC COOK decoder.

ricardo.santos
23rd September 2010, 13:07
i´ve used Real alternative lite to play the odd rm video/audio file

http://www.free-codecs.com/download/real_alternative_lite.htm

I play real with MPC but it also works with WMP etc, isnt it better to use the real alternative lite decoder since it's the "official" one instead of ffmpeg or mplayer?

iwod
23rd September 2010, 19:54
@ Ricardo

Well yes, but using ffmpeg helps them to improve the decoder if in case there are still clips that doesn't play well.

aiyunyi
27th October 2010, 04:00
Well, I am using win7 64bit OS and currently the only 64bit decoder of RV40 I can find is ffdshow. I tried playing my rv40 encoded TV shows encapsulated in matroska yesterday. But the video seems like a slide. Does anybody know anything about that?

iwod
27th October 2010, 18:49
RMVB inside MKV?????

Are you serious?

sneaker_ger
27th October 2010, 21:02
Do you have the same problems with other 64 bit ffdshow video decoders? Did you activate debanding? Sample?

aiyunyi
28th October 2010, 03:35
Do you have the same problems with other 64 bit ffdshow video decoders? Did you activate debanding? Sample?

I don't have problem with other 64bit ffdshow decoders.
Also I tried to extract the track from the mkv file to rmvb and played it alone, the problem remained. I guess it is not because of the container. Well I am at work now and I will try to upload a sample video file when I get home.

aiyunyi
28th October 2010, 03:51
Also, maybe it is because of the video stream does not have a constant frame rate. When I check the video file by mediainfo. It told me the framerate is 25fps. But when I actually play it with 32bit decoders like real alternative and see the framerate from the properties of the video renderer(EVR). The frame rate is less than 25fps and keeps changing from time to time.

aiyunyi
28th October 2010, 13:21
I have uploaded the video file to
http://dl.dbank.com/c0mimg89us

just click video.rmvb.

Thx for your help.

sneaker_ger
28th October 2010, 17:19
It looks like this (http://www.mediafire.com/?9t22dfc5t7564xu) in both ffdshow 64 and VLC for me. The video seems to be very broken. Or is it even worse on your computer?

aiyunyi
29th October 2010, 11:16
Here is the result.

the smoothness of the video playback on my computer
32bit real alternative(video.rmvb) > 32bit h264(real_sample.mkv) = 32bit ffdshow(video.rmvb) = 64bit h264(real_sample.mkv) = 64bit ffdshow(video.rmvb)

aiyunyi
1st November 2010, 05:00
After I struggled for a week on 64bit platform. I found that we cannot live without 32bit program in 64bit, a lot of applications did not provide native 64bit version.

I cannot even buy stuff on the net because my bank didn't provide a 64bit plugin for the browser.
I cannot found a 64bit windows live messenger so that all the related applications like IE and flash player should be 32bit.
...
...
...

At last I switched back to 32bit win7, then I just need to maintain one set of softwares.

ffmpeg
3rd November 2010, 09:28
I have uploaded the video file to
http://dl.dbank.com/c0mimg89us

just click video.rmvb.

Thx for your help.

This video file is fine on my system by using FFmpeg's RV9/10 codec

aiyunyi
4th November 2010, 11:01
This video file is fine on my system by using FFmpeg's RV9/10 codec

Thx for your help I will try to use ffplay and let you know the results as soon as I get home.

aiyunyi
4th November 2010, 16:59
okay, I tried, but no good luck, the result is the same. ffplay=ffdshow

ffmpeg
5th November 2010, 01:19
Please contact me directly by ffmpeg # gmail dot com
I will deliver you my ffplay.exe to verify this issue

it seems that your rm demuxer is broken.

Sirber
13th November 2010, 14:52
After I struggled for a week on 64bit platform. I found that we cannot live without 32bit program in 64bit, a lot of applications did not provide native 64bit version.

I cannot even buy stuff on the net because my bank didn't provide a 64bit plugin for the browser.
I cannot found a 64bit windows live messenger so that all the related applications like IE and flash player should be 32bit.
...
...
...

At last I switched back to 32bit win7, then I just need to maintain one set of softwares.

did you know you can run 32bit apps in 64bit w7?