Log in

View Full Version : "black screen" when DSS rmvb scripting


Stan Pulsar
24th June 2005, 02:40
hi there !
here's my problem :
I have a rmvb video file, demuxed from a .mkv

I can play (and see) the rmvb in MediaPlayerClassic (real alternative installed)

But scripting : ConvertToYUY2(DirectShowSource("file.rmvb", fps=25)) and playing it with MPClassic will only show a black blank video window (I tried with/without convertfps=true)
The video is "playing" (time moving forward, no error message) but no image is shown.

Actually, if I try to load the rvmb in any other app, I'll get the same symptom (except in MediaPlayerClassic of course)
I tried the regular WinMediaPlayer, BSPlayer, GraphEdit, RealProducer Basic 10

HEELP ! lol
I want to reencode it with GKnot, but the only thing I'll get is a black avi !

(by the way, I had the same kind of problem last year with a .wmv file... would play OK in player, but impossible to render it with any other app: grey screen)

PS : OS Win 2000 sp4 - directX 9.0c
latest DSS.dll - latest RealSplitter
maybe-not-latest-but-almost real alternative (1-2 months old)

thanx a lot !!!!

Wilbert
24th June 2005, 09:28
Just curious

DirectShowSource("file.rmvb", fps=25, convertfps=true)
ConvertToRGB

Is this also black? (Btw, MPC uses his own splitters.)

Stan Pulsar
24th June 2005, 10:59
Just curious

DirectShowSource("file.rmvb", fps=25, convertfps=true)
ConvertToRGB

Is this also black?
erffff.... yes ! black, black, black........ :rolleyes:

Just curious
[code](Btw, MPC uses his own splitters.)
yup, I figured it should be something like that. Thanks for confirming !

Wilbert
25th June 2005, 13:12
Moved to RV forum. Perhaps they can help you there.

Stan Pulsar
25th June 2005, 13:27
MPC uses his own splitters.
Would it be a way to use these splitters in graphedit, and then load this .grf in the avs script ?

(I'm no expert in scripting, all I do is simple DSsource or AVIsource, to convert vids to HTplayer-compliant divx)

Shinobu
26th June 2005, 10:36
try from the original mkv
directshowsource("yourmkv.mkv")

Stan Pulsar
26th June 2005, 14:06
Thanks for your answers !

Well, here I got the error message :
DirectShowSource: couldn't open file file.mkv :
ClassFactory can't supply requested class
(script.avs, line 1)

the script is :
(DirectShowSource("file.mkv", fps=25, convertfps=true, audio=false)
ConvertToYUY2

The mkv contains 1 video stream, 2 audio and 2 subtitles streams.

Wilbert
28th June 2005, 15:10
First, correct your script

DirectShowSource("file.mkv", fps=25, convertfps=true, audio=false)
ConvertToYUY2

was probably just a copy and paste error :)

Second, demux your subtitles. DSS can't open mkv with subtitles (as far as i known).

Third, try to play your mkv (without subs) in WMP6.4 (mplayer2.exe) to see whether you have the required decoders installed.

Fourth, try to open the mkv without subs in AviSynth.

Stan Pulsar
28th June 2005, 16:26
thanx for your help... so here's the results :
1. yes, just copy/paste error (my script was ConvertToYUY2(...) )
2. ok re-created a mkv file with just video and one audio track...
3. opening in WMP6.4 : file plays, audio ok BUT black screen....
4. now the script plays without error but guess what? black blank video.....
(well I suppose the fouth step was optional if no success in third lol)

karl_lillevold
28th June 2005, 21:17
what if you load your script in VirtualDub? Any video then (when there is no overlay)? Maybe you're missing you YUV VfW codec.

Wilbert
28th June 2005, 21:18
You need to find out what kind of video codec is used in the mkv file. One way is to demux the video from the mkv file and open it in GSpot. Perhaps there's also a way to do that without demuxing the video, but i don't know about that.

If you can't figure out how to do it, drop a post in the container section with a link to this thread.

edit: I assume you have ffdshow installed (which can play almost anything)?

Stan Pulsar
28th June 2005, 21:58
You need to find out what kind of video codec is used in the mkv file. One way is to demux the video from the mkv file and open it in GSpot. Perhaps there's also a way to do that without demuxing the video, but i don't know about that.

If you can't figure out how to do it, drop a post in the container section with a link to this thread.

edit: I assume you have ffdshow installed (which can play almost anything)?
erf.... no offense, but the codec is RV40 (rmvb video file) that's what the thread was about, the file was initially demuxed and YOU moved the topic to the RV section... lol
actually I'm on the mkv again because Shinobu asked me to try from the original mkv.
So again, I can see the video using MPClassic with RealAlternative installed.

And yes, I have FFDShow installed (the latest one, I dlded it to try and solve my prob)

@karl_lillevold : nop, same in VDub : black input video...
I think my YUV codec is ok... (anyway I would not see anything even in MPC, would I ?)

PS : yes there is a way to now the codec without demuxing, I found it this afternoon trying to remux without subs my demuxed-mkv...

I used "MKVToolnix" : you can find it HERE (http://www.bunkus.org/videotools/mkvtoolnix/downloads.html) under the "windows" section
It's quite handy, and there's a little tool called "mkvinfo" that gives any info available about the file (and exports them to txt)