Log in

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


Pages : 1 2 3 [4] 5

PkmoNk
27th July 2003, 06:55
thx a few q's :
do i need to restart for the filter to take effect?
how do i encode rm inside other containers?

kastro68
27th July 2003, 08:30
The easiest way is to encode the video and audio separately then use graphedit.

You can also use mkvmerge for matroska container...but it is CLI(Command Line Instructions), not sure if there is a gui for it.

Sirber
28th July 2003, 02:25
with mkvmerge, can we mux RMVB/RM content?

ChristianHJW
28th July 2003, 08:21
Originally posted by Sirber
with mkvmerge, can we mux RMVB/RM content?

Yes, the Linux version in Mosu's own CVS can do that already, but Mosu hasnt released any Windows binaries as of yet, and also the documentation is not updated .... its all expected for the big release date, 4th august, we call it 'CHIP release' as we have to give all the existing software to them for testing until then, while the magazine itself will appear in September ....

S_O
28th July 2003, 18:05
I think it would be better to bring the release out some days before that, so that bugs can be found here, and not by CHIP. Yust to ensure they get bug-free version.
Important before you probably forget it: dnet is ac3! If the rm contains dnet-audio it should be muxed into matroska like ac3, with same format-tag.
Yust some things I noticed that should be updated:
-Codec list, V_REALRV9 is still "to be supported later"
-CoreVorbis: Project/CVS is empty ( http://corecodec.org/projects/corevorbis ), also there have been several releases. People should know where they get the newest version, here seems the logical place. Same goes for CoreAAC, also you cannot download binaries there, maybe a link to rarewares would be useful. And put the source into CVS.
-Is HE-AAC supported correctly? I mean does the muxer automatically detect HE-AAC and sets the format-id correctly?

Edit: -OK, there are the two sites for CoreAAC / CoreVorbis. CoreAAC is empty, at CoreVorbis only two binaries. Maybe someone could upload the source as well for both and create a simple html-site, that there is a bit more than a directory.

Edit2: - I just noticed there is a german and french button at the matroska homepage, but both doesnīt work (still english). If there is no translation, they should be removed, or a text like "Leider noch keine deutsche Übersetzung vorhanden" (and the same in french of course).
I think the CHIP guys not only look at the software, also at the homepage and there shouldnīt be dead links etc. They also probably write the URLs in the magazine, but the wonīt write URLs of a poor directory.

Atamido
28th July 2003, 18:56
Originally posted by S_O
[B]-Codec list, V_REALRV9 is still "to be supported later" I was just working on updating the list into tables and that was one of the additions that was made. You can see the updated version here. (http://cvs.corecodec.org/cgi-bin/viewcvs.cgi/*checkout*/matroska/doc/website/technical/specs/codecid/index.html)

S_O
28th July 2003, 19:32
I was just working on updating the list into tables and that was one of the additions that was made. You can see the updated version here.
Great, looks much better now! I donīt if itīs supported, but you there are no RealAudio Codecs yet:
A_REAL/14_4 = Real Audio 1
A_REAL/28_8 = Real Audio 2
A_REAL/COOK = Real Audio Cook Codec (codename: Gecko)
A_REAL/SIPR = Sipro Voice Codec
A_REAL/RALF = Real Audio Lossless Format
A_REAL/ATRC = Sony Atrac3 Codec
A_AC3 = Real Audio 3 / DolbyNet(TM)

A full list of real-audio-codecs with bitrates, channels, samplerates etc.: https://helix-producer.helixcommunity.org/specs/Producer9.2/AudienceFile/AudienceDefaults.xls

Edit: If you already update the page:
ACM-tags:
MP1 / MP2 = 0x0050
MP3 = 0x0055
PCM int, little endian: 0x0001
IEEE float: 0x0003

Does it make any sense to have two format tags for big/little endian. That is yust byte order, if you save:
A4 01 48 CC 3E C6 65 63 09 39 B4 24 E3 96 6D 64
or
01 A4 CC 48 C6 3E 63 65 39 09 24 B4 96 E3 64 6D
In wav/avi itīs always little endian.

S_O
29th July 2003, 01:41
dnet is ac3! If the rm contains dnet-audio it should be muxed into matroska like ac3, with same format-tag.
I take it back. Only a part of dnet is ac3: Only flavor 6 and 7 are 100% ac3 compatible, the others are not:
You know MPEG-1 Layer 3 and MPEG-2 Layer 3. The bitstream is idetical, but MPEG-2 has the difference that the samplerate is lower.
The original AC3 only supports 32; 44,1 and 48kHz, but DolbyNet goes down to 8kHz samplerate. liba52 supports this. But Azid for example not. For stand-alone devices this could be very important, maybe the decoder doesnīt support that ac3.
The ac3 frame header has, similar to the mpeg-audio header a version field. Normal ac3 is defiened as bitstream id 8 (5 Bits, numbers are 0-15). Everything below 8 is still compatible with all decoders that handle 8 correctly. Everything higher are additions that break decoder compatibility.
For the samplerates 24kHz (00); 22,05kHz (01) and 16kHz (10) the BSID is 9
For the samplerates 12kHz (00); 11,025kHz (01) and 8kHz (10) the BSID is 10

Therefore Iīm suggesting using these format-ids:
A_AC3 = BSID <= 8
A_AC3/BSID9 = BSID 9 (like MPEG 2)
A_AC3/BSID10 = BSID 10 (like MPEG 2.5)
Nothing else than the samplerate is affected by this. The samplesizes/bitrates does not change like in MPEG.

Also, if itīs still changeable you should think about changeing the audio format-ids for mpeg-audio that they include the mpeg-version, not only the layer. This could be importanat for hardware-profiles, because most hardware decoders doesnīt support MPEG 2.5 for example, also MPEG2 is already a problem with some decoders.

ChristianHJW
29th July 2003, 03:10
All is done according to your suggestions, result still here (http://cvs.corecodec.org/cgi-bin/viewcvs.cgi/*checkout*/matroska/doc/website/technical/specs/codecid/index.html). S_O, if you ever feel like joining the team and maintaining this page, gimme a shout ....

Changing the codec ID is not possible anymore, but dont forget that we have a sampling rate field in the track header, so its easy for decoders to find out if they support that or not ...

wata
30th July 2003, 22:28
hi, i just encode some realmedia9 with Anamorphic Encoding, and convert it to Matroska format using Dark-Cracker MatroskaMuxer Tool, but it doesn't play in latest mpc either with internal filter or external i have install RealMediaSplitter v1.0.0.5 & Matroska Splitter v1.0.1.5 (i try some early version too)
normal rv9 (not ananmorphic encode) convert to mkv play fine

i get this popup:

Stream 0

Media Type 0:
--------------------------
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: FOURCC GUID {30345652-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 146

VIDEOINFOHEADER:
rcSource: (0,0)-(0,0)
rcTarget: (0,0)-(0,0)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 333332

BITMAPINFOHEADER:
biSize: 40
biWidth: 0
biHeight: 864
biPlanes: 0
biBitCount: 0
biCompression: RV40
biSizeImage: 0
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

gabest
30th July 2003, 22:40
wata: Is it the only media type you get? Isn't there a second with VIDEOINFOHEADER2?

wata
30th July 2003, 23:42
Originally posted by gabest
wata: Is it the only media type you get? Isn't there a second with VIDEOINFOHEADER2?

that the only media type i got, after i press close it just play the audio without the video

i am using windows 2000 with directx9b and a matrox g400 video card.

Sirber
3rd August 2003, 18:30
No anamorphic playback :(

bond
9th August 2003, 16:08
gabest can you plz add a clickable option in realmediasplitter to always use it together with the overlay mixer (this is already possible in ffdshow -> look under "codecs" tab in ffdshow)

would be great!!!

(perhaps some info about the real streams could be also very nice in the splitter options :D )

gabest
9th August 2003, 17:26
Sorry, but this is not possible, filters must not add other filters, this is the job of the filter graph.

Property pages aren't likely to show up either, I'd like to link them statically to mpc in the future and lib's can't contain resources.

bond
9th August 2003, 17:46
Originally posted by gabest
Sorry, but this is not possible, filters must not add other filters, this is the job of the filter graph.hm, perhaps you misunderstood me, as this is already working in ffdshow!
ffdshow has an overlay mixer option -> if it is ticked the overlay mixer is used between ffdshow and the video renderer (instead of the avi decompressor)
would be very usefull if this can be implemented in your splitter too...

Property pages aren't likely to show up either, I'd like to link them statically to mpc in the future and lib's can't contain resources.nothing against mpc, but what if someone uses another player :(

gabest
9th August 2003, 18:14
Originally posted by bond
hm, perhaps you misunderstood me, as this is already working in ffdshow!
ffdshow has an overlay mixer option -> if it is ticked the overlay mixer is used between ffdshow and the video renderer (instead of the avi decompressor)
would be very usefull if this can be implemented in your splitter too...Yes, it works sometimes (try to set some non-default renderer in mpc), but that is a hack, and messes up the internal state of the filter graph manager when it tries to build the graph. Filters must not change the graph themselves.nothing against mpc, but what if someone uses another player :( I can't have ppages for these statically linked filters in mpc either. For that a dll must be registered, while mpc is only an exe.

bond
9th August 2003, 18:30
Originally posted by gabest
Yes, it works sometimes (try to set some non-default renderer in mpc), but that is a hack, and messes up the internal state of the filter graph manager when it tries to build the graph. Filters must not change the graph themselves.hm, interesting that this is some sort of hack...

my problem with your splitter is that still there are many frames dropped during playback -> when i insert overlay mixer (as you suggested) in the filter graph in graohedit it works like it should
but i dont know how i can force the splitter to always use overlay mixer (changing the merit doesnt help, as discussed already in this thread)

i am sorry to say that but if i cant solve this dropped frames issue your splitter is pretty much useless for me :(
am i the only one experiencing these problems?

wouldnt it be possible to make the splitter always connecting to overlay mixer or can this cause problems?
or can you plz insert the overlay mixer option even if it is a hack (nobody has to use it if it works without overlay mixer)

karl_lillevold
9th August 2003, 18:40
I think I may have missed part of this discussion, but I can not seem to find all of the information above.. Based on Gabest's advice I found that using the overlay mixer renderer in MPC when playing back RV9 HDTV content resulted in much better performance and almost no dropped frames (same performance as in RealOne), compared to the default directshow renderer on XP. However, on standard resolution content, the default renderer is desirable, since it behaves better overall on my system, and I can use subtitles with vsfilter.

I would think this difference in renderer behavior is independent of the source format (RV) and source filter (RealMediaSplitter), and more depend on the resolution and framerate and thus, amount of data being copied to the video card. No?

@bond: If so, why can you not select the desired renderer in your player of choice, instead of asking the source filter to automatically select a renderer?

bond
9th August 2003, 18:53
Originally posted by karl_lillevold
@bond: If so, why can you not select the desired renderer in your player of choice, instead of asking the source filter to automatically select a renderer?because this isnt possible in bsplayer :(

gabest
9th August 2003, 19:39
bond: Are you sure you can force the overlay mixer to be used with ffdshow in bsplayer? I tried to play with these options: w/o overlay, w/ overlay: mode1+mode2 (mode2 crashed after 1 sec), old rendering mode, but none of them allowed it. Every way except mode2 loaded a renderer called "BVideo Renderer", while mode2 used "Overlay Mixer", but obviously not the one from MS because this had no output pin.

bond
9th August 2003, 19:49
Originally posted by gabest
bond: Are you sure you can force the overlay mixer to be used with ffdshow in bsplayer?i think so as today i found out that this option exists in ffdshow because of this thread (http://corecodec.com/modules.php?op=modload&name=PNphpBB2&file=viewtopic&t=349)

for the resizing with matroska the overlay mixer has to be enabled in ffdshow:
if i tick the option in ffdshow everything was resized fine in bsplayer
when i didnt tick it there was no resizing (as it should be)
-> so i think it works

gabest
9th August 2003, 20:17
When it is enabled ffdshow also outputs the VIDEOINFOHEADER2 format descriptor which includes the aspect ratio. It is not only the overlay mixer able to understand it, vmrs and possibly bsplayer's own renderers can also.

edit: just tested a few rmvbs with ar correction and bsplayer's own renderer understands it too.

bond
9th August 2003, 20:24
hm, do you know a way how i can test if the overlay mixer is really used?

btw why do you think that there can be problems forcing overlay mixer in bsplayer (like what ffdshow tries/makes)?

bond
10th August 2003, 13:10
:(

Ghim
10th August 2003, 13:34
What are the effects of "force overlay mixer" in ffdshow others than outputing the VIDEOINFOHEADER2 format descriptor ???
Has it any drawback ??

gabest
10th August 2003, 18:22
Hm, looking it closer it doesn't seem to insert the overlay mixer by itself... It just outputs no rgb media type and that forces the overlay mixer2 into the graph under pre-xp windows versions where the default renderer needs rgb for the connection to succeed.

bond
10th August 2003, 18:29
can you plz add this option in your filter too, pppllllleeeaaassseee

civic5zigen
13th August 2003, 01:01
Hi gabest, great filter. I using ver 1.0.0.5 to play realmedia with Zoom player. However, there is one problem, and Blight suggested the following solution...

"That's probably an issue with the realmedia filter not throwing the end of file "EC_COMPLETE" event. You may want to contact gabest about that..."

gabest
13th August 2003, 01:10
It should, or else playback wouldn't stop/loop in mpc I'm using to test it all the time. Also, the base of that filter sending EOS is the same as matroska or avi splitter's.

Sirber
13th August 2003, 01:44
Gabest, from all d9 users, I'd like to thank you for all your good work. :D

bond
14th August 2003, 21:46
on my way to get the realmedia filter to work properly :( i found out that it is possible to use ffdshow with every directshow filter but only for post-processing (hey a little bit more sharpness doesnt harm realvideo :D )

when i enable this option in ffdshow (codecs -> raw video) the video isnt getting decoded in graphedit (only black picture)

the filter connect properly:
realvideo decoder -> ffdshow -> avi decompressor -> video renderer

gino25
18th August 2003, 13:08
I have red all these posts, but i haven' t understanded.

1-can i mux realvideo9 in matroska?
2- If yes, how?

DKDIB
18th August 2003, 13:27
You can use both mkvtoolnix (http://www.bunkus.org/videotools/mkvtoolnix/index.html#dlinst_win32) with mkvmerge' s GUI (mmg (http://corecodec.org/project/showfiles.php?group_id=27&release_id=37)) and GraphEdit (http://digilander.libero.it/dkdib/Software/GraphEdit.ace) with RealMedia Splitter (http://sourceforge.net/project/showfiles.php?group_id=82303&release_id=174629) and Matroska Muxer (http://sourceforge.net/project/showfiles.php?group_id=82303&release_id=176103).

gino25
18th August 2003, 13:46
But with graphedit what filters must i have to use?

RadicalEd
18th August 2003, 14:45
Originally posted by DKDIB
GraphEdit (http://digilander.libero.it/dkdib/Software/GraphEdit.ace) with RealMedia Splitter (http://sourceforge.net/project/showfiles.php?group_id=82303&release_id=174629) and Matroska Muxer (http://sourceforge.net/project/showfiles.php?group_id=82303&release_id=176103).
:\

gino25
18th August 2003, 15:45
I tried videotest.rmvb ----> realvideo splitter

But i have error

I tried videotest.rmvb --------> matroskamuxer --------> File writer

But the resulting matroska file doesn' t work with no players

DKDIB
18th August 2003, 17:46
Problem solved via PM. ;)

File Source (FileName.rmvb) ==> RealMedia Splitter ==> Matroxa Muxer ==> File Writer (FileName.mkv)
or
RealMedia Source (FileName.rmvb) ==> Matroxa Muxer ==> File Writer (FileName.mkv)

kastro68
27th August 2003, 07:15
I get these weird jagged stepping effect when I play back resized rv9 in Media player classic 6460. This doesn't happen when I use Windows media player 6.4 or real one player. However, I was unable to do a print screen because it didn't capture the pic in wmp6.4 or realone.

The stepping effect is also not visible in MPC 6460 if the rv9 is not resized.


Click to view pic (http://www.geocities.com/incessence/stepping_effect_mpc_rv9_resizing.htm)

gabest
27th August 2003, 18:03
If you can't make a screenshot of the other players that means they are using overlay while MPC doesn't. There is often a difference in the resizing quality between the two surface types. MPC will not use overlay when it lets you load subtitles, and when it does that it either uses the "special renderer" (options, RM/QT page), or the "VMR* (renderless)" output (options, playback page). Which renderer it uses depends on which way you load rm files, throught real's api or directshow (selectable at the formats page, second column).

kastro68
28th August 2003, 04:53
Thanks for the explanation Gabest.

Unchecking "use special renderer" under "RM/QT"

solved my problem.

mmorselli
2nd September 2003, 20:52
Not all my .rm file plays on Zoomplayer or WMP9, with latest RealMediaSplitter... I have some Family Guy episodes, half of this plays perfect on ZP, other half won't play (time count on timeline don't move on). The same files plays perfect on RealOne and Media Player Classic, event without internal rm support. I can send you the 35Mb file, if you want... ( url sent as private message...)

I have joust spoken to Blight about this: you can read the topic at http://forum.inmatrix.com/ikonboard/ikonboard.cgi?s=3f54f1e77614ffff;act=ST;f=7;t=2300

mmorselli
5th September 2003, 18:15
Gabest, you are Fast and Furious :-)
Now all my .rm play fine...
thanks Gabest...:D

OutsiderX
14th September 2003, 15:11
Originally posted by mmorselli
Gabest, you are Fast and Furious :-)
Now all my .rm play fine...
thanks Gabest...:D
same here except for some files encoding using these codecs
1)RealAudio 2.0
2)RealAudio 3.0
3)RA 8 (RealAudio 8 - ATRAC3) 44100 Khz

S_O
20th September 2003, 12:59
same here except for some files encoding using these codecs
1)RealAudio 2.0
2)RealAudio 3.0
3)RA 8 (RealAudio 8 - ATRAC3) 44100 KhzRealAudio 2 doesnīt work yet, but there is a open-source decoder for it in ffmpeg, which will be most likely implemented into ffdshow audio decoder. Real Audio 3 is AC3, have yu installed AC3Filter? That Atrac3 doesnīt work is not normal, have you installed Real Alternative or any other illegal Real Codec pack? They probably messed up your system.

I also found a bug in the Filters: Files (RV8 / RA8 Gecko/Cook) that play perfectly in RealPlayer doesnīt work with your filters. They play and sound is perfect but the picture freezes all the time, about every 5 seconds I get new picture, as if only keyframes are displayed. When I mux the file into matroska using mkvmerge and try to play it exactly the same thing happens, the picture is freezing exactly at the same points. The file is recorded with StreamBoxVCR.
Playing the file MPC 6.4.6.5 it shows more frames and sometimes for about 1 second the movie is played normal.

gabest
20th September 2003, 15:59
With the exception of 14.4/28.8/ralf(?) all audio formats should play more or less when the codecs are installed. But dnet only does with the ac3filter because I couldn't get the codec dll to decompress it.

S_O: Do you have a test file for me? :)

S_O
22nd September 2003, 21:30
hhcc_v_20030603_3_bullzeye2.rm (http://l.b.oltmanns.bei.t-online.de/hhcc_v_20030603_3_bullzeye2.rm)
I downloaded the file with StreamBoxVCR from:
rtsp://rv205.streaming.mediaways.net/rtl/comedy/hhcc_v_20030603_3_bullzeye2.rm

kilg0r3
23rd September 2003, 10:05
Hi,

there seems to be problem with S_O's file. I have the exact same problem when playing it in RealOne v2 (with matrox jitter fix)

S_O
23rd September 2003, 14:55
This file is a bit older, I cannot remember if played correctly in RealOne or RealPlayer8, but it played correctly.

olorin
6th October 2003, 21:22
Hi. I don't know if this is a bug, anyway, using MPC 6.4.6.5 playing mkv with rv9, ac3 and srt, filters: matroskasplitter, ac3filter, vobsub, all latest versions. RV9 created using AutoRV9 1.3final incl latest rv9 milestone. With every file like this, when played in MPC, playback of the video stops every few minutes, though audio is continuing. It doesn't happen in WMP. It seems to happen more often when I move the mouse or for ex unfocus the window. Anyone else experiencing the same? Will greatly appreciate any help.

olorin