[MPlayer-cygwin] Re: [PATCH] TV support in Win32 using Directshow

Vladimir Voroshilov voroshil at gmail.com
Sun Jan 28 19:45:16 CET 2007


Hi!
Thank you a lot for testing!

> hi! i tried your binary but couldnt figure out how to get past this error.
> can you also give us some sample command lines that work on your box?
> being a windows user i've never tried tv:// stuff before :)

> having noaudio or forceaudio or immediatemode didnt help anything.
> the card is an ati radeon aiw 7500 ve pci
> if you need any more info , please ask. i can also build mplayer in mingw/cygwin
> if you need me to test things...
>
> G:\mplayer-r21948-dshow-v26\usr\local\bin>mplayer tv://2 -tv norm=ntsc:
> driver=dshow:noaudio
> MPlayer dev-SVN-rUNKNOWN-3.2.3 (C) 2000-2007 MPlayer Team
> CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Model: 6, Stepping:
> 5)
> CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> Compiled with runtime CPU detection.
>
> Playing tv://2.
> TV file format detected.
> Selected driver: dshow
>  name: DirectShow TV
>  author: voroshil
>  comment: Very experimental!! Use with caution
> tvi_dshow: Using device #0: ATI Rage Theater Video Capture
>  supported norms: 0 = ntsc-m; 1 = ntsc-mj; 2 = pal-m; 3 = pal-n;
>  inputs: 0 = Television;
> 88 40
> 61 75 64 73 00 00 10 00
> 80 00 00 aa 00 38 9b 71
> 01 00 00 00 00 00 10 00
> 80 00 00 aa 00 38 9b 71
> 01 00 00 00 00 00 00 00
> 04 00 00 00 81 9f 58 05
> 56 c3 ce 11 bf 01 00 aa
> 00 55 59 5a 00 00 00 00
> 00 00 00 00 00 00 00 00
> -(Ptr:00000000)--(00)--
> -----------------------
> Rebuilding audio chain in graph failure. Error=0x80070057
Hm, this message souldn't occure in noaudio or immediate=1 modes.
Graph builder fails to build audio media stream in graph.
Usually this happens in pins connection processm when one of methods
returns error (0x80070057==E_INVALIDARG).
I can say more because output hasn't enough data.

Please use something like this for more verbose output:
mplayer -tv driver=dshow -msglevel all=9 tv://2  >mplayer.out

I have also prepared updated version (patch attached).
It contains a lot of fixed bugs.
Unfortunately, i had not time to build new binary (i hope will do this soon).

All things below belongs to v43.

After applying patch replace "#define Debug if(0)" with "#define Debug if(1)"
in outputpin.c and guids.c.

make distclean && ./configure && make
("--enable-tv-dshow" is not nesseccery now.)

Use:
G:\mplayer-r21948-dshow-v26\usr\local\bin>mplayer tv://2 -tv driver=dshow

Note: this command assumes that you have apropriate
"tv=chanlist=<your_chanlist>:channels=<your_channel_list>" line in
MPlayer's config.

Default mode is getting sound from line-in cable, so no need to use
"noaudio" or "immediatemode=1"
I think, norm=ntsc also unnessecery because proper norms are hardcoded
into windows directshow driver. Use it only when default behaviour is
wrong ("norm=" was unsupported in v26).

P.S. I'll wait for "-msglevel all=9" output.
P.P.S I'll also prepare updated binary soon.

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tvi_dshow_v43.patch.gz
Type: application/x-gzip
Size: 36068 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20070129/e803ad7f/attachment.bin>


More information about the MPlayer-cygwin mailing list