Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DirectShow Audio-Video Synchronization

DirectShow Audio-Video Synchronization

Scheduled Pinned Locked Moved C / C++ / MFC
helpdata-structuresquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexander M
    wrote on last edited by
    #1

    Hi everyone. I have a problem concerning the synchronization of the audio and video stream in my directshow filter graph. I've coded an mpeg-ts demux, which timestamps the media samples, but the data stream has many data errors and so, when there is an error the video pauses for a short while and you can see all these nice mpeg blocks, but the audio continues without interruption. That causes a slight delay between audio and video after some error have occured. What can I do to prevent this? Thanks for advice, Alex Don't try it, just do it! ;-)

    S 1 Reply Last reply
    0
    • A Alexander M

      Hi everyone. I have a problem concerning the synchronization of the audio and video stream in my directshow filter graph. I've coded an mpeg-ts demux, which timestamps the media samples, but the data stream has many data errors and so, when there is an error the video pauses for a short while and you can see all these nice mpeg blocks, but the audio continues without interruption. That causes a slight delay between audio and video after some error have occured. What can I do to prevent this? Thanks for advice, Alex Don't try it, just do it! ;-)

      S Offline
      S Offline
      stephen_young
      wrote on last edited by
      #2

      Hi Alexander! I wrote a mpeg-ts demux filter.The source is DVB-s,so there is little error in the data stream.But I encounter a problem:the filter can render more than one audio streams,and render one video and one audio ES,but it can't render more than one video ES.when i connect two video out put pin to the decoder and run the gragh,there is a deadlock happens. I dont know whether you encoutered this problem,I sincerely wait your advice. Thank you very much! Please dont laugh at my poor english ,I am a Chinese student:) stephen young

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups