Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, May 9, 2012 4:27:58 AM(UTC)
jvreeker

Groups: Registered
Posts: 16


Hello,

I use the ConvertMMS project, to add new klv data. Now I use put_PrivateDataPID with a new value.
Put it keeps always the old value 0x70.  So I get 2 private data streams.

What do I wrong.

Thanks,

Jelle
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, May 9, 2012 9:15:36 PM(UTC)
jvreeker

Groups: Registered
Posts: 16


Some extra information

We have a MPG2 TS file which contains a single
MPEG2 video stream (PID 0x101) and a asynchrounous Privatedata stream (PID 0x103).

 

We
now want to add some data to the same Private data stream without doing
any conversion or changing of the PID’s. The new datablocks can simply
be added as separate packages. How can we do this the best way? We tried
using the convertMMS example and allowed the incoming stream to be
outputted as well and tried to set the KLV PID  to the same value as the
incoming PID (0x103). Apparently the Convert ctrl will however assign
new PID’s to the output stream and will create a new private data stream
with a different PID. So we end op with a TS with 1 video and two private data streams.

 

Do
we really need to read in the private data packages and inject them
again at the current PTS and add the new packages at convenient
locations in between those packages?
 
#3 Posted : Friday, May 11, 2012 8:47:43 AM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

Hello Jelle,

Our current implementation doesn't allow for changing the PID. If this is not an application requirement for you, one way you could work-around this would be to use two convert controls:
1.) One would use a sample target for extracting the samples (video + KLV)
2.) A second convert control would use a sample source for providing the video and modified KLV data stream (old samples + new samples)

You would be able to use the ILMMpg2MxT.PrivateDataPID property to specify the PID of the private data; this can't be use the change the PID of the video data though.

This implementation should work. We can get all of the data into a single PID, but it would be one we would generate.

If this is an application requirement for you, please send an email to support@leadtools.com with the following information:
1. The company you work for
2. The LEADTOOLS serial number/numbers you own (if you are evaluating, just say so)
3. The name/names of the developer/developers using the serial number/numbers
4. A link to this forum post

With this information, I'll report a feature request for adding a way to change the PID for the video and audio.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.051 seconds.