Updown video in VLC...

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Updown video in VLC...

Postby callxpert » 25 Oct 2008 07:59

Hi,
I had developed an application with vlc plugin 0.8.6 in it.
I want the plugin play the video from TV tuner card.

I use the following code,

Code: Select all

VLC.addTarget "dshow:// :dshow-vdev=""""", Null, VLCPlayListAppendAndGo, -666
Everything working fine,Except the video is updown(inverted).

Any help will be appreciated greatly.
Thanks
Naveen.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Updown video in VLC...

Postby VLC_help » 25 Oct 2008 14:15

Same problem with normal video files also? Or only with tuner?

You can rotate with transform filter to fix it.
Video transformation filter
--transform-type {90,180,270,hflip,vflip}
Transform type
One of '90', '180', '270', 'hflip' and 'vflip'
http://wiki.videolan.org/VLC-0-8-6_command-line_help

callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Re: Updown video in VLC...

Postby callxpert » 26 Oct 2008 06:53

Hi vlc_help,

Normal videos work fine.

Problem exits only with TV tuner.

Also help me how to change TV channels while using TV tuner card.

Thanks

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Updown video in VLC...

Postby VLC_help » 26 Oct 2008 14:07

There is dshow-tuner-channel for channels.

callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Re: Updown video in VLC...

Postby callxpert » 28 Oct 2008 13:21

Hi,
What is dhsow_tuner_channels ?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Updown video in VLC...

Postby VLC_help » 28 Oct 2008 16:24

--dshow-tuner-channel=<integer>
Tuner TV Channel
Set the TV channel the tuner will set to (0 means default).
http://wiki.videolan.org/VLC_command-line_help

callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Re: Updown video in VLC...

Postby callxpert » 30 Oct 2008 12:44

HI,
Thank you for your suggession.
I used your code in all probability,but it shows some error.
Could you give me the VB code syntax for the same.

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Updown video in VLC...

Postby Arite » 30 Oct 2008 13:31

Try:

Code: Select all

:dshow-tuner-channel=<integer>
Comma separate like the rest of your variables instead.

Arite.
Don't use PMs for support questions.

callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Re: Updown video in VLC...

Postby callxpert » 01 Nov 2008 08:50

But arite,My tv tuner video is upside down.

this is my basic code,

VLC.addTarget "dshow:// :dshow-vdev=""""", Null, VLCPlayListAppendAndGo, -666

Can anyone help me where to add the transform filter.And your work will be greatly appreciated if you give the apt VB code.

Thanks

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Updown video in VLC...

Postby VLC_help » 01 Nov 2008 18:58

Code: Select all

VLC.addTarget "--vout-filter=transform --transform-type=90 dshow:// :dshow-vdev=""""", Null, VLCPlayListAppendAndGo, -666
or

Code: Select all

VLC.addTarget ":vout-filter=transform :transform-type=90 dshow:// :dshow-vdev=""""", Null, VLCPlayListAppendAndGo, -666

callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Re: Updown video in VLC...

Postby callxpert » 02 Nov 2008 08:15

Tried your code but still the video is updown ! ! !

This is the code,

VLCPlugin1.addTarget "dshow:// :dshow-vdev="""" :vout-filter=transform :transform-type=hflip", Null, VLCPlayListAppendAndGo, -666

code-2

VLCPlugin1.addTarget "--vout-filter=transform --transform-type=90 dshow:// :dshow-vdev=""""", Null, VLCPlayListAppendAndGo, -666

code-3

VLCPlugin1.addTarget ":vout-filter=transform :transform-type=90 dshow:// :dshow-vdev=""""", Null, VLCPlayListAppendAndGo, -666

code-4

VLCPlugin1.addTarget "dshow:// :dshow-vdev="""" :transform-type (hflip)", Null, VLCPlayListAppendAndGo, -666

No use with the above code.
Missing something somewhere...

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Updown video in VLC...

Postby Arite » 02 Nov 2008 22:45

Try:

Code: Select all

:dshow-tuner-channel=<integer>
Comma separate like the rest of your variables instead.
Oh right - what I meant to say is try using the transform parameter (not the dshow-tuner-channel) with a colon, and the variable commas separated like VLC_help suggested.

Arite.
Don't use PMs for support questions.

callxpert
Blank Cone
Blank Cone
Posts: 52
Joined: 19 Jul 2008 15:32

Re: Updown video in VLC...

Postby callxpert » 03 Nov 2008 13:02

I tried that but no improvement.
Still video is upsidedown

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Updown video in VLC...

Postby VLC_help » 04 Nov 2008 13:51

Does it work correctly if you use that same command with VLC when starting it from command line?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests