Forum Discussion

stanlove's avatar
stanlove
Visitor
15 years ago

need help on simpleplayer example with flip vedio

Hi there,
I am new. I am trying out simpleplayer brs. with wowza media server.
It works if the video come with wowza sample.mp4.

But when I used my own flip video. I have errror . and video did not play. I saw roku has contacted with wowza server. I used debugger and see the following information

------ Running ------
showSpringboardScreen
Unknown event: 7 msg:
Button pressed: 1 0
Displaying video:
play failed: An unexpected problem (but not server timeout or HTTP error) has be
en detected.
Closing video screen
Screen closed
*** ERROR compiling /pkg:/source/appMain.brs:
line 174, error code &h02: Syntax Error


My code in appMain,brs is:


'Swap the commented values below to play different video clips...
' urls = ["http://192.168.1.102:1935/vod/mp4:sample.mp4/playlist.m3u8"] -- works
urls = ["http://192.168.1.102:1935/vod/mp4:songs.mp4/playlist.m3u8"]
'qualities = ["HD"] ' -- : HD is not working on my roku box
qualities = ["SD"]
streamformat = "hls"
'StreamFormat = "mp4"
minbandwidth = 10 ' -- added this and works
title = "testing"
srt = "file://pkg:/source/craigventer.srt"


Please help!!
Stan

6 Replies

  • The console is telling you there is a syntax error on line 174 of appMain.brs....

    --Kevin
  • Hi Kevin,
    My bad. I cut and paste the wrong error message:
    The error message is:
    ------ Running ------
    showSpringboardScreen
    Button pressed: 1 0
    Displaying video:
    play failed: An unexpected problem (but not server timeout or HTTP error) has be
    en detected.
    Closing video screen



    The point is : It works when I used the sample.mp4. But when I used the songs.mp4.

    I have this error. songs.mp4 was produced by my flip video camcorder. Have you heard about anything flip vedio cannot play on RoKu?
    How can I do further debug?
    Thanks
    Stan
  • the debug is saying it doesn't like and can't play the video. All Flips should record using H.264 video compression and aac audio with the mp4 file format. May sound silly but does the video actually play in anything, or has the video been altered/re-encoded?
  • Hi there,
    The songs.mp4 can be played on Quicktime. And some other media player.

    Stan
  • If you give me access to songs.mp4, I might be able to give more info on why it doesn't play....

    --Kevin
  • Kevin,
    The songs,mp4 is not big. How can I upload to you?

    Thanks
    Stan