video smil error

MMS library for .NET

Moderator: alt

Post Reply
osmanbiradli
Posts: 3
Joined: Wed Nov 28, 2018 12:58 pm

video smil error

Post by osmanbiradli » Mon Dec 24, 2018 8:48 am

Hi

I try send mms smil with image . this is working
<smil>
<head>
<layout>
<root-layout width="100%" height="100%" />
<region id="Image" width="100%" height="50%" fit="meet"/>
</layout>
</head>
<body>
<par><img src="a.jpg" region="Image" /></par>
</body>
</smil>


But

I try mms smil with video. video.smil in samples folder. This is nullreferanceexception. All files are existing ( text_0.txt,VIDEO0050.3gp,video.smil )
<smil>
<head>
<layout>
<root-layout width="240" height="320"/>
<region id="Image" left="0" top="0" width="240" height="220" fit="meet"/>
<region id="Text" left="0" top="220" width="240" height="100" fit="meet"/>
</layout>
</head>
<body>
<par dur="10587ms">
<video src="VIDEO0050.3gp" region="Image" dur="10587ms"/>
<text src="text_0.txt" region="Text"/>
</par>
</body>
</smil>
Post Reply