Forum

Post a new question

Categories:

Tags:

Transcoding and errors streaming SMIL

Marko Munda 2016-05-18 13:10:40 UTC in Nimble Streamer

Hi,

I am starting down the path that is this streaming platform and I came across some errors presented when the files are played in the through the smill playlist.

The transcoding softwarei use is FFMPEG and the command is : ffmpeg -y -i in.mp4 -vcodec libx264 -x264opts keyint=25:min-keyint=25:scenecut=-1 -vprofile high -preset slow -b:v 750k -maxrate 750k -bufsize 1500k -vf scale="trunc(oh*a/2)*2:720" -threads 0 -c:a copy out.mp4

When I play it directly there are no problems, but when I try to play it in DASH SMIL playlist file the error that I get is: wrong segment index

The smill file looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<smil title="">
<body>
<switch>
<video height="1080" src="1080p_out.mp4" systemLanguage="eng">
<param name="videoBitrate" value="2500000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="960" src="960p_out.mp4" systemLanguage="eng">
<param name="videoBitrate" value="2000000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="720" src="720p_out.mp4" systemLanguage="eng">
<param name="videoBitrate" value="1500000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
</switch>
</body>
</smil>

In a post, I saw that this is a keyint problem, but I think I addressed this.

can anybody shade some light on it?

The other error I get is: not enough buffer to generate segment
if there is any setting that I must address please tell me.

Yury Udovichenko 2016-05-19 00:01:50 UTC

Hello,

Could you please send us example of original file to help@wmspanel.com so we could analyse?

Alex Pokotilo 2016-05-19 00:50:02 UTC

There is a good post in wowza forum
https://www.wowza.com/forums/showthread.php?46849-VOD-ABR-transcoding

Please find salvadore reply. He recommend to use 2-pass encoding. This should work

Post a reply



This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.