Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6740659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:37:56+00:00 2026-05-26T11:37:56+00:00

I have simple Rtsp Source Filter which connects Rtsp Server and get Rtp packets.

  • 0

I have simple Rtsp Source Filter which connects Rtsp Server and get Rtp packets. The problem is that i have to set media subtype in my Rtsp Source Filter Pin…[ Now i give substype hard-coded]

pMediaType->SetSubtype(&MyHardCodedSubTypeGUID);

What i want is create my pin dynamically with subtype according to coming stream. I get h264 and mpeg-4 streams from server.Their rtp packet payload format is dynamic: 96…Does not help me to identify if stream is mpeg4 or h264…

FFmpeg can able to get stream type[h264,mpeg4] from codec info…But how can i do myself?

Best Wishes

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:37:56+00:00Added an answer on May 26, 2026 at 11:37 am

    RTP payload is not only dynamic (96, 97 etc), it is also provided with payload type attributes you need to obtain format from and convert into DirectShow media type (see “H264*” below):

    m=video 0 RTP/AVP 96 
    a=rtpmap:96 H264/90000 
    a=control:trackID=1
    a=fmtp:96 packetization-mode=1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just have simple filter graph whick takes media streams from rtsp source[ generally
I have my own RTSP Source Filter solution which is still under development but
I have simple WinForms application where modifying Windows Registry. The problem is that in
I have simple Perl/CGI scripts based web server which is mainly used to display
I have simple application with single AppDomain which is periodicaly launched on a server.
I have a simple Rtsp Client...The client send Rtsp Commands to Rtsp Server and
I have simple win service, that executes few tasks periodically. How should I pass
I have simple SSIS package which reads data from flat file and insert into
I have simple SSIS package in which On Error event handler I have created
I have simple map-reduce type algorithm, which I want to implement in python and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.