help

This is a discussion on help within the C++ Programming forums, part of the General Programming Boards category; any one plz tell me is it possible to load a video and video file in c++ program actually i ...

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    35

    help

    any one plz tell me is it possible to load a video and video file in c++ program actually i want to make project related to television in which i want a video to load in my program and can i increase or decrease its volume plz its urgent

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    "load" a video, meaning that you actually want to play it back, or just load the data-file into memory?

    Yes, both can be done, the latter isn't particularly hard, but playing back a video is definitely non-trivial. [Although there's probably some libraries or published code that will do it for you in one way or another].

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Jan 2007
    Posts
    35
    plz give me any code related to uploading a file plz then i will try it by my self

  4. #4
    Registered User
    Join Date
    Jan 2007
    Posts
    35
    actually i want to make tv program in which i want to upload a video to just help my code to run tv program if i want to on tv the video plays and otherwise off

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    uploading where? You mean load a file into memory in C++? What do you want to do with the file after you've loaded it into memory?

    Do you actually have ANY IDEA what you are trying to do?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  6. #6
    Registered User
    Join Date
    Jan 2007
    Posts
    35
    from memory

  7. #7
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Look, you need a full media player functionality for that. That is not something you can just hack up in a few minutes [or months] - unless you have done plenty of that sort of work before and even if there's a ready-made library.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,985
    Playing a video file in Windows is relatively easy when using DirectShow.

  9. #9
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Quote Originally Posted by Elysia View Post
    Playing a video file in Windows is relatively easy when using DirectShow.
    First they need to know the language. I suspect the OP is rather -- shall we say new -- to C++.

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,985
    Yes, of course, mastering the language is a must first. But when it comes to media, DirectShow is pretty much THE API on Windows for that. Take one step at a time, though.

  11. #11
    Registered User mikeman118's Avatar
    Join Date
    Aug 2007
    Posts
    183
    BTW, (this is a stupid question) what does "OP" actually stand for (as in MacGyver's post)?

  12. #12
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    22,985
    Original Poster, I believe.

  13. #13
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Elysia View Post
    Original Poster, I believe.
    Yup, that's what it stands for here.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  14. #14
    Registered User mikeman118's Avatar
    Join Date
    Aug 2007
    Posts
    183
    Thanks, that makes sense.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21