Results 1 to 3 of 3

Thread: how can play video stream from resource or any other way? just in my app

  1. #1

    Thread Starter
    Fanatic Member Black_Storm's Avatar
    Join Date
    Sep 2007
    Location
    any where
    Posts
    591

    how can play video stream from resource or any other way? just in my app

    i have a simple videp like as m4v or other format but i need my app can play film an no other can copy that film file or watch it.
    for example my film size is between 200 to 300 mb or like that.

    my means of stream is not net http or rtmp rtsp or like that my means play from local hard drive but like as stream or array format or like that

    any way to i play that from resouce or memory or other ways?

    or split video and join video in my app just?

    possible play from resource? or binary file or ... ?

    a sample code?
    Last edited by Black_Storm; Jul 2nd, 2019 at 07:26 AM.

  2. #2
    Fanatic Member
    Join Date
    Feb 2019
    Posts
    924

    Re: how can play video stream from resource or any other way? just in my app

    LoadResData Function can load a Byte array from a user defined resource(Custom resource), but it's limited to 64KB. I am not sure if the Win32 API function LoadResource() has the same limit, but in "Resource File Formats" in MSDN Library 2001 it mentions that the size is DWORD, or 32-Bit. It's possible that VB's own function(LoadResData) supports more than 64KB, in case the documentation was referring to the Windows 3.x era. Search the forum for sample code. Use Google search box in the top of the page because this forum software doesn't support keywords that are 3 characters or less.

  3. #3

    Thread Starter
    Fanatic Member Black_Storm's Avatar
    Join Date
    Sep 2007
    Location
    any where
    Posts
    591

    Re: how can play video stream from resource or any other way? just in my app

    my forum question has 2 important part,1- how can play from that array loaded ( not file path just bytes like as stream) and 2-work with larg size video format
    u just tell me loadresdata but how can play it video mp4 or mpg or 4v (not avi).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width