Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
rtsp, vlc, Hava, etc'
01-02-2009, 02:09 AM
Post: #1
rtsp, vlc, Hava, etc'
First post to the forum and PH newbie, so forgive the absence of knowledge in certain areas....

I just got my a110 and am extremely happy with it, amazing device and amazing capabilities, my setup is a110, HDMI, no HDD, 32" LCD; all the OOTB features work well with very little problems so far.

So here is what I'd like to do:
My a110 is located in Israel, and I have a Hava Monsoon located in Atlanta.
The Hava works great remotely and up to version 1.6 of their firmware they only allowed access via the proprietary windows app. Since firmware 1.7 (current 1.8), there is new feature (bug in their software) that allows you to stream from the box using rtsp. The way its done is by using a generic player such as VLC and streaming from rtsp://[ip_of_your_box], obviously if you are doing this remotely you need to port forward 554 and some others to get it to work nicely. So all this works nice and dandy, VLC gives the following in media information:
Code:
Stream 0
      Codec: mp4v
      Language:
      Type: Video
Stream 1
      Codec: mp4a
      Language:
      Type: Audio
      Channels: 2
      Sample rate 32000 Hz
      AAC extension: SBR

Following some instructions in the forum here, I created an HTML file and added the relevant line
Code:
<html><a href="http://[my_ip_address]:554" vod>My Hava</a></html>
, this really didn't do much, clicking on the link that appeared just made the screen go blank for a few seconds and then go back to the html page on the PH.
It seems that the stream is a standard mp4 wrapper with mp4v + mp4a codecs inside, streamed I'm guessing from darwin over standard rtsp protocol, but for some odd reason the PH is not able to decode or even recognize this, which is a bit odd since other types of mpeg4 it can open (could be they just have to give the same attributes for mp4v as they do for mpeg4 from a codec initilization perspective and all would work). In any case that is the core of the problem and if this could be fixed my thoughts on a slingcatcher will be a thing of the past.

Once this is solved, I can see a neat app being written to actually connect to your home TV and change channels (which can also be done easily by calling rtsp://[ip_of_hava]/[channel_number] ), and this app running via the MSP.

WORKAROUND for now:
For anyone who wants this to work right now and has a Hava, the only way I have gotten it to work so far, is by piping it thru VLC on a PC (ugly solution but works).
Just call VLC with something like this:
Code:
vlc -vvv rtsp://[ip_of_hava] --sout '#transcode{vcodec=mp1v,acodec=mpga,vb=800,ab=128,scale=1,channels=2}:
duplicate{dst=std{access=http,mux=ts,dst=:8080}}'
the in the html file just put in:
Code:
<html><a href="http://[computers_ip_address]:8080" vod>Hava Piped</a></html>
This is pretty ugly but works, so if anyone can explain/fix/featurize the whole mp4 wrapper/mp4v codec think that would be really great !
Find all posts by this user
01-04-2009, 01:32 PM
Post: #2
RE: rtsp, vlc, Hava, etc'
Does this workaround also apply to the shows from American Free TV, with rtsp-proto and adresses from below:

http://www.americafree.tv/VLC/

mfg
Find all posts by this user
01-06-2009, 08:08 PM
Post: #3
RE: rtsp, vlc, Hava, etc'
(01-04-2009 01:32 PM)frozen Wrote:  Does this workaround also apply to the shows from American Free TV, with rtsp-proto and adresses from below:

http://www.americafree.tv/VLC/

mfg

Yes should be no problem, just run the same values I gave above for transcoding the stream if it doesn't work off the bat.

Any news from anyone *bump* *bump* about getting the native mp4 to work ? anyone, anyone ? beuller ?
Find all posts by this user
01-07-2009, 12:10 AM
Post: #4
RE: rtsp, vlc, Hava, etc'
If this helps at all, i'm streaming from vlc to my nmt using the following settings:

Container: MPEG-PS
Video Codec: MPEG-2
Audio Codec: MPEG

All the other settings really don't do much (even mp4 doesn't make the nmt show the picture).

Please read the A-Series or C-200 FAQ before posting, you may save time and find your answer
Visit this user's website Find all posts by this user
01-07-2009, 11:02 PM
Post: #5
RE: rtsp, vlc, Hava, etc'
yup, that was pretty much my findings, now we need to get someone to help getting mp4 working off the bat.
Find all posts by this user
01-07-2009, 11:43 PM (This post was last modified: 01-07-2009 11:45 PM by Mental.)
Post: #6
RE: rtsp, vlc, Hava, etc'
Eh why?
You can stream mpeg2 from vlc to your box, no matter what the source video is.. what else do you want? Smile

Code:
vlc -vvv rtsp://[ip_of_hava] --sout '#transcode{vcodec=mp1v,acodec=mpga,vb=800,ab=128,scale=1,channels=2}:
duplicate{dst=std{access=http,mux=ts,dst=:8080}}'

Change this to:

Code:
vlc -vvv rtsp://[ip_of_hava] --sout '#transcode{vcodec=mp2v,acodec=mpga,vb=3000,ab=128,scale=1,channels=2}:
duplicate{dst=std{access=http,mux=ps,dst=:8080}}'

I'm not really sure if mpeg2 video is called mp2v in vlc, but this should work.
Using MPEG-TS results in a very choppy picture, PS is much better.
Also, with a bitrate of 3000kbit the quality is great.

Please read the A-Series or C-200 FAQ before posting, you may save time and find your answer
Visit this user's website Find all posts by this user
01-09-2009, 04:38 PM
Post: #7
RE: rtsp, vlc, Hava, etc'
just outta curiosity... try your original method but use vod="playlist" instead.

I'm not gonna promise you it works...but i will say that some internet audio streams i tried required aod="playlist" and just a simply aod wouldn't work.

I have a hava monson too, so i'll be quite interested to hear the results Smile
Find all posts by this user
01-28-2009, 12:20 AM
Post: #8
RE: rtsp, vlc, Hava, etc'
@Mental, the problem is not with streaming from VLC, that I actually did, doesn't really matter if its mpg2 or 1 or any other variant that VLC can stream out to PH, that's actually the work around to the more serious problem which is having the Hava box stream directly to the PH (without VLC), see original part of the post discussing this problem.

@excal, thanks for the suggestion but it was a no go, same result as before just jumps to blank screen then back to the HTML page :-(, has to be some problem with it reading the wrapper or the internal codecs, only the weird thing is that it returns way to fast than I would expect on a codec error. Were you able to get anywhere with the Hava ?
Find all posts by this user
03-04-2009, 11:38 AM
Post: #9
RE: rtsp, vlc, Hava, etc'
Has anyone had any luck with this, I live on campus at a University where we have streaming TV via SAP Announcements that we connect to via VLC on a computer, it would be great if I could connect to it via the HDX1000 ordered today..

http://wiki.videolan.org/SAP

heres an example connection string from m3u file:

#EXTINF:-1,- - Nine Digital
udp://@239.255.0.9:1234
Find all posts by this user
03-04-2009, 12:36 PM (This post was last modified: 03-04-2009 12:38 PM by OwL.)
Post: #10
RE: rtsp, vlc, Hava, etc'
(03-04-2009 11:38 AM)realityloop Wrote:  Has anyone had any luck with this, I live on campus at a University where we have streaming TV via SAP Announcements that we connect to via VLC on a computer, it would be great if I could connect to it via the HDX1000 ordered today..

http://wiki.videolan.org/SAP

heres an example connection string from m3u file:

#EXTINF:-1,- - Nine Digital
udp://@239.255.0.9:1234

The data you are receiving sounds as if it is multicast data... try using udpxy (install it via the Community Software Installer http://www.networkedmediatank.com/showth...+Installer ) and add
Find all posts by this user
[+] 1 user says Thank You to OwL for this post
03-04-2009, 11:41 PM
Post: #11
RE: rtsp, vlc, Hava, etc'
(03-04-2009 12:36 PM)OwL Wrote:  The data you are receiving sounds as if it is multicast data... try using udpxy (install it via the Community Software Installer http://www.networkedmediatank.com/showth...+Installer ) and add
Find all posts by this user
03-11-2009, 02:00 PM
Post: #12
RE: rtsp, vlc, Hava, etc'
(03-04-2009 12:36 PM)OwL Wrote:  The data you are receiving sounds as if it is multicast data... try using udpxy (install it via the Community Software Installer http://www.networkedmediatank.com/showth...+Installer ) and add
Find all posts by this user
06-16-2009, 04:42 PM
Post: #13
RE: rtsp, vlc, Hava, etc'
kaaspad, did you ever get anywhere with the Hava and a-110?

I'm trying to get the NMT to see the Hava rtsp stream too, but have not had much luck.
I don't believe it's udp protocol, but just incase it is I tried udpxy and made some test links here:
http://apps.onthez.com/hava/

The first 4 links, and #7 & #8, will give me the "Buffering" screen immediately followed by "Could not play" on the Popcorn Hour. All of those are using udpxy links. Perhaps udpxy is starting the buffering screen and it has nothing to do with getting closer to connecting to the Hava. Just wanted to share and see if anyone else had some ideas.

Thanks!
Find all posts by this user
07-01-2009, 07:01 AM
Post: #14
RE: rtsp, vlc, Hava, etc'
Anyone have any success with this yet? I have a hava and popcorn and would love to see the two talk directly without another PC running VLC in the mix. I'd be more than happy to do some testing if that can help make it happen. I like kaaspad's idea of having it directly on the MSP too.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Help for playing swedish tv4 via rtsp rafiki30 3 3,964 01-30-2011 08:07 PM
Last Post: rafiki30
  RTSP support ? Jokkovitch 7 8,019 12-31-2009 02:40 AM
Last Post: garp99
  HTTP STREAMING - ASX, RTSP brado 1 4,597 05-12-2009 11:28 AM
Last Post: jds580s
  RTSP stream VC-1 wmv container fred99 0 2,335 02-12-2009 11:27 PM
Last Post: fred99

Forum Jump: