Ask Your Question

Flot2011's profile - activity

2014-09-13 02:51:46 -0600 received badge  Editor (source)
2014-09-08 14:38:56 -0600 answered a question To remove opencv title bar

It is not a complete answer, but if you are using Windows, you can do it using Windows API:

cv::namedWindow(m_szWinName, CV_WINDOW_AUTOSIZE);
    // Get window handle. It will return the handle of the video container
    // There is also enclosing parent window, which will be treated later
    m_hMediaWindow = (HWND)cvGetWindowHandle(m_szWinName);

    // change style of the child HighGui window
    DWORD style = ::GetWindowLong(m_hMediaWindow, GWL_STYLE);
    style &= ~WS_OVERLAPPEDWINDOW;
    style |= WS_POPUP;
    ::SetWindowLong(m_hMediaWindow, GWL_STYLE, style);

    // change style of the parent HighGui window
    HWND hParent = ::FindWindow(0, m_szWinName);
    style = ::GetWindowLong(hParent, GWL_STYLE);
    style &= ~WS_OVERLAPPEDWINDOW;
    style |= WS_POPUP;
    ::SetWindowLong(hParent, GWL_STYLE, style);
2014-09-04 09:14:40 -0600 asked a question Check if a video file has an audio channel

I know that OpenCV doesn't support playing an audio. However is there a way just to know about audio channel's existence in a video file?