I am pretty new to this, but if it helps, KLV seems to be just another stream. 'ffprobe' shows it as 'KLVA'. Just get the packets for it like any other stream, and pass their payload to your decoder.

some fragments of ffprobe output:

[STREAM]
index=1
codec_name=unknown
codec_type=data
codec_time_base=0/1
codec_tag_string=KLVA
codec_tag=0x41564c4b
id=0x90
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/90000
start_time=4323.017689
duration=59.959900
[/STREAM]

Stream #0.1[0x90]: Data: KLVA / 0x41564C4B
Unsupported codec (id=102400) for input stream 1

Andy

On 6/19/2010 11:04 AM, Nick T. Ton wrote:

Hello,

I am new to ffmpeg, I was wondering if anyone has some tips on getting the 
MPEG2 ts private stream? I am trying to get the Key-Length-Value (KLV) metadata 
from the private stream. My colleagues has developed the decoder, so I just 
need the raw data from the private stream.

Many thanks in advance,
Nick
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user



_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to