Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gfaraldo
Visitor

Video lost in HLS VOD

I am starting development with the SDK code of simplevideoplayer, the code of videoplayer and also the code of custom videoplayer.
I'm testing VOD HLS from an ANEVIA server (www.anevia.com), everything works fine except when I forward or rewind the episode, i lost the video and I only get audio.

This happens with some videos and not with others, and all have the same encoder process
Thanks.
0 Kudos
5 REPLIES 5
smlsr
Visitor

Re: Video lost in HLS VOD

Sounds as though your not properly breaking on the GOP/Start Frames for the video.

Just guessing.

shawn
0 Kudos
gfaraldo
Visitor

Re: Video lost in HLS VOD

thanks for the awnswer
Yo mean that is a problem with the encoding setings ??

How i can solve this ??

That is the url that don´t work (this is a big file)
http://190.114.224.12/hls/disk1/home_esp.m3u8

And that is the url thar work (this is small file)
http://190.114.224.12/hls/disk1/home_rodaje.m3u8
0 Kudos
smlsr
Visitor

Re: Video lost in HLS VOD

Thats a big question. Not having any clues as to what your using to encode, segment, etc.

Shawn
0 Kudos
gfaraldo
Visitor

Re: Video lost in HLS VOD

Thanks Shawn

I use ffmpeg under windows with the roku preset from the encoding guide of the SDK

ffmpeg-r25512\bin>ffmpeg -i air.mp4 -f mpegt
s -acodec aac -strict experimental -vcodec libx264 -vpre roku -crf 15 -threads 0
-b 1024k -bt 2048k -maxrate 512K -bufsize 4M air-5120000.ts

The segmentation is done automaticaly in the viamotion streaming server (anevia).

Gregorio
0 Kudos
SolveLLC
Visitor

Re: Video lost in HLS VOD

The "big" file is doing the same thing under quicktime player, so I would say that it's an encoding/segmenting issue.
0 Kudos