axvlcplugin and dvb-t stream output

About encoding, codec settings, muxers and filter usage
mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

axvlcplugin and dvb-t stream output

Postby mpbejo » 21 Feb 2010 23:03

This command line works fine
vlc -vvv --ttl 12 --ts-es-id-pid --programs=3301 dvb-t://frequency=490000000 :sout=#transcode{vcodec=WMV2,vb=384,scale=0.5,width=320,
height=240,acodec=wma2,ab=32,channels=2,samplerate=22500}:std{access=mmsh,mux=asf
h,dst=192.168.2.4:1234/stream.asf}

No i want to do the same using axvlcplugin with VS2008
I added in the Form an axvlcplugin object
and then i tried this:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
Dim VLC_Parameter As String = "-vvv --ttl 12 --ts-es-id-pid --programs=3301 dvb-t://frequency=490000000 :sout=#transcode{vcodec=WMV2,vb=384,scale=0.5,width=320,height=240,acodec=wma2,ab=32,channels=2,samplerate=22500}:std{access=mmsh,mux=asfh,dst=192.168.2.4:1234/stream.asf}"
AxVLCPlugin1.playlistClear()
AxVLCPlugin1.addTarget("mms://192.168.2.4:1234/stream.asf", VLC_Parameter, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0)
AxVLCPlugin1.play()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
End Sub

But don't work, somebody could give me some tips? Thank You

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

Re: axvlcplugin and dvb-t stream output

Postby mpbejo » 22 Feb 2010 23:04

Ok, first step ok
i tried this:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
Dim VLC_Parameter As String = ":sout=#transcode{vcodec=WMV2,vb=384,scale=0.5,width=320,height=240,acodec=wma2,ab=32,channels=2,samplerate=22500}:std{access=mmsh,mux=asfh,dst=192.168.2.4:1234/stream.asf}"
AxVLCPlugin1.playlistClear()
AxVLCPlugin1.addTarget("dvb-t://frequency=490000000 ", VLC_Parameter, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0)
AxVLCPlugin1.play()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
End Sub

I am able to see the tv channel inside the form, but if i try to see the same channel on windows media player with the url mms://192.168.2.4:1234/stream.asf
i am unable to see the stream
Somebody can give me some tips?
Thank You very much

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

Re: axvlcplugin and dvb-t stream output

Postby mpbejo » 23 Feb 2010 23:43

Anothet night of test , i read http://wiki.videolan.org/Documentation:WebPlugin and i used the VLC Pluging ActiveX V2
i tried this
Try
Dim options As String() = New String() {":sout=#transcode{vcodec=WMV2,vb=384,scale=0.5,width=320,height=240,acodec=wma2,ab=32,channels=2,samplerate=22500}", ":std{access=mmsh,mux=asfh,dst=192.168.2.4:1234/stream.asf}"}
Dim id As Object = AxVLCPlugin21.playlist.add("dvb-t://frequency=490000000", "STREAM", options)
AxVLCPlugin21.playlist.playItem(id)
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try

I see TV channel in the form but no stream if i write mms://192.168.2.4:1234/stream.asf on windows media player

Another time i ask help to somebody that have more skill with this than me
Thank You

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

Re: axvlcplugin and dvb-t stream output

Postby mpbejo » 26 Feb 2010 08:54

Nobody is able to give me an answer?

alexiochaos
New Cone
New Cone
Posts: 1
Joined: 05 Mar 2010 03:07

Re: axvlcplugin and dvb-t stream output

Postby alexiochaos » 05 Mar 2010 03:16

I have same problem with this streaming....
Activex VLCPlugin does not have function VLC_Init like libvlc.dll have.

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

Re: axvlcplugin and dvb-t stream output

Postby mpbejo » 14 Apr 2010 22:58

Well, I know that the forum it is free and nobody is obliged to answer. but i cannot believe that the vlc activex developer never tried a simple thing like i am triyng to do and dont find a second to answer to me and others people that ask the same.
Come on at least say: well, you cannot do it!

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

Re: axvlcplugin and dvb-t stream output

Postby mpbejo » 15 Apr 2010 08:58

iris2010 You use this forum like a spammer I hope the administrator delete your account

3breadt
Big Cone-huna
Big Cone-huna
Posts: 827
Joined: 19 Mar 2006 11:37
Operating System: Win7 Pro / OS X 10.7
Location: Paderborn, Germany
Contact:

Re: axvlcplugin and dvb-t stream output

Postby 3breadt » 15 Apr 2010 09:51

@mpbejo: Done.
-- 3breadt (aka altglass)

Rémi Denis-Courmont
Developer
Developer
Posts: 15231
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: axvlcplugin and dvb-t stream output

Postby Rémi Denis-Courmont » 15 Apr 2010 17:00

I would actually not be surprised if thw ActiveX developer never tried DVB. But more to the point, he's left the development team a long time ago, so he is unlikely to answer or fix any issue.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mpbejo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Jan 2010 23:13

Re: axvlcplugin and dvb-t stream output

Postby mpbejo » 16 Apr 2010 12:58

Thank You for reply Rémy,
but now i am a little bit confused....
If I search documentation for file axvlc.dll i go to http://wiki.videolan.org/ActiveX where i read this:

The API described in this page only reflects VLC ActiveX controls prior to 0.8.5.1. This API will be removed soon.
It is not advised to use this JS API any longer.
Please use the VLC ActiveX v2 interface as described in the new documentation: http://wiki.videolan.org/Documentation:WebPlugin

In this documentation they speak about new features that will be available in the next release 1.1.0 ( so this products is in use)

Now in my project i use VLC ActiveX v2 ( see above my post Tue Feb 23, 2010 11:43 pm ) and I tried to do the same things described in the new documentation at the paragraph 2.4 Playlist object

I am understanding correctly or not?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests