[streaming] Re: Streaming issue at 1280x720 with NCast
Shem Giles
giless at pdx.edu
Mon Jul 31 21:13:54 CEST 2006
Forcing it to 1280x720 does not help, there is still just a resolution of
920x720. We intend to use the script below to launch vlc on the encoder box.
If we change the line
:sout=#transcode{fps=25,vcodec=mp2v,vb=8192,scale=1}:dupl...
to
:sout=#transcode{width=1280,height=720,fps=25,vcodec=mp2v,vb=8192,scale=1}:d
upl...
I still only get 960x720.
Oddly if I change it to:
:sout=#transcode{width=600,height=720,fps=25,vcodec=mp2v,vb=8192,scale=1}:du
pl...
just to test it, I get a resolution of 972x720. This does not make any sense
to me!
Without forcing our fps, we can not even get a picture, the vlc irc chat
helped to resolve that.
If we can get the correct resolution, that would be awesome!
- Stephan
----vlc stream.vbs
Set ShellObj = CreateObject("Wscript.Shell")
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2") 'wmi object Set
colItems = objWMIService.ExecQuery("SELECT IPAddress, MACaddress FROM
Win32_NetworkAdapterConfiguration WHERE DNSDomain =
'pdx.edu' AND IPConnectionMetric <> '1'", "WQL", wbemFlagReturnImmediately +
wbemFlagForwardOnly)
For Each objItem In colItems
IPAddress = Join(objItem.IPAddress, ",")
MACaddress = objItem.MACaddress
Next
set objWMIService = Nothing
set colItems = Nothing
'comment this out if you dont need to display it locally (the local display
is much chunkier) local = "dst=display,"
'comment this out if u dont want a http stream 'http =
"dst=std{access=http,mux=ts,url=" + IPAddress + ":1234},"
'comment this out if u dont want a SAP for the udp stream sap =
",sap,group=""our_group"",name=""our_stream"""
'comment this out if u dont want a udp stream UDPAddress = "our_ip"
'IPAddress udp = "dst=std{access=udp,mux=ts,url=" + UDPAddress + ":1234" +
sap + "}"
resolution = " :dshow-size=""1280x720"" "
ShellObj.run """C:\Program Files\VideoLAN\VLC\vlc.exe"" dshow://
:sout=#transcode{fps=25,vcodec=mp2v,vb=8192,scale=1}:duplicate{" + local
+ http + udp + "} " + resolution + " -f"
-sg
Shem Giles
Portland State University
Office of Information Technology
503-725-3255
503-725-3256 f
> -----Original Message-----
> From: streaming-bounce at videolan.org [mailto:streaming-bounce at videolan.org]
> On Behalf Of Jean-Paul Saman
> Sent: Wednesday, July 26, 2006 5:52 AM
> To: streaming at videolan.org
> Cc: info at ncast.com; 'Hank Magnuski'
> Subject: [streaming] Re: Streaming issue at 1280x720 with NCast
>
> Shem Giles wrote:
> > We are attempting to use VLC to multicast a 1280x720 stream with a NCast
> > Digitizer 3.0 video capture card via its DVI interface. We are using the
> > latest NCast driver. It worked fine but then we noticed that the picture
> was
> > skewed.
> > -Turns out the image VLC is transmitting is 920x720 even though the
> driver
> > captures the 1280x720 and reports that it provides 1280x720.
> >
> > The same capture card streams well with MS Windows Media Encoder (WME)
> and
> > correctly detects the source and streams at the desired resolution. We
> can't
> > use WME long term due to its lack of functionality, configurability and
> > heavy resource utilization.
> >
> > Any ideas why VLC is shrinking the signal?
> >
> >
> > Encoder info PDF:
> > http://www.ncast.com/pdf/NCastDigitizer_3.pdf
> >
> > -sg
> >
> > Shem Giles
> > Portland State University
> > Office of Information Technology
> > 503-725-3255
> > 503-725-3256 f
> >
> >
> >
> maybe because VLC's default transcode options are set to 920x720? Try
> forcing it too 1280x720 (width=1280,height=720)
>
> Gtz,
> Jean-Paul Saman.
>
> --
> This is the streaming mailing-list, see http://www.videolan.org/streaming/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list