Log in

View Full Version : which avisynth filter can decoder protected wma ?


ayasoft
8th January 2008, 15:26
Dear All:
which avisynth filter can decoder protected wma ?
I want to use it as ffmpeg's input
so I can encode it to other formats.
Thank u all!

buzzqw
8th January 2008, 15:37
afaik directshowsource IF YOU can decode/play the wma freely

BHH

ayasoft
8th January 2008, 16:12
I use the below script as the ffmpeg input, but ffmpeg crash
what's wrong with it?
Thank u all

ffmpeg -i test.avs

test.avs
LoadPlugin("DirectShowSource.dll")
DirectShowSource("F:\music\newmp3\Shrek\4.wma",video=false)
return last

buzzqw
8th January 2008, 17:30
is the avs playing correctly in media player classic ?

BHH

NerdWithNoLife
9th January 2008, 01:02
I have the same problem - can't get directshowsource to play it for the life of me. Here's how I got it to not crash, but it only displays the first frame throughout and at the very beginning outputs a split second of audio - then nothing:

directshowsource("file.wmv", fps=15, convertfps=true, framecount=700, seek=false, timeout=0)

I tried different numbers for timeout, but the only difference is with higher numbers it crashes VirtualDub.

ayasoft
9th January 2008, 13:05
I can play it at KMplayer and WMPlayer

NerdWithNoLife
9th January 2008, 16:10
Oh I can play it (windows media player & mplayer)- but can't do anything else with it (doesn't work through Avisynth). All I wanted to do was convert a video to DV so I could watch on my TV instead of the PC. My couch is much more comfy than the computer chair.

I know I can buy a TV-out card, but it wouldn't be any fun without trying the nerdy way first. Plus my PC has HD-component out (but only for VOB's/transport streams), but not composite or S-Video out, so it seems like a waste to buy a new card.

IanB
9th January 2008, 21:47
If it is protected you will need to manually build a .GRF file dealing with the keying issues in GraphEdit.

Or Google for a program to unwrap the protection and output a normal .wmv.

NerdWithNoLife
10th January 2008, 03:37
Made an amateurish attempt to construct a .grf file. VirtualDub says:

DirectshowSource: GRF file does not have a compatible open video pin.
Graph must have one output pin that will bid RGB24, RGB32, ARGB, YUY2 or YV12

Leak
10th January 2008, 10:55
DirectshowSource: GRF file does not have a compatible open video pin.
Graph must have one output pin that will bid RGB24, RGB32, ARGB, YUY2 or YV12
Remove the video renderer then save the GRF file again - you need to leave an open output pin where DirectShowSource can connect, so to speak.

ayasoft
11th January 2008, 02:31
Remove the video renderer then save the GRF file again - you need to leave an open output pin where DirectShowSource can connect, so to speak.

how to do it?
Thanks

foxyshadis
11th January 2008, 11:25
Click it, press delete, resave.