Changeset 727


Ignore:
Timestamp:
Mar 11, 2017, 9:45:40 AM (6 years ago)
Author:
roman
Message:

VS2015 update and a screenshot

Location:
trunk/IpVideoSource/Sample
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/IpVideoSource/Sample

    • Property svn:ignore set to
      .vs
      *.db
  • trunk/IpVideoSource/Sample/.NET

    • Property svn:ignore set to
      DirectShowLib
  • trunk/IpVideoSource/Sample/.NET/PlayJpegLocationSharp

    • Property svn:ignore set to
      bin
      obj
  • trunk/IpVideoSource/Sample/.NET/PlayJpegLocationSharp/Program.cs

    r367 r727  
    1414        {
    1515            FilterGraph filterGraph = new FilterGraph();
    16             IJpegVideoSourceFilter sourceFilter = Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("{A8DA2ECB-DEF6-414D-8CE2-E651640DBA4F}"))) as IJpegVideoSourceFilter;
     16            IJpegVideoSourceFilter sourceFilter = new JpegVideoSourceFilter() as IJpegVideoSourceFilter;
    1717            IBaseFilter sourceBaseFilter = sourceFilter as IBaseFilter;
    1818            (filterGraph as IFilterGraph2).AddFilter(sourceBaseFilter, "Source");
    19             //sourceFilter.Location = @"http://p.viewnetcam.com:60001/nphMotionJpeg?Resolution=640x480&Quality=Standard";
    20             //sourceFilter.Width = 640;
    21             //sourceFilter.Height = 480;
    22             sourceFilter.Location = @"http://192.168.88.52/nph-jpeg.cgi";
    23             sourceFilter.Width = 1280;
    24             sourceFilter.Height = 960;
     19            sourceFilter.Location = @"http://192.168.88.21/nph-mjpeg.cgi";
     20            sourceFilter.Width = 800;
     21            sourceFilter.Height = 448;
    2522            IPin pin = DsFindPin.ByDirection(sourceBaseFilter, PinDirection.Output, 0);
    2623            (filterGraph as IFilterGraph2).Render(pin);
  • trunk/IpVideoSource/Sample/.NET/RegisterJpegVideoSourceFilter

    • Property svn:ignore set to
      bin
      obj
  • trunk/IpVideoSource/Sample/PlayJpegLocation/PlayJpegLocation.vcxproj

    r366 r727  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     2<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    33  <ItemGroup Label="ProjectConfigurations">
    44    <ProjectConfiguration Include="Debug|Win32">
     
    3030    <CharacterSet>Unicode</CharacterSet>
    3131    <UseOfAtl>Static</UseOfAtl>
     32    <PlatformToolset>v140</PlatformToolset>
    3233  </PropertyGroup>
    3334  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     
    3637    <CharacterSet>Unicode</CharacterSet>
    3738    <UseOfAtl>Static</UseOfAtl>
     39    <PlatformToolset>v140</PlatformToolset>
    3840  </PropertyGroup>
    3941  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     
    4345    <CharacterSet>Unicode</CharacterSet>
    4446    <UseOfAtl>Static</UseOfAtl>
     47    <PlatformToolset>v140</PlatformToolset>
    4548  </PropertyGroup>
    4649  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     
    5053    <CharacterSet>Unicode</CharacterSet>
    5154    <UseOfAtl>Static</UseOfAtl>
     55    <PlatformToolset>v140</PlatformToolset>
    5256  </PropertyGroup>
    5357  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Note: See TracChangeset for help on using the changeset viewer.