Streaming video from vlc to G1? - G1 General

I am trying to restream some online windows formatted video streams to my G1 using VLC.
I have tried to get this working myself, with the help of google.
But I just can't get it working.
This should work... in theory:
cvlc -vvv "<url>" --sout '#transcode{soverlay,ab=42,samplerate=44100,channels=1,acodec=mp4a,vcodec=h264,width=328,height=288,fps=15,vb=200,venc=x264{vbv-bufsize=500,partitions=all,level=12,no-cabac,subme=7,threads=4,ref=2,mixed-refs=1,bframes=0,min-keyint=1,keyint=50,trellis=2,direct=auto,qcomp=0.0,qpmax=51}}:gather:rtp{mp4a-latm,sdp=rtsp://0.0.0.0:8000/news.sdp}'
I have alswo tried streaming over http: std{access=http,mux=ts,dst=0.0.0.0:8000}'
Whenever I try, Meridian just says "sorry, this video cannot be played."
This is the output from logcat:
I/ActivityManager( 97): Starting activity: Intent { data=rtsp://xx.xx.xx.xx:8000 flags=0x10000000 comp={org.iii.ro.meridian/org.iii.ro.meridian.VideoPlayActivity} }
I/ActivityManager( 97): Stopping service: org.iii.ro.meridian/.MusicPlaybackService
I/HTCIMEService( 260): [finishInput]:
W/ActivityManager( 97): Unable to start service Intent { action=com.htc.android.mail.eassvc.EASAppSvc }: not found
E/HTCIMEService( 260): ^^^^^^^^^^^^^^^^^^^^^^Fail to bind EAS AppSvc!
W/ActivityManager( 97): Unbind failed: could not find connection for [email protected]
V/VideoView( 6200): reset duration to -1 in openVideo
I/ActivityManager( 97): Displayed activity org.iii.ro.meridian/.VideoPlayActivity: 891 ms
E/PlayerDriver( 37): Command PLAYER_INIT completed with an error or info PVMFFailure
E/MediaPlayer( 6200): error (1, -1)
E/MediaPlayer( 6200): Error (1,-1)
D/VideoView( 6200): Error: 1,-1
E/MediaPlayer( 6200): stop called in state 0
E/MediaPlayer( 6200): error (-38, 0)
W/MediaPlayer( 6200): mediaplayer went away with unhandled events
W/InputManagerService( 97): Window already focused, ignoring focus gain of: [email protected]
D/dalvikvm( 97): GC freed 31607 objects / 1294288 bytes in 475ms

honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.

ggolemg said:
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
Click to expand...
Click to collapse
orb is pretty terrible in that it is restricted to windonkey on the server side. VLC is open source and probably the #1 media server/player for *nix, though also works for the donkey.
@DarkFoxDK: have you been able to transcode a static file for playback using VLC? I haven't tried with VLC yet (just mencoder). That is definitely a first step, to make sure that the encoding you are using is proper for the device. When you have that working, then try with the streaming. Is meridian even capable of receiving streaming video? I suppose that the best approach would be to develop a VLC-port for android.

ggolemg said:
honestly i just use ORB. It streams and converts the video(files, music, pictures, etc) on the fly to your phone. It is about as easy as it gets.
Click to expand...
Click to collapse
Windows is just not an option... besides, I don't want to rely on a 3rd party service.
lbcoder said:
@DarkFoxDK: have you been able to transcode a static file for playback using VLC? I haven't tried with VLC yet (just mencoder). That is definitely a first step, to make sure that the encoding you are using is proper for the device. When you have that working, then try with the streaming. Is meridian even capable of receiving streaming video? I suppose that the best approach would be to develop a VLC-port for android.
Click to expand...
Click to collapse
I haven't actually tried that yet, I'll do that as soon as I have the time.
Meridian is using the video view-thing in android like all the other apps, so yes. (Also, there's an "Open URL" option, with rtsp:// in it as default).
Yes, the mobile equivalent of VLC is CorePlayer and they're working on it: http://forum.corecodec.com/viewtopic.php?f=22&t=1327. I'ts pay-for but it'll play pretty much anything you throw at it (within limits).

Yes, it does indeed play with no problems, when I save it to a file.
Using std{access=file,dst=/home/martin/test.mp4}
I really have no clue where to go from here.

I had a similar adventure trying to get VLC streaming working a few months back. I pretty much got to the same spot you are. I then found that what Android supports is RTSP, not RTP streams (or at least that is how I interpreted it). From how I understood it RTSP is basically just a control channel for delivering RTP and other streams. Luckily VLC has VLM which is supposed to do RTSP stream management. You get to it in vlc->tools->VLM Configuration. I played around with that for a few hours, but never got it actually streaming. I got discouraged when I found someone reporting that RTSP was broken in the current 1.0 android build, but I never went back and tried again with cupcake. This is all from memory so might not be totally accurate. If you do figure it out, please post! If I get to hacking on it again I will do the same.

I almost got this working...
I set up Darwin Streaming Server and the sample files work (except for the h264 ones..).
But I just can't get VLC working...
According to this thread it seems to be a problem/bug with VLC: http://forum.videolan.org/viewtopic.php?f=4&t=58616

did any of u guys try that feature in gmote ?? it has an otion of playback into phone..i tried with a mp3 file but it took me ages to buffer a 3mb file tho...

Dare{D}evil said:
did any of u guys try that feature in gmote ?? it has an otion of playback into phone..i tried with a mp3 file but it took me ages to buffer a 3mb file tho...
Click to expand...
Click to collapse
It doesn't work outside your own LAN, so it doesn't really work for that purpose..

GMote will stream over 3G, just follow the steps in its FAQ to forward ports and you're all set.

innerspace said:
GMote will stream over 3G, just follow the steps in its FAQ to forward ports and you're all set.
Click to expand...
Click to collapse
Ok, But can it take a live video stream and transcode it to a digestible format for the G1?
Anyways, I got restreaming working with these settings
Code:
vlc rtsp://streamer-01.dr.nordija.dk/dr1lowmp4 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=0.0.0.0,port=1234,sdp=file:///usr/local/movies/t.sdp,mp4a-latm}"

DarkFoxDK said:
Anyways, I got restreaming working with these settings
Code:
vlc rtsp://streamer-01.dr.nordija.dk/dr1lowmp4 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=0.0.0.0,port=1234,sdp=file:///usr/local/movies/t.sdp,mp4a-latm}"
Click to expand...
Click to collapse
Can you please give more specifics on this? I am desperately trying to get the output from my Linksys WVC54GCA visible on my HTC Hero and I think this may be the key. The cam already outputs RTSP stream which I can view in VLC but Android players won't open it.
I assume that I could just substitute my source video for the one you're using, but then how would I view this on my device? Is there a specific URL I would use? (Note: my device, camera, and VLC are all on the same LAN)
Thanks for your help, I've been pulling my hair out over this, I'm pretty handy with a Linux shell but am not very knowledgeable about this streaming stuff.

OK, I figured out the last bit. I just need to replace the sdp= part with an rtsp:// URL, and then that's the URL I send to Meridian Player or Doga Player on my Android device. So the full vlc command is:
Code:
vlc -v http://<CAMERA_IP>/img/video.asf -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320,height=180,acodec=none,ab=64,vb=384}:rtp{dst=,port=1234,sdp=rtsp://<COMPUTER_IP>:1234/stream.sdp,mp4a-latm}"
So then in Android I open the rtsp://<COMPUTER_IP>:1234/stream.sdp URL, which I assume is not the real data stream but rather is just info on how to open the video and audio streams.
It still doesn't look great but at least it's working, I'll mess around with the rest of the settings to try to get it to look decent (I'm guessing the closer I can get it to the original stream the better it will look).
Thanks for posting this, once I get it all working the way I want I'll post the final solution I came up with...

Happy streamer
I've been streaming media files and live satellite feeds with VLC to all my mobile devices for several years.
I just want to share my settings with you guys so you could try out what i've been happy with for many years.
I'm using VLC 0.8.6i and have all the settings in a m3u file. For media files replace the <media> with what you would like to stream.
The settings gives good quality stream and work great for streaming on a 3G and HSDPA network.
Code:
#EXTM3U
#EXTVLCOPT:sout=#transcode{vcodec=div3,vb=650,width=400,height=240,acodec=mp3,ab=96,channels=2,fps=25.0,samplerate=44100}:duplicate{dst=std{access=http,mux=asf,dst=:88}} :sout-all
<media>
This m3u file can be used for streaming all types of media just replace <media> with what ever you like to stream.
Happy streaming.

bulldog64 said:
Code:
#EXTM3U
#EXTVLCOPT:sout=#transcode{vcodec=div3,vb=650,width=400,height=240,acodec=mp3,ab=96,channels=2,fps=25.0,samplerate=44100}:duplicate{dst=std{access=http,mux=asf,dst=:88}} :sout-all
<media>
Click to expand...
Click to collapse
hy bulldog64!
thx for that input - but i do not quite get it - do you http-serve the m3u file to the android-device via apache or do you just launch it on the server? when i execute your m3u-file it plays my video, but vlc outputs:"cant find file.."<your code>". how is it supposed to be set up? whats the url to call on the android-broswer (<ip>:88/<??which file>) ? thanks a lot! i have been trying to stream localy (from localhost to localhost) for some hours, but vlc´s syntax is too much for me, and after all i dont know the basics of streaming..

tinyDVR app works
tobiasly said:
OK, I figured out the last bit. I just need to replace the sdp= part with an rtsp:// URL, and then that's the URL I send to Meridian Player or Doga Player on my Android device. So the full vlc command is:
Thanks for posting this, once I get it all working the way I want I'll post the final solution I came up with...
Click to expand...
Click to collapse
Was hoping for a update here for a while. Looked all over for a solution... And just tonight found one!
TinyDVR (free via market)!
All other apps failed miserably. (At least with the WVC54GCA linksys cams) Even that 'IP cam viewer - lite' app failed. (i wasnt willing to shell out 10 bucks for the pro.)
Anyway! Yay

i found this to work locally:
Code:
vlc <path-to-video-file> :sout=#transcode {vcodec=h264,vb=256,width=320,height=280,scale=1,acodec=mpga,ab=64,channels=2}:duplicate{dst=std{access=http,mux=asf,dst=:8085}} :sout-all
but now, which (free) client on android can open streams ?? got a galaxy and the browser wont launch the player.

You can use Dogaplayer to get the stream.
Do you have the option with the M3U file of Bulldog64 working?
I have the same problem:
VLC plays the file, but doesn't stream anything if I start the M3U on my server.
For me it would be great to get it working!
I have made a M3U file with a playlist of all my DVB-T TV card channels.
So when it's possible to get the stream code working in the M3U file , I can watch and zap TV on my mobile.

hy
no dogaplayer wont access 3g on my galaxy s - "cant play video"- i got no network activity, so i assume it has trouble getting out to the network. so far i have found "vlc stream&convert" an app that can remote control vlc, browse directories and start streming and play the stream. on my galaxy s it starts streaming (network activity, vlc log file shows start) bit it doesnt show any video or audio.

Try TCP port 554 for streaming and open your dynamic UDP ports (I think all > 41000)in your router. This works for me. I use Vodafone as a provider and they only allow rtsp video streams over TCP port 554. Music (mp3) streams is also possible over http.
Have you any results with M3U playfiles?
I use VLC Stream & Convert too, but if I select the M3U playlist file and start VLC web interface on my PC server, I see in Stream & Convert all information about the actual playlist file, but I receive no video and sound signal. Other video files (such as MPG, MP4) works OK, so it is not a settings problem. I don't have a credit card, so I don't know if you have to have the Pro version for this. Can anyone tell me?
This is also the reason I want the M3U file to contain streaming & convert settings, so I can view the stream with Dogaplayer, so without the use the app. Stream & Convert.

Related

10$ for helping me.

Hi!
Im currently searching for this application:
http://www.youtube.com/watch?v=E2ZflgE4kXs
Its a program that lets you recive Dreambox restreams from a computer, i think its name is Mobile Grab Client but i can't find it anywhere. And iam not searching for TCPMP.
I will give 10$ to the person that first writes me a working link or something where i can find THIS application and its server. Payment will be done with Paypal.
The reason for posting this in this forum is because i have a smal memmory of reading about it here first.
//Mautana
hope this helps : http://translate.google.com/transla...cket+pc&hl=en&client=opera&rls=en&hs=XaU&sa=G
Well i already know how to stream, i need the application that changes channel and also to start streaming in one application.
Hi,
Is this the one : MobileGrab
(Its in french)
Thats a negative! Keep on searching folks!
Mautana said:
Well i already know how to stream, i need the application that changes channel and also to start streaming in one application.
Click to expand...
Click to collapse
The Mobile Grab client in the youtube video is launching TCPMP in full screen.
TheMostToys said:
The Mobile Grab client in the youtube video is launching TCPMP in full screen.
Click to expand...
Click to collapse
I already know that, as said iam not searching for TCPMP. The app iam searching for is The Mobile Grab client!
so it's an application which selects the correct url and opens it up on TCPMP.
where do we find it ?
anyone interesed ?
i know this post will be deleted & i will most likely be called an idiot but it your trying to broadcast your television from home and tune it on on your mobile device....then you can use www.slingbox.com
nobody will call you idiot, but it is not a good way to do it.
if we have capability of directly connecting and streaming why put another node ?
so nobody has this little piece of software ?
Why buy a slingbox when the Dreambox seems to be capable of doing it itself? Any way, long time has passed and my quesion still is, does any one know how to get this software?
yep. still waiting...
Closest thing i could find...
http://m4rtin.dnsalias.net/re-stream/index.php?page=installation
From what i've seen with this app, it does what you want it to do.
Since it's opensource and written in PHP, i think it can be modified to contain pre-selected settings just for PDA viewing.
Btw, i think you can forget about just a single program without a middleman doing the transcoding, since the Dreambox is incapable of transcoding its stream.
What the Youtube video could be is a website showing links to all the channels, and by clicking on them it launches TCPMP with the stream.
moullas,
you are wrong. why ? because Dreambox uses mpeg2 streaming which is the easisest codec to decode for any client type. That's why a middleman is not required.
And if we had the VLC player for ppc, we could watch directly Dreambox channels.
Here is the VLC player for PPC
http://www.pocketpcfreeware.com/en/index.php?soft=1545
unfortunately it does not run on Hermes (as far as I remember)
that's why I tried to compile it from source a while ago but I couldn't succeed.
if it runs well on anyone's wm6 device , please let us know.
mrmrmrmr said:
moullas,
you are wrong. why ? because Dreambox uses mpeg2 streaming which is the easisest codec to decode for any client type. That's why a middleman is not required.
And if we had the VLC player for ppc, we could watch directly Dreambox channels.
Click to expand...
Click to collapse
What do you want VLC to do that TCPMP or CorePlayer cannot?
Well that restreamer seems to be okay, but its not as simple as that application that he uses. Maby i should try it... The problem for me isnt that it need to be compressed true another computer but that i need the simplicity from the application, cklick and play!

Streaming Video to EVO

UPDATE: VLC Stream and Convert does everything for me now. I can browse the server directory and watch movies transcoded. There is still a tiny bit of audio lag, but no where near as bad as my methods below.
I am on CM6 nightly.
--- original post ---
Just wanted to share what I use to stream both pre-recorded and live video to the native video player on the EVO. I am using the latest Ubuntu 10.04 with VLC and a Video4Linux compatible BTTV card. The settings I have here are 320x180 res at a very low bitrate as I use this mostly over 3G. Adjust the 'width' 'height' 'vb' and 'ab' to your pleasure.
This is a work-in-progress and any other methods or contributions are greatly appreciated!
To play a movie:
Code:
# vlc -v video.avi -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320, height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=,port=4555,sdp=rtsp://server:4555/stream.sdp,mp4a-latm}"
To Watch my Dish Network feed (Composite):
Code:
vlc -v vlc -v v4l2:///dev/video0 :v4l2-standard=3:v4l2-standard=45056 :v4l2-chroma= :v4l2-input=1 :v4l2-audio-input=0 :v4l2-io=1 :v4l2-width=640 :v4l2-height=480 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320, height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=,port=4555,sdp=rtsp://server:4555/stream.sdp,mp4a-latm}"
To Watch my home security cameras (ATSC US Cable #104):
Code:
vlc -v v4l2:///dev/video0 :v4l2-standard=3:v4l2-standard=45056 :v4l2-chroma= :v4l2-input=0 :v4l2-audio-input=0 :v4l2-io=1 :v4l2-width=640 :v4l2-height=480 :v4l2-tuner=0 :v4l2-tuner-frequency=673250 -I dummy --sout "#transcode{vcodec=h264,venc=x264{no-cabac,level=12,vbv-maxrate=384,vbv-bufsize=1000,keyint=75,ref=3,bframes=0},width=320, height=180,acodec=mp4a,ab=64,vb=384}:rtp{dst=,port=4555,sdp=rtsp://server:4555/stream.sdp,mp4a-latm}"
------
Start Movie Client Stream on Android:
- Open browser
- Browse to “rtsp://server:4555/stream.sdp”
- Watch stream!
** Also worth noting the VLC HTTP interface seems to be working partially and apparently you may be able to setup playlists and such within there. I mainly am using this method to view live content so I havent explored much of that yet.
** Someone with more time than I could theoretically whip up a simple PHP page that enumerates a directory and launches vlc for video library type of support.
Thanks OP.
Forgive my ignorace. But for stored content, this doesn't start the stream until the Android client opens it, right? Not sure since you say that you usually use it for live streams.
I've been looking for a way to stream movies from my 7MC box to the EVO. This might work if the windows version of VLC has the same function. What kind of quality can you get from a stream on the local network vs. WAN?
Well I've been trying this on the windows machine and I'm starting to think this is not a very polished solution. What I would like is to be able browse the media in folders and start a video stream all from android. I'm not sure how possible this is. I have found so far:
Gmote - can only stream one format I think. I don't feel like converting
Orb - closer, but I'd really like to do all this through the home wifi network, not involving an orb server at all. Plus the video quality is a bit less that what I was hoping for.
VLC - can supposedly transcode on the fly from nearly any format to mp4 to play on Android. But I don't see a way to start a stream from android. I can use the HTTP interface to start the player but I don't see how to start a stream or browse more than a playlist (can't create one).
Maybe I missed something.
I've been trying to get the VLC Stream and Convert app to work, I can control VLC player on my PC but I can't get the streaming to work.
Is our phone supposed to play the H.264 stream fine? It seems like zonyl got it working, I tried all different video sizes and I'm using the mp4 latm audio, but nothing shows up on screen when it's playing, no sound, nothing.
Anyone have any advice?
Search market for AndroStream... Supposedly an app that uses VLC for streaming AND lets you initiate streams from your phone. I tried it but couldn't get it to stream over WAN.
nhutpham said:
I've been trying to get the VLC Stream and Convert app to work, I can control VLC player on my PC but I can't get the streaming to work.
Is our phone supposed to play the H.264 stream fine? It seems like zonyl got it working, I tried all different video sizes and I'm using the mp4 latm audio, but nothing shows up on screen when it's playing, no sound, nothing.
Anyone have any advice?
Click to expand...
Click to collapse
VLC Stream and Convert does everything for me now. I can browse the server directory and watch movies transcoded.
I am on CM6 nightly.
Any advice on settings and such?
I can browse and everything, but when it plays I get nothing except the moving bar and the timer starts running.
I'm on the rooted stock froyo rom.
I've been trying to get the VLC Stream and Convert app to work, I can control VLC player on my PC but I can't get the streaming to work.
Is our phone supposed to play the H.264 stream fine? It seems like zonyl got it working, I tried all different video sizes and I'm using the mp4 latm audio, but nothing shows up on screen when it's playing, no sound, nothing.
Anyone have any advice?
Click to expand...
Click to collapse
VLC Stream and Convert does everything for me now. I can browse the server directory and watch movies transcoded.
I am on CM6 nightly.
Click to expand...
Click to collapse
Thanks for the tip. I'll try it out. Will this work on a sense Rom tho? Might have to flash cm6
nhutpham said:
Any advice on settings and such?
I can browse and everything, but when it plays I get nothing except the moving bar and the timer starts running.
I'm on the rooted stock froyo rom.
Click to expand...
Click to collapse
I'm just running with the stock settings for the most part. Changed the resolution to whatever my bandwidth can tolerate at the time and make sure audio sync is turned on.
Sent from my PC36100 using XDA App
Got to try this app last night. Wow, very cool. Easy setup (visit the devs website), decent video quality, easily browse the pc for media. Dev has a donation version that i'll pick up for sure.
Another +1 for this app. Wish it did a better job with aspect ratios, but it still streams most of my media great.
Sent from my blah blah blah blah
hate to necro a thread but im trying to set this up for over 3g/4g. any luck? if so, what settings am I missing?
I know its 2 months old.
Anyone have any tips on setting up the VLC convert app to work with Mac. I am unable to find the file that the developer is suggesting I modify.
Thanks
engagedtosmile said:
hate to necro a thread but im trying to set this up for over 3g/4g. any luck? if so, what settings am I missing?
Click to expand...
Click to collapse
Don't know if you've done it already but, turn on your wifi (no need to connect to a network, just turn on)
read this http://traveldevel.com/vlc-stream-convert/streaming-over-3g

[FIXED] Streaming iPod encoded .mp4 over network

I've got an annoying problem that I don't know how to fix.
I have a script that uses handbrake to encode videos for me and spits them out as a .mp4 file. I used to view these from a local open web directory so I could stream them while I was in the bath or in the kitchen or having a dump or whenever I wasn't in front of my TV.
They work on my iPhone, iPod touch and on the various Android things I put on my HD2. How can it work on a flashed WinMo phone and not on a proper Android device?
What's frustrating is that they work when I transfer them over using Astro or downloading them in the browser. I assume it would work if I put them on a memory stick but all of these solutions take more time.
I was thinking I should root the Tab and put a custom Android on it, but is there anything else I can do without re-encoding a bunch of files?
What exactly is the problem? How are you trying to stream them?
I have an open web directory which is basically just a list of .mp4 files. I open the browser and point it to my site, 192.168.1.3/movies, and then click on whatever I want to watch.
Then usually it gives me an option of what app I want to play it in and I usually just pick the default video player.
This doesn't work on the Tab where it does on my other devices (Android and iOS).
So the problem is that its not giving you an option to pick which app to open the .mp4 with?
Maybe you dont have any other apps that can play the file?-
It does give me an option, it just refuses to play saying that the type is not supported. I've tried the built in video player, rockplayer, meridian. I've also tried it on a file manager like Astro.
The files just refuses to play like they do on my hacked HD2 and iPhone.
Are you trying to emulate this like the AllShare program? Cant seem to get this to work too on the network media
I don't know what AllShare is unfortunately. Did it work on a previous device?
Allshare is sammys DLNA client. Its pretty good for small folders on a LAN server. But it doesn't understand headers very well. Search is your friend.
Someone pointed me in the right direction on another board.
Another Forum said:
OK, figured it out. The problem is that most MPEG4/QuickTime muxers append a critical piece of metadata to the end of the file and it needs to be moved to the beginning to allow streaming/progressive downloading in the Android media player (it's not a Samsung-specific problem).
If you already have a bunch of non-streaming-compatible MP4 files, there's a tool that comes with ffmpeg called qt-faststart that rewrites them (without reencoding) in a compatible fashion.
Also, it looks like Handbrake 0.9.2 and up have an option for producing "Web optimized" MPEG-4 files, which if you enable should fix future videos.
Click to expand...
Click to collapse

Stream video from NAS

Any way that anyone has working for video to stream from their nas? I want to lay in bed and watch my videos, but I cannot for the life of me get them to play. Tried ES file explorer, File Expert, vplayer, rockplayer uni, rockplayer lite, built in player. I can find the videos just fine, but it will not play them. Looks like file expert tries to open them in a web page, then crashes back to the folder on the nas.
Looking for the same answer as well lol
got to be something on the market place that works
You will need a rooted xoom. Install the cifs.ko module from here
http://forum.xda-developers.com/showthread.php?t=974343&highlight=cifs
Then use the program cifsmanager that can be found in the market to mount your shares. I tested it last night and was streaming .avi files from my NAS. HD video that played fine locally was having a little trouble streaming. I'll have to work on finding the optimal transcode settings.
Hope this helps
boom, I didn't know that cifs worked on the xoom.
I'll update in 10 min if it works
cifsmanager is a little tricky though, I was unable to launch it from the shortcut created in the launcher. I had to launch it from inside the market.
how did you set it up? I cannot get it to connect to the nas, it is saying it failed b/c "no such device"
That error means the cifs module isn't loaded. Click on menu then settings. I checked the Load cifs module and the Load via insmod boxes. Reboot (or kill the application with a task killer), start it back up and it should work.
still no dice. i have the ip of the nas in the share path, the mount point is /mnt/sdcard/Movies
all other fields blank. Am I missing something?
I dream to have AirVideo ported from iOS.
Wondering why no Android developer created something similar
You will be rich for creating such app for Android! Being the first!
Sent from my Nexus S using XDA App
why doesnt anybody use "orb" to stream their videos? am i missing something? it works fine for me. tried it last night on my xoom. i have live tv and all of my downloaded movies working for me
I think you're missing the share name. For instance, the first field should read something along the lines of 192.168.0.2/e (e being the share name). Mount point is fine (I think. I have mine mounted to /mnt/cifs/e)
orb is the best thing to use streaming video. and its also web based
not working still, now saying mount: invalid argument
//192.168.1.70/movies
/mnt/sdcard/movies
Do any of the media players on the Xoom support UPnP (DLNA)? If so, you might be able to use something like PS3 Media Server.
http://code.google.com/p/ps3mediaserver/
The server shouldn't have // in front of the ip address.
my nas is already setup for dlna and itunes server, so anything that works with those would sync up to them. Sucks that apple has this working so well and we can't get it.
TheNibbler said:
The server shouldn't have // in front of the ip address.
Click to expand...
Click to collapse
Tried it both ways, still invalid argument error.
After doing some reading, try putting in the computers login name and password. (if the computer doesn't have a login name/password, create a user (with a password) and give them access to the share) That should hopefully take care of that error. (I never encountered this error, but I had a username/password)
is the issue that i'm trying to access a NAS and not a pc? So you have it working to a shared folder on your pc...
jparker36 said:
Any way that anyone has working for video to stream from their nas? I want to lay in bed and watch my videos, but I cannot for the life of me get them to play. Tried ES file explorer, File Expert, vplayer, rockplayer uni, rockplayer lite, built in player. I can find the videos just fine, but it will not play them. Looks like file expert tries to open them in a web page, then crashes back to the folder on the nas.
Click to expand...
Click to collapse
I have a (free) MP4 Streaming Server app that runs a website on your (windows) computer. I also have a few sample-videos (look in the NOOKcolor section. I havent had a cvhance to make samples for the Xoom yet) on my website that are streamable, located on an apache webserver. Just visit the site on your Xoom, and tap the mp4 links.
For MP4 files to stream, the quicktime "fast start" atom needs to be enabled, and the location on the webserver of where they are located needs to have executable permissions.

ps3 media server possible transcoding?

can someone try to work on ps3 media server settings ,on the fly trans coding maybe is better option then changing whole library of movies.It work for xbox maybe its gonna work on transformer
# ps3mediaserver renderer profile for Android
# Refer to PS3.conf for help
RendererName=Android
RendererIcon=android.png
UserAgentSearch=Android
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
DefaultVBVBufSize=true
MuxH264ToMpegTS=true
MuxDTSToMpeg=true
WrapDTSIntoPCM=false
MuxLPCMToMpeg=true
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
TranscodeExtensions=
StreamExtensions=hdmov,hdm,flac,fla,dts,ogg,asf,asx,m2v,mkv
it wont work. the only thing you can transcode too is mpeg2 which the transformer cant do over upnp. mp4 cant be live streamed over upnp only over rtsp or rtmp, if you really want live transcoding look at vlc media player and vlc s+c for android. it takes a lot of tweaking but does work.
can you provide some more information about the transcode capabilities such as the lackof mpeg streaming
SangreSlayer said:
can you provide some more information about the transcode capabilities such as the lackof mpeg streaming
Click to expand...
Click to collapse
I have had no problems streaming mpeg2 even to the native player with Mediatomb. In fact, you can directly play mpeg2 files from an internet site (internet archive) if you have enough bandwidth. Even the matroska format will stream, although without sound and at an unpredictable framerate. Still, I think that problem is on the encoding side.
So what your saying is you can transcode with PS3 media server?
IE: if you were to take a video gotten from a generic source, lets say via bittorrent you can stream that with the PS3 media server?
Any video I try does not work. it only works if I transcode it with handbrake first.
any tips would be greatly appreciated.
SangreSlayer said:
So what your saying is you can transcode with PS3 media server?
IE: if you were to take a video gotten from a generic source, lets say via bittorrent you can stream that with the PS3 media server?
Any video I try does not work. it only works if I transcode it with handbrake first.
any tips would be greatly appreciated.
Click to expand...
Click to collapse
If I was you I would go and get a WD media player. They go for about 60-90 bucks. I used the PS3 for about a year and I gave up. Mkv is not support on ps3 media server. Videos that it cant play you're pc will need to transcode before sending it over to your display. I ended up getting a dedicated media player. There are tons to choose from. WD, boxee, popcorn hour and dune players. No issues streaming 20-30GB blu ray movies when I had the WD player. PS3 sucks for streaming IMHO.
Actually, mpeg2 can be streamed over upnp.
Try this:
Code:
# ps3mediaserver renderer profile for Android
# Refer to PS3.conf for help
RendererName=Android
RendererIcon=android.png
UserAgentSearch=Android
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
DefaultVBVBufSize=true
MuxH264ToMpegTS=false
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
TranscodeExtensions=
StreamExtensions=
frosty5689 said:
Actually, mpeg2 can be streamed over upnp.
Try this:
Code:
# ps3mediaserver renderer profile for Android
# Refer to PS3.conf for help
RendererName=Android
RendererIcon=android.png
UserAgentSearch=Android
Video=true
Audio=true
Image=true
SeekByTime=false
TranscodeVideo=MPEGAC3
TranscodeAudio=MP3
DefaultVBVBufSize=true
MuxH264ToMpegTS=false
MuxDTSToMpeg=false
WrapDTSIntoPCM=false
MuxLPCMToMpeg=false
MaxVideoBitrateMbps=0
MaxVideoWidth=0
MaxVideoHeight=0
TranscodeExtensions=
StreamExtensions=
Click to expand...
Click to collapse
Though it should be worth noting UPnPlay doesn't send a "streaming end" HTTP header to the UPNP server, so after you play one video PS3 media server doesn't know you stopped watching the video and will be stuck in the "streaming mode", causing any other video not to load until you restart PS3 Media Server. This problem only persists iwth PMS, Serviio works fine if you set the transcoding profile. I wish PMS worked as it is the only Server with full softsub support.
Edit: Opps accidentally pressed "Quote" instead of edit...
Just wanted to make sure i am trying with the same player as you.
I am using the "my Net" and selecting the ps3 media server from there.
With the new settings, when I go to play it it just hangs with "please Wait" previously it would just immediately end with "fail to load"
SangreSlayer said:
Just wanted to make sure i am trying with the same player as you.
I am using the "my Net" and selecting the ps3 media server from there.
With the new settings, when I go to play it it just hangs with "please Wait" previously it would just immediately end with "fail to load"
Click to expand...
Click to collapse
Did you edit Android.conf with my profile and then restarted the server? Also, use Upnplay combined with MoboPlayer.
I did edit the file with your settings and restart the server. Will download Upbplay (already have mobo installed).
Update in a few minutes
That does seem to work. I am able to play non HD videos.
I was able to play different video's back to back without restarting, I tested with three different videos, watch 1 min of each.
I tested out a topgear episode that is 720p. My PC says its being trans-coded, but moboplayer just says "loading". After 1.5 minutes i cancelled out by going "home"
I then restarted the PS3 media server and reloaded upnplay and tried the video again. my PC still says transcoding and serving but mobo is stuck on loading.
Under Transcoding settings, i don't have Avisynth/FFmpeg or Avisynth/Mencoder available as they are marked red if that means anything
Any suggestions?
Thanks for being so helpful. I really appreciate it.
I know this post is asking about ps3 media server, and I have tried to use it also, but what I have found is a media server called PLEX, there is a mac/windows/even Linux server version, then you get the client on the app store for $5. I can not believe how well this app allows me to stream VOB/MKV/MPG,etc, and it allows me to do this all the way up to HIGH PROFILE 1080p MKV, oh and it also allows me to do this on a remote wifi connection or even on 3g, it really is amazing what these guys have pulled together. The other HUGE plus is it is a branch off of XBMC, so you have the same similar interface with all scraping, etc automatically, it can also do music and supports plugins. Anyways I would suggest you try it, server is free to download, and the app is so worth the measly $5, just suggest you get the server all setup and working before you buy the app. but even if you don;t like it the plex team will refund your money if you are not happy so there is really no remorse checking it out. Hope this helps, I am off to watch a 1080p high profile mkv on my transformer >
I think OP is trying to get PMS working so he can watch media on his PS3 too without running 2 servers. As to why HD vids don't play, maybe it didn't detect the need to transcode it, I need to look into this again after exam's over (maybe that'll explain why my videos didn't play properly when I tested), feel free to use the PS3.conf and try different things. It doesn't matter if you have ffdshow/avisynth, it uses bundled mencoder to re-encode. All that matters i that your PC can play the video fine in DirectShow players like Windows Media Player, Media Player Classic, Zoom Player.
I tried the above .conf file settings and still when running an HD video
it won't limit the video size
is there a way to transcode down into say
800x480
I tried this
MaxVideoWidth=800
MaxVideoHeight=480
RobH79: Thanks for the information. So far I am most of the the way to my end goal. The last hold out being the 720p video's.
I believe the OP (like myself) do not want to run 2x renders, one for the PS3, one for the tablet.
Frosty:
The video does play fine on my PC using VLC but not with Windows media player ( I anticipate this is why all my below troubleshooting did nothing based upon your last response.)
I have done some more testing and tried a few different settings in the config, such as
MaxVideoWidth=800
MaxVideoHeight=600
and MaxVideoBitrateMbps=3
so far nothing has worked.
The video does play fine on my PC using VLC. I still see PS3 Media Server using the transcoding buffer, and Mencoder is using varying amounts of CPU and the java memory size is increasing as time goes on (I assume filling up the buffer)
**Update Since I started typing**
I went to: http://matroska.org/technical/guides/playback/windows/index.html and found out that i needed the CCCP pack, i usually dont install it on my system from a bad experience many years ago.
However I installed it and now it plays fine in windows media player.
I loaded up PS3 Media server and tried streaming again from my tablet...
And no luck, same issue as before. I went through all the other variations of the tweaks above and also no luck.
Any other suggestions?
I also tried to get myNet working, but i found this.
myNet uses AwoX as UserAgent name. So copy Android.conf and rename the file and change from:
UserAgentSearch=Android
to
UserAgentSearch=AwoX
But all upnp clients that you can download in the market use Android.conf. I know so far that only AVIs/WMV are working. However no MKVs.
ok... just my 2 cents
I have a tonido plug running ubuntun 9.04 and mediatomb as a server, no transcoding eneabled.
I installed UPnPlay from market as a upnp renderer (audio only, but support to stream video with external palyer)
I got DicePlayer (paid app) and am able to stream mkv, avi, mov, mp4 containers, even some movies that have srt or sub subtitles, however if I connect my tablet to a TV via HDMI I only get the video and not the subs... MyNet app gives a lot of trouble working with m3u playlists and can only render a file at a time, meaning if you want to play continous audio/viedo you need to go one by one manually.
So far I'm happy with this setup, planning on upgragind my local WLAN to "N" standard byt so far 54gb are good, not exellent
On the down side, I haven't got the time to tweak mediatomb to present in a convinient way video files, it throws everything regardless of the folder structure you have on the server hard disk
Edit, if you know how to hard encode and stream subtitles info is appreciated, also if you know to send subs via HDMI to tv I'll be grateful

Categories

Resources