Log in

View Full Version : Is there any directshow filter for realmedia?


Pages : 1 2 [3] 4 5

gabest
11th July 2003, 20:12
Did you use the same renderer for comparison?

Assault
11th July 2003, 20:35
I didn't change anything apart from the player.
But what's realy weird: I tried playing it in graphedit and it played jerky as well, even when I deleted all filters from the graph which concern the audio. I also tried Windows Media Player 6.4. It played jerky as well. The only player I don't see this jerky playback is Zoomplayer. I hope that helps.

Assault

bond
11th July 2003, 20:47
assault
try overlay mixer in graphedit

haibane
11th July 2003, 21:55
I sorry, I just figure out why my video freeze, I use to set ffdshow to decode yv12, so ffdshow got in to the filter chain, when it's removed, the video plays fine now........

In fact, the mkv version now plays much smoother than the rm version, when I am constanly dragging the window, the mkv didn't even skip frames, or it skip so few, it's not noticeble to my eye, while if I do the samething to rm, it becomes like a slide show.....

faxmactor
11th July 2003, 23:46
Originally posted by karl_lillevold
RealMediaSplitter and its features are interesting topics, but i think it would perhaps be a good idea to not discuss what is related to illegal re-distribution of DLLs in this forum.

Unterstood. That's why I asked.

Assault
12th July 2003, 01:02
@ Gabest, Bond

Thanks Bond, when I add overlay mixer between real video decoder and video renderer it plays normal, there's no jeky playback! ;)
But what does that mean? How can I configure MPC or any other direct show player apart from Zoomplayer to make it work?

Assault

midiguy
12th July 2003, 04:39
Originally posted by gabest
Btw, do you say the blade2 mkv sample plays badly for you? Because that should not suffer from this problem, it plays well at least on my machine.

Yes, I ahve this problem with the blade 2 MKV. Others also had this same problem I think..

midiguy
12th July 2003, 04:55
ahh, graphedit is confusing for me (I'm new to it). Can someone please post the steps to transcode an RM into an MKV. I got the first two branches I think.

Also, what exactly does OverMixer and OverlayMixer2 do? And how do you add it to the graph?

*edit*:

OK, I think I got it:
RealVideo Source --> Matroska Muxer --> File Creator (filename.mkv)

But where does overlay mixer, RealVideo Decoder and Video Renderer (you guys have been talking about them) fit into the mix?

gabest
12th July 2003, 08:42
The overlay mixer is generally faster for playback because it just changes the memory address to be displayed for the new frames instead of copying them from a hidden back buffer to the front (this also help jitter problems). Zoom uses the overlay mixer by default, while mpc/wmp/graphedit/.. prefers the default renderer (vmr7 under xp, old crappy for the rest). In mpc the renderer is selectable through the options.

bond
12th July 2003, 11:46
how can i change the graph so that overlay mixer is always used (in every player)? through the registry?

filewalker
12th July 2003, 12:10
AFAIK, you have to change the MERIT value.
An easy possibilty is to change the MERIT value if you use the Zoomplayer for the changing, goto options-->Filter control-->Managment-->push "Registered filter managment" an update the Merit value from "Overlay Mixer" to "800000"
This "Merit changing" will have an effect on all players(which use DSF).

Cu filewalker

Sirber
12th July 2003, 13:49
I just transmuxed a rmvb (RV9 + Cook @32kbps) to matroska, and on playback, the mkv hang the video on keyframes.

I have all lastest ax...

The People's Elbow
12th July 2003, 16:53
hmm... i muxed my rv9 video + ogg vorbis audio + srt/ssa subs in mkv and it plays flawlessly under mpc ( and mp6.4 )
used all latest filters.
Kicks ass! My berserk eps @ 60MB per Episode and they look and sound great! wohoo ;)

THX to all you crazy guys that made it possible!

midiguy
12th July 2003, 18:04
...and that's the bottom line... ;)
Cause Stone Cold said so!

umm, right, back to the topic at hand. Let's say you had jitter problems with the "old" non-directshow method (it has to do with Real's renderer), and now you have no jitter when using directshow, will using the overlay mixer effect this at all? Are there any disadvantages to the overlay mixer?

midiguy
12th July 2003, 18:16
hey Gabest, I think it is your blade2 MKV trailer that is causing problems for some people, becaues I just transcoded my own rm into mkv and I don't have any freeze problems... hmmm. I suppose it could be because your file is full res full screen while mine is full res wide screen (less video to decode). But if that is the problem, then why does it take so much CPU to decode matroska with realmedia video?

bond
12th July 2003, 18:46
Originally posted by filewalker
you have to change the MERIT value.even though overly mixer isnt used :(

Blight
12th July 2003, 21:26
Do not mess with the merit of the Overlay Mixer, it may cause system instability.

If you want to use the overlay mixer, use players that support it (MPC/ZP). As this filter doesn't work alone (it also hooks into the older renderer).

S_O
13th July 2003, 04:06
I had some problems, because I installed one of these crappy real-codec packs which caused that sipr couldnīt be played anymore. I removed RealOne (which wouldnīt start anymore) and the CodecPack, reinstalled RealOne and finally it works perfect! With all codecs!

bond
13th July 2003, 13:00
Originally posted by Blight
Do not mess with the merit of the Overlay Mixer, it may cause system instability.
If you want to use the overlay mixer, use players that support it (MPC/ZP). As this filter doesn't work alone (it also hooks into the older renderer).so no chance to make it work with players like bsplayer :(

gabest
couldnt you make it work with avi decompressor always plz?

Blight
13th July 2003, 18:18
bond:
As far as I know, BSPlayer has it's OWN renderer... not sure how flexible it is.

midiguy
13th July 2003, 18:32
Hey Gabest, we have some installation conflicts. I just installed The Edge's matroska install pack, and when I did that, RealVideo in MKV files no longer plays in dshow players (although .rmvb will still play). I just reinstalled the filters from your filters.rar package and it works again.

*edit*
The Edge's install package can be found at this thread:
http://forum.doom9.org/showthread.php?s=&threadid=55745&perpage=20&pagenumber=2

midiguy
13th July 2003, 19:54
I am trying to load a RMVB into virtualdub through an avisynth script, but it doesn't seem to be working. I am using DirectShowSource(bla.rmvb). Can someone give me an example script with the correct commands for real video/audio? thanks!

karl_lillevold
13th July 2003, 19:59
DirectShowSource("problem3.rmvb",fps=23.976)

midiguy
13th July 2003, 20:02
yes, it works, thank you! just, seeking through the file in virutaldub is VERY slow! is that normal?

gabest
13th July 2003, 20:03
Also, use a Trim(..) to cut the end because vd likes to freeze there.

midiguy
13th July 2003, 20:18
hmm, so I trimmed the last frame out, but still freezes at the end. How much do you have to trim?

oh, also, what about the audio? thanks!

karl_lillevold
13th July 2003, 21:29
Audio DirectShowSource may not be quite ready yet, being developed right now:
Very early audio support in DirectShowSource (http://forum.doom9.org/showthread.php?s=&threadid=57357)

Trim worked for me to avoid hang. Remember frame counting starts at 0, so if File Information shows 235 frames before Trim, you have to Trim(0,233).

Animaniac
13th July 2003, 23:35
When loading the Blade 2 MKV in MPC 6.4.5.8 when Real Media is set to DirectShow, two windows playing the video pop up, one the standard MPC window, and then a GraphEdit-like ActiveMovie window, closing the ActiveMovie window allows the file to be played normally.

Sirber
13th July 2003, 23:35
Originally posted by Sirber
I just transmuxed a rmvb (RV9 + Cook @32kbps) to matroska, and on playback, the mkv hang the video on keyframes.

I have all lastest ax...

FFDSHOW handeling YV12 cause that hang. :D

haibane
14th July 2003, 04:27
Originally posted by midiguy
hmm, so I trimmed the last frame out, but still freezes at the end. How much do you have to trim?

oh, also, what about the audio? thanks!

I extract the audio via graphedit....

it goes like:

source--->real audio decoder ---> inter video wave wrapper(or whatever wave wrapper you can find, this is the only wave wrapper I can find on my computer) ---> file writer(XXX.wav)

then you got the wav file........
tried with the blade file.........
worked fine..........

nah
15th July 2003, 09:21
I've just mux rmvb file to mkv and it works fine with lastest MPC. But seeking is not fast as when reading rmvb.

With Graphedit :
RMVB (file Async)-->RealMedia Spitter-->Track1_MatroskaMuxer
RM English (file Async)-->RealMedia Spitter-->Track2_MatroskaMuxer
RM French (file Async)-->RealMedia Spitter-->Track3_MatroskaMuxer
SRT French (SubtitleSource TEXT)-->RealMedia Spitter-->Track4_MatroskaMuxer

MatroskaMuxer--> file.mkv (FileWriter)

Good work, Gabest !

Sirber
15th July 2003, 13:39
Why can't the final MKV can't be opened with VirtualDubMod CVS? It says there is no FVW codec. I'd liek to add subtitle and mofivy MKV infos but I can't edit it.

Any idea?

[edit]

Crash reason: Access Violation

Crash context:
An out-of-bounds memory access (access violation) occurred in module 'VirtualDubMod'.

Thread traces:

Thread 00002d1c (Main thread)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(302)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(334)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(352)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Init.cpp(414)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Main.cpp(295)
C:\Dvpt\VDub_1.5.x\VirtualDubMod15\VirtualDub\source\Main.cpp(324)

kilg0r3
15th July 2003, 14:16
Well there simply, currently is no Video-for-Windows compatible codec that could decode rv9 content. the rv9 codecs work only in the direct show environment. AFAIK VfW couild be called the older brother of directshow. Not entirely sure though.

So, when will we see the VfW version of rv9 :D? It definitly would be nice to have an Xvid/Divx-like interface. --- This wont happen I know.

gabest
15th July 2003, 14:23
I don't think it will be ever done, rv can have b-frames (true, not packed like divx) and variable frame rate.

Dark-Cracker
15th July 2003, 14:38
does someone have succedeed to mux AC3 / MP3 or AAC ? i have tested with different filter but without success if u have succeded a little explaination from the graph is welcome :)

ChristianHJW
15th July 2003, 15:11
Well, here is the actual status of VirtualdubMod's capability to edit non-VCM video streams in mkv files :

- VdubMod can open and edit native MPEG4 MKV files alreads

- it is aware of b-frames ( reference priority ) in MKV, and can handle them

- preview can be switched off if set to 'Direct Stream Copy', so that also non-VCM codecs could be processed, but AFAIK Cyrius has deactivated this for the current CVS release

- VdubMod will never be able to handle VFR, due to its VfW orientated framework

Sirber, editing RV9 in matroska is not so far off IMHO, but only Cyrius can give a clear statement here i guess. However, dont expect to be able to use preview in near future, but maybe the files could be edited based on frame type and frame number pretty soon ?

kilg0r3
15th July 2003, 15:18
What is the problem with ogm ATM? When using graphedit for muxing I get a video codec unknow error.

Sirber
15th July 2003, 18:14
Originally posted by ChristianHJW
Sirber, editing RV9 in matroska is not so far off IMHO, but only Cyrius can give a clear statement here i guess. However, dont expect to be able to use preview in near future, but maybe the files could be edited based on frame type and frame number pretty soon ?

I only want to edit names of the audio streams... I don't need preview :)

ChristianHJW
15th July 2003, 20:32
Originally posted by kilg0r3
What is the problem with ogm ATM? When using graphedit for muxing I get a video codec unknow error.

OGM can only use VCM codecs so far ....

Suiryc
15th July 2003, 22:34
Originally posted by ChristianHJW
OGM can only use VCM codecs so far ....
OGM can only handle video streams that have a FourCC. I guess that OGM could contain non-VCM codecs only if they have a FourCC (and maybe only if they are CFR, don't know if OggDS could handle anything else than the frame number as granulepos ...).

CVS VDubMod can open files (AVI/OGM/MKV) for which you don't have a VfW codec (for example some MsMpg4v1/3 video, for which you didn't install a VfW codec, but that you can still read in WiMP thanks to ffdshow). Vanilla VDub would tell you don't have a valid VfW codec and wouldn't allow you to edit the file. In this case 'Direct stream copy' is forced (other modes are unavailable ... anyway you don't have a codec to decompress the video so no need to select another mode :p) and 'Show input/output video' are unchecked (you can check them if you want but I think you don't want to do that :)).
So you can still edit your file ... but you won't be able to preview it that's all.

When you open a MKV file with an MPEG-4 native stream (with b-frames) the XviD codec (VfW one) will be used to decode the video (if you have this codec of course). If you have the codec you will be able to see the video in preview, otherwise you are as in the previous case (you don't have the correct VfW codec) and 'Direct stream copy' is forced. In this case you should only save to MKV since only this output format handle native MPEG-4 streams.

And yes VDubMod won't handle VFR streams since VirtualDub core doesn't handle it (all functions use frame numbers).
This means many RV9 streams won't be handled correctly in VirtualDubMod

Sirber
15th July 2003, 22:35
Originally posted by Suiryc
CVS VDubMod can open files (AVI/OGM/MKV) for which you don't have a VfW codecCVS VDubMod can't open RV9 stream in MKV :D

ProfDrMorph
16th July 2003, 18:30
Originally posted by Dark-Cracker
does someone have succedeed to mux AC3 / MP3 or AAC ? i have tested with different filter but without success if u have succeded a little explaination from the graph is welcome :)
I could mux AC3 into .mkv without any problems using VirtualDubMod. Fortunatly I had a XviD .avi + a RV9 .rmvb of the same movie so that I could first use the .avi and my AC3 files to create a .mkv file with a XviD video stream and then I used that file to create a .mkv file of the same movie with the same audio streams but a RV9 video stream. My filter graph ( after I created the .mkv with XviD/AC3 streams ) looked like this:

http://home.t-online.de/~profdrmorph/rv9-ac3-mkv-graph.png

So in short ( to mux RV9/AC3 into .mkv ):
- create .avi of the same movie
- use VDubMod to create temporary .mkv file contain all the audio streams you want
- use GraphEdit to exchange the video stream with your RV9 stream



The reason why I had two different video streams of the same movie is that I'm doing a sort of personal codec comparison. So far I have no big news: XviD wins with bitrates >700kbit/s and RV9 wins with bitrates <400kbit/s. I haven't tested anything in between yet and I must say that XviD's lead with high bitrates is only very small while RV9 CLEARLY wins in the low bitrate test. Though my tests are far from complete yet ( because I haven't tested all scenarios yet like low bitrate real movie or high bitrate anime ).

karl_lillevold
16th July 2003, 18:38
Originally posted by ProfDrMorph
The reason why I had two different video streams of the same movie is that I'm doing a sort of personal codec comparison. \
Interesting. May I ask if you are using RV9-EHQ? And if so, which encoding tool, if any? I discovered that if one downloads AutoRV9 1.3b2 + its update, it does not include the right version of Producer, so even though EHQ appears to be enabled, this is not the case, and bitstreams may even come out with garbled video once in a while.

ProfDrMorph
16th July 2003, 20:01
Originally posted by karl_lillevold
Interesting. May I ask if you are using RV9-EHQ? And if so, which encoding tool, if any? I discovered that if one downloads AutoRV9 1.3b2 + its update, it does not include the right version of Producer, so even though EHQ appears to be enabled, this is not the case, and bitstreams may even come out with garbled video once in a while.
I read you sticky. ;) I used "Helix Producer GUI" by TFC ( I downloaded it just a few days ago so I think it's no outdated version ) and created a new audience file with EHQ enabled ( at least I think so :D ) and set it to 80. This way I don't have to add the registry keys, do I? RV9 was not much worse but due to very very small amounts of ringing artefacts the XviD version just appears to be sharper/more detailled. What I liked about RV9 is that it had absolutly no block artefacts ( or better: aside from the lack of some details compared to the DVD it had no real "artefacts" at all ;) ) even without enabling some kind of post-processing ( and if I understood you other posts correctly there's no such thing as real post-processing hardcoded in RV9 ).

EDIT: I just forgot: I could use anamorphic encoding to improve RV9's quality but as I want to avoid RealMedia system streams ( I used .mkv to be able to have a wider choice of audio codecs; maybe I'll to a personal audio codec comparision after my video codec comparison ;) ) this would lead to problems.

midiguy
18th July 2003, 23:25
hello. Just wondering how the filter is going? any improvements?

gabest
18th July 2003, 23:43
Yes, there are. Anamorphic stretching can be done by the renderer filter, and I added the needed color conversion for the rgb outputs.

kilg0r3
20th July 2003, 10:21
thanks, gabest. Simply, thanks.

nah
25th July 2003, 19:30
Hi,

I've tested RealMediaSplitter 1.0.0.4 and MatroskaMuxer 1.0.0.6 and MPC doesn't play the mkv.
It worked well with the RealMediaSplitter 1.0.0.3
Does anyone have the same pb ?

(Tested on Server 2003)


Thanks Gabest

PkmoNk
26th July 2003, 23:28
how do i install this .ax realmedia splitter?

Yusaku
26th July 2003, 23:45
any directshow filter is installed through regsvr32 NameOfTheFile.DllOrAx and uninstalled through regsvr32 /u NameOfTheFile.DllOrAx