VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. can anyone tell me what does " use worker thread to construct the filter graph" do?
    thanks
    Quote Quote  
  2. Playing a video in Windows involves constructing a chain (graph) of components (filters). You need a Source Filter that understands the container (AVI, WMV, MP4, MKV, etc.). Then a Splitter to separate the audio and video into individual streams for further processing (often the source filter and the splitter are the same filter) Then decoders to decompress the audio and video streams. Maybe a Colorspace Converter to convert the video from the decompression colorspace to a something the graphics card understands. And finally audio and video Renderers to put send the audio to the sound card and the video to the graphics card.

    Some examples: http://wiki.jrmediacenter.com/index.php/DirectShow_Playback_Guide

    Using a worker thread to build the graph prevents the player from locking up if the process of building the thread locks up for some reason.
    Quote Quote  
  3. Originally Posted by jagabo View Post
    Playing a video in Windows involves constructing a chain (graph) of components (filters). You need a Source Filter that understands the container (AVI, WMV, MP4, MKV, etc.). Then a Splitter to separate the audio and video into individual streams for further processing (often the source filter and the splitter are the same filter) Then decoders to decompress the audio and video streams. Maybe a Colorspace Converter to convert the video from the decompression colorspace to a something the graphics card understands. And finally audio and video Renderers to put send the audio to the sound card and the video to the graphics card.

    Some examples: http://wiki.jrmediacenter.com/index.php/DirectShow_Playback_Guide

    Using a worker thread to build the graph prevents the player from locking up if the process of building the thread locks up for some reason.
    and what is the "worker thread"?
    Quote Quote  
  4. Originally Posted by Mohammad48 View Post
    and what is the "worker thread"?
    A separate thread just for creating the graph, separate from the main program thread.

    https://en.wikipedia.org/wiki/Thread_%28computer_science%29
    Quote Quote  
  5. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    (This OT is absolutely necessary)

    "worker" thread? Yes, the commies are everywhere

    Originally Posted by jagabo
    https://en.wikipedia.org/wiki/Thread_%28computer_science%29
    computer "science" <= yet another misnomer Actually it's just an «art» —
    and a bad art, which still has many idiocies from the 7-bit era
    Quote Quote  
  6. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by El Heggunte View Post
    [
    computer "science" <= yet another misnomer
    Indeed!

    Even computing science, e.g the science of computing things, is not really a science, just like math is not a science. After all the term "empirical science" is just a pleonasm.

    However there may be a compelling question whether quantum computing could be considered science.

    Hmm...

    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!