How to play a descrambled ismacryp stream with VLC?
Posted: 29 Mar 2006 17:35
I would like to play an ISMACryp RTP stream which has been descrambled.
There is no problem for the audio but it odesn't work for the video which is due to Ismacryp an H264 stream(in 1 RTP packet there is one AU with NAL(s)(entire or fragments, and separated by start codes).
It is a mixture of H264 over MPEG2-TS and H264 over RTP.
Basicaly I thought the best Idea was to replace in the SDP the parameter enc-mpeg4-generic by mpeg4-generic.
But it doesn't work because I think VLC expect some PES Header (I get errors like "PTS is out of the range".).
Any idea how to deal with it
Thanks a lot for any help.
Lionel
PS: an extract from my sdp :
m=video 31190 RTP/AVP 96
a=rtpmap:96 enc-mpeg4-generic/90000
a=control:trackID=1
a=mpeg4-esid:201
a=mid:2
a=fmtp:96 streamtype=4;mode=avc-video;config=0142c00cffe100086742c00cf20283e201000468db8e20;DTSDeltaLength=22; RandomAccessIndication=1; ISMACrypIVLength=4; ISMACrypKeyIndicatorLength=1; ISMACrypSalt=base64,EBESExQVFgE=
There is no problem for the audio but it odesn't work for the video which is due to Ismacryp an H264 stream(in 1 RTP packet there is one AU with NAL(s)(entire or fragments, and separated by start codes).
It is a mixture of H264 over MPEG2-TS and H264 over RTP.
Basicaly I thought the best Idea was to replace in the SDP the parameter enc-mpeg4-generic by mpeg4-generic.
But it doesn't work because I think VLC expect some PES Header (I get errors like "PTS is out of the range".).
Any idea how to deal with it
Thanks a lot for any help.
Lionel
PS: an extract from my sdp :
m=video 31190 RTP/AVP 96
a=rtpmap:96 enc-mpeg4-generic/90000
a=control:trackID=1
a=mpeg4-esid:201
a=mid:2
a=fmtp:96 streamtype=4;mode=avc-video;config=0142c00cffe100086742c00cf20283e201000468db8e20;DTSDeltaLength=22; RandomAccessIndication=1; ISMACrypIVLength=4; ISMACrypKeyIndicatorLength=1; ISMACrypSalt=base64,EBESExQVFgE=